Skip to Content
author's profile photo Former Member
Former Member

Hiding account assignment fields

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 ?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 28, 2008 at 10:44 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.