Application Development 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: 

How to update commitment value for PR using BAPI_REQUISITION_CREATE

manigandan_d2
Explorer
0 Kudos

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

rajkumarnarasimman
Active Contributor
0 Kudos

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

0 Kudos

Thanks for your response,

PR were created but project commitment table were not updated,

Regards,

Mani