Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SRM-HIDING SOME FIELDS

Former Member
0 Likes
411

HAI ALL,

I AM USING BBP_CUF_BADI_2 for hiding fields but still its displaying pls give solutions:

following code i written as

IF wa_et_fields-fieldname = 'ZECO_REJ' or wa_et_fields-fieldname = 'ZTC_REJ'.

IF is_header-process_type = 'Z3EB'.

wa_et_fields-xdisplay = ' '.

wa_et_fields-xinput = ' '.

endif.

to hide the check box zeco_rej

2 REPLIES 2
Read only

Former Member
0 Likes
376

Hi lakshmi,

What i understud is you are trying to modify the screen dynamically at runtime.

Normally for modifying the screen we loop at the screen and check for the element to enable or disable and we need to write the statement 'Modify Screen'.then only the screen gets modified.

just check out this sample code.

loop at screen.

if screen-name = 'PUS'.

screen-invisible = 1.

modify screen.

endif.

endloop.

hope this helps you.

regards,

sateesh.

Read only

Former Member
0 Likes
376

Hi Laxmi,

To display or hide customisied fields in SRM we will be using method 'MODIFY_SCREEN' of badi 'BBP_CUF_BADI_2'.

Refer to note 672960 - "User-defined fields 2" For more detailed instructions.

Also see the below link

Reward points for helpful answer.

Regards,

Andy

Message was edited by:

Andy V