‎2006 Jun 09 8:48 AM
Hello,
How to create a Sales Order using this bapi. can anyone tell me what parameters should i pass to get the order created?
‎2006 Jun 09 9:15 AM
Hi Geetha,
These are mandatory entries you should pass to the function module.
ORDER_HEADER_IN :
DOC_TYPE Sales document type
SALES_ORG Sales organization
DISTR_CHAN Distribution channel
DIVISION Division
ORDER_PARTNERS:
PARTN_ROLE Partner role, SP sold-to party
PARTN_NUMB Customer number
ORDER_ITEMS_IN:
MATERIAL Material number
Ship-to party:
If no ship-to party is entered, use the following: Ship- to party = sold-to party.
If you get mesage type 'S' (success), then you should use
BAPI_TRANSACTION_COMMIT to commit the data to database.
regards,
ram
‎2006 Jun 17 9:36 AM
Hi,
I've full filled all require data and when I execute my BAPI everything goes good.
After a commit transaction, I've checked to a VA03 and unfortunately I don'' see any change.
What I mist ?
Regards
‎2006 Aug 08 6:01 PM
Hi Ram,
Can u please tell me the values that are to be passed for the fields DOC_TYPE, SALES_ORG, DISTR_CHAN, DIVISION, PARTN_ROLE, SOLD-TO-PARTY, PARTN_NUMB & MATERIAL NUMBER for BAPI_SALESORDER_CREATEFROMDAT2.
Ramesh
‎2006 Jun 09 9:23 AM
Hi,
The Import fields are:
ORDER_HEADER_IN LIKE BAPISDHD1
The tables to be filled are:
ORDER_ITEMS_IN
ORDER_ITEMS_INX
ORDER_PARTNERS
ORDER_SCHEDULES_IN
ORDER_SCHEDULES_INX
ORDER_CONDITIONS_IN
ORDER_CONDITIONS_INX
ORDER_CFGS_REF
ORDER_CFGS_INST
ORDER_CFGS_PART_OF
ORDER_CFGS_VALUE
ORDER_CFGS_BLOB
ORDER_CFGS_VK
ORDER_CFGS_REFINST
ORDER_CCARD
ORDER_TEXT
ORDER_KEYS
EXTENSIONIN
PARTNERADDRESSES
Regards,
Tanveer.
<b>Please mark helpful answers</b>