09-28-2005 6:25 AM
Hi,
now i came to know how to open a thread, thanx singh..
my problem is to create input fields for material number, mbrsh,mtart,meins for all the materials i hav in my internal table in program.
actually i created this fields for 80 materials, but the problem is it may exceed depending on the selection. so according to selections made in first screen and hit enter, the next screen should disply all the materials and corresponding input fields. hope u hav understood my problem.
its very urgent. plz help me if anyone has come across this in past..
Kumar
09-28-2005 7:07 AM
Hi Kumar;
Use function code to checkboxes and radio buttons. So that you can control dynamic screen modification directly.
Please go to below link for details.
http://help.sap.com/saphelp_47x200/helpdata/en/e6/83a0375b5dd003e10000009b38f8cf/frameset.htm
if it solved ur problem pls put marks..
Cheers...
Afsal
09-28-2005 6:29 AM
go thru the sample to screen input fields dynamically.
DEMO_LIST_FORMAT_INPUT
for checkbox just write the field as checkbox
write itab-check as checkbox.
regds
gv
09-28-2005 6:31 AM
instead of worrying about creating these fields dynamically on a screen....will the table control not suffice for your requirement....
since u already have ur materials in an internal table, u can have some columns in the internal table as per ur required input fields...
suppose u have ur 80 materials in internal table itab1. if i m getting u correctly then u need to get further data for these 80 materials...
then either in the same table or a different table have the other fields as columns against the materials already present....
the structure will be ...matnr, mbrsh, mtart, meins....as desired...
the table control for this internal table could look like ...
MATNR MBRSH MTART MEINS
001 -
-
-
002 -
-
-
003 -
-
-
004 -
-
-
and so on
does this sound sensible to you...or i have horribly misunderstood you??
rgds,
PJ
09-28-2005 6:40 AM
sorry priyank,
i know that it canbe possible through table control but its not the requirement,
and venkat i dint get ur solution. can u reply me clearly..
plz.
Kumar
09-28-2005 6:46 AM
09-28-2005 6:59 AM
as raja said u can use FREE_SELECTIONS_DIALOG for dynamic screen..
look in to the pgm to RFBKLOC1 for further infomation.
regards
gv
09-28-2005 7:08 AM
Raja, thanx for ur reply,
but i dont think so it will work, actually i hav few records in internal table, depending on that these records should display in next screen in individual input fields(like we create on a screen). and main thing it is not a selection screen.
Kumar
09-28-2005 7:44 AM
sorry all,
still i didnt get what i want.
but if anyone has solution plz let me know..
Kumar
09-28-2005 7:46 AM
09-28-2005 7:55 AM
See,
ihav 5 fields in internal table(checkbox,MATNR,MBRSH,MTART,MEINS)(no.of records may change depending on selection screen).
i want to present this data in the form of input fields on the next screen.(like we create fields on screen in screen painter).
i want this requirement, hope this is clear to u.
plz reply me soon..
Kumar
09-28-2005 8:11 AM
hope without using table control or tablestrip it is not possible..
regards
gv
09-28-2005 7:07 AM
Hi Kumar;
Use function code to checkboxes and radio buttons. So that you can control dynamic screen modification directly.
Please go to below link for details.
http://help.sap.com/saphelp_47x200/helpdata/en/e6/83a0375b5dd003e10000009b38f8cf/frameset.htm
if it solved ur problem pls put marks..
Cheers...
Afsal