I try creating credit memo request passing all related parameters in FM 'SD_SALESDOCUMENT_CREATE'.
I get the error 'Document 9992222 doesn't have document category but '.
Message is V2 068 . It space before and after but. 😊
I have passed the document category as 'M', in the header data.
Please reply, if you know the problem or want more details from me.
Thanks and Best Regards!