cancel
Showing results for 
Search instead for 
Did you mean: 

FEC file - how to handle empty SGTXT fields

0 Kudos

Hello Experts,
we created FEC extract and views according to the relevant SAP notes.
Now our auditors complain that many lines only contain "*" in field SGTXT.
They claim that according to French law all SGTXT fields have to contain a sensible text.

1. Is that true? According to our accounting the law is pretty clear about that. I can hardly imagine that this is not covered by SAP's solution.

2. If so, how can we accomplish that?
Manual maintenance does not cover automatically generated item lines
A substitution could become very complex, covering the various rules for sensitive texts
A batch job updating today's records would be likewise complex but not as performace relevant.

How do other companies deal with this requirement? It seems strange I could not find anything in the internet...

Thanks for your support.

Regards, Jens

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

The star is produce by the standard BADI method IF_BADI_TXW_DATA_SELECTION~EXTRACT_TXW_FI_NGL_POS :

If SGTXT is empty and ZUONR is also empty at item level

* check whether Item Text is empty. if so then fill
IF IT_TXW_FI_NGL_POS-SGTXT IS INITIAL.
IF IT_TXW_FI_NGL_POS-ZUONR IS INITIAL.
IT_TXW_FI_NGL_POS-SGTXT = '*'.
ELSE.
IT_TXW_FI_NGL_POS-SGTXT = IT_TXW_FI_NGL_POS-ZUONR.
ENDIF.