2005 Jul 11 11:06 AM
hi,
how to insert several line items in a sales order. whether this can be performed using recording or any other method can be used . If so please let me know.
thank you.
regards
prem
2005 Jul 11 1:30 PM
Hi Prem,
Follow these steps for processing multiple records in lsmw.
I presume that you have one header line and multiple line items in the file and has a unique identifier. Let us say you have two nodes in lsmw called VBAK and VBAP.
Normally lsmw process one line of the file at a time. When lsmw reads the header line, process the VBAK node and use the 'transfer_record' command (this must be already there). When the second record is processed and if the unique identifier is same as the header then write a command called 'skip_record' in the '__BEGIN_OF_RECORD__' session of VBAK. If you do like this we will have one header and multiple line items.
Thanks
Vinod
hi,
how to insert several line items in a sales order. whether this can be performed using recording or any other method can be used . If so please let me know.
thank you.
regards
prem
2005 Jul 11 1:30 PM
Hi Prem,
Follow these steps for processing multiple records in lsmw.
I presume that you have one header line and multiple line items in the file and has a unique identifier. Let us say you have two nodes in lsmw called VBAK and VBAP.
Normally lsmw process one line of the file at a time. When lsmw reads the header line, process the VBAK node and use the 'transfer_record' command (this must be already there). When the second record is processed and if the unique identifier is same as the header then write a command called 'skip_record' in the '__BEGIN_OF_RECORD__' session of VBAK. If you do like this we will have one header and multiple line items.
Thanks
Vinod
2005 Jul 12 10:39 AM
thank you for your reply MR.Vinod. I think this will work out if you have already tryed this send a snap shot of it so that it will be really helpful.
thank you
regards
premkumar.j
2005 Jul 12 11:06 AM
Hi Prem,
Could you let me know what specific information you need.
Thanks
Vinod
2005 Jul 14 10:32 AM
sir,
when i finally run my direct input process it is asking for fill sold to party or ship to party.i cant find the fields for it.Please can you say me which are the required field to be filled.
thank you
regards
prem
2005 Jul 14 10:55 AM
If you want add partner details for header use the node
BVBPAKOM and fill POSNR, PARVW and KUNNR. May be you have to fill other fields in this.