<?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: Function Module Query in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-query/m-p/1342767#M173274</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;1. Gets the partner of type WE for a given customer for partner type AG, for a give sales org and other parameters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. You can change a sales document using this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 May 2006 15:50:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-23T15:50:34Z</dc:date>
    <item>
      <title>Function Module Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-query/m-p/1342766#M173273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Points Guarnteed.................&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt; Please explain the below things &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)  Please explain the below FMs &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) CALL FUNCTION 'SD_PARTNER_GET_SOURCE_PARTNER'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;           I_KUNNR          = US_WE&lt;/P&gt;&lt;P&gt;           I_PARVW          = 'WE'&lt;/P&gt;&lt;P&gt;           I_PARVW_SOURCE   = 'AG'&lt;/P&gt;&lt;P&gt;           I_VKORG          = US_VKORG&lt;/P&gt;&lt;P&gt;           I_VTWEG          = US_VTWEG&lt;/P&gt;&lt;P&gt;           I_SPART          = US_SPART&lt;/P&gt;&lt;P&gt;     I_CALL_BAPI         = CALL_BAPI&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;           E_KUNNR          = US_AG&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;           NO_PARTNER_FOUND    = 1&lt;/P&gt;&lt;P&gt;           NO_PARTNER_SELECTED = 2&lt;/P&gt;&lt;P&gt;           OTHERS              = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) CALL FUNCTION 'SD_SALES_DOCU_MAINTAIN'&lt;/P&gt;&lt;P&gt;     EXPORTING&lt;/P&gt;&lt;P&gt;          I_VBAKKOM          = I_VBAKKOM&lt;/P&gt;&lt;P&gt;          I_VBAKKOMX         = I_VBAKKOMX&lt;/P&gt;&lt;P&gt;          SIMULATION         = CHARX&lt;/P&gt;&lt;P&gt;          I_VBAKKOM_REF      = I_VBAKKOM_REF&lt;/P&gt;&lt;P&gt;          I_CALL_BAPI        = CHARX&lt;/P&gt;&lt;P&gt;          i_without_init     = charx&lt;/P&gt;&lt;P&gt;          suppress_availibility_dia = space&lt;/P&gt;&lt;P&gt;     TABLES&lt;/P&gt;&lt;P&gt;          RETURN             = DA_RETURN&lt;/P&gt;&lt;P&gt;          IX_VBAPKOM         = IX_VBAPKOM&lt;/P&gt;&lt;P&gt;          IX_VBAPKOMX        = IX_VBAPKOMX&lt;/P&gt;&lt;P&gt;          IX_VBPAKOM         = IX_VBPAKOM&lt;/P&gt;&lt;P&gt;          ix_bapiaddr1       = partneraddresses&lt;/P&gt;&lt;P&gt;          IX_VBEPKOM         = IX_VBEPKOM&lt;/P&gt;&lt;P&gt;          IX_VBEPKOMX        = IX_VBEPKOMX&lt;/P&gt;&lt;P&gt;          IX_KONVKOM         = IX_KONVKOM&lt;/P&gt;&lt;P&gt;          IX_KONVKOMX        = IX_KONVKOMX&lt;/P&gt;&lt;P&gt;          IX_KOMFKZM         = IX_KOMFKZM&lt;/P&gt;&lt;P&gt;          SALES_CFGS_REF     = SALES_CFGS_REF&lt;/P&gt;&lt;P&gt;          SALES_CFGS_INST    = SALES_CFGS_INST&lt;/P&gt;&lt;P&gt;          SALES_CFGS_PART_OF = SALES_CFGS_PART_OF&lt;/P&gt;&lt;P&gt;          SALES_CFGS_VALUE   = SALES_CFGS_VALUE&lt;/P&gt;&lt;P&gt;          SALES_CFGS_BLOB    = SALES_CFGS_BLOB.&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!!&lt;/P&gt;&lt;P&gt;Aryan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 15:37:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-query/m-p/1342766#M173273</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-23T15:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-query/m-p/1342767#M173274</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;1. Gets the partner of type WE for a given customer for partner type AG, for a give sales org and other parameters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. You can change a sales document using this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 15:50:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-query/m-p/1342767#M173274</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-23T15:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-query/m-p/1342768#M173275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since FM SD_SALES_DOCU_MAINTAIN is not released for customer use and has no documentation, I wouldn't use it. Instead, try BAPI_SALESORDER_CHANGE or BAPI_SALESDOCUMENT_CHANGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 15:58:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-query/m-p/1342768#M173275</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-23T15:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-query/m-p/1342769#M173276</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;1. this fm takes the Ship to party Kunnr,sales org,distibution channel and get the Sold to Party Kunnr.&lt;/P&gt;&lt;P&gt;this is used basically to read the partner data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.to maintain the Sales Document.&lt;/P&gt;&lt;P&gt;here in your case you are maintiaining the Sales Document passing the Sales Document Header data, etc.. .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 16:08:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-query/m-p/1342769#M173276</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-23T16:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-query/m-p/1342770#M173277</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;Points Guarenteed ............... Revert back please&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually the issue is there is a field called &lt;/P&gt;&lt;P&gt;schdule-line number (VBEP-ETENR) its getting populated as&lt;/P&gt;&lt;P&gt;4001 instead of 1, now this happens only for Internet sales orders (CRM) .. now I need to investigate why is this happening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Read this for detail &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"All Bulk ISS orders are showing up in the OTD BW reports as unreported even though they have been reported shipped.  The issue appears to be, that for ISS orders only, the schedule line item number for the base bulk line, shows up as "4001" and not "1" as it typically does.  "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Aryan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 16:10:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-query/m-p/1342770#M173277</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-23T16:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-query/m-p/1342771#M173278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you checked the OSS notes? There are a number of notes related to this field in CRM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 16:14:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-query/m-p/1342771#M173278</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-23T16:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-query/m-p/1342772#M173279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I need to check for OSS notes in CRM or in R/3 ??&lt;/P&gt;&lt;P&gt;and according to you is this FM "SD_SALES_DOCU_MAINTAIN "&lt;/P&gt;&lt;P&gt;used for sales order creation in R/3 ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please revert back ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Aryan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2006 09:32:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-query/m-p/1342772#M173279</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-24T09:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-query/m-p/1342773#M173280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Aryan,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;      Rob is referring to R/3.You need to check for an OSS note here.Meanwhile just to ensure ,use BAPI_SALESORDER_CHANGE and try to change the schedule line value .If it's still getting populated with 4001 look for the OSS note.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dont forget to use BAPI_TRANSACTION_COMMIT after using BAPI_SALESORDER_CHANGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Nishanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2006 10:05:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-query/m-p/1342773#M173280</guid>
      <dc:creator>nishanthbhandar</dc:creator>
      <dc:date>2006-05-24T10:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-query/m-p/1342774#M173281</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 cannot use BAPI_SALESORDER_CHANGE as the code is all set. I've to find the root cause as to why it is picking wrong Schdule line number &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Aryan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2006 16:12:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-query/m-p/1342774#M173281</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-24T16:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-query/m-p/1342775#M173282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What I did was to enter:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SD_SALES_DOCU_MAINTAIN crm schedule&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;on the selection screen. It came back with 17 notes. It would probably be best if you did the same to see if anything fits your particular problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2006 18:32:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-query/m-p/1342775#M173282</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-24T18:32:26Z</dc:date>
    </item>
  </channel>
</rss>

