This website has been archived, it is working in read-only mode.

This website has been archived, it is working in read-only mode.

I have 4 BAPI calls in chain. Result of first BAPI call is needed in to 2nd BAPI and so on up to 4th bapi. Is it possible to ROLLBACK all three BAPI in last step when last 4th BAPI call ends with errors?

On one hand i need to COMMIT WORK after every BAPI CALL and on other ROLLBACK works only on last DB change.

asked 13 Mar '13, 16:01

Pawel%20Hixohe%20Grze%C5%9Bkowiak's gravatar image

Pawel Hixohe...
2112511
accept rate: 16%


I don't think I ever chained more than 2 BAPIs, but that worked ok doing the sequence of calls and calling BAPI_TRANSACTION_COMMIT in the end (or BAPI_TRANSACTION_ROLLBACK if there are errors). But if you make a commit in between BAPIs then it will not be possible to rollback to the first BAPI.

permanent link

answered 16 Mar '13, 08:15

pedrolima's gravatar image

pedrolima ♦♦
1.1k232840
accept rate: 32%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×5

question asked: 13 Mar '13, 16:01

question was seen: 9,234 times

last updated: 16 Mar '13, 08:15