03-14-2007 10:15 AM
hi everyone,
i am trying to create one selection screen.on which i've to show the fields as select options.and those field names and table name i've to get from another table.
select options in the screen should come like when we have selected the selection fields of any data base table.
very urgent!!!!!!!!!!!!
regards,
Bharat.
03-14-2007 10:18 AM
03-14-2007 10:19 AM
Hi,
Be clear what do you want exactly.
You can design the screen as below:
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
SELECT-OPTIONS: s_matnr FOR mara-matnr, " Material No
s_werks FOR t001w-werks, " Plant
s_lgort FOR t001l-lgort. " Storage Location
SELECTION-SCREEN END OF BLOCK b1.
regards,
Anji
03-14-2007 10:25 AM
i need to pass the name and type of select-options dynamically from internal table
03-14-2007 10:26 AM
Hello,
check these ;links:
http://searchsap.techtarget.com/tip/1,289483,sid21_gci779665,00.html
http://sap.ittoolbox.com/topics/t.asp?t=303&p=448&h2=322&h1=303&h3=448
Have a look at
http://help.sap.com/saphelp_nw2004s/helpdata/en/60/183d78163011d2953c0000e8353423/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/content.htm
Selection Views
***************
http://help.sap.com/saphelp_nw2004s/helpdata/en/f7/3ecfa4149c11d2953c0000e8353423/content.htm
Please check this link for dynamic selections of logical databases including sample codes.
http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dba65c35c111d1829f0000e829fbfe/content.htm
Hope that helps!
REgards,
Vasanth
03-14-2007 10:24 AM
Hi,
from your description, i supose you want to create a selection-screen, according to some field of a table, just like when you browse a table in se16, or using logical tables.
To do so, you can use for example, dinamic reporting using
INSERT REPORT...
GENERATE REPORT...
this way you can create the selection-screen dinamicaly.
Regards,