11-07-2016 1:10 PM
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.
11-07-2016 3:22 PM
11-07-2016 2:09 PM
11-07-2016 2:20 PM
Hi, sorry I wanted to select ABAP but autocomplete gave me no option for that 😞
11-07-2016 3:22 PM
11-07-2016 4:20 PM
I am creating a delivery with BAPI_OUTB_DELIVERY_CREATE_SLS. But it does not automatically make an Outbound Delivery Confirmation.
11-07-2016 6:28 PM
VL08 = "Report Results of Pick Order". You might want to clarify in plain English what you are trying to achieve exactly.
Also please clarify what search strings have you tried in Google before posting. All the possible BAPIs have already been discussed over the 10 years of SCN.
11-07-2016 6:29 PM
It does offer "ABAP Development" option when you start typing ABAP but it is all the way down the list, unfortunately.
11-07-2016 9:41 PM
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:
Please tell me if I am on the right way and if not please push me in the right direction 😉
11-07-2016 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.
11-08-2016 7:42 AM
PyRFC is a library for Python, able to call the RFC functions in SAP.
It's, basically, the Python version for .NET connector.
I also tried in last months it, but i discarded it due some not so intuitive managements, switching to OData
11-08-2016 9:22 AM
Sorry, I assumed PyRFC[1] is known here as it is an open source project by SAP. Unfortunately it seems not to be very well known. It's Java equivalent is SAP Java Connector (SAP JCo).
[1] https://github.com/SAP/PyRFC
"The pyrfc Python package provides Python bindings for SAP NetWeaver RFC Library, for a comfortable way of calling ABAP modules from Python and Python modules from ABAP, via SAP Remote Function Call (RFC) protocol."
11-08-2016 8:04 PM
ABAPers are the ones developing the said "modules", not necessarily calling them. 🙂 One cannot possibly know all the things SAP comes up with these days (on top of those they came up with already and we have to support).
I don't believe the specific way you plan to call the FM matters since the question is about the business logic. But thanks for clarification!
11-09-2016 7:31 AM
It was not meant to become a reproach. It was my mistake to assume it is very well known. Sorry for that.
12-21-2016 11:24 AM
12-21-2016 11:26 AM