<?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: Update Vendor Master in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-vendor-master/m-p/1254475#M145769</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Reema,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps you add this FM at the end CALL FUNCTION 'VENDOR_UPDATE' when SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  call function 'OPEN_FI_PERFORM_00001420_E'
       exporting
            i_lifnr = LS_LFA1-lifnr
            i_xvbup = 'X'
            i_aktyp = 'V'
       exceptions
            others  = 1.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Mar 2006 16:04:57 GMT</pubDate>
    <dc:creator>ferry_lianto</dc:creator>
    <dc:date>2006-03-27T16:04:57Z</dc:date>
    <item>
      <title>Update Vendor Master</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-vendor-master/m-p/1254474#M145768</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;I have made a z-prg that checks vendor existance in the system. Now if vendor exists in the system, I have to change the street field .ie. LFA1-STRAS.&lt;/P&gt;&lt;P&gt;I am trying to use the function module VENDOR_READ to get that Vendor's lfa1 and lfb1 data... and BBP_VENDOR_GET_DATA2 to read lfm1 data for that vendor.&lt;/P&gt;&lt;P&gt;Then i am using VENDOR_UPDATE function to update the STRAS field... before calling VENDOR_UPDATE, i am changing stras of lfa1 with the value that i have to store. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***********&lt;STRONG&gt;CODE&lt;/STRONG&gt;*********&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;READ LFA1 AND LFB1&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;         CALL FUNCTION 'VENDOR_READ'&lt;/P&gt;&lt;P&gt;           EXPORTING&lt;/P&gt;&lt;P&gt;             i_bukrs         = lit_upld_empl_desig-lifnr&lt;/P&gt;&lt;P&gt;             i_lifnr         = lit_upld_empl_desig-bukrs&lt;/P&gt;&lt;P&gt;          IMPORTING&lt;/P&gt;&lt;P&gt;            E_LFA1          = LS_LFA1&lt;/P&gt;&lt;P&gt;            E_LFB1          = LS_LFB1&lt;/P&gt;&lt;P&gt;          EXCEPTIONS&lt;/P&gt;&lt;P&gt;            NOT_FOUND       = 1&lt;/P&gt;&lt;P&gt;            OTHERS          = 2&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;*UPDATE LFA1/ LFB1&lt;/P&gt;&lt;P&gt;*SET STRAS FIELDS OF LFA1 TABLE TO THE VALUE FROM EXCEL SHEET&lt;/P&gt;&lt;P&gt;        LS_LFA1-STRAS = lit_upld_empl_desig-street.&lt;/P&gt;&lt;P&gt;        CALL FUNCTION 'VENDOR_UPDATE'&lt;/P&gt;&lt;P&gt;          EXPORTING&lt;/P&gt;&lt;P&gt;            i_lfa1        = LS_LFA1&lt;/P&gt;&lt;P&gt;            i_lfb1        = LS_LFB1&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           i_lfm1        =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           i_ylfa1       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           i_ylfb1       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           i_ylfm1       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;         tables&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           t_xlfas       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           t_xlfb5       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           t_xlfbk       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           t_xlfza       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           t_ylfas       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           t_ylfb5       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           t_ylfbk       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           t_ylfza       =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the changes are not getting reflected when i am checking through FK02.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Reema&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2006 15:57:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-vendor-master/m-p/1254474#M145768</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-27T15:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: Update Vendor Master</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-vendor-master/m-p/1254475#M145769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Reema,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps you add this FM at the end CALL FUNCTION 'VENDOR_UPDATE' when SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  call function 'OPEN_FI_PERFORM_00001420_E'
       exporting
            i_lifnr = LS_LFA1-lifnr
            i_xvbup = 'X'
            i_aktyp = 'V'
       exceptions
            others  = 1.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2006 16:04:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-vendor-master/m-p/1254475#M145769</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2006-03-27T16:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: Update Vendor Master</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-vendor-master/m-p/1254476#M145770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Reema - this FM is neither documented nor released. If you do a where used list on it, you'll find it used in include MF02KFV0. And if you look at that include, you'll see that a lot of processing is done before calling VENDOR_UPDATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I wouldn't use this FM. I've used batch input for this process and it works well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2006 16:24:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-vendor-master/m-p/1254476#M145770</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-27T16:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: Update Vendor Master</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-vendor-master/m-p/1254477#M145771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First of all thanks for the quick response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have done the needful using BDC &lt;/P&gt;&lt;P&gt;                              Call Transaction FK02&lt;/P&gt;&lt;P&gt;and it works perfectly.&lt;/P&gt;&lt;P&gt;However, I do not want to use this method.&lt;/P&gt;&lt;P&gt;The task is to be done using a function module instead of calling the transaction...&lt;/P&gt;&lt;P&gt;Is there any function module to update address of a vendor...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Reema.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2006 04:09:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-vendor-master/m-p/1254477#M145771</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-28T04:09:32Z</dc:date>
    </item>
  </channel>
</rss>

