‎2005 Apr 26 10:08 AM
i need to create a salesorder in .net application which should be posted in sap.for this we had connected sap and .net by sap.netconnectors.and we are using bapi_salesorder_createfromdat2 FM.In this FM we are having orders_header_in as mandatory parameter which is table parameter.inthat there are so many fields,but i dont require all those.how would i know in those which are mandatory and which are optional
‎2005 Apr 26 10:19 AM
In the documentation for this BAPI it mentions that the following fields are mandatory:
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
Hope this helps.
Gill