Skip to Content
avatar image
Former Member

Material marked for deletion BAPI_ALM_ORDER_MAINTAIN

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!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers