Skip to Content
0

Material marked for deletion BAPI_ALM_ORDER_MAINTAIN

Mar 29, 2017 at 01:38 PM

76

avatar image

Hello,

For a custom program we're using the bapi BAPI_ALM_ORDER_MAINTAIN. The program has to do the same thing as in IW32.

When you add an material and it's marked for deletion, it should add a second line with the follow up material.

I've tried several ways to simulate this with the BAPI but can't get it to work. Now I just add the new line like in IW32, but when the itab is processed by the BAPI it changes that line's posnr to the next when.

So my goal is:

  • Add marked for deletion material with posnr 0010 & quantity 123
  • Message + new line with follow up material with same posnr & quantity 0
  • Save
  • record that was marked for deletion has quantity 0
  • record with the follow up material has quantity 123

Thanks in advance!

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers