Skip to Content
0
Former Member
Aug 15, 2008 at 07:04 AM

Document flow between Order & Invoice

924 Views

Hi Experts,

I have a requirement which I am not sure is feasible or not. Please share your thoughts.

The user will be creating:

1) Service Notification (Tcode IW51)

2) There is an action box on the Service Notification, using which the User will create a Return Order. This return order will be linked to Service notification as:

Service Notification -> Preceding document

Return Order -> Next document

3) While filling the action box in step (2), there is a field for Invoice (against which the Return Order is created). Whichever Invoice is being entered in the field, there should be a docflow as follows (docflow for both header & items):

Invoice -> Preceding document

Return Order -> Next document (each return order item corresponds to an invoice item)

My problem is in step 3. I am using the function module "RV_DOCUMENT_FLOW_ADD" and it:

i) Creates an entry in table VBFA

ii) The doc flow is visible (for both header & items) from the invoice document and is perfectly fine.

But the doc flow is not visible when viewed from the Return Order (VA02/03) and the customer necessarily wants this, coz he wants to know which Invoice is linked to the Return Order.

Please advice on what can be done here to achieve the problem in step3.

Regards

Vicky