Skip to Content
author's profile photo Former Member
Former Member

Automatic Invoice creation in background after clicking on PGI button on vl02n

I have requirement for one of our client.

They want to run vf01 in background after clicking on IMG button on VL02N.

I just want to know how can I solve this problem?

is there any badi , bapi or exits availabe



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jun 04, 2012 at 01:03 PM

    Hi Deepika

    This can be done in two ways.

    1. Create a Background Job, that runs on every predefined time and picks up the PGI completed items and generate the Billing document


    2. This has to be done in combined effort with the Functional Consultant and ABAP Technical consultant as follows

    a) Create a new condition type for delivery documents (special function) and assign the program you will create as below.
    b) Assign a requirement to the condition type so that the condition record is not executed until PGI has been done.

    c) Create a program and assign it to the condition type to create the invoice using BAPI call.


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.