Skip to Content

How to call VL08 remotely?

I am trying to figure out which BAPI or FM to use to call VL08 remotely (e.g. with PyRFC)

EDIT: Seems that I get what I want (namely "Warenausgang buchen" in VL01N) with WS_DELIVERY_UPDATE_2.

Add comment
10|10000 characters needed characters exceeded

  • It does offer "ABAP Development" option when you start typing ABAP but it is all the way down the list, unfortunately.

  • Thanks for reply. I am doing the following steps in SAPGUI and I would like to achieve the same result by calling appropriate BAPIs with PyRFC:

    1. VA01 - create sales order
    2. VL01N / VL02N - Create Outbound Delivery with Reference to Order
    3. VF01 - Create Billing Documents

    I am able to finish all three steps in SAPGUI successfully. For PyRFC part I experimented with SE37 to find out the right BAPIs and parameters.

    So far I have found following BAPIs. I am not sure if this are the right ones but they give me (almost) same result as transactions above:

    2. BAPI_OUTB_DELIVERY_CREATE_SLS (for VAL01N) + WS_DELIVERY_UPDATE_2 (to "post a goods issue" which on SAPGUI is happening by clicking Button "post goods issue?" - original in German "Warenausgang buchen" - in VL02N view)
    3. BAPI_BILLINGDOC_CREATE (for VF01) - not sure about this one, cause it just calls the transaction itself and gives me a runtime error when I try to call it with PyRFC

    Please tell me if I am on the right way and if not please push me in the right direction ;-)

  • correct answer is: WS_DELIVERY_UPDATE_2

  • Get RSS Feed

3 Answers

  • Best Answer
    Nov 07, 2016 at 03:22 PM

    Did you try some of the BAPI_OUTB_DELIVERY* ?


    Add comment
    10|10000 characters needed characters exceeded

  • Nov 07, 2016 at 11:12 PM

    Overall you are not wrong. I'm not sure what PyRFC is. And I don't know anything about Z... program, it's custom in your system. There is a well-known standard BAPI for the sales order creation.

    Delivery seems OK and yes, PGI process is a separate step and I don't know a better FM for it. I believe it is possible to configure delivery creation and picking to be automatic, as soon as the order is placed. Check with your SD consultant.

    VF01 has been answered here. But you might be better off if you just run Billing Due list (VF04 / SDBILLDL) frequently. Depending on your data volume, it could be beneficial to run some processes in mass instead of individual RFC calls.

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 21, 2016 at 11:24 AM

    @Raymond yes it works with WS_DELIVERY_UPDATE_2

    Add comment
    10|10000 characters needed characters exceeded