<?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 Automatic Code Generation and Screen Elements Creation and Modification in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-code-generation-and-screen-elements-creation-and-modification/m-p/2325108#M510892</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having very urgent requirement...... what we have to do is..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Providing Interface where user define parameter which is use to define formula.&lt;/P&gt;&lt;P&gt;2. Providing Interface where user define its own Formulas based on above   parameters which is used for area and weight Calculation......&lt;/P&gt;&lt;P&gt;3. on the basis of these formula my code changes and perform as per the give formula of user...&lt;/P&gt;&lt;P&gt;4. Now on the basis of formula we have to create screen dynamically.... where in the feilds is of type of parameters as per the formula...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plzz help me....&lt;/P&gt;&lt;P&gt;its Urgent&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reagrds Vaibhav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Jun 2007 04:43:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-08T04:43:29Z</dc:date>
    <item>
      <title>Automatic Code Generation and Screen Elements Creation and Modification</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-code-generation-and-screen-elements-creation-and-modification/m-p/2325108#M510892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having very urgent requirement...... what we have to do is..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Providing Interface where user define parameter which is use to define formula.&lt;/P&gt;&lt;P&gt;2. Providing Interface where user define its own Formulas based on above   parameters which is used for area and weight Calculation......&lt;/P&gt;&lt;P&gt;3. on the basis of these formula my code changes and perform as per the give formula of user...&lt;/P&gt;&lt;P&gt;4. Now on the basis of formula we have to create screen dynamically.... where in the feilds is of type of parameters as per the formula...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plzz help me....&lt;/P&gt;&lt;P&gt;its Urgent&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reagrds Vaibhav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 04:43:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-code-generation-and-screen-elements-creation-and-modification/m-p/2325108#M510892</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-08T04:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Code Generation and Screen Elements Creation and Modification</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-code-generation-and-screen-elements-creation-and-modification/m-p/2325109#M510893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vaibhav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out this code -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA:
  gt_source        TYPE TABLE OF string,
  gv_repid         TYPE sy-repid VALUE 'ZMAN_DYNAMIC_PROGRAM_TMP'.

APPEND 'REPORT ZMAN_DYNAMIC_PROGRAM_TMP.' TO gt_source.
APPEND 'SELECTION-SCREEN BEGIN OF BLOCK FRM_DYN' TO gt_source.
APPEND 'WITH FRAME TITLE TTL_DYN NO INTERVALS.' TO gt_source.
APPEND 'PARAMETERS P_TEST      TYPE CHAR30.' TO gt_source.
APPEND 'SELECTION-SCREEN END OF BLOCK FRM_DYN.' TO gt_source.
APPEND 'WRITE ''Capturing parameter P_TEST : ''.' TO gt_source.
APPEND 'WRITE P_TEST.' TO gt_source.

INSERT REPORT gv_repid FROM gt_source
                       PROGRAM TYPE '1'.

SUBMIT (gv_repid) VIA SELECTION-SCREEN AND RETURN.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Manish Joshi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2007 05:51:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-code-generation-and-screen-elements-creation-and-modification/m-p/2325109#M510893</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-13T05:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Code Generation and Screen Elements Creation and Modification</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-code-generation-and-screen-elements-creation-and-modification/m-p/2325110#M510894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or else you can call ABAP editor instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like this - &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA:
  gv_repid         TYPE sy-repid VALUE 'ZMAN_DYNAMIC_PROGRAM_TMP'.

* Call ABAP Editor instead
EDITOR-CALL FOR REPORT gv_repid.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want this to be a control on your screen use class &amp;lt;b&amp;gt;CL_GUI_ABAPEDIT&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't want to use ABAP editor create a normal text editor &amp;lt;b&amp;gt;CL_GUI_TEXTEDIT&amp;lt;/b&amp;gt;. Read the text in the editor using method &amp;lt;b&amp;gt;GET_TEXT_AS_R3TABLE&amp;lt;/b&amp;gt; and use previous code to generate program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Manish Joshi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;I hope you know how to award points ***&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2007 06:09:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-code-generation-and-screen-elements-creation-and-modification/m-p/2325110#M510894</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-13T06:09:10Z</dc:date>
    </item>
  </channel>
</rss>

