cancel
Showing results for 
Search instead for 
Did you mean: 

Change of doc type in billing type

Former Member
0 Kudos

in billing document type F2, document type is assigned as RV but in billing document type S1 no document is assigned (it is blank). during cancellation of billing document, finance voucher is created with document type AB (which is not assigned in S1).

i want to change document type in S1.

can i assign new document type (self generated) or should it be RV ?

also from where it picks AB as default ?

kindly provide me solution.

warm regards.

Manjit

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

As Krishna rightly put in, it is hard coded.If npthing is maintained RV for F2 is picked and AB for S1 is picked.

Regards

Anil

Former Member
0 Kudos

Hi,

The REVERSAL DOCUMENT for RV was defined as AB in the FI document details in OBA7 Transaction.

Please check the OBA7 settings for RV, so if the value of document type for S1 is blank, then it will pick the Default document assigned in OBA7.

and for your another Question to define your own documen type

Yes, you can define it in OBA7 and assign it to S1 in VOFA.

Plese check and revert back if u need further details.

regards,

santosh

Former Member
0 Kudos

Hi

As per your questions:

1) can i assign new document type (self generated) or should it be RV ?

A: In the best practice we are not assigning accounting document type to cancel billing document type. The reason behind this is when we cancel any billing document automatically accounting entries will revert or canceled. Reverse document for accounting document is define at accounting document level like our billing documents having cancel type.

So better you assign at OBA7 level. say for RV reverse document type = 'ZZ'.

2) also from where it picks AB as default ?

Default is coming from OBA7.

Conclusion: don't touch VOFA level for new reverse accounting document type. Change settings at OBA7 level.

Former Member
0 Kudos

millions of thanks

it works perfectly

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

First Goto VOFA T.code.

Click on Position.

Enter your original document type.In our case it is F2.

Select that one and click on Details.

Check the cancell. billing type which is under "Cancellation" tab.

Make a copy of it.

Check the document type which is in "General Control" tab.

If you maintain any entry here,then the accoutning document type is the type you maintained value in this field.Else by default it will be "RV".

It is because of one FM "RV_ACCOUNTING_DOCUMENT_CREATE".

The contents in the FM are:

if tvfk-blart is initial.

xaccit-blart = 'RV'.

else.

xaccit-blart = tvfk-blart.

endif.

Now again Go back to VOFA T.Code.

Enter the cancel. document number whic is already noted down earlier.

Similarly check for the document type in the "General Control" tab.

If it has value then the accouting document type is of that value.Else by default it will be "AB".

Reagrds,

Krishna.

Former Member
0 Kudos

Hi,

As I understood from your question, you want to have a pre-defined cancel billing type for your normal billing type.

This can be done in below Tx.

TX: VOFA

Select your normal billing type (Eg: F2)

Go in to details of it.

Under "Cancellation" section can you see a field called "CancelI.billing type". Assign the relevant cancel billing type there.

If you go to standard "F2" billing type, you can see "SI" assigned there.

That's where system picks cancel billing type, when cancelling invoices for a particular invoice type.

Best regards,

Anupa