<?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: REGARDING call transaction in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-call-transaction/m-p/5853701#M1320120</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u r right..&lt;/P&gt;&lt;P&gt;but the data is not updating ..&lt;/P&gt;&lt;P&gt;if the file data update then only i will transport it to quality server&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am very sorry...but i want some help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Jul 2009 12:47:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-02T12:47:55Z</dc:date>
    <item>
      <title>REGARDING call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-call-transaction/m-p/5853696#M1320115</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;&lt;/P&gt;&lt;P&gt;i am getting the error when executing the entry (plant field) already existing.&lt;/P&gt;&lt;P&gt;this is my code.&lt;/P&gt;&lt;P&gt;where is the probleam hellp me??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report ZTEST6&lt;/P&gt;&lt;P&gt;       no standard page heading line-size 255.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;include bdcrecx1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF T_OMD0 OCCURS 0,&lt;/P&gt;&lt;P&gt;      WERKS  LIKE V_T024D-WERKS,&lt;/P&gt;&lt;P&gt;      DISPO  LIKE V_T024D-DISPO,&lt;/P&gt;&lt;P&gt;      DSNAM  LIKE V_T024D-DSNAM,&lt;/P&gt;&lt;P&gt;      DSTEL  LIKE V_T024D-DSTEL,&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     MEMPF  LIKE V_T024D-MEMPF,&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     GSBER  LIKE V_T024D-GSBER,&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     PRCTR  LIKE V_T024D-PRCTR,&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     USRTYP LIKE V_T024D-USRTYP,&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     USRKEY LIKE V_T024D-USRKEY,&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      END OF T_OMD0.&lt;/P&gt;&lt;P&gt;*declaration for error handling&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA BEGIN OF T_MESSTAB OCCURS 10.&lt;/P&gt;&lt;P&gt;     INCLUDE STRUCTURE BDCMSGCOLL.&lt;/P&gt;&lt;P&gt;DATA END OF   T_MESSTAB.&lt;/P&gt;&lt;P&gt;*messages&lt;/P&gt;&lt;P&gt;DATA W_MESSAGE LIKE MESSAGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*constants&lt;/P&gt;&lt;P&gt;CONSTANTS:K_MODE VALUE 'A',&lt;/P&gt;&lt;P&gt;          K_S TYPE C VALUE 'S'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*selection screen&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-002.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS : P_FLNAME TYPE RLGRAP-FILENAME DEFAULT 'C:\DEBA.TXT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*PARAMETERS : P_FLNAME(11) TYPE C  DEFAULT 'C:\DEBA.TXT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK B1.&lt;/P&gt;&lt;P&gt;*F4 selection&lt;/P&gt;&lt;P&gt; AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FLNAME.&lt;/P&gt;&lt;P&gt; PERFORM F4_P_FLNAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*start-of-selection.&lt;/P&gt;&lt;P&gt; START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*upload data from flat file.&lt;/P&gt;&lt;P&gt; PERFORM SUB_UPLOAD_DATA.&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;*perform open_group.&lt;/P&gt;&lt;P&gt;LOOP AT T_OMD0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPL0PP3' '0060'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'VIM_POSITION_INFO'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=NEWL'.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPL0PP3' '0061'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'V_T024D-DSTEL'.&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_T024D-WERKS'&lt;/P&gt;&lt;P&gt;                               T_OMD0-WERKS.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'V_T024D-DISPO'&lt;/P&gt;&lt;P&gt;                              T_OMD0-DISPO.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'V_T024D-DSNAM'&lt;/P&gt;&lt;P&gt;                              T_OMD0-DSNAM.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'V_T024D-DSTEL'&lt;/P&gt;&lt;P&gt;                               T_OMD0-DSTEL.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPL0PP3' '0061'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '/EABR'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'V_T024D-WERKS'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPLSPO1' '0100'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=YES'.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPL0PP3' '0060'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'VIM_POSITION_INFO'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=ENDE'.&lt;/P&gt;&lt;P&gt;*perform bdc_transaction using 'OMD0'.&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'OMD0' USING BDCDATA MODE K_MODE UPDATE K_S&lt;/P&gt;&lt;P&gt;                                    MESSAGES INTO T_MESSTAB.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC NE 0.&lt;/P&gt;&lt;P&gt;*capturing error&lt;/P&gt;&lt;P&gt;    LOOP AT T_MESSTAB.&lt;/P&gt;&lt;P&gt;      SY-MSGNO = T_MESSTAB-MSGNR.&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'WRITE_MESSAGE'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;      MSGID = T_MESSTAB-MSGID&lt;/P&gt;&lt;P&gt;      MSGNO = SY-MSGNO&lt;/P&gt;&lt;P&gt;      MSGTY = T_MESSTAB-MSGTYP&lt;/P&gt;&lt;P&gt;      MSGV1 = T_MESSTAB-MSGV1&lt;/P&gt;&lt;P&gt;      MSGV2 = T_MESSTAB-MSGV2&lt;/P&gt;&lt;P&gt;      MSGV3 = T_MESSTAB-MSGV3&lt;/P&gt;&lt;P&gt;      MSGV4 = T_MESSTAB-MSGV4&lt;/P&gt;&lt;P&gt;      MSGV5 = T_MESSTAB-MSGV4&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;error =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      MESSG = W_MESSAGE&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;msgln =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;      OTHERS = 1.&lt;/P&gt;&lt;P&gt;      WRITE: / W_MESSAGE.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;message id messtab-msgid type 'I' number messtab-msgnr.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     ENDLOOP.&lt;/P&gt;&lt;P&gt;   ENDIF.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; REFRESH T_OMD0.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM SUB_UPLOAD_DATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'GUI_UPLOAD'&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;     FILENAME                      = 'C:\DEBA.TXT'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     FILENAME                      =  P_FLNAME&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    FILETYPE                       = 'ASC'&lt;/P&gt;&lt;P&gt;    HAS_FIELD_SEPARATOR            = 'X'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   HEADER_LENGTH                 = 0&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   READ_BY_LINE                  = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   DAT_MODE                      = ' '&lt;/P&gt;&lt;/LI&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;   FILELENGTH                    =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   HEADER                        =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   TABLES&lt;/P&gt;&lt;P&gt;     DATA_TAB                      = T_OMD0&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;ENDFORM.                    " SUB_UPLOAD_DATA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM F4_P_FLNAME.&lt;/P&gt;&lt;P&gt;&lt;/P&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;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  FIELD_NAME         = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;   FILE_NAME           = P_FLNAME&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2009 11:45:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-call-transaction/m-p/5853696#M1320115</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-02T11:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: REGARDING call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-call-transaction/m-p/5853697#M1320116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi navketan nayar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you are using T-Code OMD0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it's for table maintance generator.. for MRP controller..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it's not suggestable to write BDC for it. because it will create the Customization request for creating/changing entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Standard way is to create it in Development server and transport the customizing request to Quality and production server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About Error... Your flat file may contain the entries which are alread exist in the view V_T024D.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out.. and remove the entries which are already there in flat file..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hope it will solve your problem..&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;ilesh 24x7&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ilesh Nandaniya&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2009 12:07:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-call-transaction/m-p/5853697#M1320116</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-02T12:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: REGARDING call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-call-transaction/m-p/5853698#M1320117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks ur reply..&lt;/P&gt;&lt;P&gt;in my flat file i am giving werks as 0001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the error is the  entry 0001 does not exit ...&lt;/P&gt;&lt;P&gt;why? because i am going to update this value..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please tell me ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2009 12:21:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-call-transaction/m-p/5853698#M1320117</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-02T12:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: REGARDING call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-call-transaction/m-p/5853699#M1320118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2009 12:34:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-call-transaction/m-p/5853699#M1320118</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-02T12:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: REGARDING call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-call-transaction/m-p/5853700#M1320119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Navketan Nayar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to suggest you to use T-code: OMD0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create/change entries there manually and while saving it will generate one request...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now transport this request to Quality and production server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hope it will solve your problem..&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;ilesh 24x7&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ilesh Nandaniya&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2009 12:36:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-call-transaction/m-p/5853700#M1320119</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-02T12:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: REGARDING call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-call-transaction/m-p/5853701#M1320120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u r right..&lt;/P&gt;&lt;P&gt;but the data is not updating ..&lt;/P&gt;&lt;P&gt;if the file data update then only i will transport it to quality server&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am very sorry...but i want some help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2009 12:47:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-call-transaction/m-p/5853701#M1320120</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-02T12:47:55Z</dc:date>
    </item>
  </channel>
</rss>

