<?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 Unable to create Functional Location in SAP using BAPI_FUNCLOC_CREATE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-create-functional-location-in-sap-using-bapi-funcloc-create/m-p/6345621#M1398103</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 are able to manually create Functional Location using BAPI_FUNCLOC_CREATE through the SAP front end.(BAPI_TRANSACTION_COMMIT has to be issued after this)&lt;/P&gt;&lt;P&gt;However, if we try to create the same from Business Objects Data Services, the Data Services Job runs through fine, without error. However the functional location does not get created. It says the functional location does not exist when we verify through the T Code IL03&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anybody come across this issue before ? It would be of great help if you can share your experience&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Zebah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Oct 2009 18:01:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-10-21T18:01:38Z</dc:date>
    <item>
      <title>Unable to create Functional Location in SAP using BAPI_FUNCLOC_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-create-functional-location-in-sap-using-bapi-funcloc-create/m-p/6345621#M1398103</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 are able to manually create Functional Location using BAPI_FUNCLOC_CREATE through the SAP front end.(BAPI_TRANSACTION_COMMIT has to be issued after this)&lt;/P&gt;&lt;P&gt;However, if we try to create the same from Business Objects Data Services, the Data Services Job runs through fine, without error. However the functional location does not get created. It says the functional location does not exist when we verify through the T Code IL03&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anybody come across this issue before ? It would be of great help if you can share your experience&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Zebah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2009 18:01:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-create-functional-location-in-sap-using-bapi-funcloc-create/m-p/6345621#M1398103</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-21T18:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to create Functional Location in SAP using BAPI_FUNCLOC_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-create-functional-location-in-sap-using-bapi-funcloc-create/m-p/6345622#M1398104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Zebah,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't get any errors and are sure the call got executed, I'd say it sounds like the commit is missing. So are you sure that your data service job includes the individual commits (and if executed as RFC's that they are in the same context as the original call)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers, harald&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Oct 2009 16:14:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-create-functional-location-in-sap-using-bapi-funcloc-create/m-p/6345622#M1398104</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-22T16:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to create Functional Location in SAP using BAPI_FUNCLOC_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-create-functional-location-in-sap-using-bapi-funcloc-create/m-p/6345623#M1398105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Harald,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for trying to help me. We are issuing a commit. Please see the function module:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FUNCTION zfm_bapi_funcloc_create.&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;"Local Interface:&lt;/P&gt;&lt;P&gt;*"  IMPORTING&lt;/P&gt;&lt;P&gt;*"     VALUE(EXTERNAL_NUMBER) LIKE  BAPI_ITOB_PARMS-FUNCLOC&lt;/P&gt;&lt;P&gt;*"     VALUE(LABELING_SYSTEM) LIKE  BAPI_ITOB_PARMS-LABEL_SYST OPTIONAL&lt;/P&gt;&lt;P&gt;*"     VALUE(DATA_GENERAL) LIKE  BAPI_ITOB STRUCTURE  BAPI_ITOB&lt;/P&gt;&lt;P&gt;*"     VALUE(DATA_SPECIFIC) LIKE  BAPI_ITOB_FL_ONLY STRUCTURE&lt;/P&gt;&lt;P&gt;*"        BAPI_ITOB_FL_ONLY&lt;/P&gt;&lt;P&gt;*"  EXPORTING&lt;/P&gt;&lt;P&gt;*"     VALUE(FUNCTLOCATION) LIKE  BAPI_ITOB_PARMS-FUNCLOC_INT&lt;/P&gt;&lt;P&gt;*"     VALUE(DATA_GENERAL_EXP) LIKE  BAPI_ITOB STRUCTURE  BAPI_ITOB&lt;/P&gt;&lt;P&gt;*"     VALUE(DATA_SPECIFIC_EXP) LIKE  BAPI_ITOB_FL_ONLY STRUCTURE&lt;/P&gt;&lt;P&gt;*"        BAPI_ITOB_FL_ONLY&lt;/P&gt;&lt;P&gt;*"     VALUE(RETURN) LIKE  BAPIRET2 STRUCTURE  BAPIRET2&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'BAPI_FUNCLOC_CREATE'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      external_number   = external_number&lt;/P&gt;&lt;P&gt;      labeling_system   = labeling_system&lt;/P&gt;&lt;P&gt;      data_general      = data_general&lt;/P&gt;&lt;P&gt;      data_specific     = data_specific&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      functlocation     = functlocation&lt;/P&gt;&lt;P&gt;      data_general_exp  = data_general_exp&lt;/P&gt;&lt;P&gt;      data_specific_exp = data_specific_exp&lt;/P&gt;&lt;P&gt;      return            = return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF return-type NE 'E' OR return-type NE 'A'.&lt;/P&gt;&lt;P&gt;    COMMIT WORK AND WAIT.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFUNCTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also believe that I am calling this BAPI from Business Objects DataServices in the same session. I am just assigning the right values to the BAPI columns. If we execute the BAPI from SAP front end, it commits fine. However when I call from Data Services, it comes out with no error, but we find that the commit has not happened.&lt;/P&gt;&lt;P&gt;Does this throw any more light ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Zebah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2009 14:05:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-create-functional-location-in-sap-using-bapi-funcloc-create/m-p/6345623#M1398105</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-23T14:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to create Functional Location in SAP using BAPI_FUNCLOC_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-create-functional-location-in-sap-using-bapi-funcloc-create/m-p/6345624#M1398106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Harald,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought that these additional information might help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the SAP front end, the following message pops up after running my job from business objects dataservices:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;EM&gt;SAP office express info&lt;/EM&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Express document "Update was terminated" received from author " User name "&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the TCode sm13&lt;/P&gt;&lt;P&gt;we find that the  module name (function) ITOB_BUF_FL_SAVE_UPD_TASK&lt;/P&gt;&lt;P&gt;has failed.&lt;/P&gt;&lt;P&gt;Further, in  Tcode st22 we have this error : DBIF_RSQL_INVALID_RSQL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: the external job in business objects dataservices completes successfully with no error&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts on way forward is very much appreciated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Zebah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2009 18:46:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-create-functional-location-in-sap-using-bapi-funcloc-create/m-p/6345624#M1398106</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-27T18:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to create Functional Location in SAP using BAPI_FUNCLOC_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-create-functional-location-in-sap-using-bapi-funcloc-create/m-p/6345625#M1398107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Zebah,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the late response, but based on your response to my comment it was clear that it wasn't the COMMIT and there was some other issue. Unfortunately I don't have any good idea what might be causing this problem. I searched OSS and a couple of notes turn up for BAPI_FUNCLOC_CREATE, but none of them seem relevant to your short dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the statement where the dump occurs. Based on the exception it sounds like some SQL statement is causing problems, but the exception seems odd. The most common cause for the DBIF_RSQL_INVALID_RSQL exception is a SELECT statement with an IN select-option with too many conditions. Doesn't sound like this should happen in the update process...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For analysis of the DBIF_RSQL_INVALID_RSQL exception SAP recommends though checking the system log and the trace file of the work process (ST11) where the error occurred. With that information you should have more details as to what might be causing the short dump (possibly also gives you some relevant keywords to feed into OSS).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best wishes, harald&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2009 03:24:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-create-functional-location-in-sap-using-bapi-funcloc-create/m-p/6345625#M1398107</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-28T03:24:28Z</dc:date>
    </item>
  </channel>
</rss>

