‎2008 Jun 02 5:42 AM
I am Using BAPI 'BAPI_SALESDOCU_CREATEFROMDATA'
To post Credite Notes into SAP through transaction VA01
i got error return as follows.
TYPE E
ID V1
NUMBER 761
MESSAGE Unpermitted combination of business object BUS2094 and sales doc. category H
LOG_MSG_NO 000000
MESSAGE_V1 BUS2094
MESSAGE_V2 H
Kindly suggest how to correct error or
mention appropriate BAPI to use for Credit notes.
‎2008 Jun 02 10:34 AM
Hi salman use this 'BAPI_ACC_BILLING_POST'.
or else if you go with ur bapi......
you need to create debit memo with reference to invoice by using BAPI_SALESDOCU_CREATEFROMDATA .
When u create a debit memo without reference, it absolutely works. But when u pass the reference document number in header_in-REF_DOC,it doesn't work. u have to pass the reference in the ORDER_ITEMS_IN too.
ok
thanks
karthik