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

Dynamic Selections

Former Member
0 Likes
1,028

If you check transaction ME80FN or CN41 you will see a button called "Dynamic Selections".

How can I have the same in my Z program?

thanks

7 REPLIES 7
Read only

andreas_mann3
Active Contributor
0 Likes
933

Hi,

that is only for logical database - ldb

http://help.sap.com/saphelp_erp2004/helpdata/en/9f/db9bed35c111d1829f0000e829fbfe/frameset.htm

use ldb (e.g. MEPOLDB) in <b>program-attributes</b>

Andreas

Read only

Former Member
0 Likes
933

HI

YOU CAN DO THAT:

JUST CREATE A subscreen (SAY '0100') in your porgram with all the text box and other control.and add a button in the toolbar.now on that button click,

handle the usr_command as caLL SUBSCREEN '0100'.

Read only

Former Member
0 Likes
933

Hi,

Use these FMs to create your own dynamic selection.

FREE_SELECTIONS_INIT - Initialize dynamic selection: Declare permitted tables ...

FREE_SELECTIONS_DIALOG - Dialog for entering dynamic selection conditions

Svetlin

Read only

0 Likes
933

Its not just for logical database

you can use it even if you dont use logical data base using FMs

FREE_SELECTIONS_INIT - Initialize dynamic selection: Declare permitted tables ...

FREE_SELECTIONS_DIALOG - Dialog for entering dynamic selection conditions

as mentioned by Svetlin

Regards

Raja

Read only

Former Member
0 Likes
933

U can refer the program name by clicking system>status then choose the progrm name goto the selection screen part.

U can write the code in the AT SELECTION SCREEN OUTPUT ...

Like that.

Read only

Former Member
0 Likes
933

which of these solutions give me exactly what is in ME80FN. I'm using the same LDB there.

Read only

0 Likes
933

If you are using the same LDB, you will have the same dynamic selection.

Svetlin