‎2007 May 02 9:46 PM
Please help me..
I am using BAPI_SALESORDER_CREATEFROMDAT2 for creating sales order
can you please tell me in which field the quantity(of items) is to be populated.
i am populating in BAPISDITM-TARGET_QTY but i am not getting quantity field after sales order is created.
i also tried with BAPISDITM-TRG_QTY_NO but i am not getting .
and also if i provide ship to number it is automatically taking the adress but if i want to give my own adress in which structure i have to populate
‎2007 May 02 9:48 PM
Hi,
You have to pass the quantity in the scheduleline parameter..
Check this link for a sample code..
https://wiki.sdn.sap.com/wiki/display/Snippets/ABAP-Simpleprogramtocreatesalesorderusing+BAPI
Thanks,
Naren
‎2007 May 02 9:48 PM
Hi,
You have to pass the quantity in the scheduleline parameter..
Check this link for a sample code..
https://wiki.sdn.sap.com/wiki/display/Snippets/ABAP-Simpleprogramtocreatesalesorderusing+BAPI
Thanks,
Naren
‎2007 May 02 9:51 PM
Hi,
Please try populate BAPISDITMX-TARGET_QTY = 'X' as well as BAPISDITMX-ITM_NUMBER and BAPISDITMX-UPDATEFLAG.
Regards,
Ferry Lianto
‎2007 May 02 10:19 PM
Hi,
Did you try using the following tables/structures:
BAPISCHDL and BAPISCHDLX
Regards,
Sumant.
‎2007 May 03 12:32 AM
Why is the use in passing all bapis (ORDER_ITEMS_INX , ORDER_HEADER_INX) with all fields as 'X'.
‎2007 May 03 12:35 AM
Hi,
I believe SAP will be defaulting the values if we don' t pass the X for the corresponding field..
If you pass the value and pass X in its corresponding X structure..Sap will consider that input otherwise it will put a default value...
Thanks,
Naren
‎2007 May 03 12:44 AM
From which structure we get the sub items for the corresponding line items while using this bapi for creating sales order
i want these fields to be displayed in o/p
SubItem KOMV KBETR CURRENCY(11,2)
This is a price, or price adjustment. Positive or Negative.
SubItem KOMV KWERT CURRENCY(13,2)
This is the extended price or adjustment. ExtAmount
‎2007 May 03 12:47 AM
Hi,
Do you want to get the conditions after the sales order is created??
Then use the table KONV to get the conditions after the sales order is created..
The link is KONV-KNUMV = VBAK-KNUMV.
Thanks,
Naren
‎2007 May 03 1:03 AM
Thank you very much
Where r u from
tell me abt urself.
I am from hyderabad
‎2007 May 03 1:16 AM
Hi,
My personal email address is there in my business card..Please send me an email..
Thanks,
Naren
‎2010 Oct 21 3:04 PM
Please help me..
I am using BAPI_SALESORDER_CREATEFROMDAT2 for creating sales order for replace VA01,
can you please tell me in which field the amount KBETR (of items) is to be populated.
i thing that i will populate COND_VALUE in ORDER_CONDITIONS_IN with field kbetr but I don't know what will I populate field COND_TYPE ? the same problem I have with net value (NETWR).
Would you explain me what I will populate fields in differents fields of this BAPI ?