Skip to Content
author's profile photo Former Member
Former Member

Creating input fields, checkboxes on screen dynamically

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Sep 28, 2005 at 06: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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 28, 2005 at 05: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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 28, 2005 at 05: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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.