<?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: TR_REQUEST_CHOICE - Adding entries to task in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/tr-request-choice-adding-entries-to-task/m-p/8526914#M1656357</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;loop at it_jbdexprelpos into wa_jbdexprelpos.&lt;/P&gt;&lt;P&gt;  wa_e071k-pgmid = 'R3TR'.&lt;/P&gt;&lt;P&gt;  wa_e071k-object = 'TABU'.&lt;/P&gt;&lt;P&gt;  wa_e071k-objname = 'JBDEXPRELPOS'.&lt;/P&gt;&lt;P&gt;  wa_e071k-as4pos = sy-tabix.&lt;/P&gt;&lt;P&gt;  wa_e071k-mastertype = 'TDAT'.&lt;/P&gt;&lt;P&gt;  wa_e071k-mastername = 'JBD_CHGPTR'.&lt;/P&gt;&lt;P&gt;  wa_e071k-tabkey = wa_jbdexprelpos.&lt;/P&gt;&lt;P&gt;  append wa_e071k to it_e071k.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'TR_GET_REQUEST_TYPE'&lt;/P&gt;&lt;P&gt;       exporting&lt;/P&gt;&lt;P&gt;            iv_pgmid           = 'R3TR'&lt;/P&gt;&lt;P&gt;            iv_object          = 'TABU'&lt;/P&gt;&lt;P&gt;            iv_obj_name        = 'JBDEXPRELPOS' "example for an object&lt;/P&gt;&lt;P&gt;       importing&lt;/P&gt;&lt;P&gt;            ev_request_type    = lv_request_type&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          ev_task_type       =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;            ev_tarsystem       = lv_tarsystem " target system of object&lt;/P&gt;&lt;P&gt;       exceptions&lt;/P&gt;&lt;P&gt;            no_request_needed  = 1&lt;/P&gt;&lt;P&gt;            invalid_object     = 2&lt;/P&gt;&lt;P&gt;            system_error       = 3.&lt;/P&gt;&lt;P&gt;  if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    message id sy-msgid type sy-msgty number sy-msgno&lt;/P&gt;&lt;P&gt;    with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;  else.&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'TR_REQUEST_CHOICE'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        IV_SUPPRESS_DIALOG         = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          IV_REQUEST_TYPES           = lv_request_type&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        IV_CLI_DEP                 = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        IV_REQUEST                 = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        IT_E071                    =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          IT_E071K                   = it_e071k&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        IV_LOCK_OBJECTS            = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        IV_TITLE                   =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        IV_START_COLUMN            = 3&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        IV_START_ROW               = 7&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        IV_WITH_ERROR_LOG          = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        IMPORTING&lt;/P&gt;&lt;P&gt;          ES_REQUEST                 = l_request&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;         INVALID_REQUEST            = 1&lt;/P&gt;&lt;P&gt;         INVALID_REQUEST_TYPE       = 2&lt;/P&gt;&lt;P&gt;         USER_NOT_OWNER             = 3&lt;/P&gt;&lt;P&gt;         NO_OBJECTS_APPENDED        = 4&lt;/P&gt;&lt;P&gt;         ENQUEUE_ERROR              = 5&lt;/P&gt;&lt;P&gt;         CANCELLED_BY_USER          = 0&lt;/P&gt;&lt;P&gt;         RECURSIVE_CALL             = 7&lt;/P&gt;&lt;P&gt;         OTHERS                     = 8.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Feb 2012 10:09:43 GMT</pubDate>
    <dc:creator>JoffyJohn</dc:creator>
    <dc:date>2012-02-03T10:09:43Z</dc:date>
    <item>
      <title>TR_REQUEST_CHOICE - Adding entries to task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tr-request-choice-adding-entries-to-task/m-p/8526911#M1656354</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;I tried to save custom table entries in to a task of a TR, using the below Function modules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TR_REQUEST_CHOICE and TR_APPEND_TO_COMM_OBJS_KEYS. But i am not able to do so. Getting errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the 1st function module i got an error - invalid_request&lt;/P&gt;&lt;P&gt;for the 2nd got KEY_CHECK_KEYSYNTAX_ERROR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont know what i am doing wrong while passing tables or entries to FM. Could anyone please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      wa_e071-pgmid      = wa_e071k-pgmid      = 'R3TR'.&lt;/P&gt;&lt;P&gt;      wa_e071-object     = wa_e071k-object     = 'TABU'.&lt;/P&gt;&lt;P&gt;      wa_e071-obj_name   = wa_e071k-objname    = lv_tabname.&lt;/P&gt;&lt;P&gt;      wa_e071-objfunc = 'K' .&lt;/P&gt;&lt;P&gt;      wa_e071k-mastertype = 'TABU' .&lt;/P&gt;&lt;P&gt;      wa_e071k-mastername = lv_tabname.&lt;/P&gt;&lt;P&gt;      MOVE ls_e071k-tabkey  TO wa_e071k-tabkey.&lt;/P&gt;&lt;P&gt;      APPEND wa_e071k TO i_e071k. APPEND wa_e071 TO i_e071.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anything I missed out please help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2012 09:29:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tr-request-choice-adding-entries-to-task/m-p/8526911#M1656354</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-03T09:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: TR_REQUEST_CHOICE - Adding entries to task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tr-request-choice-adding-entries-to-task/m-p/8526912#M1656355</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 are passing request number (parmaeter IV_REQUEST), rigth?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Marcin Cholewczuk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2012 09:59:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tr-request-choice-adding-entries-to-task/m-p/8526912#M1656355</guid>
      <dc:creator>marcin_cholewczuk</dc:creator>
      <dc:date>2012-02-03T09:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: TR_REQUEST_CHOICE - Adding entries to task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tr-request-choice-adding-entries-to-task/m-p/8526913#M1656356</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;Yes I am passing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'TR_REQUEST_CHOICE'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          IV_SUPPRESS_DIALOG         = 'X'&lt;/P&gt;&lt;P&gt;          IV_REQUEST_TYPES           = TRFUNCTION&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        IV_CLI_DEP                 = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          IV_REQUEST                 = TRKORR&lt;/P&gt;&lt;P&gt;          IT_E071                    = IV_E071&lt;/P&gt;&lt;P&gt;          IT_E071K                   = IV_E071&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        IV_LOCK_OBJECTS            = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        IV_TITLE                   =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        IV_START_COLUMN            = 3&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        IV_START_ROW               = 7&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        IV_WITH_ERROR_LOG          = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          IV_NO_OWNER_CHECK          = 'X'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        ES_REQUEST                 =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;         INVALID_REQUEST            = 1&lt;/P&gt;&lt;P&gt;         INVALID_REQUEST_TYPE       = 2&lt;/P&gt;&lt;P&gt;         USER_NOT_OWNER             = 3&lt;/P&gt;&lt;P&gt;         NO_OBJECTS_APPENDED        = 4&lt;/P&gt;&lt;P&gt;         ENQUEUE_ERROR              = 5&lt;/P&gt;&lt;P&gt;         CANCELLED_BY_USER          = 6&lt;/P&gt;&lt;P&gt;         RECURSIVE_CALL             = 7&lt;/P&gt;&lt;P&gt;         OTHERS                     = 8&lt;/P&gt;&lt;P&gt;                .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2012 10:08:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tr-request-choice-adding-entries-to-task/m-p/8526913#M1656356</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-03T10:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: TR_REQUEST_CHOICE - Adding entries to task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tr-request-choice-adding-entries-to-task/m-p/8526914#M1656357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;loop at it_jbdexprelpos into wa_jbdexprelpos.&lt;/P&gt;&lt;P&gt;  wa_e071k-pgmid = 'R3TR'.&lt;/P&gt;&lt;P&gt;  wa_e071k-object = 'TABU'.&lt;/P&gt;&lt;P&gt;  wa_e071k-objname = 'JBDEXPRELPOS'.&lt;/P&gt;&lt;P&gt;  wa_e071k-as4pos = sy-tabix.&lt;/P&gt;&lt;P&gt;  wa_e071k-mastertype = 'TDAT'.&lt;/P&gt;&lt;P&gt;  wa_e071k-mastername = 'JBD_CHGPTR'.&lt;/P&gt;&lt;P&gt;  wa_e071k-tabkey = wa_jbdexprelpos.&lt;/P&gt;&lt;P&gt;  append wa_e071k to it_e071k.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'TR_GET_REQUEST_TYPE'&lt;/P&gt;&lt;P&gt;       exporting&lt;/P&gt;&lt;P&gt;            iv_pgmid           = 'R3TR'&lt;/P&gt;&lt;P&gt;            iv_object          = 'TABU'&lt;/P&gt;&lt;P&gt;            iv_obj_name        = 'JBDEXPRELPOS' "example for an object&lt;/P&gt;&lt;P&gt;       importing&lt;/P&gt;&lt;P&gt;            ev_request_type    = lv_request_type&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          ev_task_type       =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;            ev_tarsystem       = lv_tarsystem " target system of object&lt;/P&gt;&lt;P&gt;       exceptions&lt;/P&gt;&lt;P&gt;            no_request_needed  = 1&lt;/P&gt;&lt;P&gt;            invalid_object     = 2&lt;/P&gt;&lt;P&gt;            system_error       = 3.&lt;/P&gt;&lt;P&gt;  if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    message id sy-msgid type sy-msgty number sy-msgno&lt;/P&gt;&lt;P&gt;    with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;  else.&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'TR_REQUEST_CHOICE'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        IV_SUPPRESS_DIALOG         = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          IV_REQUEST_TYPES           = lv_request_type&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        IV_CLI_DEP                 = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        IV_REQUEST                 = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        IT_E071                    =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          IT_E071K                   = it_e071k&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        IV_LOCK_OBJECTS            = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        IV_TITLE                   =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        IV_START_COLUMN            = 3&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        IV_START_ROW               = 7&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        IV_WITH_ERROR_LOG          = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        IMPORTING&lt;/P&gt;&lt;P&gt;          ES_REQUEST                 = l_request&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;         INVALID_REQUEST            = 1&lt;/P&gt;&lt;P&gt;         INVALID_REQUEST_TYPE       = 2&lt;/P&gt;&lt;P&gt;         USER_NOT_OWNER             = 3&lt;/P&gt;&lt;P&gt;         NO_OBJECTS_APPENDED        = 4&lt;/P&gt;&lt;P&gt;         ENQUEUE_ERROR              = 5&lt;/P&gt;&lt;P&gt;         CANCELLED_BY_USER          = 0&lt;/P&gt;&lt;P&gt;         RECURSIVE_CALL             = 7&lt;/P&gt;&lt;P&gt;         OTHERS                     = 8.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2012 10:09:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tr-request-choice-adding-entries-to-task/m-p/8526914#M1656357</guid>
      <dc:creator>JoffyJohn</dc:creator>
      <dc:date>2012-02-03T10:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: TR_REQUEST_CHOICE - Adding entries to task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tr-request-choice-adding-entries-to-task/m-p/8526915#M1656358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks you so much for your reply. Your tips was so useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2012 11:24:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tr-request-choice-adding-entries-to-task/m-p/8526915#M1656358</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-03T11:24:25Z</dc:date>
    </item>
  </channel>
</rss>

