Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Posting Credit Notes through BAPI?

Former Member
0 Likes
405

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.

1 REPLY 1
Read only

Former Member
0 Likes
364

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