cancel
Showing results for 
Search instead for 
Did you mean: 

BSEG-STCEG empty

Former Member
0 Kudos

Hi SAP experts,

In our system the field STCEG in table BSEG is always empty. Is there any possibility how to customize our system to fill this field automatically? I've searched the web and the SPRO and have not found any relevant solution.

We post documents straight in FI.

We need this to be filled to see VAT Reg. No in FBL1N / FBL3N / FBL5N reports.

Thank you in advance.

Alena

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Alena,

We recently had an issue with this field and we had reported this issue to SAP OSS. Not sure if you also have the same problem, but please read through the logic, if it is of some help to you..

"If document is posted in stright in FI the VAT registration number will

be taken from this FI document ( BSEG-STCEG ). If document comes from

MM/SD the VAT registration will come from this MM/SD document and will

be stored in the header of FI document ( BSEG-STCEG )

It will look for VAT register in those documents

first. If it doesn't find them there it will go to master data

of customer/vendor for the VAT register number.

Now, if there is no VAT number stored in document, the register

should look for the VAT number in master data depending on tax settings

If this is EU transaction (e.g. if there is tax with EU code 1,2,3, 4, 5or 9 settings (see trans. FTXP) used in document),

The Report should

take VAT number from LFA1-STCEG field, e.g. PL0123456789.

If tax code used in the document is not set as european transaction (EU

code in FTXP = ' ')then report should take VAT number from

"Tax Number 1" (-STCD1) , for example 123-456-78-89 or 123-45-67-789."

Regards,

SAPFICO

Answers (4)

Answers (4)

0 Kudos

Hi, what do you need to do in configuration or screen development so that the "Reporting Country" field ( INVFO-EGMLD) appears in the MIRO Details Tab?

former_member207607
Active Contributor
0 Kudos

Dear Alena,

as You know, into the vendor-customer masted data, You can insert more than one STCEG entry.

This is the reason why when You run FB60 or FB70, initially the field Vat Registration number is empty.

If You insert the Reporting Country INVFO-EGMLD, then the System will check if a VAT registration number with such an ISO code is into the vendor custome master data. If You defined into the vendor master data a VAT reg. num with that Country, the System will copy automatically it during the FB60-FB70 posting.

Please test it and let me know.

Mauri

ps remember that during the FB60-FB70 posting You found the Vat reg numb and the Reporting Country into the TAB Details.

former_member194797
Active Contributor
0 Kudos

Hi,

in our system (4.7), STCEG is filled by the system when we mention the Rep. country (field EGMLD) in the screen called by the "more data" button. The system takes the VAT number corresponding to the choosen country. When EGMLD is empty, STCEG remains also empty.

Former Member
0 Kudos

Hi...

Check if e_rbkpv-stceg is getting populted or not in the program.

In case it is not try to populate it in user exit with the value in field E1EDK01-KUNDEUINR or E1EDK01-EIGENUINR in include ZXM08U26. also refere SAP Note: 368310.

i hope you will get some idea.....

But before posting issue first search in the SDN...

If you not get solution ...than try to post...

Regards

vamsi