Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

user exit trigerred after billing document is generated

Former Member
0 Likes
829

The objective is to set the Sales Order Item Level System Status. Using a line item that is created in VA01, I have to create a reference item in VA02. For both the line items created I have to generate billing document in VF01. After the billing document is created (when I give save in VF01), using the billing document number I have to set the Billing and delivery system status to completed.

The functional specification provided me with a user exit USEREXIT_NUMBER_RANGE in RV60AFZZ. But the exit is getting triggered before the billing document number is generated. So I am unable to set the status. Can you suggest me a user exit that would be triggered after the billing document is generated?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
538

if your invoice is relevant for accounting posting - you may use one of SD/FI exits (check RV_ACCOUNTING_DOCUMENT_CREATE and search for call customer-function).

OR you may define new output type for your invoice and put your logic there, nast-objkey will have invoice number.

The objective is to set the Sales Order Item Level System Status. Using a line item that is created in VA01, I have to create a reference item in VA02. For both the line items created I have to generate billing document in VF01. After the billing document is created (when I give save in VF01), using the billing document number I have to set the Billing and delivery system status to completed.

The functional specification provided me with a user exit USEREXIT_NUMBER_RANGE in RV60AFZZ. But the exit is getting triggered before the billing document number is generated. So I am unable to set the status. Can you suggest me a user exit that would be triggered after the billing document is generated?

1 REPLY 1
Read only

Former Member
0 Likes
539

if your invoice is relevant for accounting posting - you may use one of SD/FI exits (check RV_ACCOUNTING_DOCUMENT_CREATE and search for call customer-function).

OR you may define new output type for your invoice and put your logic there, nast-objkey will have invoice number.