I need assistance determining how to gather more than one delivery information from VF04 and get that data passed to the user exit where I have a webservice that will use it.
The code in RV60AFZZ USEREXIT_PRICING_PREPARE_TKOMP seems to have only one of the deliveries from a list of deliveries (in some cases, multiple deliveries are for a single invoice).
This is working well for one delivery per invoice at a time from VF04, but when we select multiple deliveries and hit Collective Billing, the user exit doesn’t have values for more than one of the deliveries or invoices from the screen. Although it passes through the logic more than once, the data (for the delivery number, etc) doesn't seem to change, and is only the first delivery number over and over again. I have XVBRP and VBAK, LIKP, LIPS, etc. but they all seem to reference the same delivery/invoice/order on subsequent passes through the user exit.
To get my webservice working correctly, I need to add all the delivery info for a single invoice, for each webservice call. That isn't the issue.
The main issue is the data from all the deliveries order and invoices from the screen doesn't seem to be available in USEREXIT_PRICING_PREPARE_TKOMP. How can I get the data for all deliveries and invoices displayed on the screen in the user exit? The user exit only seems to know about one (the first) delivery.