05-30-2011 7:27 PM
hi,
I am creating a PO using LSMW BAPI method. This Bapi is using internally using FM BAPI_PO_CREATE1.
I am uploading two files with one header and 3 items. PO is creating but with only one item.
I want to insert all the three items into the PO by 10,20,30...
I dont give any item numbers in flat file, automatically it should increment by 10 for each item.
my files looks like
=====================================================
OurRef | material | plant | and more
====================================================
ref1 | 101239 | A20 | .......
ref1 | 101240 | A20 |........
====================================================
Can any one suggest me what changes do i need to do in BAPI.
Thanks
05-30-2011 8:24 PM
how does your source structure look like?
is is just one structure, or isit a header structure with a subordinate structur for items (structures are not at the same level)?
How does your data look in the converted file? do you see there just one item or 3 items?
05-31-2011 1:54 AM
I have two source structures with header and item at sublevel. when I read the data I am getting one header and 3 items.In convert step also same.
05-31-2011 8:04 AM
Looks like this proofs the fact that you have to enter the item number yourself.