cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Cancellation of invoice restrict on company code level

Former Member
0 Kudos

Hi Experts,

Would you please help from below issue.

SAP Cancellation of invoices, if it possiable to block the cancellation invoice document type for specific company code level.

We have almost 8 to 9 company codes but we want 2 block -caencellation invoice type to specific company code level and also we want to make sure invoice document should not cancell at any time in selective company code level,

We are using YS1- cancellation invoice document type for all companycodes(similiar to Standard S1  -type).

Thanks in advances !

Regards,

Jackon Robert

Message was edited by: Lakshmipathi Ganesan Dont add URGENT in subject

Accepted Solutions (0)

Answers (2)

Answers (2)

ivano_raimondi
Active Contributor
0 Kudos

Hello Robert,

by transaction VOFM, menu Copying requirements > Billing documents. Created your own requirement routine with the necessary checks. (example routine 029 unallows cancellation of billing document with cleared FI document).

Then run transaction VOFA and select the billing document type to be cancelled. Here there is the field 'Copying requirements' (field TVFK-GRBED_S). Here you can maintain the requirement routine.

Best regards,

Ivano.

Shiva_Ram
Active Contributor
0 Kudos

You can control this using the copy control settings in t.code VTFF. Select the cancellation document <- billing document type. Then go to the details.Check the routine assigned in the field copying requirements. Then go to t.code VOFM ->Copying requirements ->billing document. Copy the routine number assigned in VTFF, and create a new routine number, then add additional code to check the company code of the billing document. If restricted company code is found, then provide hard error in it. Then assign this new routine in VTFF.

Regards,