2012 Aug 02 9:14 AM
hi....
fm : DD_NAMETAB_GET is not there in abap...can u check once again...
2012 Aug 02 9:22 AM
Hi,
With FM "DD_NAMETAB_GET" you could read the table fields and then dynamically create select options for the key fields.
2012 Aug 02 11:11 AM
hi....
fm : DD_NAMETAB_GET is not there in abap...can u check once again...
2012 Aug 02 11:17 AM
Correct. Sorry for the wrong information.
Use DDIF_NAMETAB_GET or NAMETAB_GET.
NAMETAB_GET has the key information.
2012 Aug 02 9:23 AM
Hi,
Very basic doubt,
Create select options for the primary keys of all the tables.
Group the primary keys of same table with modif IDs.
Now in the event AT-SELECTION-SCREEN OUTPUT you can write the code (LOOP AT SCREEN ... END LOOP) to check which radio button is selected and based on that you can set screen-active = 1 for the corresponding fields.
Hope it helps you. Thank you.
Regards,
kartik
2012 Aug 02 11:16 AM
Hi karthik.....
can u tell me how to create select options for the primary keys of all the tables.
2012 Aug 02 11:51 AM
Hi,
The easier way to go is by using the FM FREE_SELECTIONS_DIALOG where you only need to populate the input table fields_tab with the required fields...
Kr,
Manu.
2012 Aug 02 2:56 PM
http://wiki.sdn.sap.com/wiki/display/Snippets/ABAP+Program+to+generate+select-options+dynamically
i got this website...i am getting o/p but hw can modify according to my requirement is i am not getting so..can any one tell me process..
2012 Aug 07 6:46 AM
HI gUYS/.... mY ISSUE IS SOLVED...
I am Getting Dynamuc select-options...
Now when i enter a value in select options...the related data must come in output list./ ALV O/P LIST.. AS BELOW..
CAN Any one help me to solve this ..
2012 Aug 07 9:54 AM
Hi,
I didn't get what you need..
please explain with an example.
2012 Aug 07 10:10 AM
Hi Sharath....
tnx for ur respons....
can u check the folowing url....i have explained clearly ...
Dynamic o/p list Based on input given in Dynamic select-options in ABAP Development
2012 Aug 07 10:53 AM
2012 Aug 07 10:58 AM
2012 Aug 07 11:08 AM
hi,
Refer:-
REPORT demo_select_dynamic_columns
REPORT demo_select_dynamic_database .
REPORT demo_select_dynamic_conditions .
search for dynamic SELECT statements in google/ SDN.
& then you can use field-symbols, dynamic work areas & internal tables to hold that data
& similarly pass that to ALV class.
2012 Aug 07 1:02 PM
Hi friends...
I am Unable to add a button (execute button ) in the selection screen where i displayed Dynamic select-options.
In process of doing I found that when i use FMs : free Selection INIT, FREE SELECTION DIALOG.... IT WILL AUTOMATICALLY Provides a standard gui status...(i.e)
| User Interface | RSSYSTDB |
in this i am unable to add a button which i need for My requirement...
I created one Zgui status...& attached to My Program (where i have written the code to generate Dynamic select-options) But it is not showing the button on my screen
can any one tell me how to solve this problem...
2012 Aug 07 2:03 PM
program is : RSSYSTDB,
gui status : %_FSDOC_
i want to enhance this gui status ...
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |