2010 Mar 24 3:11 PM
Hi ....
In our project we are facing some problem while creating Sales order with multiple line items by using FM u201CSD_SALESDOCUMENT_CREATEu201D. Order is creating with incompletion log. The issue is second line item order quantity is coming as blank.
Any pointers will greatly appreciated.
Thank you.
Regards,
Lokeswari.
Hi ....
In our project we are facing some problem while creating Sales order with multiple line items by using FM u201CSD_SALESDOCUMENT_CREATEu201D. Order is creating with incompletion log. The issue is second line item order quantity is coming as blank.
Any pointers will greatly appreciated.
Thank you.
Regards,
Lokeswari.
2010 Mar 24 6:13 PM
Hi,
Why can't you use BAPI for this?
bapi salesordercreatefromdat1
bapi salesordercreatefromdat2
We have lot of sample codes in SCN.
Thanks,
Vinod.
2010 Mar 24 8:17 PM
Well, a zero quantity on an item should result in incompletion. Are you populating the quantity field in the sales_item_in, and putting an 'X' in that column in the sales_item_inx structure/table?.
This is one of the "old style" order creation tools where you must indicate the columns that are to be updated in the 'X' structures/tables, if I remember correctly.
I have to agree with Vinod...It's hard to imagine why anyone would choose this FM when the BAPIs are available for use with LSMW, etc.
2010 Mar 25 3:29 AM
Hi...
Thanks for your reply.
I tried by populating "X" in Quantity field but facing the same issue. it is picking quantity fro the first line item. remaining lineitem quantities are coming as blank.
there is no Bapi for creating both normal sales order as well as returns order i.e. why i went for this FM.
Any pointers.
Regards,
Lokeswari.
2010 Mar 25 4:03 AM
Hi All...
Thanks for your replies.
Problem is solved.
i am passing Requested qty in Schedule_in. Along with this we need to pass SCHED_LINE number also like 000, 001,002 etc. if we use multiple line items.
Regards,
Lokeswari.