2008 Nov 28 12:57 AM
Hi in,
F.19 transaction selection screen i want to grey out POSTING tabstrip ie.the user should not be able to use the option.i found that an LDB is being used for the selection screen i alreadycopied the program to a Zversion i want to know where exactly the to be comented pleasesuggest.
2008 Nov 28 10:40 AM
Hi,
AT SELECTION-SCREEN OUTPUT.
PERFORM enable_disable_fields.
Means:
on routine enable_disable_fields, you can disable the contents of your selection-screen, using :
LOOP AT SCREEN.
if screen-group = 'INS'
screen-input = 0.
modify screen.
endif.
ENDLOOP.
According with your choices, you will disable the fields:
screen-input = 0.
modify screen.
You can control by screen group (in the example) or by screen name.
Kind Regards,
Moreira
2008 Nov 28 11:07 AM
try:
at selection-screen output.
LOOP AT SCREEN.
IF screen-name = 'TABS1020'.
screen-invisible = 1.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
hope that helps
Andreas
2008 Nov 28 12:28 PM
Hello Prakash,
I undestand that you do not want to let the user to use a specific field on selection screen.
Is it alright if you remove that field from the selection screen
http://www.saptechnical.com/Tips/ABAP/SelectionScreen/Modify.htm
Here they had provided instructions to modify a screen on selection screen.
In your case if you do not want it then simply select the Screen element and click on Delete.
Go to Se80, Provide the name of the report and click on Screens and then click on Layout and it will show you the screen elements that they had used.
Simply select the screen element and delete that you do not want on the selection screen.
First Try this by copying your program into another program if this satisfies then you can do the same in the original program
Regards,
Kittu
Edited by: Kittu on Nov 28, 2008 1:28 PM
2008 Nov 28 12:43 PM
Hi,
In the Z program,
Find for the terms 'PARAMETER' and identify the field values for the tabstrip POSTING.
Then introduce a initialization event, and then modify the screen parameters by using LOOP AT SCREEN for those parameter entries.
CHeers...
2008 Nov 28 12:53 PM
the copied Z... program still uses the standard logical database, which means the possibilites are restricted. This means, for example you cannot turn off the whole tabstrip, only the fields on it one-by-one. Fastest solution is only to turn out the checkbox on the top of the tabstrip. This checkbox makes the postings, so if it cannot be turned on, it is irrelevant what values the fields under it get. You have to do the following:
In the FORM modif_screen pls. add the following:
LOOP AT screen.
CHECK screen-name EQ 'PAR_BI'.
screen-input = '0'.
MODIFY screen.
ENDLOOP.