Subprogram to Create Delivery and Invoice

I want to build a few subprograms to be executed through web services. Basically, from a given picklist in GESPRH2, I want to click the buttons for 'Deliverable' and then 'Delivery' to create the delivery, and then in GESSDH I want to click the 'Invoice' button to create the invoice. (There is another article that discusses validating a delivery, so that's all set. I can already import the delivery against the picklist, but I imagine it would be a lot easier to just execute the given function directly, if possible.) Conversely, if I can't essentially click the buttons in those functions, can I run FUNPREDLV (Pick Ticket Deliveries) and FUNAUTINVD (Delivery Invoice Generation) in this manner? Any thoughts would be appreciated. I'm on V12.0.23.

Thanks.

  • Did you find a solution for this? Would you mind sharing the approach?

  • 0

    Web Service Execution: Most modern ERP systems offer web services or APIs to trigger specific functions. If the software has API documentation, check there first. Directly Triggering Functions: If you can't "click the buttons" programmatically through a web interface, look into whether FUNPREDLV (Pick Ticket Deliveries) and FUNAUTINVD (Delivery Invoice Generation) have associated API endpoints or web services that can be called. Automation Tools: If APIs aren't available, another approach could be using RPA (Robotic Process Automation) tools to automate the button-clicking processes within the software's UI. Consult the Vendor: Since you mentioned a specific version (V12.0.23), reaching out to the software vendor or checking the software's user manual can providea more exact solution or recommendations.  MyTHDHR Schedule