<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Dynamic fields in Dialog Program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-fields-in-dialog-program/m-p/6927371#M1485251</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sampath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the below code snippet&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Instead of creating your own Screen use the below FM&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PARAMETERS : abc TYPE char40. " Just copy this and Execute
DATA : str1 TYPE string, str2 TYPE string. " If you dont have parameter then pass your 
" Table name in place of STR1 and Field name in place of STR2 in the below code
TRANSLATE abc TO UPPER CASE.

SPLIT abc AT '-' INTO str1 str2. " If you know only Field and name and dont know table name then
" select single * from DD03L where fieldname = 'YOUR_FIELDNAME'  and keyflag = 'X'.
Now pass the Table name in the STR1

DATA : fields TYPE STANDARD TABLE OF sval WITH HEADER LINE.
REFRESH fields.
fields-tabname = str1.
fields-fieldname = str2.
fields-field_obl = 'X'.
APPEND fields.
CALL FUNCTION 'POPUP_GET_VALUES'
  EXPORTING
*   NO_VALUE_CHECK        = ' '
    popup_title           = 'Give your Title'
*   START_COLUMN          = '5'
*   START_ROW             = '5'
* IMPORTING
*   RETURNCODE            = RETURNCODE
  TABLES
    fields                = fields
* EXCEPTIONS
*   ERROR_IN_FIELDS       = 1
*   OTHERS                = 2&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Cheerz&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 May 2010 13:45:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-05-24T13:45:41Z</dc:date>
    <item>
      <title>Dynamic fields in Dialog Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-fields-in-dialog-program/m-p/6927369#M1485249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my code, say in a Function module am calling a screen with some co-ordinates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There would be only one field on the screen.based on my coding, the field on the screeen should change.&lt;/P&gt;&lt;P&gt;i man the field display text and the length. Any idea on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 May 2010 13:12:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-fields-in-dialog-program/m-p/6927369#M1485249</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-24T13:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic fields in Dialog Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-fields-in-dialog-program/m-p/6927370#M1485250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi..&lt;/P&gt;&lt;P&gt;can u explain better your issue pls?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 May 2010 13:37:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-fields-in-dialog-program/m-p/6927370#M1485250</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-24T13:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic fields in Dialog Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-fields-in-dialog-program/m-p/6927371#M1485251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sampath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the below code snippet&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Instead of creating your own Screen use the below FM&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PARAMETERS : abc TYPE char40. " Just copy this and Execute
DATA : str1 TYPE string, str2 TYPE string. " If you dont have parameter then pass your 
" Table name in place of STR1 and Field name in place of STR2 in the below code
TRANSLATE abc TO UPPER CASE.

SPLIT abc AT '-' INTO str1 str2. " If you know only Field and name and dont know table name then
" select single * from DD03L where fieldname = 'YOUR_FIELDNAME'  and keyflag = 'X'.
Now pass the Table name in the STR1

DATA : fields TYPE STANDARD TABLE OF sval WITH HEADER LINE.
REFRESH fields.
fields-tabname = str1.
fields-fieldname = str2.
fields-field_obl = 'X'.
APPEND fields.
CALL FUNCTION 'POPUP_GET_VALUES'
  EXPORTING
*   NO_VALUE_CHECK        = ' '
    popup_title           = 'Give your Title'
*   START_COLUMN          = '5'
*   START_ROW             = '5'
* IMPORTING
*   RETURNCODE            = RETURNCODE
  TABLES
    fields                = fields
* EXCEPTIONS
*   ERROR_IN_FIELDS       = 1
*   OTHERS                = 2&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Cheerz&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 May 2010 13:45:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-fields-in-dialog-program/m-p/6927371#M1485251</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-24T13:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic fields in Dialog Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-fields-in-dialog-program/m-p/6927372#M1485252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am sorry for the late reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Requirement: in my code i call a screen 100..call screen at some xxx yyy co-ordinates&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my field that has to appear on the screen 100 for input changes dynamically..&lt;/P&gt;&lt;P&gt;i have written a select statement and supposedly it results MATNR once and BELNR once in lv_field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have to display Material once on the screen and next time when the code gets executed BELNR.&lt;/P&gt;&lt;P&gt;These are jus examples. Any field may come up , but that has t be displayed on the screen 100 allowing user for input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me to achieve this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 May 2010 14:02:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-fields-in-dialog-program/m-p/6927372#M1485252</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-24T14:02:20Z</dc:date>
    </item>
  </channel>
</rss>

