<?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: get record during interactive report in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-record-during-interactive-report/m-p/4055869#M969541</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you NagaSwapna to solve my problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Jul 2008 08:24:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-01T08:24:52Z</dc:date>
    <item>
      <title>get record during interactive report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-record-during-interactive-report/m-p/4055865#M969537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello friends,&lt;/P&gt;&lt;P&gt;I created an interactive report using tables PA0002, PA0006,PA0008,PA0037.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;During SY-LSIND = 2 I try to get the insurance detail for particular employee. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At top-of-page I gave "Insurance details for employee", emp-name. Next I get the insurance detail of the employee.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the employee is not insured Then what I want is that on top-of-page "Insurance detail of employee", emp-name and I must get the line "employee", emp-name, " not insured'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Iam getting the record if the employee is insured and if employee is not insured what i get is "Insurance detail for employee", (Here I am getting blank) and at bottom "employee", (Once again blank), "not insured".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;****&lt;/P&gt;&lt;P&gt;****&lt;/P&gt;&lt;P&gt;ELSEIF SY-LSIND = 2.&lt;/P&gt;&lt;P&gt;WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; 'INSURANCE DETAIL FOR EMPLOYEE', 40 ETAB-NACHN COLOR 5,85&lt;/P&gt;&lt;P&gt;'PAGE NUMBER', 98 SY-PAGNO.&lt;/P&gt;&lt;P&gt;WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; SY-ULINE.&lt;/P&gt;&lt;P&gt;WRITE :/(1) SY-VLINE,&lt;/P&gt;&lt;P&gt;         (18) ' EMPLOYEE NO',&lt;/P&gt;&lt;P&gt;         (1) SY-VLINE,&lt;/P&gt;&lt;P&gt;         (20) 'EMPLOYEE NAME',&lt;/P&gt;&lt;P&gt;         (1) SY-VLINE,&lt;/P&gt;&lt;P&gt;         (20) 'INSURANCE COMPANY',&lt;/P&gt;&lt;P&gt;         (1) SY-VLINE,&lt;/P&gt;&lt;P&gt;         (20) 'INSURANCE TYPE',&lt;/P&gt;&lt;P&gt;         (1) SY-VLINE,&lt;/P&gt;&lt;P&gt;         (20) 'AMOUNT INSURED',&lt;/P&gt;&lt;P&gt;         (1) SY-VLINE.&lt;/P&gt;&lt;P&gt;WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; SY-ULINE.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;END-OF-PAGE.&lt;/P&gt;&lt;P&gt;WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; SY-ULINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT LINE-SELECTION.&lt;/P&gt;&lt;P&gt;******&lt;/P&gt;&lt;P&gt;******&lt;/P&gt;&lt;P&gt;ELSEIF SY-LSIND = 2.&lt;/P&gt;&lt;P&gt;NEW-PAGE LINE-SIZE 114.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT PA0002~PERNR&lt;/P&gt;&lt;P&gt;       PA0002~NACHN&lt;/P&gt;&lt;P&gt;       PA0037~VSGES&lt;/P&gt;&lt;P&gt;       PA0037~VSART&lt;/P&gt;&lt;P&gt;       PA0037~VSSUM&lt;/P&gt;&lt;P&gt;       INTO ETAB&lt;/P&gt;&lt;P&gt;       FROM PA0002&lt;/P&gt;&lt;P&gt;       INNER JOIN PA0037&lt;/P&gt;&lt;P&gt;       ON PA0002&lt;SUB&gt;PERNR = PA0037&lt;/SUB&gt;PERNR&lt;/P&gt;&lt;P&gt;       WHERE PA0002~PERNR = ITAB-PERNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND ETAB.&lt;/P&gt;&lt;P&gt;ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ETAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE :/(1) SY-VLINE,&lt;/P&gt;&lt;P&gt;        (18) ETAB-PERNR,&lt;/P&gt;&lt;P&gt;        (1) SY-VLINE,&lt;/P&gt;&lt;P&gt;        (20) ETAB-NACHN,&lt;/P&gt;&lt;P&gt;        (1) SY-VLINE,&lt;/P&gt;&lt;P&gt;        (20) ETAB-VSGES,&lt;/P&gt;&lt;P&gt;        (1) SY-VLINE,&lt;/P&gt;&lt;P&gt;        (20) ETAB-VSART,&lt;/P&gt;&lt;P&gt;        (1) SY-VLINE,&lt;/P&gt;&lt;P&gt;        (20) ETAB-VSSUM,&lt;/P&gt;&lt;P&gt;        (1) SY-VLINE.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; SY-ULINE.&lt;/P&gt;&lt;P&gt;SKIP 2.&lt;/P&gt;&lt;P&gt;WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; 'END OF INSURANCE DETAIL' .&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 06:30:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-record-during-interactive-report/m-p/4055865#M969537</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T06:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: get record during interactive report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-record-during-interactive-report/m-p/4055866#M969538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai  SK,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  In the event TOP OF PAGE DURING LINE SELECTION write the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If sy-lsind = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; u2018  &amp;lt; ur Heading&amp;gt;    u2018.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;elseIf sy-lsind = 2. &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;    If  &amp;lt;check the condition that the person is not insured&amp;gt;.&lt;/P&gt;&lt;P&gt;        Write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; u2018Person not insuredu2019.&lt;/P&gt;&lt;P&gt;    Else.&lt;/P&gt;&lt;P&gt;        Write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; u2018Person Insuredu2019.&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;Endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if found useful,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Swapna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 06:41:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-record-during-interactive-report/m-p/4055866#M969538</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T06:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: get record during interactive report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-record-during-interactive-report/m-p/4055867#M969539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;
Hi SK,
something wrong with the below  select query 
&lt;PRE&gt;&lt;CODE&gt;SELECT PA0002~PERNR
PA0002~NACHN
PA0037~VSGES
PA0037~VSART
PA0037~VSSUM
INTO ETAB
FROM PA0002
INNER JOIN PA0037
ON PA0002~PERNR = PA0037~PERNR
WHERE PA0002~PERNR = ITAB-PERNR.

APPEND ETAB.
ENDSELECT.
"here where itab-pernr from  in the where condition.
&lt;/CODE&gt;&lt;/PRE&gt;

Thanks,
Venkat.O
&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 06:45:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-record-during-interactive-report/m-p/4055867#M969539</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2008-06-26T06:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: get record during interactive report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-record-during-interactive-report/m-p/4055868#M969540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the basic list I use HIDE ITAB-PERNR. According to that i.e if I click over one particular employee I got the records from table PA0008 and on further selection I want to display the insurance detail of that particular employee that is from HIDE ITAB-PERNR from the basic list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my code worked if the employee is insured.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 06:50:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-record-during-interactive-report/m-p/4055868#M969540</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T06:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: get record during interactive report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-record-during-interactive-report/m-p/4055869#M969541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you NagaSwapna to solve my problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2008 08:24:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-record-during-interactive-report/m-p/4055869#M969541</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-01T08:24:52Z</dc:date>
    </item>
  </channel>
</rss>

