<?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 Report help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-help/m-p/1618075#M276653</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is, I have two parameters, and two radio buttons like C and D and one Pushbutton (P) in  selection screen. When user enter two parameter values, and select Radiobutton C or D, then this data should be inserted  into ztable and Flag is set to either C/ D accordingly. When I click on the pushbutton, then the parameter value should be clear.&lt;/P&gt;&lt;P&gt;Selection screen designed, i need only code support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regs&lt;/P&gt;&lt;P&gt;Rams&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max rewards will be given&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Oct 2006 08:37:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-06T08:37:29Z</dc:date>
    <item>
      <title>Report help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-help/m-p/1618075#M276653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is, I have two parameters, and two radio buttons like C and D and one Pushbutton (P) in  selection screen. When user enter two parameter values, and select Radiobutton C or D, then this data should be inserted  into ztable and Flag is set to either C/ D accordingly. When I click on the pushbutton, then the parameter value should be clear.&lt;/P&gt;&lt;P&gt;Selection screen designed, i need only code support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regs&lt;/P&gt;&lt;P&gt;Rams&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max rewards will be given&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2006 08:37:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-help/m-p/1618075#M276653</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-06T08:37:29Z</dc:date>
    </item>
    <item>
      <title>Re: Report help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-help/m-p/1618076#M276654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can write code similar to below. You have to use USER-COMMAND with Radio button definition in the selection-screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: &lt;/P&gt;&lt;P&gt;    PARAMETERS P0 RADIOBUTTON GROUP RADI USER-COMMAND CM1,&lt;/P&gt;&lt;P&gt;    PARAMETERS P1 RADIOBUTTON GROUP RADI USER-COMMAND CM2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;  IF SY-UCOMM = 'CM1'.&lt;/P&gt;&lt;P&gt;   UPDATE ZTABLE.&lt;/P&gt;&lt;P&gt;  ELSEIF SY-UCOMM = 'CM2'.&lt;/P&gt;&lt;P&gt;   UPDATE ZTABLE.&lt;/P&gt;&lt;P&gt;  ELSEIF SYUCOMM = 'BUT1'.&lt;/P&gt;&lt;P&gt;   CLEAR DATA&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ramakrishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2006 08:56:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-help/m-p/1618076#M276654</guid>
      <dc:creator>venkata_ramisetti</dc:creator>
      <dc:date>2006-10-06T08:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: Report help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-help/m-p/1618077#M276655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ramesh,&lt;/P&gt;&lt;P&gt;           &lt;/P&gt;&lt;P&gt;tables: sscrfields.&lt;/P&gt;&lt;P&gt;selection-screen PUSHBUTTON 20(10) but1 USER-COMMAND clr.&lt;/P&gt;&lt;P&gt;parameters: p1 like lfa1-lifnr,&lt;/P&gt;&lt;P&gt;            p2 like lfa1-name1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;  case sscrfields.&lt;/P&gt;&lt;P&gt;    WHEN 'CLR'.&lt;/P&gt;&lt;P&gt;  clear p1.&lt;/P&gt;&lt;P&gt;  clear p2.&lt;/P&gt;&lt;P&gt;  endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps,&lt;/P&gt;&lt;P&gt;do reward if it helps,&lt;/P&gt;&lt;P&gt;priya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2006 10:04:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-help/m-p/1618077#M276655</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-06T10:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: Report help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-help/m-p/1618078#M276656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rk,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you send the code details&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regs&lt;/P&gt;&lt;P&gt;rams&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2006 10:09:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-help/m-p/1618078#M276656</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-06T10:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: Report help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-help/m-p/1618079#M276657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECTION-SCREEN FUNCTION KEY 1.
parameters : p1(10).

AT SELECTION-SCREEN.
if sy-ucomm = 'FC01'.
 clear p1.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2006 10:48:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-help/m-p/1618079#M276657</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2006-10-06T10:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: Report help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-help/m-p/1618080#M276658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may have to make some changes to the below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assumed that you are using a table ZTABLE with fields FIELD1 &amp;amp; FIELD2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZTEST1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: ZTABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS:&lt;/P&gt;&lt;P&gt;PARAMETERS P0 RADIOBUTTON GROUP RADI USER-COMMAND CM1,&lt;/P&gt;&lt;P&gt;PARAMETERS P1 RADIOBUTTON GROUP RADI USER-COMMAND CM2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS FIELD1 TYPE ZTABLE-FIELD1.&lt;/P&gt;&lt;P&gt;PARAMETERS FIELD2 TYPE ZTABLE-FIELD2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;IF SY-UCOMM = 'CM1'.&lt;/P&gt;&lt;P&gt; CLEAR ZTABLE.&lt;/P&gt;&lt;P&gt; ZTABLE-FIELD1 = FIELD1.&lt;/P&gt;&lt;P&gt; ZTABLE-FIELD2 = FIELD2.&lt;/P&gt;&lt;P&gt; INSERT ZTABLE FROM ZTABLE.&lt;/P&gt;&lt;P&gt;ELSEIF SY-UCOMM = 'CM2'.&lt;/P&gt;&lt;P&gt; ZTABLE-FIELD1 = FIELD1.&lt;/P&gt;&lt;P&gt; ZTABLE-FIELD2 = FIELD2.&lt;/P&gt;&lt;P&gt; INSERT ZTABLE FROM ZTABLE.&lt;/P&gt;&lt;P&gt;ELSEIF SYUCOMM = 'BUT1'.&lt;/P&gt;&lt;P&gt; CLEAR: ZTABLE, FIELD1, FIELD2.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ANY FURTHER LOGIC CAN BE WRITTE HERE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;Ramakrishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2006 10:54:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-help/m-p/1618080#M276658</guid>
      <dc:creator>venkata_ramisetti</dc:creator>
      <dc:date>2006-10-06T10:54:50Z</dc:date>
    </item>
  </channel>
</rss>

