Application Development 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: 

credit memo request creation problem

former_member583013
Active Contributor
0 Kudos

Hello Guys,

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!

Sandip

1 ACCEPTED SOLUTION

brad_bohn
Active Contributor
0 Kudos

That's a static message call. I would just break at the where-used point and check the VBUK read to see what's causing it. Check the value directly in VBUK as well for your reference document. It's hard to tell w/o the code.

4 REPLIES 4

brad_bohn
Active Contributor
0 Kudos

That's a static message call. I would just break at the where-used point and check the VBUK read to see what's causing it. Check the value directly in VBUK as well for your reference document. It's hard to tell w/o the code.

0 Kudos

Hi Guys,

The Ref_doc_cat was not filled correctly in the BAPI. Hence the error.

Its working now.

Thanks!

Sandip

Former Member
0 Kudos

Is this FB75? check out BAPI_ACC_DOCUMENT_POST

0 Kudos

For problem solving history:

besides the field Ref_doc_cat

there is a field

ORDER_HEADER_IN - REFDOC_CAT