Skip to Content

How to update commitment value for PR using BAPI_REQUISITION_CREATE

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jan 07, 2015 at 04:21 AM

    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

    Add comment
    10|10000 characters needed characters exceeded