cancel
Showing results for 
Search instead for 
Did you mean: 

Product master data updation using BAPI "BAPI_PRDSRVAPS_SAVEMULTI2"

former_member644562
Participant
0 Kudos

Hi,

I am using BAPI named "BAPI_PRDSRVAPS_SAVEMULTI2" for changing product . For products which got sucessfully updated by this BAPI return table does not have corresponding entries and also in the case of error type corresponding product is not captured.

Please guide me how to find products which got successfuly executed and those ended with errors.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Roopesh,

Ususally, to make the BAPI update the database, you have to run BAPI

BAPI_TRANSACTION_COMMIT after BAPI_PRDSRVAPS_SAVEMULTI2 is executed.

In se37-> You may insert

BAPI_PRDSRVAPS_SAVEMULTI2

BAPI_TRANSACTION_COMMIT

in the Menu-->function module >test>test sequences.

Also as Mani said, if the update is successful the return parameter will be '0'.

Regards,

Ademola

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

The return table will not pinpoint the error. Incase you want to capture the errors, you will have to call the BAPI once for each product as against calling the BAPI for a group of products. Also, the return table will be empty if the upload was successful. If there are any errors, that will be captured in the return internal table.

Hope this helps.

Thanks

Mani Suresh