Error in generated mapping

I got this error :
ORA-06553: PLS-103: Symbole "" rencontré à la place d'un des symboles suivants : . ( ) , * @ % & | = - + < / > at in is mod remainder not range rem => .. <exposant (**)> <> or != or ~= >= <= <> and or like LIKE2_ LIKE4_ LIKEC_ between || indicator multiset member SUBMULTISET_ ORA-06512: à "ASYLUM_DWH.LOAD_REQUESTER_PRESENCE", ligne 32 ORA-06512: à "ASYLUM_DWH.LOAD_REQUESTER_PRESENCE", ligne 1704 ORA-06512: à "ASYLUM_DWH.LOAD_REQUESTER_PRESENCE", ligne 2172 ORA-06512: à "ASYLUM_DWH.LOAD_REQUESTER_PRESENCE", ligne 4499 ORA-06512: à ligne 1      
That correspond to a open cursor statement in the mapping corresponding pl/sql code. The corresponding cursor statement is just below:
CURSOR "REQUESTER_DEPARTURE_c" IS
SELECT
/*+ NO_MERGE */
"ADMINISTRATIVEPROCEDURE"."REQUESTER_I" "REQUESTER_I",
"REQUESTER_PRESENCE"."ARRIVAL_CANTON_DATE" "ARRIVAL_CANTON_DATE",
"ADMINISTRATIVEPROCEDURE"."EVENTDATE" "EVENTDATE"
FROM
"ASYLUM_3_0"."ADMINISTRATIVEPROCEDURE"@"ASYT1@ASYLUM_DB_LOCATION" "ADMINISTRATIVEPROCEDURE",
"ASYLUM_3_0"."FLEXTYPOLOGYCLASSMATRIX"@"ASYT1@ASYLUM_DB_LOCATION" "FLEXTYPOLOGYCLASSMATRIX",
"ASYLUM_3_0"."FLEXTYPOLOGYCLASSMATRIXVALUE"@"ASYT1@ASYLUM_DB_LOCATION" "FLEXTYPOLOGYCLASSMATRIXVALUE",
"REQUESTER_PRESENCE" "REQUESTER_PRESENCE"
WHERE
( "FLEXTYPOLOGYCLASSMATRIX"."FLEXTYPOLOGYCLASS_IX" = ("ASYLUM_3_0"."FLEXTYPOLOGYCLASSSEL"."FGETFLEXTYPOLOGYCLASS_I"@"ASYT1@ASYLUM_DB_LOCATION"("ASYLUM_3_0"."T_FLEXTYPOLOGYCLASS_IPAR"."FIST_TRANSFER_I"@"ASYT1@ASYLUM_DB_LOCATION"())) ) AND
( "FLEXTYPOLOGYCLASSMATRIX"."FLEXTYPOLOGYCLASS_IY" = ("ASYLUM_3_0"."FLEXTYPOLOGYCLASSSEL"."FGETFLEXTYPOLOGYCLASS_I"@"ASYT1@ASYLUM_DB_LOCATION"("ASYLUM_3_0"."T_FLEXTYPOLOGYCLASS_IPAR"."FIST_INOUT_I"@"ASYT1@ASYLUM_DB_LOCATION"())) ) AND
( "FLEXTYPOLOGYCLASSMATRIXVALUE"."FLEXTYPOLOGYCLASSMATRIX_I" = "FLEXTYPOLOGYCLASSMATRIX"."FLEXTYPOLOGYCLASSMATRIX_I" ) AND
( "FLEXTYPOLOGYCLASSMATRIXVALUE"."FLEXTYPOLOGYCLASSITEM_IY" = ("ASYLUM_3_0"."T_INOUT_IPAR"."FGETFLEXTYPOLOGYCLASSITEM_I"@"ASYT1@ASYLUM_DB_LOCATION"("ASYLUM_3_0"."T_INOUT_IPAR"."FISDEPARTURE"@"ASYT1@ASYLUM_DB_LOCATION"())) ) AND
( "ADMINISTRATIVEPROCEDURE"."T_PROCEDUREEVENT_I" = "FLEXTYPOLOGYCLASSMATRIXVALUE"."FLEXTYPOLOGYCLASSITEM_IX" ) AND
( "ADMINISTRATIVEPROCEDURE"."REQUESTER_I" = "REQUESTER_PRESENCE"."REQUESTER_I" ) AND
( "REQUESTER_PRESENCE"."ARRIVAL_CANTON_DATE" > "ADMINISTRATIVEPROCEDURE"."EVENTDATE" );
What is the best approach to debug this type of errors ?

