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

dinamic SELECTION

Former Member
0 Likes
1,555

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

1 ACCEPTED SOLUTION
Read only

Clemenss
Active Contributor
0 Likes
1,490

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

14 REPLIES 14
Read only

Former Member
0 Likes
1,490

Which program

Max

Read only

0 Likes
1,490

post the name of the program...maybe is using a logical database

Read only

Former Member
0 Likes
1,490

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

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,490

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.

Read only

0 Likes
1,490

Just as Keshav said

try to check if a LDB is used in your program: check the attributes of the program

Max

Read only

Former Member
0 Likes
1,490

Hi,

the attributes all I see is TYPE = MODULE POOL

nothing else.

Read only

0 Likes
1,490

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.

Read only

Former Member
0 Likes
1,490

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.

Read only

0 Likes
1,490

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

Read only

0 Likes
1,490

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.

Read only

Clemenss
Active Contributor
0 Likes
1,491

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

Read only

Former Member
0 Likes
1,490

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!

Read only

0 Likes
1,490

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

Read only

Former Member
0 Likes
1,490

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