<?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 Function Parameter for a Class Call in a Navigation Profile in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-parameter-for-a-class-call-in-a-navigation-profile/m-p/6557233#M1430657</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a Class call via a navigation profile in ECC6, in transaction COOIS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am attempting to use class CL_COIS_DETAIL_MPT_PI, however I keep getting a short dump DYN_CALL_METH_PARAM_MISSING. Essentially this is because the function parameter is not set. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I do not know what function parameter to set, and when I try to find out whether this parameter is evaluated by the class and which values I can enter, there is no documentation for this in the corresponding class. The documentation button gives me message "The data element does not appear on any screen". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I find out the function parameter values?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Feb 2010 11:05:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-02-12T11:05:09Z</dc:date>
    <item>
      <title>Function Parameter for a Class Call in a Navigation Profile</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-parameter-for-a-class-call-in-a-navigation-profile/m-p/6557233#M1430657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a Class call via a navigation profile in ECC6, in transaction COOIS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am attempting to use class CL_COIS_DETAIL_MPT_PI, however I keep getting a short dump DYN_CALL_METH_PARAM_MISSING. Essentially this is because the function parameter is not set. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I do not know what function parameter to set, and when I try to find out whether this parameter is evaluated by the class and which values I can enter, there is no documentation for this in the corresponding class. The documentation button gives me message "The data element does not appear on any screen". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I find out the function parameter values?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2010 11:05:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-parameter-for-a-class-call-in-a-navigation-profile/m-p/6557233#M1430657</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-12T11:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Function Parameter for a Class Call in a Navigation Profile</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-parameter-for-a-class-call-in-a-navigation-profile/m-p/6557234#M1430658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For create a class call, you must create a new specific class in SE24 and add interface IF_NAVIGATION_PROFILE. After save and activate, you can see a method IF_NAVIGATION_PROFILE~USER_COMMAND. In this method, you can add your specific code like bellow :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA : lo_alv_grid           TYPE REF TO cl_gui_alv_grid&lt;/P&gt;&lt;P&gt;       , ls_cell_row           TYPE lvc_s_row&lt;/P&gt;&lt;P&gt;       , ls_cell_col           TYPE lvc_s_col&lt;/P&gt;&lt;P&gt;       , lv_aufnr              TYPE afru-aufnr&lt;/P&gt;&lt;P&gt;       , lv_vornr              TYPE afru-vornr&lt;/P&gt;&lt;P&gt;       .&lt;/P&gt;&lt;P&gt;  FIELD-SYMBOLS: &amp;lt;table&amp;gt;       TYPE table&lt;/P&gt;&lt;P&gt;               , &amp;lt;ls_dataline&amp;gt; TYPE ANY&lt;/P&gt;&lt;P&gt;               , &amp;lt;field&amp;gt;       TYPE ANY&lt;/P&gt;&lt;P&gt;               , &amp;lt;data&amp;gt;        TYPE zpp00_cois_confirmation&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;get data table from reference&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ASSIGN id_table-&amp;gt;* TO &amp;lt;table&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  TRY.&lt;/P&gt;&lt;P&gt;      lo_alv_grid ?= io_alv.&lt;/P&gt;&lt;P&gt;    CATCH cx_sy_move_cast_error.&lt;/P&gt;&lt;P&gt;  ENDTRY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CHECK lo_alv_grid IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;*ALV is found. Get cell selected&lt;/P&gt;&lt;P&gt;  lo_alv_grid-&amp;gt;get_current_cell(&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      es_row_id = ls_cell_row&lt;/P&gt;&lt;P&gt;      es_col_id = ls_cell_col ).&lt;/P&gt;&lt;P&gt;  cl_gui_cfw=&amp;gt;flush( ).&lt;/P&gt;&lt;P&gt;  CHECK ls_cell_row-rowtype IS INITIAL.&lt;/P&gt;&lt;P&gt;  READ TABLE &amp;lt;table&amp;gt; INDEX ls_cell_row-index&lt;/P&gt;&lt;P&gt;       ASSIGNING &amp;lt;ls_dataline&amp;gt;.&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE i017(navigation_profile).&lt;/P&gt;&lt;P&gt;    EXIT.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CHECK &amp;lt;ls_dataline&amp;gt; IS ASSIGNED.&lt;/P&gt;&lt;P&gt;*Cell selected is found. Get order and operation numbers&lt;/P&gt;&lt;P&gt;  ASSIGN COMPONENT 'AUFNR' OF STRUCTURE &amp;lt;ls_dataline&amp;gt; TO &amp;lt;field&amp;gt;.&lt;/P&gt;&lt;P&gt;  CHECK &amp;lt;field&amp;gt; IS ASSIGNED.&lt;/P&gt;&lt;P&gt;  lv_aufnr = &amp;lt;field&amp;gt;.&lt;/P&gt;&lt;P&gt;  UNASSIGN &amp;lt;field&amp;gt;.&lt;/P&gt;&lt;P&gt;  ASSIGN COMPONENT 'VORNR' OF STRUCTURE &amp;lt;ls_dataline&amp;gt; TO &amp;lt;field&amp;gt;.&lt;/P&gt;&lt;P&gt;  CHECK &amp;lt;field&amp;gt; IS ASSIGNED.&lt;/P&gt;&lt;P&gt;  lv_vornr = &amp;lt;field&amp;gt;.&lt;/P&gt;&lt;P&gt;  UNASSIGN &amp;lt;field&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CHECK lv_aufnr IS NOT INITIAL AND lv_vornr IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;==&amp;gt; Action like call CO02&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yannick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Sep 2010 15:27:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-parameter-for-a-class-call-in-a-navigation-profile/m-p/6557234#M1430658</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-22T15:27:36Z</dc:date>
    </item>
  </channel>
</rss>

