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

Document flow in SD

Former Member
0 Likes
593

Hi,

I have used the function module SD_SALESDOCUMENT_CREATE to create a sales order with reference to the invoice.I have been able to successfully create the sales order.But when I go to VA03(Display Salesorder) and check the document flow for the just created sales order I am unable to see the invoice from which the sales order was created.But when the I create a sales order(credit memo request) with reference to invoice manually by going to VA01 giving the order type and clicking on the tab create with reference I am able to see the standard order,delivery,invoice,credit memo request,credit memo in the document flow that is I am able to see the complete document flow when I do it manually.Can any please help me

Thanks in advance

3 REPLIES 3
Read only

Former Member
0 Likes
431

hi,

Well i can help you out by giving the relation of fields among the sales order and sales invoice..

in tableVBAP(sales order) the fields which make the link with the

VBRP(sales invoive) :-

In the table VBAP :-

VBELN and POSNR

take these field to the VBRP and make relation with the fields:-

AUBEL and AUPOS (Sales order no and Line Item)

If you have any other problem then do tell me so that i can help you out....

Read only

Former Member
0 Likes
431

Hello,

Please refer to the following link..

Regards

Indu.

Read only

Former Member
0 Likes
431

Hi,

The flow is like

VBAK---(LIKP) ---VBRK

-


VBFA ---

VBAP---(LIPS) -


VBRP

The fields would be like VGBEL , VGPOS in LIKP & LIPS and VBFA and the corresponding invoices would be in VBRK & VBRP.

Regards,

Khan.