cancel
Showing results for 
Search instead for 
Did you mean: 

Foreign trade--Billing document should not be created with missing data

Former Member
0 Kudos

Hi,

We have foreign trade set up. In that we defined incompletion schema at line item level with commodity code and country of origin as "Field ready for input - Incompletion check active".

Can anybody tell me that, in the above setup, is it possible to avoid the creation of billing document with missing above data.

Generally , system will go for the accounting status for block with foreign trade data missing. But our users don't want to create the billing document if the data is missing.

Can any body suggest us.

Rajesh.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member217082
Active Contributor
0 Kudos

Hi Rajesh

You have to set up a new subroutine or you have to copy the standard subroutine and include the logic that it should read the foreign trade details at both sales order and delivery levels.you need to assign the subroutine in both VTFL and VTFA copy controls (header and item levels)

Another option is you have to go with user exit RV60AFZZ.Please refer this link,hope it should solve your problem

http://forums.sdn.sap.com/thread.jspa?threadID=1361141&tstart=3735

Regards

Srinath

Shiva_Ram
Active Contributor
0 Kudos

You can control this in the copy control settings in t.code VTFL (delivery to billing) or in VTFA (order to billing). Check the routine assigned in the field copying requirements at both the header level and item level. Copy this routine and add additional coding (in t.code VOFM), to check the completion status of the delivery/sales order and if it is incomplete do not allow to create the billing document and provide reason.Add this routine in the copying requirement field, then test.

Regards,