2024 Jul 02 7:35 AM - edited 2024 Jul 02 11:10 AM
Hi All
The client requirement is system should process ALE output ( medium-A) after invoice is approved in EDOC-COCKPIT portal in SA.
Business use VF31 to process these outputs.
After creating the invoice in VF01/Vf04 it will be sent to EDOC_COKPIT portal shown below and the requirement is ZRD output type should be processed only when the Billing document is approved in EDOC_COKPIT.
I was thinking to develop a VOFM output routine based on above conditions and assigned that to ZRD output type in Output procedure so system will check the Billing doc status in EDOC-COCKPIT and if not approved it should not be determined the ZRD in billing document.
But I see the above solution may not work as after creating the billing doc it is sent to EDOC-COCKPIT after some time someone manfully approved it. So in this case there is a time gap.
What i am thinking we need to write a code in VF31 program where system should consider those invoices which are approved in EDOC-COKCPIT into VF31 list?
Tanks in advance
Instead of hard coding the logic, it is good to explore TVARVC table where you create one variable for this logic. The combination can be
Sales Org / Payer / Output type
and with the related billing user exit, in vf02 or vf31, system should trigger output, if the required criterial meets. By this approach, even there is a change in output type or new sales org to be added, you can do so easily in this table; rather modifying the code again
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
8 | |
8 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.