<?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: interactive report question in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-report-question/m-p/2114537#M442426</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you have to use get cursor field f1 value v1.&lt;/P&gt;&lt;P&gt;in f1 you can get the field name like 'ITAB_MATNR'&lt;/P&gt;&lt;P&gt;and in v1 the value like 12345.&lt;/P&gt;&lt;P&gt;now you have to set parameter id &lt;/P&gt;&lt;P&gt;at line-selection.&lt;/P&gt;&lt;P&gt;get cursor field f1 value v1.&lt;/P&gt;&lt;P&gt;if f1 = 'ITAB-MATNR'.&lt;/P&gt;&lt;P&gt;SET PARAMETER ID 'MAT' FIELD v1. &lt;/P&gt;&lt;P&gt;call transaction 'MM03' and skip first screen.&lt;/P&gt;&lt;P&gt;elseif f1 = 'ITAB-inv'.&lt;/P&gt;&lt;P&gt;&amp;lt;some other tcode&amp;gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Apr 2007 06:29:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-02T06:29:15Z</dc:date>
    <item>
      <title>interactive report question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-report-question/m-p/2114534#M442423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;there is a requirement in interactive reporting that in secondary screen, there are few fields . material number ,inventory management field, etc.&lt;/P&gt;&lt;P&gt;when i click Material number it should go to MM02 and when i click inventory management field it should go to inventory management transaction . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to code this plz answer , thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2007 06:23:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-report-question/m-p/2114534#M442423</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-02T06:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: interactive report question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-report-question/m-p/2114535#M442424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AT USER-COMMAND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET PARAMETER ID 'MAT'  FIELD MARA-MATNR.&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'MM02' AND SKIP FIRST SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Same way call the INVENTORY MGMT TRANSACTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REGARDS,&lt;/P&gt;&lt;P&gt;HIMANSHU&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2007 06:26:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-report-question/m-p/2114535#M442424</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-02T06:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: interactive report question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-report-question/m-p/2114536#M442425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi..,&lt;/P&gt;&lt;P&gt;this is my program ,, which can fulfill your requirement.. just change the field names...and transaction names..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                     AT USER-COMMAND EVENT  &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;"----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at user-command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if sy-lsind le 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    case sy-ucomm.&lt;/P&gt;&lt;P&gt;      when 'ORDER'.&lt;/P&gt;&lt;P&gt;        perform order_info.&lt;/P&gt;&lt;P&gt;      when 'CUSTOMER'.&lt;/P&gt;&lt;P&gt;        perform customer_info.&lt;/P&gt;&lt;P&gt;    endcase.                           " Case sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  order_info                                               &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;This subroutine calls the transaction VA03 Order details&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;There are no interface parameters to be passed to this *subroutine.  *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form order_info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  data lw_field(20) type c.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;  get cursor field lw_field.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if lw_field eq 'WA_CUSTOMER-VBELN'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    if lw_field is not initial.&lt;/P&gt;&lt;P&gt;      set parameter ID 'AUN' field wa_customer-vbeln.&lt;/P&gt;&lt;P&gt;      call transaction 'VA03'.&lt;/P&gt;&lt;P&gt;    else.&lt;/P&gt;&lt;P&gt;      message text-015 type 'E'.&lt;/P&gt;&lt;P&gt;    endif.                             " if lw_field is not initial.&lt;/P&gt;&lt;P&gt;  else.&lt;/P&gt;&lt;P&gt;    message 'Place cursor on a sales order number'(017) type 'E'.&lt;/P&gt;&lt;P&gt;  endif.                               " if lw_field eq...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  clear:&lt;/P&gt;&lt;P&gt;    wa_customer, lw_field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.                               " Order_info&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  customer_info                                            &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*This subroutine calls the transaction XD03 customer &lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; There are no interface parameters to be passed to this *subroutine.  *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form customer_info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  data lw_field(20) type c.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;  get cursor field lw_field.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if lw_field eq 'WA_CUSTOMER-KUNNR'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    if lw_field is not initial.&lt;/P&gt;&lt;P&gt;      set parameter ID 'KUN' field wa_customer-kunnr.&lt;/P&gt;&lt;P&gt;      call transaction 'XD03'.&lt;/P&gt;&lt;P&gt;    else.&lt;/P&gt;&lt;P&gt;      message text-015 type 'E'.&lt;/P&gt;&lt;P&gt;    endif.                             " if lw_field is not initial.&lt;/P&gt;&lt;P&gt;  else.&lt;/P&gt;&lt;P&gt;    message 'Place cursor on a customer number'(016) type 'E'.&lt;/P&gt;&lt;P&gt;  endif.                               " if lw_field eq...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    clear:&lt;/P&gt;&lt;P&gt;      wa_customer, lw_field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.                              &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz do remember to close the thread when ur problem is solved !!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;reward if it helps u..&lt;/P&gt;&lt;P&gt;sai ramesh&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2007 06:27:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-report-question/m-p/2114536#M442425</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-02T06:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: interactive report question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-report-question/m-p/2114537#M442426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you have to use get cursor field f1 value v1.&lt;/P&gt;&lt;P&gt;in f1 you can get the field name like 'ITAB_MATNR'&lt;/P&gt;&lt;P&gt;and in v1 the value like 12345.&lt;/P&gt;&lt;P&gt;now you have to set parameter id &lt;/P&gt;&lt;P&gt;at line-selection.&lt;/P&gt;&lt;P&gt;get cursor field f1 value v1.&lt;/P&gt;&lt;P&gt;if f1 = 'ITAB-MATNR'.&lt;/P&gt;&lt;P&gt;SET PARAMETER ID 'MAT' FIELD v1. &lt;/P&gt;&lt;P&gt;call transaction 'MM03' and skip first screen.&lt;/P&gt;&lt;P&gt;elseif f1 = 'ITAB-inv'.&lt;/P&gt;&lt;P&gt;&amp;lt;some other tcode&amp;gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2007 06:29:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-report-question/m-p/2114537#M442426</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-02T06:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: interactive report question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-report-question/m-p/2114538#M442427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Zareen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will be handling the double click event right...there you get cursor field name and value using the get cursor statement, split that field to get the field name...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it is material number.&lt;/P&gt;&lt;P&gt;call transaction mm02.&lt;/P&gt;&lt;P&gt;elseif it is inventory management.&lt;/P&gt;&lt;P&gt;call transaction inventory management transaction.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;feel free to contact me for further information...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ramesh S&lt;/P&gt;&lt;P&gt;*Reward points if reply is useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2007 06:29:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-report-question/m-p/2114538#M442427</guid>
      <dc:creator>learnsap</dc:creator>
      <dc:date>2007-04-02T06:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: interactive report question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-report-question/m-p/2114539#M442428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Zareen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If It is ALV report below is code .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is classical report general interactive  and calling procedure is same like below code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Global ALV Data Declarations&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;type-pools: slis.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Internal Tables&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;data: begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;      matnr type mara-matnr,&lt;/P&gt;&lt;P&gt;      maktx type makt-maktx,&lt;/P&gt;&lt;P&gt;      end of itab.&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;  perform get_data.&lt;/P&gt;&lt;P&gt;  perform call_alv.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;*********************************************************************&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     Form  GET_DATA&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*********************************************************************&lt;/P&gt;&lt;P&gt;form get_data.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  select mara&lt;SUB&gt;matnr makt&lt;/SUB&gt;maktx&lt;/P&gt;&lt;P&gt;          into corresponding fields of table itab&lt;/P&gt;&lt;P&gt;               from mara&lt;/P&gt;&lt;P&gt;                 inner join makt&lt;/P&gt;&lt;P&gt;                  on mara&lt;SUB&gt;matnr = makt&lt;/SUB&gt;matnr&lt;/P&gt;&lt;P&gt;                             up to 20 rows.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; CALL_ALV&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;form call_alv.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  data: ifc type slis_t_fieldcat_alv.&lt;/P&gt;&lt;P&gt;  data: xfc type slis_fieldcat_alv.&lt;/P&gt;&lt;P&gt;  data: repid type sy-repid.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  repid = sy-repid.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  clear xfc. refresh ifc.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  clear xfc.&lt;/P&gt;&lt;P&gt;  xfc-reptext_ddic = 'Material Number'.&lt;/P&gt;&lt;P&gt;  xfc-fieldname    = 'MATNR'.&lt;/P&gt;&lt;P&gt;  xfc-tabname      = 'ITAB'.&lt;/P&gt;&lt;P&gt;  xfc-outputlen    = '18'.&lt;/P&gt;&lt;P&gt;  append xfc to ifc.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  clear xfc.&lt;/P&gt;&lt;P&gt;  xfc-reptext_ddic = 'Material Description'.&lt;/P&gt;&lt;P&gt;  xfc-fieldname    = 'MAKTX'.&lt;/P&gt;&lt;P&gt;  xfc-tabname      = 'ITAB'.&lt;/P&gt;&lt;P&gt;  xfc-outputlen    = '40'.&lt;/P&gt;&lt;P&gt;  append xfc to ifc.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Call ABAP List Viewer (ALV)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  call function 'REUSE_ALV_GRID_DISPLAY'&lt;/P&gt;&lt;P&gt;       exporting&lt;/P&gt;&lt;P&gt;            i_callback_program      = repid&lt;/P&gt;&lt;P&gt;            i_callback_user_command = 'HANDLE_USER_COMMAND'&lt;/P&gt;&lt;P&gt;            it_fieldcat             = ifc&lt;/P&gt;&lt;P&gt;       tables&lt;/P&gt;&lt;P&gt;            t_outtab                = itab.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;***********************************************************************&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      FORM handle_User_Command                                      *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;***********************************************************************&lt;/P&gt;&lt;P&gt;form handle_user_command using r_ucomm     like sy-ucomm&lt;/P&gt;&lt;P&gt;                               rs_selfield type slis_selfield.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  case r_ucomm.&lt;/P&gt;&lt;P&gt;    when '&amp;amp;IC1'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    case rs_selfield-FIELDNAME.&lt;/P&gt;&lt;P&gt;      when 'MATNR'.&lt;/P&gt;&lt;P&gt;         set parameter id 'MAT' field rs_selfield-value.&lt;/P&gt;&lt;P&gt;         call transaction 'MD04' and skip first screen.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;      endcase.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  endcase.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't forget to reward if useful.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2007 06:30:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-report-question/m-p/2114539#M442428</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-02T06:30:30Z</dc:date>
    </item>
  </channel>
</rss>

