Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI_SALESORDER_CREATEFROMDAT2 - VBAP extention question

Former Member
0 Likes
462

I have extened the BAPI and am getting valid results for VBAK and the first line item on the order in VBAP. The issue I'm having is with any subsequent line items on an add. Since there is no item number(posnr) it always applies the extention only the the first line item that is still 000000.

Is there a way to get the needed extention to recognize the items beyond the first??

Thanks in advance..

Darrin

4 REPLIES 4
Read only

Former Member
0 Likes
436

Is it possible I'm using the incorrect BAPI to have en extention work on all line items when adding an order??

Read only

Former Member
0 Likes
436

Does anyone have any information on this???

Read only

0 Likes
436

do you mean that for line item which more than 1 you need the value like 000010 for 1st item, 000020 for 2nd item and so on ???

Read only

0 Likes
436

Putting line items in on a change works, but for a create there are no line items available so the item number on all items is 000000. The line items are assigned after the place in the code that moves the extention.