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

Capturing Screen fields at runtime

Hi SAP Gurus,

Could you please let me know how to capture the screen fields ( which are input enabled ) at runtime for a particular Program name and screen number??

Thanks in advance.

Best Regards,

Dinakaran.R

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 11, 2007 at 05:24 AM

    If it is Module pool then you will automatically get it in PAI.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      There are around 15 condition types and each can have 6 to 10 key combinations.

      If i do recording for each then it will be a tedious job and the program too will become a big one.

      hence i have planned to create a program more dynamic which can work for all the combinations.

      This needs to capture the screen fields at runtime.

      I have a FM called IMPORT_DYNPRO which can give all the screen fields.

      But i am unable to get the exact input enabled fields from this FM-Table.

      I am able to capture the Program name and the Scree number.

      I tried with RV13A098 --1000 and SAPMV13A -- 1098.....

      Thanks in advance..

      best Regards,

      Dinakaran.R

  • author's profile photo Former Member
    Former Member
    Posted on Jan 11, 2007 at 05:25 AM

    Dinakar,

    You have to export the parameters to that program and have to use them.

    Regards,

    Sujatha.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 11, 2007 at 05:30 AM

    hi it is in PBO if it is a module pool prog.

    loop at screen.

    if screen-input = '1'.

    Vname = screen-name.

    endloop.

    in PBO you can get the field name by looping at screen.

    regards

    shiba dutta

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 11, 2007 at 05:35 AM

    Hi,

    You will get this by looping on the screen table of that screen.

    Regards,

    Sunmit.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 11, 2007 at 05:45 AM

    try the fm

    IAC_GET_DYNPRO_INFO

    it may be useful.

    regards

    shiba dutta

    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.