Skip to Content
0
Former Member
Jan 17, 2007 at 07:30 AM

Sales Order Creation Through BAPI

3614 Views

Hi,

I want to create New Sales Order using BAPI: BAPI_SALESORDER_CREATEFROMDAT2. I am populating the following fields:

ORDER_HEADER_IN : DOC_TYPE Sales document type

SALES_ORG Sales organization

DISTR_CHAN Distribution channel

DIVISION Division

ORDER_HEADER_INX : UPDATEFLAG as 'I' and the above fields as 'X'.

ORDER_PARTNERS..: PARTN_ROLE Partner role, SP sold-to party

PARTN_NUMB Customer number

ORDER_ITEMS_IN..: MATERIAL Material number

ORDER_ITEMS_INX..:

UPDATEFLAG as 'I' and the above fields as 'X'.

ORDER_SCHEDULES_IN ::Sales document number POSNR ITM_NUMBER

Order quantity KWMENG REQ_QTY .

I getting the following error message :

"Unpermitted combination of business object BUS2032 and sales doc. category H"

Can you tell me where the problem is?

Regards,

Tanmay