cancel
Showing results for 
Search instead for 
Did you mean: 

Withholding tax fields in Vendor master is not avbl to config as sensitive

Former Member
0 Kudos

Hi,

I need to configure, fields in Withholding tax accounting as sensitive fields in Vendor Master.

Table reference for Withholding tax is LFBW.

But the fields from this table are not avbl for configuring in SPRO.

It gives an error message as: This field is not allowed.

Is there any other method to add the required fields from LFBW table to configure them as sensitive fields.

Or adding the fields as sensitive is restricted for few fields only.

Pls do the needful.

Regards,

Radha

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Radha,

I finally found development we did for a customer. Below you can find sampler code. You can use exit ZXF05U01.

FIELD-SYMBOLS : <FIELD_VALUE> TYPE ANY.

DATA : SENSITIVE_FIELD(30).

FIELD-SYMBOLS : <FIELD_VALUE2> TYPE ANY.

DATA : SENSITIVE_FIELD2(30).

TABLES : T055F .

IF LN_LFM1 NE I_LFM1.

REFRESH KRITAB.

SELECT * FROM T055F WHERE KOART = 'K' AND

FELDN LIKE 'LFM1%'

.

SPLIT T055F-FELDN AT '-' INTO KRITAB-TABNAME KRITAB-FNAME.

APPEND KRITAB.

ENDSELECT.

LOOP AT KRITAB .

CONCATENATE 'LN_LFM1' '-' KRITAB-FNAME

INTO SENSITIVE_FIELD.

CONCATENATE 'I_LFM1' '-' KRITAB-FNAME

INTO SENSITIVE_FIELD2.

ASSIGN (SENSITIVE_FIELD) TO <FIELD_VALUE>.

ASSIGN (SENSITIVE_FIELD2) TO <FIELD_VALUE2>.

IF <FIELD_VALUE> NE <FIELD_VALUE2>.

<FS_LFA1>-CONFS = '1'.

IF SY-TCODE = 'XK01' AND <FS_XASEG> = ' '.

DATA : LFM1CONFS(1) TYPE C .

EXPORT LFM1CONFS LFM1CONFS2 FROM '1' TO MEMORY ID

'LFM1CONFS'.

UPDATE LFA1 SET CONFS = '1'

UPTIM = SY-UZEIT

UPDAT = SY-DATUM

WHERE LIFNR = <FS_LFA1>-LIFNR .

Former Member
0 Kudos

Hi Melih,

Thank you for the support.

Will check on that.

Regards,

Radha

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Radha,

You need to directly insert LFBW values into table T055F using SE11. When there is changes in one of these fields, which are not standard, pass LFA1-CONFS value 1 using FM BAPI_VENDOR_GETDETAIL

Best regards.