‎2008 Mar 11 3:16 PM
Hi there... can anyone help me with my problem,
I'm using BAPI_SALESORDER_CREATEFROMDAT2 in creating sales
order.
My inputs are:
ORDER_HEADER_IN:
DOC_TYPE = Sales Document Type
SALES_ORG = Sales Organization
DISTR_CHAN = Distribution Channel
DIVISION = Division
PURCH_NO_C = PO Number
CURRENCY = Currency
PO_DAT_S = PO Date
REQ_DATE_H = Required Delivery Date
ORDER_HEADER_INX:
DOC_TYPE = 'X'
SALES_ORG = 'X'
DISTR_CHAN = 'X'
DIVISION = 'X'
PURCH_NO_C = 'X'
CURRENCY = 'X'
PO_DAT_S = 'X'
REQ_DATE_H = 'X'
ORDER_PARTNERS:
PARTN_ROL = ?SP?
PARTN_NUMB = Sold to Party or Ship to Party
ORDER_ITEMS_IN:
ITM_NUMBER = Increment Counter By 10
MATERIAL = Material Number
TARGET_QTY = Quantity
ORDER_ITEMS_INX:
ITM_NUMBER = Increment Counter By 10
MATERIAL = 'X'
TARGET_QTY = 'X'
ORDER_CONDITIONS_IN:
ITM_NUMBER = Increment Counter By 10
COND_TYPE = ?ZPR0?
COND_VALUE = List Price
ORDER_CONDITIONS_INX:
ITM_NUMBER = Increment Counter By 10
COND_TYPE = ?ZPR0?
COND_VALUE = 'X'
ORDER_TEXT:
ITM_NUMBER = Increment Counter By 10
TEXT_LINE = Text
I still receieve errors such as
"Please enter Sold-to Party or Ship-to Party"
Kindly help me with my concern.
Thanks!
‎2008 Mar 11 4:15 PM
The codes for partner roles are language dependent. This means that internally another code is used and stored by SAP then the code you get displayed on reports, screens etc. (conversion exit)
For sold-to the internal value is 'AG', the external value in English is
'SP'.
‎2008 Mar 11 4:15 PM
The codes for partner roles are language dependent. This means that internally another code is used and stored by SAP then the code you get displayed on reports, screens etc. (conversion exit)
For sold-to the internal value is 'AG', the external value in English is
'SP'.