2007 Mar 29 2:29 PM
Hi,
We have an issue with the BAPI_REQUIREMENTS_CHANGE, where in we are trying to update the independent requirements of a material.
Updation of the material is through a file. Not all the materials from this file are updated. If the file contains, 50 materials, at least 3 materials fail updation.
We get an error message "Express Document Update Terminated" for each material that has not been updated. But the internal table RETURN does not return any errors. Even the sy-subrc is 0.
We have tried calling "BAPI_TRANSCATION_COMMIT" to explicitly commit the work. But this does not seem to be working.
One more strange thing, all the materials get successfully updated in debugging mode. This issue occurs only when a direct execution in foreground or background is done.
Any pointers regarding this would be of gr8 help.
Thanks in advance.
Hi,
We have an issue with the BAPI_REQUIREMENTS_CHANGE, where in we are trying to update the independent requirements of a material.
Updation of the material is through a file. Not all the materials from this file are updated. If the file contains, 50 materials, at least 3 materials fail updation.
We get an error message "Express Document Update Terminated" for each material that has not been updated. But the internal table RETURN does not return any errors. Even the sy-subrc is 0.
We have tried calling "BAPI_TRANSCATION_COMMIT" to explicitly commit the work. But this does not seem to be working.
One more strange thing, all the materials get successfully updated in debugging mode. This issue occurs only when a direct execution in foreground or background is done.
Any pointers regarding this would be of gr8 help.
Thanks in advance.
2007 Mar 29 2:42 PM
hello,
i guess there was a short dump in some update task function module (may be in some user-exit module) , so try to read information in ST22 transaction.
2007 Mar 29 2:52 PM
Hi ,
I have checked that too. There are no dump that have occurred during the run.
Rgds,
Bhargav.
2007 Sep 25 11:21 AM
I am facing same issue ,please let me know r u got the solution for BAPI_REQUIREMENTS_CHANGE.
waiting for your reply
2007 Sep 25 11:30 AM
Hi Bhargav,
Even i have worked on PIR using same FM.
i didn't even use any 'BAPI_TRANSCATION_COMMIT'.
all the materials are getting updated for me.
can i see how did u populate the FM.
Regards,
Madhavi
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |