Credit memo using BAPI
In transaction VA01 we are able to create credit adjustment (Custom order type) with order category K (credit memo). Is this possible to create this order using "BAPI_SALESORDER_CREATEFROMDAT2" function module.?
If we try to excute using this function module, following return message is appearing. "Unpermitted combination of business object BUS2032 and sales doc. category K". Any one please give me solution.
Thanks in advance,