It seem to be a bug !!!!
Replacing the package/function by literal in the cursor solve the problem :
SELECT
/*+ NO_MERGE */
ADMINISTRATIVEPROCEDURE.REQUESTER_I REQUESTER_I,
REQUESTER_PRESENCE.ARRIVAL_CANTON_DATE ARRIVAL_CANTON_DATE,
ADMINISTRATIVEPROCEDURE.EVENTDATE EVENTDATE
FROM
ASYLUM_3_0.ADMINISTRATIVEPROCEDURE@ASYT1@ASYLUM_DB_LOCATION ADMINISTRATIVEPROCEDURE,
ASYLUM_3_0.FLEXTYPOLOGYCLASSMATRIX@ASYT1@ASYLUM_DB_LOCATION FLEXTYPOLOGYCLASSMATRIX,
ASYLUM_3_0.FLEXTYPOLOGYCLASSMATRIXVALUE@ASYT1@ASYLUM_DB_LOCATION FLEXTYPOLOGYCLASSMATRIXVALUE,
REQUESTER_PRESENCE REQUESTER_PRESENCE
WHERE ( FLEXTYPOLOGYCLASSMATRIX.FLEXTYPOLOGYCLASS_IX = (65) )
AND ( FLEXTYPOLOGYCLASSMATRIX.FLEXTYPOLOGYCLASS_IY = (29) )
AND ( FLEXTYPOLOGYCLASSMATRIXVALUE.FLEXTYPOLOGYCLASSMATRIX_I = FLEXTYPOLOGYCLASSMATRIX.FLEXTYPOLOGYCLASSMATRIX_I )
AND ( FLEXTYPOLOGYCLASSMATRIXVALUE.FLEXTYPOLOGYCLASSITEM_IY = (268) )
AND ( ADMINISTRATIVEPROCEDURE.T_PROCEDUREEVENT_I = FLEXTYPOLOGYCLASSMATRIXVALUE.FLEXTYPOLOGYCLASSITEM_IX )
AND ( ADMINISTRATIVEPROCEDURE.REQUESTER_I = REQUESTER_PRESENCE.REQUESTER_I )
AND ( REQUESTER_PRESENCE.ARRIVAL_CANTON_DATE > ADMINISTRATIVEPROCEDURE.EVENTDATE );
This select executed in sqlDeveloper return the rows correctly.
Using the package/function instead even the quotes are removed causes the same error. The reason same to be due to the remote function called from an another remote function as parameter in a select clause.

