04-23-2014 8:19 AM
Hello SAP Programmers,
When i create addtional custom fields on ´Additional tab B´, these custom fields must only visible to one client(i am logged in as client 400).
Is there any way please suggest me.
Thanks & Regards,
NarsiReddy Cheruku
04-27-2014 2:43 PM
Hi Narsireddy,
1. Specify
In PBO you make the below condition. Find the screen fieldsof the two fields you want to hide , otherwise make a fields into a group and try to use the below code in PBO.
IF sy-mandt <> '400'.
LOOP AT SCREEN.
IF screen-name = 'X '.
screen-invisible = 1.
screen-active = 0.
MODIFY SCREEN.
ENDIF.
IF screen-name = 'Y '.
screen-invisible = 1.
screen-active = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
Thanks & Regards,
S.Rajendranath Raparthi
04-23-2014 9:37 AM
Hi Narsireddy,
Try to use screen fields and see. I am not sure. get the client name in a condition and try.
Regards,
Madhu.
04-23-2014 4:45 PM
Hi
In the PBO for your screen, in a module write something as that
IF sy-mandt <> '400'.
LOOP AT SCREEN.
IF screen-group1 = 'Z01'.
screen-invisible = 1.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
Set the fields and so on to a group1 (or other, and write it in your IF/ENDIF)
I hope this helps you
Regards
Eduardo
04-27-2014 2:43 PM
Hi Narsireddy,
1. Specify
In PBO you make the below condition. Find the screen fieldsof the two fields you want to hide , otherwise make a fields into a group and try to use the below code in PBO.
IF sy-mandt <> '400'.
LOOP AT SCREEN.
IF screen-name = 'X '.
screen-invisible = 1.
screen-active = 0.
MODIFY SCREEN.
ENDIF.
IF screen-name = 'Y '.
screen-invisible = 1.
screen-active = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
Thanks & Regards,
S.Rajendranath Raparthi