Skip to Content
Former Member
May 03, 2007 at 09:24 AM



Hi guys,

Well I have a probem with the use of BAPI_SALESDOCUMENT_CHANGE for the creation of new items into an existing sales document.

The problem is not the creation of the new item, I use the correspoding flags 'U' for the order_header_in structure and 'I' for the table item_in. I am creating the new item but I can't put the cumulative order quantity (good old kwmeng field) in the new item.

I am trying to fill the 'target_qty' field in table item_in though I have tried other fields after many unsuccessfull attemps. This is frustrating I am starting to write once and again REDRUM in my physical notepad (dunno why I'm doing so yet).

Please can anybody help me with this?

BTW this is my first post in this forum.

Thanks in advance.