‎2005 Nov 17 9:13 AM
hello,
what are the maddatory fields for using this bapi to create the sales orde. i am pasing
condition type = ZUCD
sles org = 7000.
Distrubution channel = 60
division = 20.
this in ORDER_HEADER_IN
then in ORDER_ITEMS_IN:
material
quantity
item
but when i run this it says
Unpermitted combination of business object BUS2032 and sales doc. category K
cheers
‎2005 Nov 17 9:50 AM
Hi Kumar,
The mandatory fields/structures are:
1. Order_header_in
2. Order_items_in
3. Order_partners
Regards,
Raj
‎2005 Nov 17 9:55 AM
HI Kumar,
The following are the mandatory parameters,
1. Mandatory entries:
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
Regards,
ravi
‎2005 Nov 17 3:15 PM
Hi,
I think there is no answer on your question. It depends on the customizing.
As I know
Header
doc_type
Item
material
target_qty
Partners
partn_role = 'AG'.
partn_numb = xxx
are necessary.
Do you use any type of reference?
Cheers, Dirk
‎2005 Nov 17 5:19 PM
Hi Kumar,
I got your problem. The Business object 'BUS2032' is a standard order and category 'K' corresponds to 'CREDIT MEMO REQUEST'(Business object 'BUS2094').
Now the problem would be with the condition type 'ZUCD' which is customized for the category 'K', and because of this it the document is not posted.
Now to make your BAPI work and post the document, pass the field 'SD_DOC_CAT' of the 'ORDER_HEADER_IN' with the value 'K'. This should work.
Naveen.