11-27-2013 2:04 PM
Hi all,
We are working on SCM 5.1 and using BAPI_PIRSRVAPS_SAVEMULTI to create planned independent requirements.
Unfortunately we are having problems with the COMMIT execution (only 155 of the 500 requirements are saved) even if we have tried in many different ways to solve the problem:
- 100 requirements per time are processed (now even turned down to 50)
- - BAPI_TRANSACTION_COMMIT added after à ‘commit control’ parameter in the PIR SAVEMULTI set to ‘E’ or ‘3’.
Has someone other ideas?
Regards, Debora
11-28-2013 4:58 AM
11-28-2013 4:58 AM
12-10-2013 8:53 AM
Dear Smruti,
your request underlined the weak point of my program.
The BAPI was called with a background job and the return messages were not saved anywere.
Now we have added this part, but yet no error messages are saved in our new Z-table.
Anyway looking better at the BAPI input parameters, I discovered that the forecast not saved is the one which falls in the days with a closed calendar.
I have been lucky I have noticed it, but how is it possible that the execution of the BAPI does not return an error message for this?
Kind Regards,
Debora
12-10-2013 9:00 AM
Hi Debora
Was the BAPI called as in background task if yes then it needs a commit work to get triggerd
Nabheet
12-18-2013 10:03 AM
Hi all,
now it works .... Return Parameters handled and a forced Commit after the original BAPI solved all my problems.
Thank you very, very much for your support.
Debora