Syntax error in function call through EF6

I'm trying to call a function from an EF6 query but it seems the compiled statement has a syntax error and the DBMS bails out with "ORA-00933: SQL-Befehl wurde nicht korrekt beendet" (SQL statement ends with an inappropriate clause). As far as I understand the Oracle .NET provider compiles E-SQL to SQL for Oracle in the first place, so how come the statement is malformed?
Here's what EF logs for this particular statement:
Opened connection at 26.01.2015 09:46:14 +01:00
SELECT
"Extent1"."Z_AS" AS "Z_AS"
FROM "DEMO_VIVPFLEGEDOKU"."FN_GETASSESMENTCHILDS_AUSMENGE"(:STRFILTER) "Extent1"
-- STRFILTER: '1' (Type = Object)
-- Executing at 26.01.2015 09:46:14 +01:00
-- Failed in 79 ms with error: ORA-00933: SQL-Befehl wurde nicht korrekt beendet
Closed connection at 26.01.2015 09:46:14 +01:00
This is with VS 2013 Update 4, ODP.NET (ODTwithODAC121021 package) and Oracle 12c DBMS.
The function is defined as
create or replace function fn_GetAssesmentChilds_AusMenge(strFilter varchar2)
RETURN TTabOneNumber pipelined
is
IndexEing PLS_INTEGER;
IndexZ_Aus PLS_INTEGER;
Cursor CursorEing is select column_value from TABLE(fn_splitstring( strFilter ));
Cursor CursorAssessCh is select column_value from TABLE(fn_GetAssesmentChilds_AusInt(IndexEing));
BEGIN
open CursorEing;
fetch CursorEing into IndexEing;
while CursorEing%found
loop
open CursorAssessCh;
fetch CursorAssessCh into IndexZ_Aus;
while CursorAssessCh%found
loop
pipe row (IndexZ_Aus);
fetch CursorAssessCh into IndexZ_Aus;
end loop;
close CursorAssessCh;
fetch CursorEing into IndexEing;
end loop;
close CursorEing;
END fn_GetAssesmentChilds_AusMenge;
Here's the sample code for what I'm trying to achieve:
using System;
using System.Linq;
namespace ConsoleApplication17
   class Program
      static void Main(string[] args)
         using (var db = new Entities())
            var ids = db.GetAssessmentIds("1")
                  .Select(r => r.Z_AS);
            Console.WriteLine(string.Join(",", ids));
For the sake of completeness, here are the relevant parts from the EDMX:
SSDL
        <Function Name="FN_GETASSESMENTCHILDS_AUSMENGE" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="true" ParameterTypeSemantics="AllowImplicitConversion" Schema="DEMO_VIVPFLEGEDOKU">
          <Parameter Name="STRFILTER" Type="varchar2" Mode="In" />
           <ReturnType>
              <CollectionType>
                 <RowType>
                    <Property Name="Z_AS" Type="number" Precision="10" Scale="0" />
                 </RowType>
              </CollectionType>
           </ReturnType>
        </Function>
CSDL
          <FunctionImport Name="GetAssessmentIds" ReturnType="Collection(CareDocumentation.fn_GetAssesmentChilds_AusMenge_Result)" IsComposable="true">
             <Parameter Name="STRFILTER" Mode="In" Type="String" />
          </FunctionImport>
MSL
          <FunctionImportMapping FunctionImportName="GetAssessmentIds" FunctionName="CareDocumentation.Store.FN_GETASSESMENTCHILDS_AUSMENGE">
             <ResultMapping>
                <ComplexTypeMapping TypeName="CareDocumentation.fn_GetAssesmentChilds_AusMenge_Result">
                   <ScalarProperty Name="Z_AS" ColumnName="Z_AS" />
                </ComplexTypeMapping>
             </ResultMapping>
          </FunctionImportMapping>
Return type:
         <ComplexType Name="fn_GetAssesmentChilds_AusMenge_Result">
            <Property Name="Z_AS" Type="Int32" />
         </ComplexType>
Any ideas as to what is going on here?

Hello Thanvi
It seems that you need to apply the OSS note 1041283:
FUNCTION cacs_bupa_pai_special_cacsb1.
*"*"Lokale Schnittstelle:
  DATA: lt_but0bk TYPE TABLE OF but0bk WITH HEADER LINE.
  CALL FUNCTION 'BUP_BUPA_BUT0BK_GET'
       TABLES
            t_but0bk = lt_but0bk.
* einmal vorhanden -> nehmen; nicht vorhanden -> Feld muss leer sein
* mehrmals vorhanden -> Mussfeld
  READ TABLE lt_but0bk INDEX 2.
  IF sy-subrc NE 0.
*    READ TABLE lt_but0bk.          "NOTE 1041283   " <<<<<<<<<
     READ TABLE lt_but0bk FROM lt_but0bk.            " <<<<<<<<<
    IF sy-subrc = 0.
      cacs_s_bupaw-bank_id = lt_but0bk-bkvid.
    ENDIF.
  ELSE.
Regards
  Uwe

Similar Messages

  • SYNTAX ERROR in function module CACS_BUPA_PAI_SPECIAL_CACSB1

    Hi experts,
       I am trying to create business partner in SAP treasury module with role - general business partner and validity period 01/01/0001 - 12/31/9999. I am gettting syntax error  in Function module CACS_BUPA_PAI_SPECIAL_CACSB1, it says
    The key of internal table 'LT_BUT0BK' contains components of type 'X' or 'XSTRING'.
    The "Read table LT_BUTOBK" statement is not permitted for such tables in a unicode context.
    Please let me know if you have any solution for this.
    Thanks in advance.
    Edited by: Thanvi maraka on Apr 17, 2009 3:27 AM

    Hello Thanvi
    It seems that you need to apply the OSS note 1041283:
    FUNCTION cacs_bupa_pai_special_cacsb1.
    *"*"Lokale Schnittstelle:
      DATA: lt_but0bk TYPE TABLE OF but0bk WITH HEADER LINE.
      CALL FUNCTION 'BUP_BUPA_BUT0BK_GET'
           TABLES
                t_but0bk = lt_but0bk.
    * einmal vorhanden -> nehmen; nicht vorhanden -> Feld muss leer sein
    * mehrmals vorhanden -> Mussfeld
      READ TABLE lt_but0bk INDEX 2.
      IF sy-subrc NE 0.
    *    READ TABLE lt_but0bk.          "NOTE 1041283   " <<<<<<<<<
         READ TABLE lt_but0bk FROM lt_but0bk.            " <<<<<<<<<
        IF sy-subrc = 0.
          cacs_s_bupaw-bank_id = lt_but0bk-bkvid.
        ENDIF.
      ELSE.
    Regards
      Uwe

  • ABAP function call through vba

    Hi
    I am a vba/ .net developer. An ABAP programmer created an ABAP function and I´d like to call it through VBA code.
    To access it in SAP GUI, the user access the transaction /N/TENR/MM0035
    However, when I access it in a VBA code I get an error
    Set oCtrl = CreateObject("sap.Functions")
    Set oLogon = CreateObject("sap.logoncontrol.1")
    Set oCtrl.Connection = oLogon.newconnection
    oCtrl.Connection.Logon
    Set obj = oCtrl.Add("/n/TENR/MM0035")
    I get an erro at last line code: Error 1001: SAP Remote Function Call
    It seems it cound not find the function. When I change the function name to BAPI_MATERIAL_AVAILABILITY, for instance, it works.
    Can anybody help
    Thanks

    Hi pklj_2000,
    you can try the following:
    Set oCtrl = CreateObject("sap.Functions")
    Set oLogon = CreateObject("sap.logoncontrol.1")
    Set oCtrl.Connection = oLogon.newconnection
    oCtrl.Connection.Logon
    'Set obj = oCtrl.Add("/n/TENR/MM0035")
    session.findById("wnd[0]/tbar[0]/okcd").text = "/n/TENR/MM0035"
    session.findById("wnd[0]").sendVKey 0
    Regards,
    ScriptMan

  • Error in function call BAPI_0050_CREATE. Create FM Budgeting Entry document

    Hi guys,
    I've got runtime error in BAPI-function call BAPI_0050_CREATE for create\release budgeting entry document:
    "Number range 01 not found for object BULI_DOCNR in fiscal year 2007"
    Function parameters below:
    CALL FUNCTION 'BAPI_0050_CREATE'
    EXPORTING
    header_data = l_wa_header
    testrun = ' '
    TABLES
    item_data = g_it_item_data
    return = g_it_return.
    l_wa_header-FM_AREA = '2500'
    l_wa_header-VERSION = '000'.
    l_wa_header-DOCSTATE = '1'.
    l_wa_header-PROCESS = 'ENTR'.
    l_wa_header-DOCTYPE = '0001'.
    l_wa_item_data-BUDTYPE = 'DEBL'.
    l_wa_item_data-BUDCAT = '9F'.
    l_wa_item_data-ITEM_NUM = '01'.
    l_wa_item_data-FISC_YEAR = 2007.
    l_wa_item_data-FUNDS_CTR = '2000'.
    l_wa_item_data-CMMT_ITEM = 'R10101010'.
    l_wa_item_data-TOTAL_AMOUNT = 20000.
    l_wa_item_data-DISTKEY = '0'.
    l_wa_item_data-TRANS_CURR = 'RUB'.
    l_wa_item_data-VALTYPE = 'R1'.
    Interval 01 was already created in SPRO-tran for customizing option for FM module (Budgeting)
    (000000001 &#1076;&#1086; 99999999) - Create Number Range Interval for Entry Document
    Does anybody know correct parameters for BAPI-call or customizing option for Budjeting (FM) ?
    ps Sorry, I am not expert in FI-FM-module
    Thnx in advance,
    Dmitry

    It works !
    I've performed  this function in workbench and got additional help guide for error resolving.
    You're right - i've missed initial interval 05 for number ranges 5000000000 to 599999999 for budjeting docs.
    But i've got new error message
    'Release and budget amounts are inconsistent'

  • Error in function call when passing timestamp as parameter

    Hi All,
    I have created a function in database "Calulate_Wegs" whcih takes two parameter one "number" and other is "timestamp". I am able to get the output from function when running in database.
    But when i tries to call the function in OBIEE as EVALUATE('Calulate_Wegs(%1,%2)' AS INTEGER , Inv_BMM.s_view.Unit_id, CAST (Inv_BMM.s_view.T_date AS TIMESTAMP )) then it throws following error.
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 42015] Cannot function ship the following expression: Evaluate( Calulate_Wegs(%1,%2),D904.c4, cast(D904.c5 as TIMESTAMP ) ) .
    I am not getting any clue about this error. Looking for suggestions. Thanks in advance.
    Thanks
    Ashok

    Hi,
    I have a similar problem, and the documentation definitely does not help !
    The message is :
    +State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 42015] Cannot function ship the following expression: Evaluate( MIN(%1) KEEP (DENSE_RANK FIRST ORDER BY %2) OVER (PARTITION BY %3),D903.c3, D903.c4, D903.c5) . (HY000)+
    With the expression :
    EVALUATE('MIN(%1) KEEP (DENSE_RANK FIRST ORDER BY %2) OVER (PARTITION BY %3)' AS  DOUBLE PRECISION , Funds.NAV.NAV, Funds."Time Dimension"."Calendar Date", Funds.Fund."Subfund")
    By the way, %2 is not TIMESTAMP, but DATETIME. %1 is DOUBLE and %3 VARCHAR.
    If anyone can help ...
    Edited by: luxFarenheit on Jul 16, 2009 5:27 PM

  • CALL_FUNCTION_REMOTE_ERROR when calling a remote function call through PI

    Hello.  Thanks in advance for your perspective on this.
    We are developing an interface that runs in an R/3 system and is suppossed to perform a lookup in another R/3 system via a PI 7.0 system.
    Here's what we are trying to do, let's call these systems "A", "B", "C" respectively.
    R/3  ->  PI   -> R/3
    The R/3 system (A) executes code, which calls this function module like this:
          CALL FUNCTION 'Z_CHK_MAT' DESTINATION 'XI_RFCADAPTER'
            EXPORTING
              iv_region           = lv_region
              iv_matnr            = ls_matnr-matnr
            IMPORTING
              ev_flg_is_purchased = e_flg_is_purchased.
    This code, is set via the "DESTINATION" parameter to use the RFC destination 'XI_RFCADAPTER'.  This destination, points to the PI (B) system above.
    Anyhow, we're getting a short dump in the R/3 (A) system, which is like this:
    CALL_FUNCTION_REMOTE_ERROR
    "JCO.Server could not find server function 'Z_CHK_MAT'"
    From my analysis, I believe this is because the remote function module Z_CHK_MAT does not exist, in the PI (B) system.
    Our developer, believes this should just "pass through" the PI (B) system, and call the function module in the R/3 (C) system.
    Any insight on this?  In this scenario, does this Function Module need to exist in the PI abap side?  Can you give perspective / guidance on this?
    Thanks a lot
    Steve

    No need to exist in PI ABAP side.
    Just make sure that:
    1. as Michal said, you import it in Integration Repository (and use it in your configurations);
    2. the RFC Destination type that points to XI is of type T, not 3;
    3. both the RFC Destination & the Sender RFC Adapter (and only them) are using the same Program Id.
    Regards,
    Henrique.

  • Error while function calls

    ORA-02069: global_names parameter must be set to TRUE for this operation
    I am getting the following error when I am trying to invoke a user defined function through my sql statement .The function has been declared as DETERMINISTIC .

    The moment i set it to true , i get another error
    .i.e.
    ORA-02085:
    : database link *****PRD connects to ******TEST

  • JavaScript errors at function calls to "top" (e.g. team room or wpc editor)

    Hi all,
    formerly I run into problems when I tried to embed a team room into the content area of the NW portal.
    Now I have a similar problem with the WPC page editor.
    In both cases I get JavaScript errors, because the navigation calls a "top" element, which seems to be overwritten by the portal frameworkpage.
    Is there any possibility to isolate these elements in a way that allows to embed them into the content area of the portal without these errors?
    Or is it only possible to open them in a new window?
    Regards, Josef

    Hi priya,
    Not sure: check syntax in your Update Roules, also at level of start routine.
    Ciao.
    Riccardo.

  • Upgrade error in Function call

    Hi Firends,
    I am working in a upgrade to ECC6.0 project. The following statement is shown in UNICODE as an error:
      PERFORM GET_FRAME_TITLE(SAPDBBRF) USING &1 TS_TEXT&1.     " 4.6A
    But there is no error when we verify the syntax. How do we replace this statement, please suggest.
    Rgds
    Kishore

    Hi Kishore,
      In Unicode only '_' will be accepted for the varible names, not any special  characters.
      TEXT_20 is correct variable name
      TEXT &1 is error in unicode.This error will not shown in Syntax.Hope this will help you
    Regards,
    Narendra.Somarouthu

  • Javascript error on function call MVThemeBasedFOI

    I am getting a javascript error Error(36,55):  This attribute is not recognized. in the below code line highlighted in bold, what is going wrong. I am using JDeveloper and Mapviewer 11g. Please suggest
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:trh="http://myfaces.apache.org/trinidad/html"
    xmlns:afh="http://xmlns.oracle.com/adf/faces/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces"
    xmlns:tr="http://myfaces.apache.org/trinidad">
    <jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
    doctype-system="http://www.w3.org/TR/html4/loose.dtd"
    doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <f:view>
    <trh:html>
    <trh:head title="map">
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    <trh:script source="/jslib/oraclemaps.js"></trh:script>
    <trh:script text='
    var baseURL = "http://"+document.location.host+"/mapviewer";
    var mapCenterLon = 145.07;
    var mapCenterLat = -37.57;
    var mapZoom = 1;
    function showMap() {
    var mapview = new MVMapView(document.getElementById("map"), baseURL);
    mapview.addMapTileLayer(new MVMapTileLayer("gis_data.AV_VICMAP"));
    mapview.setCenter(MVSdoGeometry.createPoint(mapCenterLon,mapCenterLat,4283));
    mapview.setZoomLevel(mapZoom);
    mapview.addNavigationPanel("WEST");
    addThemeBasedFOI();
    mapview.display();
    function addThemeBasedFOI() {
    var themebasedfoi1 = new MVThemeBasedFOI('themebasedfoi1','gis_data.geom_avl_rural_lastknown'); mapview.addThemeBasedFOI(themebasedfoi1);
    }'></trh:script>
    </trh:head>
    <trh:body onload="javascript:showMap()">
    <h:form>
    <tr:panelPage>
    <f:facet name="navigation1"/>
    <f:facet name="navigationGlobal"/>
    <f:facet name="branding">
    <tr:outputText value="Oracle Maps"/>
    </f:facet>
    <!--TODO: Migrator from ADF Faces 10.1.3 to Trinidad removed the following node and its contents since it does not exist in Trinidad anymore
    <f:facet name="brandingApp" />
    -->
    <f:facet name="appCopyright"/>
    <f:facet name="appPrivacy"/>
    <f:facet name="appAbout"/>
    <f:verbatim>
    <div id="map"
    style="width:800.0px; height:600.0px; background-color:rgb(255,255,255); border-width:thin; border-color:rgb(99,99,255); border-style:solid;"/>
    </f:verbatim>
    </tr:panelPage>
    </h:form>
    </trh:body>
    </trh:html>
    </f:view>
    </jsp:root>
    Thanks

    Try use another name of FOI. Not the same as FOI var

  • Function call in SAP GUI with errors

    Dear All,
                 When i am calling FM of Comports using OLE Integration i got " Function call in SAP GUI with errors" error
    now my front end version is 6.40. how to solved this problem.
    In my Function Module i am creating object like this
    CREATE OBJECT O_OBJ 'MSCOMMLib.MSComm.1'.
        IF SY-SUBRC <> 0.
          RAISE NO_CREATE_OBJECT.
        ENDIF.
    it raised the sy-subrc = 2 this error is "Function call in SAP GUI with errors"
    send to me how to handle this error.
    Thank,
    Vijay.g

    Hi Vijay,
    We are facing the same issue.
    Interestingly
    From program's code only we are facing this issue.
    If we display the program and Execute (Direct processing), it is working fine.
    Can you please share how you resolved this issue.
    Thanks
    Sreedhar

  • Transaction iView( Tcode) Error: Function call in SAP GUI with errors

    Hey Guys:
                  I use Transaction iView to show the ABAP application on Portal. The application works to import data from client to BW. After I fill all the information and execute the application, the system returns the error message " Function call in SAP GUI with errors".
    The ABAP application works fine on SAP GUI, so it should not be the program problem.
    Any Suggestion for this will be nice. Thanks for your help.

    Hey Duy:
            Thanks for your response. I check the servers which i have access, and all of them cannot work correctly.
    First, other iViews(Dynpro,BW Report,BSP,KM...) work fine.
    Second, our backend system is a BW server.
    I try to do so on our EP production and development, also connect them to our BW production and development servers. All of those are failed and have the same problem.
    The t-code comes from our abap program and register on BW server, and hte program works fine when I use SE38 to execute it.
    PS. The Transaction iView works fine before, but I have no idea why it just crash now.
    Please let me know if you have any suggestion about this.

  • EEWB - Syntax error while generating Enhancement Project component

    Hi,
    I'm using SAP CRM 7.0. I used EEWB (Extended Enhancement Workbench) to create a project and add 3 fields to Business Partner (BUPA). On generation I get an error 'Syntax error in Function Group SAPLZZG00BUPA: The field '"GV_ZZATTR1_PAI_ERROR" is unknown.
    There are these fields ZZATTR1 .... ZZATTR9 created by someone. Do not know in which enhancement they are in. But somehow the program generated by SAP - APLZZG00BUPA is giving this error. Is there a way to fix it?
    Any help or guidance will be appreciated.
    Regards,

    Hi Harshit,
    I check the details as mentioned by the thread. The structures are created properly.
    To give you more details:
    1. There is already one extension in the system created by someone - ADD NEW FIELDS - which created the structure with additional fields - ZBSTC0000000002.
    2. I did an extension - ADD NEW FIELDS which added another structure in CI_EEW_BUT000 and CI_EEW_BUT000_X - ZBSTC00009JACQV
    3. When I generate the project I get syntax error in SAPLZZG00BUPA - as the fields from prior structure do not exist in this program which is generated during the project generation.
    Regards,

  • Utility library error string function?

    I've been working on an Error Handler library, culled mostly from these wonderful fora (Roberto!).  I can't seem to find an error code string generator for the functions in the Utiltiy Library though (in particular, functions like RenameFile, CopyFile, GetDir, SetDir, MakeDir, all the file i/o functions).
    Most of those make mention to negative error types with some plain text explanations.  But there's no mention of a nice code-to-string converter function, as there is in other libraries.  For instance, for the RS232 library, there is GetRS232ErrorString.  For the Formatting & I/O library, there is GetFmtIOErrorString.
    Am I not seeing it somewhere?  Inside the Utility library, there is a multithreading error code function called CmtGetErrorMessage.
    Solved!
    Go to Solution.

    You're right: the Urility Library does not incorporate a function that translates error codes to a meaningful text. I suppose this is due to the fact that error codes partly overlap, so a unique function could not be used.
    Just as an example, error -1 means File not found in almost all file I/O library functions, but it translates to No files found matching the search criteria in GetFirstFile () , to No more files in GetNextFiles () and Invalid Parameters in MakePathname ().
    Another example: error -2 means GetFirstFile must be called before if returned by GetNextFile (), and Resulting pathname too long if returned by MakePathname ().
    And this considering only File I/O section of the library!
    While developing my own toolbox of utilities, I have created the following function, which I know is far from perfect and covers only file I/O functions:
    char * CVIFUNC GetULibFileIOErrMsg (int error)
    // Messages associated to error codes returned by functions in File Utilities class in Utility Library
    switch (error) {
    case 0: return "Success";
    case -1: return "One of the path component not found";
    case -2: return "Resulting pathname longer than 260 chars";
    case -3: return "General I/O error occurred";
    case -4: return "Insufficient memory to complete operation";
    case -5: return "Invalid path";
    case -6: return "Access denied";
    case -7: return "Specified path is a directory, not a file";
    case -8: return "Disk is full";
    case -9: return "New file already exists";
    default: return "Unknown error";
    return NULL;
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • FRF-00025  Unable to call function. Error message: Syntax error in program

    hi,
    when we try to import the export file,we are getting the following error in the 24th phase
    i.e., check DDIC Password.
    The Error is
    INFO       2007-10-29 15:53:20 [iaxxrfcimp.cpp:1017]
               CAbRfcImpl::callLibraryFunction
    Generating interface for remote function.
    TRACE      [iaxxrfcimp.cpp:1056]
               CAbRfcImpl::performFunctionCall
    Calling function module: INST_RFC_GET_INTERFACE
    WARNING[E] 2007-10-29 15:53:21 [iaxxrfcimp.cpp:1089]
               CAbRfcImpl::performFunctionCall
    FRF-00025  Unable to call function. Error message: Syntax error in program SAPLSUNI                                . .
    TRACE      [iaxxrfcimp.cpp:1090]
               CAbRfcImpl::performFunctionCall
    RFC failure or system exception raised
    TRACE      [iaxxrfcimp.cpp:1091]
               CAbRfcImpl::performFunctionCall
    Syntax error in program SAPLSUNI                                .
    TRACE      [iaxxbjsmod.cpp:657]
               CJSlibModule::showOkCancelBox_impl()
    <html>Test logon to SAP System I50 failed.<p>Make sure that the system is started, that the user DDIC exists and that the password of user DDIC is correct.</html>
    TRACE      [iaxxgenimp.cpp:1093]
               showDialog()
    waiting for an answer from gui
    What Could be the solution for this.
    waiting for ur reply
    SS

    Hi Friend,
    Please check whether or not there is view missing error recorded in dev_w0 trace file.
    if there is , you can try to follow this procedure in order to manually
    import the missing view definitions.
    All steps must be carried out with the <sid>adm user of the target
    system and from the install-directory:
    1. In the install-directory
    <sapinst_instdir>\...COPY\IMPORTT\SYSTEM\ABAP\ORA\UC\DB
    create a file SAPVIEW.cmd with the following content:
    tsk: "<sapinst_instdir>\...\COPY\IMPORT\SYSTEM\ABAP\ORA\UC\DB\SAPVIEW.TSK"
    icf: "
    <YOUR_EXPORT_DIRECTORY>\export\DATA\SAPVIEW.STR"
    dcf: "<sapinst_instdir>\...\COPY\IMPORT\SYSTEM\ABAP\ORA\UC\DB\DDLORA.TPL"
    dat: null
    dir: null
    ext: null
    Please make sure that all paths are written correctly (in one line) and
    the refered files are existant and readable. One exception:
    The SAPVIEW.TSK file is created with step 2.:
    2. Run from the command-line:
    R3load -ctf I
    <YOUR_EXPORT_DIRECTORY>\export\DATA\SAPVIEW.STR <sapinst_instdir>\...\COPY\IMPORT\SYSTEM\ABAP\ORA\UC\DB\DDLORA.TPL SAPVIEW.TSK ORA -l SAPVIEW.log
    If there's a problem reading the 'SAPVIEW.STR' file, copy the
    file to the install directory and adapt the path accordingly.
    3. Run the view import by:
    R3load.exe -i SAPVIEW.cmd -dbcodepage <YOUR_CODE_PAGE> -l SAPVIEW.log
    -stop_on_error
    4. Check both the SAPVIEW.log and the SAPVIEW.TSK file whether all views
    have been created successfully.
    If 4. is okay, restart the central instance and check whether you are
    able to log on now. If yes, continue 'sapinst' by the option 'retry' or
    'continue old installation'.
    I Hope It can be helpful.
    With Best Regards
    Julia

Maybe you are looking for

  • Mapping Line type Data to table data

    Hi, I am trying to refer to a data element present in the line type of a table type which belongs to an import parameter of a smartform. How will i access the data element to use in the where clause of a select statement. For Eg: Import Parameter nam

  • Attaching a document in BSP

    Hi Can anyone tell me how to attach a document through BSP in a workflow. Please provide the code for that. Thanks, Gayathri.

  • RAC Health Check - quick tips please

    If in 1 hour time, I have to health check 2 node RAC on windows, what should I start with and what are the important things to check and report related to performance.

  • Printing Contact Sheet on a black background

    Hello, I would like to print a contact sheet on a black background. Is it possible? I have various type of photo 6x6 3x2 but also 4x3 or 1x3 and the space between these photo on the contact sheet is white... and not black as I think it should be to m

  • Panasonic Blueray --- SKYPE not working properly

    I have tried to use Skype in Blue-ray player (DMP-BDT210) but it keeps saying I have too many contacts to use Skype. I purchased this unit basically for Skype. How many contacts can I have to be able to use it? I mean, what is the point to have a Sky