on 06-29-2010 2:03 PM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
4 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.