2012 Jul 26 7:12 PM
Hi Experts ,
Anybody know how to create a dynamic selection screen like the one you see in T-Code "ME2N" or
"FBL5N" that appear by clicking the dynamic selection button (third button on the application toolbar(colored button) ).
It appear to be a subscreen. Any idea how to create it? Thanx.
It will be highly appreciated if provide with coding .
Thanks and Regards
Shahab Ansari
Hi Experts ,
Anybody know how to create a dynamic selection screen like the one you see in T-Code "ME2N" or
"FBL5N" that appear by clicking the dynamic selection button (third button on the application toolbar(colored button) ).
It appear to be a subscreen. Any idea how to create it? Thanx.
It will be highly appreciated if provide with coding .
Thanks and Regards
Shahab Ansari
2012 Jul 26 8:33 PM
Hi Shahab,
I do not know FB5LN in detail, but at first glance it looks like being based on a logical database (SE36).
best regards
Thorsten
2012 Jul 26 8:57 PM
Hi Shahab,
You have to create a subscreen area on your selection screen.
On the PBO use the sintaxe CALL SUBSCREEN CONTAINER1 INCLUDING sy-repid sy-dynnr
In this case, CONTAINER1 is the subcreen area created.
After INCLUDING u can call any program and screen that u want to use.
Use the program RFITEMAR as example.
2012 Jul 26 11:39 PM
Hi shahab,
this may be a hint for you:
REPORT z_dynselect .
DATA:
gv_fname TYPE string.
SELECTION-SCREEN BEGIN OF SCREEN 2000.
SELECT-OPTIONS s_dyn FOR (gv_fname).
SELECTION-SCREEN END OF SCREEN 2000.
INITIALIZATION.
gv_fname = 'VBAK-VBELN'.
START-OF-SELECTION.
CALL SELECTION-SCREEN 2000.
SELECT COUNT( * ) FROM vbak
WHERE vbeln IN s_dyn.
Adapt to your needs.
Regards
Clemens
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |