<?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: At User-command Problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-user-command-problem/m-p/5430306#M1246028</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;Firstly check the function code of the New Remarks button i.e. (Customer menu 03)&lt;/P&gt;&lt;P&gt;then in the AT user-command event check if you have used the same function code in case endcase.&lt;/P&gt;&lt;P&gt;if you have used it then just write a break-point statement as the first statement and try debugging from there and check what happens and where exactly its going wrong...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Siddarth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Apr 2009 06:14:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-03T06:14:36Z</dc:date>
    <item>
      <title>At User-command Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-user-command-problem/m-p/5430305#M1246027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Friends&lt;/P&gt;&lt;P&gt; i have big problem&lt;/P&gt;&lt;P&gt;below i saved my program code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET PF-STATUS 'SD012_MENU2'. its button also coming to the display screen, my problem is when i click on the "New Remarks" button (FUNC01) i want to call another screen &lt;/P&gt;&lt;P&gt;but i unable to trigger the any kind of events i done in the screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i used AT USER-COMMAND  also but problem still there &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please look this and let me know how can i solve this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Selection Screen (Customer Menu 01) when click on the button ALV list Displaying&lt;/P&gt;&lt;P&gt;2. In ALV list (Customer Menu 02)  when click on the button list Displaying (list with write statment)&lt;/P&gt;&lt;P&gt;3. In list (Customer menu 03) when click on the button i want to call screen but in this part any button not working (only display)&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 in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope,&lt;/P&gt;&lt;P&gt;  you can understand about my problem.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

*
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  CREATE_REMARKS
*&amp;amp;---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
*  --&amp;gt;  p1        text
*  &amp;lt;--  p2        text
*----------------------------------------------------------------------*
FORM CREATE_REMARKS .
*  BREAK ITNR.
*
  LOOP AT IT_ALLOCATION2 INTO WA_ALLOCATION2.
    IF WA_ALLOCATION2-FLAG = 'X' AND WA_ALLOCATION2-DOCTP = 'LP'.
      SELECT  VBELN POSNR SEQNO CNGDATE CNGTIME CNGUSER REMAK
        INTO  CORRESPONDING FIELDS OF TABLE IT_ZSD012_002
        FROM  ZSD012_002
        WHERE VBELN EQ WA_ALLOCATION2-EBELN
        AND   POSNR EQ WA_ALLOCATION2-POSNR.
*
      IF SY-SUBRC = 0.
        SET PF-STATUS 'SD012_MENU2'.
        PERFORM WRITE_REMARKS.
        CALL SCREEN '1012' STARTING AT 5 5 .
      ELSE.
        CALL SCREEN 1012 STARTING AT 5 5 .
      ENDIF.
    ENDIF.
  ENDLOOP.
ENDFORM.                    " CREATE_REMARKS
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2009 06:08:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-user-command-problem/m-p/5430305#M1246027</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-03T06:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: At User-command Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-user-command-problem/m-p/5430306#M1246028</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;Firstly check the function code of the New Remarks button i.e. (Customer menu 03)&lt;/P&gt;&lt;P&gt;then in the AT user-command event check if you have used the same function code in case endcase.&lt;/P&gt;&lt;P&gt;if you have used it then just write a break-point statement as the first statement and try debugging from there and check what happens and where exactly its going wrong...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Siddarth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2009 06:14:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-user-command-problem/m-p/5430306#M1246028</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-03T06:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: At User-command Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-user-command-problem/m-p/5430307#M1246029</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 this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a PF Status,say you have created 'SD012_MENU2'.&lt;/P&gt;&lt;P&gt;In this PF STATUS create one button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now while using call function  &lt;/P&gt;&lt;P&gt;&lt;/P&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                = sy-repid&lt;/P&gt;&lt;P&gt;     i_callback_pf_status_set          = 'SD012_MENU2'&lt;/P&gt;&lt;P&gt;     i_callback_user_command           = 'C_USER_COMMAND'&lt;/P&gt;&lt;P&gt;     is_layout                         = er_layout&lt;/P&gt;&lt;P&gt;     it_fieldcat                       = t_fieldcat&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      t_outtab                          = t_final&lt;/P&gt;&lt;P&gt;            .&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;FORM &lt;EM&gt;SD012_MENU2&lt;/EM&gt; USING p_extab TYPE slis_t_extab.&lt;/P&gt;&lt;P&gt;  SET PF-STATUS 'SD012_MENU2'.&lt;/P&gt;&lt;P&gt;ENDFORM. " STATUS&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;FORM c_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;  IF  sy-ucomm EQ 'POST'.  &lt;EM&gt;here post is button name&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;  PERFORM something.     &lt;EM&gt;here you want to go to some other screen.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2009 06:47:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-user-command-problem/m-p/5430307#M1246029</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-03T06:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: At User-command Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-user-command-problem/m-p/5430308#M1246030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Friend &lt;/P&gt;&lt;P&gt;thanks for your comments&lt;/P&gt;&lt;P&gt;but there are no any other duplicates and also its not possible to assign in ALV call Back statment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;every thing should be separate&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2009 07:08:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-user-command-problem/m-p/5430308#M1246030</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-03T07:08:48Z</dc:date>
    </item>
  </channel>
</rss>

