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

Error while creating sales order with ref using SD_SALESDOCUMENT_CREATE

former_member421418
Participant
0 Likes
2,122

Hi

I am creating sales order with reference using function module SD_SALESDOCUMENT_CREATE , while creating i am getting error

Document doesn't have document category even thougth i am passing document category in header as well as item lavel.

In VBUK table there is no value for VGTYP.

Can you please help me how to resolve it.

Thanks & regards

kiran

1 ACCEPTED SOLUTION
Read only

former_member421418
Participant
0 Likes
1,609

Problem resolved by passing   REFDOC_CAT in the FM along with  SD_DOC_CAT.

Thanks

1 REPLY 1
Read only

former_member421418
Participant
0 Likes
1,610

Problem resolved by passing   REFDOC_CAT in the FM along with  SD_DOC_CAT.

Thanks