Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to update commitment value for PR using BAPI_REQUISITION_CREATE

manigandan_sap
Explorer
0 Likes
924

We were trying to create PR using BAPI(BAPI_REQUISITION_CREATE), PR were created but it was not updating any commitment table against the project budget.

Regards,

Mani

2 REPLIES 2
Read only

rajkumarnarasimman
Active Contributor
0 Likes
825

Hi Manigandan,

Kindly check whether any error  in I_RETURN table as shown below.  Use Commit statement


READ TABLE I_RETURN WITH KEY TYPE = 'E'.

IF SY-SUBRC <> 0.

"Have you used the Commit as shown below. 

  call function 'BAPI_TRANSACTION_COMMIT'

            exporting

              wait = 'X'.

ENDIF.

Regards


Rajkumar Narasimman

Read only

0 Likes
825

Thanks for your response,

PR were created but project commitment table were not updated,

Regards,

Mani