Skip to Content
0
Former Member
Jan 26, 2006 at 03:21 PM

BAPI_SALESORDER_CREATEFROMDAT2 - help creating credit memo

1775 Views

ALL:

I am faced with a task of creating credit and debit memo request referencing a sales order. I am trying to use: BAPI_SALESORDER_CREATEFROMDAT2 to accomplish this task but keep getting error message:

‘Unpermitted combination of business object BUS2032 and sales doc. category L’

I inserted the sales order number I 'am referencing in the BAPI HEADER FIELD - REFDOCTYPE. Has any one use this BAPI to create credit and debit memo request referencing a sales order, please help with a sample code on how to load this BAPI for credit and debit memo request creation referencing a sales order.

Thanks,

Frank