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: 

Linking an existing Output type for a Sales Invoice to a Purchase Invoice

Former Member
0 Kudos

Hi All,

We have the following scenario in place for our client

1. Creation of a Sales order triggers the creation of a Purchase Order automatically through IDOCs.

2. Also the creation of Sales Invoice would generates a Purchase Invoice automatically through IDOCs (INVOIC01).

3. We have a output type defined for the Sales Invoice. It's a PDF document and is stored in external archiving system (3rd party).

4. The archival link is updated in the Sales Invoice Document and the PDF output can be viewed by clicking on the attachments in VF03.

The requirement is to link the same PDF document to the corresponding Purchase Invoice (which is created from the Sales Invoice as described in step 2).

I have gone through the SDN posts already but was not able to find an answer which would solve this.

Any pointers for this would be greatly appreciated.

Thanks & Regards

Barada

1 REPLY 1

Former Member
0 Kudos

We used the standard FM 'ARCHIV_WORKFLOW_COMMIT' for the solution.