‎2010 Nov 30 8:10 PM
Hi,
I have to update the selection screen of a program (change two fields from RANGE to SINGLE VALUE). So, I check the technical information (F1) to know the name of the field. then I got to the program and look for it, but it is not there!.
Is there somthing like dinamic slection screen???? I really don't understand how this screen was made. when executing, I can see 7 fields (all of them RANGE, that means have LOW and HIGH boxes to enter values). But when I look in the SE80 Layout editor, y can see only 1 !!!
any ideas??
thansk for the help.
Mauricio
‎2010 Nov 30 9:18 PM
Hi Mauricio,
in a module pool you have no standard selection screen.
So a global search in SE80 for something like selection-screen begin of screen....
If not found: You can use functionb modules like FREE_SELECTION_INIT etc but then the select-options should appear in a popup.
When you are on the selection screen,. use menu system-status to know which program an what screen you really are.
That's my 2 cents.
Regards,
Clemens
‎2010 Nov 30 8:18 PM
‎2010 Nov 30 8:20 PM
post the name of the program...maybe is using a logical database
‎2010 Nov 30 8:21 PM
Max,
is a Z program. somebody developed this and now I have ti do some changes.
my problem is that I can't see where the original developer wrote the SELECTION- commands.
thanks for the help.
Mauricio
‎2010 Nov 30 8:27 PM
May be its a selection screen included as a subscreen. Goto se80 and navigate it.
Or as said it may be the dynamic selections from the LDB. Just goto the attributes of the program and check whether any LDB is used.
‎2010 Nov 30 8:34 PM
Just as Keshav said
try to check if a LDB is used in your program: check the attributes of the program
Max
‎2010 Nov 30 8:40 PM
Hi,
the attributes all I see is TYPE = MODULE POOL
nothing else.
‎2010 Nov 30 8:43 PM
So its of type M . Then go to se80 open your program, go to the screen flow logic. There shold be a statement call subscreen in which you will get the screen no, you can choose the screen no from the left panel drill down.
‎2010 Nov 30 8:46 PM
this is the flow logic (what does the % symbol do?)
PROCESS BEFORE OUTPUT.
MODULE %_INIT_PBO.
MODULE %_PBO_REPORT.
MODULE %_PF_STATUS.
MODULE %_I_USER.
MODULE %_END_OF_PBO.
PROCESS AFTER INPUT.
MODULE %_BACK AT EXIT-COMMAND.
MODULE %_INIT_PAI.
CHAIN.
FIELD I_USER-LOW.
FIELD I_USER-HIGH.
MODULE %_I_USER.
ENDCHAIN.
FIELD !CK_NEW MODULE %_CK_NEW .
CHAIN.
FIELD I_USER-LOW.
FIELD I_USER-HIGH.
FIELD CK_NEW .
MODULE %_BLOCK_0500001.
ENDCHAIN.
CHAIN.
FIELD I_USER-LOW.
FIELD I_USER-HIGH.
FIELD CK_NEW .
MODULE %_END_OF_SCREEN.
MODULE %_OK_CODE_1000.
ENDCHAIN.
‎2010 Nov 30 8:54 PM
This is not written by user , its generated for the selection screen created. Its hard to answer this question ;).
You have to try because your screen is in front of you ( no offence meant ). . If it was module a pool Z , i was wondering how this code appeared in the flow logic
‎2010 Nov 30 9:31 PM
The code you pasted is for selection screen itself, try to find selection-screen, select-options or call selection screen in your program using global search as told by Clemens.
Thanks,
Anmol.
‎2010 Nov 30 9:18 PM
Hi Mauricio,
in a module pool you have no standard selection screen.
So a global search in SE80 for something like selection-screen begin of screen....
If not found: You can use functionb modules like FREE_SELECTION_INIT etc but then the select-options should appear in a popup.
When you are on the selection screen,. use menu system-status to know which program an what screen you really are.
That's my 2 cents.
Regards,
Clemens
‎2010 Nov 30 9:36 PM
Hi,
I have been looking for the nine parameter in the selection screen, but this is what I found:
SELECTION-SCREEN BEGIN OF SCREEN 500 TITLE text-001 AS WINDOW.
SELECTION-SCREEN BEGIN OF BLOCK a WITH FRAME TITLE text-002.
SELECTION-SCREEN SKIP 1.
SELECT-OPTIONS i_user FOR zipsec01-/bic/zsc_user OBLIGATORY MATCHCODE OBJECT user_help.
" zipsec01-/bic/zsc_user OBLIGATORY.
SELECTION-SCREEN SKIP 1.
PARAMETERS: ck_new AS CHECKBOX.
SELECTION-SCREEN SKIP 1.
SELECTION-SCREEN END OF BLOCK a.
SELECTION-SCREEN END OF SCREEN 500.
I was expecting to find nine lines for PARAMETER one for each field. But none of the are there!
‎2010 Nov 30 9:46 PM
Are they in an include?
Why don't you get the technical name of the select-options you want to find (from the selection screen) and then do a find on the object in the main program. It should show you where they are declared.
Rob
‎2010 Nov 30 11:30 PM
Thanks to all for the help.
I found the SELECT-OPTIONS statement that I was looking for. There were no "dynamic" creation ofr PARAMETERS. I was just looking in the wrong part of the program.
again,
thanks for the help.
Mauricio