‎2009 Feb 17 6:15 AM
Dear Experts,
I want to create and change PIR (planned indepedent requirement) through MD61 and MD62.
for that BAPI_REQUIREMENTS_CREATE and BAPI_REQUIREMENTS_CHANGE is available.
I want to create/add requirement for first time BAPI_REQUIREMENTS_CREATE is fine for that...
But when I want to add or change the existing requirement I have to use the BAPI_REQUIREMENTS_CHANGE ....and add or change there...now the problem is .........
after executing BAPI_REQUIREMENTS_CHANGE , earlier requirements are wiped and overwritten with the newer ones........and I want to add/replace new requirements keeping older ones untouched......
and if I try to use BAPI_REQUIREMENTS_CREATE , it does not allow if the PIR already exists..
Could anybody suggest me a solution.................
Thanks...............
‎2009 Feb 17 6:22 AM
Hi,
Refer this link for sample program to change the existing one
‎2009 Feb 17 6:22 AM
Hi,
Refer this link for sample program to change the existing one
‎2009 Feb 17 6:22 AM
Hi Ubhaka,
For the BAPI BAPI_REQUIREMENTS_CHANGE pass the value BLANK for the parameter DELETE_OLD by default its 'X'. remove the 'X' & send the value as Blank.. I think this will help u
‎2009 Feb 17 6:28 AM
Hi Bala,
Could u pls tell me where that DELETE_OLD field is ?
Thanks.....
‎2009 Feb 17 6:33 AM
Hi
DELETE_OLD is one of the paramters in that function module
‎2009 Feb 17 6:37 AM
Go to the SE37, Give the BAPI name...
Click on Import tab from the bottom.. 3rd Parameter is DELETE_OLD
‎2009 Feb 17 7:00 AM
Dear Bala,
I m working on 4.7..and there is no Import parameter as such in that Function module...............
Correct me if I am wrong.........
Thanks
‎2009 Feb 17 7:07 AM
Thanks Tharani,
Which version u r working on?
Bcoz I dont find any parameter named DELETE_OLD in my 4.7 version............
What can be the alternative ?
Thanks
‎2009 Apr 14 8:01 AM