Similar Messages

  • Import Manager 'Error 5611520 - Error Saving Key Mapping'

    I am using CREDITOR_EXTRACT in R/3 to send Vendor IDoc to XI and use CREMDM04 type.  XI generates an XML file that I load into MDM using a client that is set up for Inbound/Outbound.  The key mappings have been turned on for the Vendor repository.
    In IM, I use the standard map CREMDM04 and the system maps the incoming XML file to the vendor main table.  There are few values that I have to map manually - fine.  Next, when I click Import, I get a error pop-up message 'Error Saving Key Mapping - Errno 5611520'.
    Has anybody experienced this when using all standard content (schemas and maps) for Vendor?
    Thanks in advance.

    Subbu,
    Found another system that has the same versions as you do.  This particular error did not appear, but we got some internal IM error.  Also, the SAP training demos are on the same versions as mine.
    I am using MDC R/3 as the client and the CREMDM04 schema map.  Not using MDM inbound ports for now.  Just loading XML file generated by XI based on CREMDM04. Do you think that I need to define a Qualified Range for this client in the Console or can it be left blank?
    Thanks.

  • System Error During Message Mapping

    I've set up a simple mapping scenario that sends a DEBMAS06 IDoc from our R/3 system to XI mapping to DEBMAS06 and writing out to a file.  I am getting the following system error during message mapping:
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="MAPPING">JCO_SYSTEM_FAILURE</SAP:Code>
      <SAP:P1>Server repository could not create function template for 'SMPP_CALL_JAVA_RUNTIME</SAP:P1>
    I have gone back to the Design Builder and tested out the message mapping and the interface mapping and both work successfully.  I have also taken the payload of the message and submitted it via the RWB and it generates the same error as when sent from R/3.  Any other places I can look?

    Hi Mike,
    You have got the connectivity issue problem between ABAP and J2EE stack. When do the test in the Message Mapping, thats the J2EE and it works. But during the runtime it has to go to the Integratin Server, which is the ABAP stack. Fix the connectivity issue, check the smicm,trace and debug log etc.
    Hope this helps.
    Cheers,
    Ranjan

  • Error when generating the update program RSAU484

    Hi,
    I am getting the following error while loading data into customer master  from CRM system
    Error when generating the update program
    Message no. RSAU484
    Diagnosis
    An error occurred during program generation for InfoSource MR_CDB_CUST_HFR and InfoProvider 0BPARTNER$T. This may be extrapolated to incorrect update rules.
    Procedure
    Check and correct your update rules and then generate the update program again. You can find help on the error in the error log.

    Yes,there is just a single line of code in the start routine
    DELETE DATA_PACKAGE WHERE CUSTOMER is initial.
    and update rules  for Business partner and customer market which are object mapped 1:1. No routines or formulaes.
    Could this be a technical issue on the flexible update or a data quality ?

  • Business Object creation error: The service mapping is missing

    Hi developers,
    In my CAF 7.1, I have my business object "maintenanceRequest" with several attributes.
    Persistency is remote. Permission check is disabled.
    Create operation is mapped to the external service (enterprise service) createMaintenanceRequest.
    The input fields are mapped, output fields are not mapped since create operation doesn't have any.
    All the other operations are not mapped.
    I have exposed as web service the operation "create",
    I have generated, built and deployed the app.
    When I try to run it from wsnavigator I get an error in the SOAP response:
    com.sap.caf.rt.exception.CAFCreateException: The service mapping is missing
    Please note that the ES works ok (e.g. from Visual Compose 7.1).
    The ES was imported in NWDS 7.1 from service registry.
    Can anyone please help?
    Thanks, regards
    Vincenzo

    Hi Sampath, thanks for your helpful reply.
    I followed the steps from saphelp, but I get errors.
    I mapped my external service destination (an R/3-based Enterprise Service published in service registry) to:
    - UDDI_DESTINATION (error: objectNotExist) [but the ES is correctly published in service registry]
    - wsdl address in backend R/3 system (error: Deserializing WSDL stream failed)
    how should the logical destination be configured?
    Thanks a lot
    Vincenzo

  • Error while generating a role

    Hi SAP Techies,
    I am getting the following error while generating a role,
    "18 field value(s) for object K_CCA were not entered in the profile"
    Can you please provide me a solution to fix this problem.
    Thanks.
    Regards,
    Agustuss

    How many cost centres are you putting in the role?  Do you have cost centre set as an org level?
    From your User Name I assume that you are at the BBC...Do you still use a program to populate the cost centres in the role based on the cost centre group names?  If so it is possible that you are trying to put too many cost centres in the field and the the profile will not generate because of this (we had it back in 2001 when I was working there).
    Do you have the technical error message details?

  • Error in generating a sel-screen.

    friends,
        am getting an error while activating a report saying that error in generating the sel. screen 1000 in line 0....also, am not able to select the selection-texts (in the goto->text elements), which says there aer serious syntax errors...pl help..thanks all..
    here is my selection-screen declaration code
    SELECTION-SCREEN BEGIN OF BLOCK APPLICATION WITH FRAME TITLE TEXT-002.
    PARAMETERS:
      PM_WERKS LIKE MSEG-WERKS OBLIGATORY DEFAULT '1000',
      PM_MJAHR LIKE MKPF-MJAHR OBLIGATORY DEFAULT SY-DATLO.
    SELECT-OPTIONS:
      PM_MBLNR FOR MSEG-MBLNR NO-EXTENSION MEMORY ID MBN.
    PARAMETERS :
      PM_LGORT LIKE MSEG-LGORT OBLIGATORY DEFAULT '1001',
      PM_BUDAT LIKE MKPF-BUDAT.
    SELECTION-SCREEN END OF BLOCK APPLICATION.

    Hi Satish,
    i am not facing any kind of problem with your code. can you check it once.
    TABLES: mseg.
    SELECTION-SCREEN BEGIN OF BLOCK application WITH FRAME TITLE text-002.
    PARAMETERS:
    pm_werks LIKE mseg-werks OBLIGATORY DEFAULT '1000',
    pm_mjahr LIKE mkpf-mjahr OBLIGATORY DEFAULT sy-datlo.
    SELECT-OPTIONS:
    pm_mblnr FOR mseg-mblnr NO-EXTENSION MEMORY ID mbn.
    PARAMETERS :
    pm_lgort LIKE mseg-lgort OBLIGATORY DEFAULT '1001',
    pm_budat LIKE mkpf-budat.
    SELECTION-SCREEN END OF BLOCK application.
    Regards
    Vijay

  • Error while generating the report on Test env (for divide condition)

    Hi All,
    I am facing the below error while generating the report in test environment while the same report is working fine on Prod environment.
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 16001] ODBC error state: S1000 code: 1791 message: [Oracle][ODBC][Ora]ORA-01791: not a SELECTed expression. [nQSError: 16001] ODBC error state: S1000 code: 1791 message: [Oracle][ODBC][Ora]ORA-01791: not a SELECTed expression. [nQSError: 16015] SQL statement execution failed. (HY000)
    Actually the error is coming for the below logics:
    COUNT(DISTINCT RMA.RMA)/COUNT(DISTINCT User."User Name")
    "RMA Fact"."Module Backlog"/COUNT(DISTINCT User."User Name")
    Can anyone please tell if I need to make any configuration changes as the same logic works perfectly fine on production but not on test.
    Thanks in advance

    Is anyone having any idea about it...

  • Error while generating ARE doc. Internal number .

    Error while generating ARE doc. Internal number .
    Message no. 4F238
    while creating ARE1 ,whilke saving the system is giving a message.
    please help.
    points will be rewarded.

    check whether You activated the SPRO setting for BEX.
    SPRO -->SAP Business Information Warehouse --> reporting relevant settings -->
    general reporting settings > activate personilisation in BEX>
    P

  • Error while generating JAR using adadmin

    Hi all,
    EBS Version: R12.1.1
    I am in the middle of migrating the EBS from windows 2003-32bit to Linux 5-64Bit.
    I am getting the below error while generating the JAR files using adadmin.
    Error generated in adadmin
    Signing product JAR files in  JAVA_TOP -
      /u01/appltest/TEST/apps/apps_st/comn/java/classes
       using entity TEST_vm1213l and certificate 1.
    Successfully created javaVersionFile.
    Generating product JAR files in JAVA_TOP -
      /u01/appltest/TEST/apps/apps_st/comn/java/classes with command:
    adjava -mx512m -nojit oracle.apps.ad.jri.adjmx @/u01/appltest/TEST/apps/apps_st/appl/admin/TEST/out/genjars.cmd
    Failed to generate product JAR files in JAVA_TOP -
       /u01/appltest/TEST/apps/apps_st/comn/java/classes.
    adogjf() Unable to generate jar files under JAVA_TOP
    Backing up restart files, if any......Done.
    You should check the file
    /u01/appltest/TEST/apps/apps_st/appl/admin/TEST/log/gen_jar.log
    for errors.
    Entries from gen_jar.log
    Reading language information from applUS.txt ...
      Temporarily resetting CLASSPATH to:
      "/u01/appltest/TEST/apps/apps_st/appl/ad/12.0.0/java/adjava.zip:/u01/appltest/TEST/apps/tech_st/10.1.3/appsutil/jdk/lib/dt.jar:/u01/appltest/TEST/apps/tech_st/10.1.3/appsutil/jdk/lib/tools.jar:/u01/appltest/TEST/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/rt.jar:/u01/appltest/TEST/apps/apps_st/comn/java/lib/appsborg.zip:/u01/appltest/TEST/apps/tech_st/10.1.2/forms/java:/u01/appltest/TEST/apps/tech_st/10.1.2/forms/java/frmall.jar:/u01/appltest/TEST/apps/tech_st/10.1.2/jlib/ewt3.jar:/u01/appltest/TEST/apps/tech_st/10.1.2/j2ee/OC4J_BI_Forms/applications/formsapp/formsweb/WEB-INF/lib/frmsrv.jar:/u01/appltest/TEST/apps/apps_st/comn/java/classes"
      Calling /u01/appltest/TEST/apps/tech_st/10.1.3/appsutil/jdk/jre/bin/java ...
    The JDK version is 1.6.0_10
    Validating the files/directories specified for -areas option
    ERROR: File/directory 61A9A14779A1A8 does not exist
    ERROR: File/directory -keyPass does not exist
    ERROR: File/directory AA65D2F9B26DDBABEF33 does not exist
    ERROR: File/directory -storePass does not exist
    ERROR: File/directory -keysEncrypted does not exist
    Validating the files/directories specified for -outputSpec option
    Validating the directory specified for -lstDir option
    Error(s) have occurred; exiting with status 1
    Failed to generate product JAR files in JAVA_TOP -
       /u01/appltest/TEST/apps/apps_st/comn/java/classes.
    Kindly provide some inputs to troubleshoot further.
    If you need further details, kindly let me know.
    Regards,
    Krish.

    Hi all,
    I have applied the consolidated JRI fixes - patch 17191279 .
    Then, when generating Jar, received keypass is tampered error.
    re-generated the key using $ adjkey -initialize.
    Now, its working fine.
    Regards,
    Krish.

  • "Error while generating pdf" error come when clicking on "Print Version "

    Hello ,
    When we execute Query in the Portal there is a 'Print version' button.
    When you select it, it opens up print dialog and click OK
    It is supposed to send 'pdf' stream to  Web browser client on end user but it is not able to generate the pdf .
    getting ' Error while generating pdf '
    I am working on BI 7.0 .
    The same is running fine in the Q Environment .But in Production we are getting this error .
    Thanks ,
    Rahul

    Hi,
    I think this is an ADS error. This is a reason why pdf's are not working. We had the same issue.
    You can check your installation:
    Usage of SAP NetWeaver BI Diagnostics & Support Desk Tool
    SAP Note Number: [937697|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bex/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d393337363937%7d]
    Exceptions: Prerequisites for messages in the area BI Java
    SAP Note Number: [1224043 |https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bex/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d31323234303433%7d]
    Solution in our case was to update the SAPADS package to 7.00 17.1
    Regards
    Andreas

  • Error: while generating SQL.java.rmi.ServerException:

    Hi:
    I tried the JGuru's "MusicStore" example. HOwever at Task 6 and 7 I am getting the following error:
    Error: while generating SQL.java.rmi.ServerException:
    RemoteException occured in server thread; nested exception is:
    * java.rmi.RemoteException: Error connecting to database;
    nested exception is:
    * SQL Exception: Failed to start database 'MusicStoreDB', see
    the next exception for details.
    Please make sure the database name/user/password is valid
    and the J2ee server and database are running.
    However when i check my database it is running perfectly:
    E:\>%j2ee_home%\bin\cloudscape -start
    Sun Feb 16 12:48:11 PST 2003: [RmiJdbc] Starting Cloudscape RmiJdbc Server Version
    Sun Feb 16 12:48:14 PST 2003: [RmiJdbc] COM.cloudscape.core.JDBCDriver registered i
    Sun Feb 16 12:48:14 PST 2003: [RmiJdbc] Binding RmiJdbcServer...
    Sun Feb 16 12:48:14 PST 2003: [RmiJdbc] No installation of RMI Security Manager...
    Sun Feb 16 12:48:14 PST 2003: [RmiJdbc] RmiJdbcServer bound in rmi registry
    Server:
    J2EE server listen port: 1050
    Naming service started:1050
    Binding DataSource, name = jdbc/DB2, url = jdbc:cloudscape:rmi:CloudscapeDB;crea
    te=true
    Binding DataSource, name = jdbc/Cloudscape, url = jdbc:cloudscape:rmi:Cloudscape
    DB;create=true
    Binding DataSource, name = jdbc/InventoryDB, url = jdbc:cloudscape:rmi:Cloudscap
    eDB;create=true
    Binding DataSource, name = jdbc/DB1, url = jdbc:cloudscape:rmi:CloudscapeDB;crea
    te=true
    Binding DataSource, name = jdbc/MusicStore, url = jdbc:cloudscape:rmi:MusicStore
    DB;create=false
    Binding DataSource, name = jdbc/XACloudscape, url = jdbc/XACloudscape__xa
    Binding DataSource, name = jdbc/XACloudscape__xa, dataSource = COM.cloudscape.co
    re.RemoteXaDataSource@1d88db7
    Starting JMS service...
    Initialization complete - waiting for client requests
    Binding: < JMS Destination : jms/Topic , javax.jms.Topic >
    Binding: < JMS Destination : jms/Queue , javax.jms.Queue >
    Binding: < JMS Cnx Factory : TopicConnectionFactory , Topic , No properties >
    Binding: < JMS Cnx Factory : QueueConnectionFactory , Queue , No properties >
    Binding: < JMS Cnx Factory : jms/QueueConnectionFactory , Queue , No properties
    >
    Binding: < JMS Cnx Factory : jms/TopicConnectionFactory , Topic , No properties
    >
    Starting web service at port: 8000
    Starting secure web service at port: 7000
    J2EE SDK/1.3.1
    Starting web service at port: 9191
    J2EE SDK/1.3.1
    J2EE server startup complete.
    Can anyone suggest me a way out..plz

    what type of persistent u r using also post ur query if bmp and check with another example with cmp.

  • Error while generating PDF ( BEx Web Analyzer )

    Hi,
    Is there any limit to the number of pages we can print using ADS? We always get
    " Error while generating PDF" Error when we try to print reports with more than 500 lines.
    Thanks
    Niveda

    Great. It worked.
    Points assigned.
    Niveda

  • Error while generating HTML

    Hi,
    I have a design studio application I want to share publicly on BI Launch Pad for my company. The dashboard/application made in design studio works fine locally and on BI Platform public folder (through my login credentials).
    However, when other people from the company try to view this DS application, it throws "Error while generating HTML"
    The root cause is:
    The initial exception which caused the request to fail was:
    Index: 0, Size: 0
    Any clue why such a thing might be happening?

    What version of BI4x/patch?
    Looks like this error has been shown before on older versions of the BI Platform - see Error HTML in Mobile BI App, not in local (version 1.4)

  • Error while generating Data provider

    We are facing a weird issue while using Design Studio 1.2. Locally the tool works fine but when we use it from BI-Launchpad or through BI Enterprise it gives intermittent error "Error while generating Data Provider"
    Same setup works fine in our Validation Environment.
    We have tried running repair for Design Studio, redeploy the war files, creating new view but issue still exist.
    We have BI 4.0 SP7 installed on Windows 2008 R2 system.
    4 CMS running in cluster, Design Studio 1.2 is installed on 3 Nodes out of 4.
    For now we are using 1 tomcat to access the system to narrow down the issue.
    Experts please help us to resolve this issue.
    Attach is the error message we are receiving

    I am not clear what your data source is, but I recommend checking the PAM https://websmp102.sap-ag.de/~sapidb/011000358700001013822013E because there are some limitations with Design Studio and BI4.0

Maybe you are looking for