cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

fb60 posting error:‘format for reference document number is invalid’

Former Member
0 Kudos
3,019

Hi all

iam facing an issue in Argentina  company code posting.

When the user is trying to post the a vendor invoice form
FB60 and in the reference tab he is giving M-00020 the system is giving an
error message – ‘format for reference document number is invalid’

We have checked all the setting in OBA7 for the doc number
range for KR. The settings are fine from our end.

Due to this error message the user is unable to post the
document. Please advice on the same.

Arman

SAP FICO

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member183378
Active Contributor
0 Kudos

Hello Arman,

This problem is caused by changed the setting in SAP system as of ECC6 EHP 5.

With EHP 5, Manual posting vendor invoice for Some countries like Indonesia, Argentina must fill in the Field "Reference" in Header area data. As we check the program, it is should be fill in with Tax invoice number with 16 characters without gap.

Should the vendor has no tax invoice number, you can fill in with 0 (zero) 16 characters and the document can be posted without error.

For more details pls chk this link once.

http://sap.ittoolbox.com/groups/technical-functional/sap-acct/format-of-reference-document-number-is...

I hope it helps else revert us with your queries.

Thanks & Regards,

Lakshmi S

Former Member
0 Kudos

Hi Armaan,

This issue is due to settings in SAP system as of ECC6.0 EHP5.

With EHP 5, manual posting of Vendor Invoice for some countries like Argentina requires that the Reference field be filled. The Program says it should be filled with Tax Invoice No. with 16 characters without gap. and if you don't have tax no. you can enter all 00000. It should get posted.

You can also try as suggested above to remove the doc types from SPRO.

Regards,

Kavita

Former Member
0 Kudos

Hi Kavita / All,

I guess the message no is 8A-551/556.

And these are the particular settings required for Argentina country as far as I know.

Which says :

Short Text



Format of reference document number is invalid

Diagnosis



You have chosen a document type that is relevant for official Argentine document numbering and for which the official document number is not automatically generated. That means that you have to enter the official document number in the reference field in the following format:

        XXXXANNNNNNNN

XXXX:     4 digit number for the issuing branch

A:        Printing character

NNNNNNNN: 8 digit number field

Procedure


Please enter the official document number in the format desribed above. Please check also that the printing character entered in position 5 is defined in your customizing settings of the possible printing characters.

so Arman has to find out Printer Character for his printer in SPAD with his device type for LP01 printer. 

I hope this helps !!!

Regards,

Sharvari Joshi.

Former Member
0 Kudos

Hi Arman,

Did you check if there is any Validation defined in your system on the Format of XBLNR field value.

BR

Amitash

Former Member
0 Kudos

Please try this:

SPRO> General Application Functions -> Cross Application Document Numbering -> Argentina -> Assign Document Class to Document Type

Country = 'ID' and Remove all document types in the list.

Thanks,

Kumar

Shahzad_Ahmed1
Explorer
0 Kudos
In SAP S4 HANA 2023, the new path is as follow
Shahzad_Ahmed1
Explorer
0 Kudos
SIMG--Cross Application Componenet---General Application Function---Document Reporting Compliance---Country/Region Specific Setting---Argentina---Statutory Reporting---Last Official Document Number---General Setting----Assign Document Class to Document Type