cancel
Showing results for 
Search instead for 
Did you mean: 

Using different reversal document types for different company codes

0 Kudos
833

Hi All ,

We are managing different company codes in the same client. Since document types are defined at the client level, a few company codes are using the same document types. When we issue invoice invoices from SD module , our system is assigned "RV" document type for all company codes and the reversal of "RV" document type is "AB" .

My question is that is it possible to use different reversal document type for different company codes at the time of reversal VF11 t-code ? I mean , can we change assigned reversal document type by using substitution, user exit etc..for specific compnay code ? For example, when I reverse RV document for company code 1000, system uses "AB" document type which is customized, but when I reverse RV document for company code 2000 , system uses "SA" or something else. Is there a way ?

Thank you in advance

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member513101
Active Contributor
0 Kudos

Hi Onur,

It is possible with standard SAP S/4. Please ask your SD consultant to implement Flexible Billing Document Numbering.

Thanks

0 Kudos

Hi Lam ,

We are not using SAP S/4, using R/3 . Do you know how to do it in R/3 ?

former_member513101
Active Contributor
0 Kudos

Hi Onur,

For R/3 then you need to write logic to USEREXIT_NUMBER_RANGE. You can refer to following hyperlink

Link 1.

Link 2.

Thanks

Mainak0412
Active Participant
0 Kudos

Hello,

I don't think there are any options available in standard where we can specify different document types for different co.codes, reason as you mentioned doc. types are defined at client level.

Secondly, for every document type we have to specify a reversal document type for differentiation of no. ranges.

You can check whether substitution/user exit will help you to take care of your requirement.

sanilbhandari
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi

I am not sure, if changing the document type for specific company code helps. since the document numbering is at a company code level and so you should be able to distinguish document specific to a company code.

However, if there is still a requirement to do change the reversal document type, than one of the process could be to use substitution rule. The below blog might be able to help on how to write a substitution rule:

https://wiki.scn.sap.com/wiki/display/ERPFI/Validation+and+Substitution

https://wiki.scn.sap.com/wiki/display/ERPFI/Creating+user+exits+for+substitutions

Thanks & Regards

Sanil Bhandari