cancel
Showing results for 
Search instead for 
Did you mean: 

Hiding account assignment fields

Former Member
0 Kudos

I have to hide few fields in the table control of account assignment overview

PO->Item->account assignment.

UI CONTROL BADI doesnt seem to work for me

IF iv_fieldname = 'BBP_PDACC-DISTR_PERC' OR

iv_fieldname = 'T_SCREEN_ACCLIST-DISTR_PERC' OR

iv_fieldname = 'BBP_PDACC-G_L_ACCT' OR

iv_fieldname = 'T_SCREEN_ACCLIST-G_L_ACCT'.

cv_invisible = 'X'.

CLEAR cv_input_ready.

ENDIF.

any inputs anyone ?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Pls check whether the structure for the fields in proper.You can see that at runtime.Switch on debuggind and see the exact structure names for the various fields .

For the PO item,the structure is BBP_PDS_ITEM.So for the account assignment fields like G/L account,you need to write something like this,

IF iv_fieldname = 'BBP_PDS_ITEM-G_L_ACCT'.

cv_invisible = 'X'.

ENDIF.

BR,

Disha.

Pls reward points for useful answers.