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

credit memo request creation problem

Former Member
0 Likes
4,681

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
Read only

brad_bohn
Active Contributor
0 Likes
2,955

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
Read only

brad_bohn
Active Contributor
0 Likes
2,956

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.

Read only

Former Member
0 Likes
2,955

Hi Guys,

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

Its working now.

Thanks!

Sandip

Read only

Former Member
0 Likes
2,955

Is this FB75? check out BAPI_ACC_DOCUMENT_POST

Read only

0 Likes
2,955

For problem solving history:

besides the field Ref_doc_cat

there is a field

ORDER_HEADER_IN - REFDOC_CAT