<?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 QS41 - Upload codes in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/qs41-upload-codes/m-p/2935607#M691807</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;  We have a requirement to upload code groups and codes using QS41. We used the LSMW and uploaded the code groups , but when we tried writing a BDC for uploading codes of the codegroup the dialog tree structure that comes in the left hand frame of QS41 did not appear in SHDB recording. Please let me know how this could be captured in the BDC &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also if it is the case that all screen sequences could not be captured in BDC and we need to use BAPI_QPGR_SAVEREPLICA for using codes, please let me know the parameters which are to be used / any sample where this BAPI has been used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your help is greatly appreciated. Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prabaharan.G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 21 Oct 2007 16:31:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-21T16:31:09Z</dc:date>
    <item>
      <title>QS41 - Upload codes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/qs41-upload-codes/m-p/2935607#M691807</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;  We have a requirement to upload code groups and codes using QS41. We used the LSMW and uploaded the code groups , but when we tried writing a BDC for uploading codes of the codegroup the dialog tree structure that comes in the left hand frame of QS41 did not appear in SHDB recording. Please let me know how this could be captured in the BDC &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also if it is the case that all screen sequences could not be captured in BDC and we need to use BAPI_QPGR_SAVEREPLICA for using codes, please let me know the parameters which are to be used / any sample where this BAPI has been used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your help is greatly appreciated. Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prabaharan.G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Oct 2007 16:31:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/qs41-upload-codes/m-p/2935607#M691807</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-21T16:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: QS41 - Upload codes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/qs41-upload-codes/m-p/2935608#M691808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;See the sample BDC protgram for CODE ZGROUPS &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT zpm_code_group_upload&lt;/P&gt;&lt;P&gt;       NO STANDARD PAGE HEADING LINE-SIZE 255.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Standard Include for Selection Screen&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;INCLUDE bdcrecx1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Internal Table for Upload Data&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA: BEGIN OF i_codegroup OCCURS 0,&lt;/P&gt;&lt;P&gt;        katalogart(001),         " Catalog&lt;/P&gt;&lt;P&gt;        codegruppe(008),         " Code Group&lt;/P&gt;&lt;P&gt;        kurztext(040),           " Description&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       status(001),             " Status&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      END OF i_codegroup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Parameters&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;PARAMETERS: p_file LIKE ibipparms-path.  " Filename&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;At selection-screen on Value Request for file Name&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Get the F4 Values for the File&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION 'F4_FILENAME'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      program_name  = syst-cprog&lt;/P&gt;&lt;P&gt;      dynpro_number = syst-dynnr&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      file_name     = p_file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Start of Selection&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Open the BDC Session&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  PERFORM open_group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Upload the File into internal Table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION 'UPLOAD'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      filename                = p_file&lt;/P&gt;&lt;P&gt;      filetype                = 'DAT'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      data_tab                = i_codegroup&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      conversion_error        = 1&lt;/P&gt;&lt;P&gt;      invalid_table_width     = 2&lt;/P&gt;&lt;P&gt;      invalid_type            = 3&lt;/P&gt;&lt;P&gt;      no_batch                = 4&lt;/P&gt;&lt;P&gt;      unknown_error           = 5&lt;/P&gt;&lt;P&gt;      gui_refuse_filetransfer = 6&lt;/P&gt;&lt;P&gt;      OTHERS                  = 7.&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;  sort i_codegroup by katalogart.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Upload the Data from Internal Table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  LOOP AT i_codegroup.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Initial Screen&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    PERFORM bdc_dynpro      USING 'SAPLQSBA' '0010'.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                  '/EAEND'.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                                  'RQSBA-CODEGRUPPE'.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'RQSBA-KATALOGART'&lt;/P&gt;&lt;P&gt;                                  i_codegroup-katalogart.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'RQSBA-CODEGRUPPE'&lt;/P&gt;&lt;P&gt;                                  i_codegroup-codegruppe.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Second Screen&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    PERFORM bdc_dynpro      USING 'SAPLQSBA' '0100'.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                                  'V_QPGR_KAT-STATUS(01)'.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                  '=SAVE'.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'V_QPGR_KAT-KURZTEXT(01)'&lt;/P&gt;&lt;P&gt;                                  i_codegroup-kurztext.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'V_QPGR_KAT-STATUS(01)'&lt;/P&gt;&lt;P&gt;                                  '2'. "i_codegroup-status.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Call the Transaction&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    PERFORM bdc_transaction USING 'QS41'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Close the BDC Session&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  PERFORM close_group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Oct 2007 17:59:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/qs41-upload-codes/m-p/2935608#M691808</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-21T17:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: QS41 - Upload codes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/qs41-upload-codes/m-p/2935609#M691809</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;   This code will upload the code groups but the requirement is to upload the codes corresponding to the code groups . Can you please let me know if you have uploaded the codes of the code groups.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prabaharan.G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Oct 2007 23:59:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/qs41-upload-codes/m-p/2935609#M691809</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-21T23:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: QS41 - Upload codes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/qs41-upload-codes/m-p/2935610#M691810</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;This could be done by recording the transaction QS41,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select the code group --&amp;gt; click on the menu option ---&amp;gt; table view -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;&amp;gt; other view and then -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;&amp;gt; select codes from the pop up and this will take to the codes screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prabaharan.G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2007 22:51:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/qs41-upload-codes/m-p/2935610#M691810</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-22T22:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: QS41 - Upload codes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/qs41-upload-codes/m-p/2935611#M691811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved through recording --&amp;gt; menu path&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2007 22:52:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/qs41-upload-codes/m-p/2935611#M691811</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-22T22:52:17Z</dc:date>
    </item>
  </channel>
</rss>

