Internal error when redefinind service with entity types and associations

Dear gateway specialists,
I have created a gateway service with several entity types and several associations together with corresponding navigation properties.
Then I have created another service in which I want to redefine the first service with all the entity types and associations.
But the redefinition ends with an internal error (message no. /IWBEP/SBCM001) and the navigation properties are not imported (entities and associations seem to be o.k.).
What could be the reason for the error? And why might the navigations not be imported?
Thanks!
Regards,
Juergen
P.S. I found SAP note 2027049 "Service Builder Redefiniton - Extend of Odata service with Associations" which I've implemented, but without success

Hi,
on debugging I found out that the changes coming with SAP note 2027049 are  actually causing the problem:
In method DO_EXECUTE_COMMAND of program /IWBEP/LFG_MOD_GENI02 the note inserts the following piece of code:
IF gt_odata_associations IS NOT INITIAL.
  LOOP AT gt_odata_associations ASSIGNING <ls_association>.
       READ TABLE gt_odata_entities ASSIGNING <ls_entities>
          WITH KEY name = <ls_association>-left_end.
       IF sy-subrc = 0.
            READ TABLE GT_ENTITY_TYPES ASSIGNING <ls_entity_types>
               WITH KEY name = <ls_entities>-name.
            IF sy-subrc = 0.
                 READ TABLE gt_navigation_props ASSIGNING <ls_nav_prop>
                    WITH KEY source_entity_id = <ls_entity_types>-entity_id.
                 IF sy-subrc = 0.
                      ls_entity_np-name = <ls_nav_prop>-name.
                      ls_entity_np-technical_name = <ls_nav_prop>-external_name.
                      ls_entity_np-relation_ship = <ls_association>-name.
                      ls_entity_np-from_role = <ls_association>-left_end.
                      ls_entity_np-to_role = <ls_association>-right_end.
                      APPEND ls_entity_np to <ls_entities>-nav_props.
                 ENDIF.
           ENDIF.
       ENDIF.
  ENDLOOP.
ENDIF.
SORT gt_odata_entities BY technical_name.
But the statement
     READ TABLE GT_ENTITY_TYPES ASSIGNING <ls_entity_types>...
is not correct. It leads to wrong results if an entity has more than one navigation properties as the key is not fully specified.
Regards,
Juergen

Similar Messages

  • Sending Idocs to R/3 Error when Business Service with a party is configured

    Hi All,
    I'm facing some issue when posting idocs (FINSTA) back to R/3 when Business Service with a party is configured in my Integration Directory. However, I do not have this problem, if the
    Business System without Party is configured. It seems that 'adapter specific' setting doesn't
    seem to work when you have a party.
    I have read the same problem faced by other SDN members as well, some suggested to have the latest patch to solve the problem. FYI, I'm using latest patch SP 15, but the problem still exist. The error that I have in the sxmb_moni is "Unable to convert sender XI party http://sap.com/xi/XI / XIParty / GABXI100 to an IDoc partner".
    Please assist. Thanks.

    Hi Arun,
    Thanks for reply.
    What do you mean by XI Party must map to a party in the R3 in the partner profile?
    For example, If my Party Name in Integration Directory is ABC01, I should create a partner profile of ABC01 in my R3? How if I have business service under the Party ABC001, what should I configure in my R3?
    Currently My Partner Profile in R3 is type 'B' - Bank.
    Thanks for helps.

  • Error when syncing music with iphone 3g and itunes

    Does anyone know how to fix the "unknown error -69" when trying to sync iphone 3g and itunes. I have plenty of memory but certain songs will error and then all others after that one errors. So annoying can any one help?

    A couple of things that might help out.
    Open computer management by clicking on start and right clicking on my computer, then choose manage.
    When the computer management window opens, expand services and applications on the left.
    Click on services and see if Apple Mobile Device is running on the right.
    If it is not running, or is not set to automatic, try starting it.
    Also if apple mobile devise is not installed or will not start, this article might help out uninstalling and reinstalling itunes.
    http://support.apple.com/kb/HT1926?viewlocale=en_US
    If the apple mobile device is installed and will just not start, try uninstalling your security software.
    Once uninstalled, restart your computer.
    Once the computer is restarted, open computer management to see if apple mobile device will start.
    Hope this helps.

  • Error when make controller with MVC entity framework

    error when make MVC with entity framework, WHY??

    Hi Arif Kalbu,
    It would be better if you could share us the detailed error message, so I could provide useful informaiton or provide the correct forum for this issue, you know that this forum is to discuss the VS IDE.
    But if the real issue is related to the MVC project, maybe the ASP.net forum would be better: http://forums.asp.net. If then, you could get an answer more quickly and professional. Thanks for your cooperation.
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Internal error when accessing a table  -

    Hi,
    The program which is running as background was running for last 1 year, last two days the RFC call in the program is dumping.
    In DUMP its showing Internal error when accessing a table
    Error : DBIF_RSQL_SQL_ERROR
    I checed the size of the table its quite huge for the application.
    So there is no issue with table.
    Please advise what causes these sort of error.
    System is ECC 6.0
    With SQL server 8.0
    Regards,
    Thomas

    These are the system log i got it from SM21. For this error logs are as below
    Very High Priority error
    Details Page 2 Line 9 System Log: Local Analysis of onsaprp1                  1
    Time
    Type
    Nr
    Clt
    TCode
    Grp
    N
    Text
    15:43:09
    DIA
    009
    300
    AB
    0
    Run-time error "DBIF_RSQL_INTERNAL_ERROR" occurred
    Run-time error "DBIF_RSQL_INTERNAL_ERROR" occurred
    Details
    Recording at local and central time........................ 11.02.2011 15:43:09
    Task......
    Process
    User......
    Terminal
    Session
    TCode
    Program
    Cl
    Problem cl
    Package
    03084
    Dialog work process No. 009
    TOM
    1
    SAPMSSY1
    T
    Transaction Problem
    SABP
    Further details for this message type
    Module nam
    Line
    Error text
    absapsql
    0786
    HandleRsqlErrors
    Documentation for system log message AB 0 :
    The specified runtime error has occurred in the system.
    Parameter
    abcdefghijklmnopqrstuvwxyz .. DBIF_RSQL_INTERNAL_ERROR
    Technical details
    File
    Offset
    RecFm
    System log type
    Grp
    N
    variable message data
    119
    618840
    l
    Error (Module, Row)
    AB
    0
    HandleRsqlErrors                                    absapsql0786
    High Priority error
    Details Page 2 Line 18 System Log: Local Analysis of onsaprp1                 1
    Time
    Type
    Nr
    Clt
    TCode
    Grp
    N
    Text
    15:44:07
    DIA
    009
    300
    SMEN
    BZ
    Y
    Unexpected return value 8 when calling up
    Unexpected return value 8 when calling up
    Details
    Recording at local and central time........................ 11.02.2011 15:44:07
    Task......
    Process
    User......
    Terminal
    Session
    TCode
    Program
    Cl
    Problem cl
    Package
    03084
    Dialog work process No. 009
    TOM
    om-blr-l
    1
    SMEN
    SAPLSMTR_NAVIGATION
    K
    SAP Web AS Problem
    SBAC
    Further details for this message type
    Module nam
    Line
    Table Name
    Field Name
    dbrepolo
    172
    8
    Documentation for system log message BZ Y :
    When calling a function within the database interface, a return
    value which cannot be processed by the calling function was
    provided.
    Technical details
    File
    Offset
    RecFm
    System log type
    Grp
    N
    variable message data
    120
    11160
    h
    Database Error (Non-SQL)
    BZ
    Y
    8                                                   dbrepolo172
    Edited by: Thomas Paul jr on Feb 14, 2011 6:36 AM
    Edited by: Thomas Paul jr on Feb 14, 2011 6:38 AM

  • Error when opening document with ECL control: INVALID_DATA

    Hi Gurus,
    I've tried to search the net for this problem but could not find anything and I'm stuck now.
    Description:
    we're using ECL to view attached documents (to POs etc.) which are stored through ArchiveLink on the content repository.
    when we try to open this document, time-to-time we get following error:
    Error when opening document with ECL control: INVALID_DATA
    Message no. SDV004
    by time-to-time I mean that when we try to open same attachment again it opens successfully (sometimes we need to re-open it 3-4 times to get it)
    what we've tried is to enlarge timeout for HTTP protocol (tx SMICM, from former 30 to actual 60) but only effect we got is that we're waiting for the error longer time
    It will be really great if anybody of you guys can give me an advice where the problem can be or where should I look and what to check
    Thanks,
    David

    Hi Christoph,
    thanks for tip, unfortunately this was already flagged, currently settings are:
    for Display Settings:
    yes - include ECL control
    use HTML control
    empty - maximum viewer wait time
    (do you think that setting some value for this could help)
    yes - deactivate generic object services in viewer
    no - doc display as dialog box
    yes - deactivate data provider cache
    Storage Settings:
    yes - always copy document class from document type
    yes - permit multiple assignment
    Thanks,
    David

  • Can't login BPM workspace - Internal error in Verification Service

    I've gone through "Building Your First Process with Oracle BPM 11g" in JDeveloper and was able to deploy "Hello World" successfully. My problem is that when I tried to sign in bpm workspace, I get "Invalid username and password" error. This is what I found in the soa log,
    <Apr 25, 2012 9:02:49 AM EDT> <Error> <oracle.soa.services.workflow.verification> <BEA-000000> <<.> hasPermission: error: access denied (oracle.security.jps.service.policystore.PolicyStoreAccessPermission Context:APPLICATION Context Name:soa-infra Actions:getApplicationPolicy)>
    <Apr 25, 2012 9:02:49 AM EDT> <Error> <oracle.soa.services.workflow.query> <BEA-000000> <<.> Internal error in Verification Service.
    Internal error in Verification Service for user jcooper. hasPermission.
    Check the underlying exception and correct the error. If the error persists, contact Oracle Support Services.
    ORABPEL-30504
    Internal error in Verification Service.
    Internal error in Verification Service for user jcooper. hasPermission.
    Check the underlying exception and correct the error. If the error persists, contact Oracle Support Services.
    I can't sign in workspace with anyone - weblogic, jcooper, etc. For weblogic user, I don't have any problem of login other applications. I find jcooper and bpm access in system-jazn-data.xml under $DOMAIN_HOME/config/fmwconfig directory.
    I'm running out of options to try. PLEASE HELP!!!!
    soa - 11.1.1.4
    weblogic - 10.3.4
    installed demo community users and it is installed in linux server.
    Currently we are using "DefaultAuthenticator - WebLogic Authentication Provider" that has a sufficient in the control flag.

    Well, I'm not total sure on whether we are using LDAP or not since I'm a new to weblogic. Perhaps you can tell me. We installed webLogic 10.3.4. My understanding is that this has embedded LDAP. All I did was to install demo users and groups. So currently we have defaultAuthenticator under myrealm. so are we using LDAP in this case?
    What's the exact path of Admin server?
    weblogic, soa_server1, bam_server1, osb_server1 are running on one linux box.

  • Test failed BAM-00553 Error when integrating  B2B with BAM

    Hi,
    We used the following link to integrate B2B with BAM.
    Oracle Fusion Middleware User’s Guide for Oracle B2B 11g.
    Monitoring Instance Message Data With Oracle BAM
    http://docs.oracle.com/cd/E15586_01/integration.1111/e10229/b2b_bam.htm#CFHJIBHC
    server is running on linux machine..
    we got the following error when we create Enterprise Message Sources and try to start it.
    Name: B2B_EMS
    Owner: weblogic
    Created: 1/23/2012 9:02:17 AM
    Last modified: 1/25/2012 8:37:43 AM
    Status: Test failed - BAM-00553: Resources start operation for destination jndi/jms/bamqueue failed.
    Initial Context Factory: weblogic.jndi.WLInitialContextFactory.
    JNDI Service Provider URL: t3://soahost:9001.
    Topic/Queue Connection Factory Name: jms/BAMAQQueueCF.
    Topic/Queue Name: jndi/jms/bamqueue.
    JNDI Username: .
    JNDI Password: .
    JMS Message Type: TextMessage.
    Durable Subscriber Name (Optional): .
    Message Selector (Optional): .
    Data Object Name: /Samples/B2B/B2BDO.
    Operation: Insert.
    Batching: No.
    Transaction: No.
    Start when BAM Server starts: Yes.
    JMS Username (Optional): .
    JMS Password (Optional): .
    Please suggest with the solution, also provide with any of other sample which defines B2B and BAM Integration.
    Regards
    Shankar

    Hi,
    We used the following link to integrate B2B with BAM.
    Oracle Fusion Middleware User’s Guide for Oracle B2B 11g.
    Monitoring Instance Message Data With Oracle BAM
    http://docs.oracle.com/cd/E15586_01/integration.1111/e10229/b2b_bam.htm#CFHJIBHC
    server is running on linux machine..
    we got the following error when we create Enterprise Message Sources and try to start it.
    Name: B2B_EMS
    Owner: weblogic
    Created: 1/23/2012 9:02:17 AM
    Last modified: 1/25/2012 8:37:43 AM
    Status: Test failed - BAM-00553: Resources start operation for destination jndi/jms/bamqueue failed.
    Initial Context Factory: weblogic.jndi.WLInitialContextFactory.
    JNDI Service Provider URL: t3://soahost:9001.
    Topic/Queue Connection Factory Name: jms/BAMAQQueueCF.
    Topic/Queue Name: jndi/jms/bamqueue.
    JNDI Username: .
    JNDI Password: .
    JMS Message Type: TextMessage.
    Durable Subscriber Name (Optional): .
    Message Selector (Optional): .
    Data Object Name: /Samples/B2B/B2BDO.
    Operation: Insert.
    Batching: No.
    Transaction: No.
    Start when BAM Server starts: Yes.
    JMS Username (Optional): .
    JMS Password (Optional): .
    Please suggest with the solution, also provide with any of other sample which defines B2B and BAM Integration.
    Regards
    Shankar

  • Error when getting service facade : Service manager initialization failed I

    Dear Friends,
          we have created entities in CAS((nwds 7.0.1)) and deployed in J2ee.
    During Testing:
             when we right click on entity and click on test.
    service Browser. is opening with two Buttons.
    One Button it is " start with CAF source".
    when we select this its throwing error
    Error text:
    Error when getting service facade : Service manager initialization failed Illegal argument exception: Unable to create javax.ejb.EJBObject. because of this we are unable to test the entity.
    request to throw pointers to clear this error.
    Answers will be rewared.
    Regards
    shekar chandra

    even if go using this url http://hostnae:portname/caf
    i could see the main page then i click TestTools->Service browsser, Still lso i am getting the same screen with Buttons.
    one saying "Start with CAF Source" @ other "Start with ABAP
    Source"
    If .ear is one of the cause I have removed all the projects from DC->.dtr.Now my NWDS is empty.
    Still why it is comming.
    Regards
    Shekar Chandra

  • Graphics tab in REBDBU: Internal error when implementing extension

    Hello,
    Seek your kind help please.
    I have entered in the building master data using REBDBE. We have a tab called Graphics. The pictures etc of the building are uploaded using a software called Korasoft. When i am clicking on the Graphics tab, it is entering the screen but immediately afterwards flashing the following message, "Internal error when implementing extension".
    Doing a F1 on the error message shows the foll details:
    "Diagnosis
    An internal error occurred during the implementation of a customer-specific enhancement. A CHANGE-API module was called with an object reference (parameter IO_OBJECT) that was not instantiated in the required activity for changing (02). The API modules are function modules and begin with API_RE_.
    Procedure
    Within the BAdI implementation, transfer the parameter IO_OBJECT from the BAdI method directly to the API module. Make sure that the transferred instance is allowed to be changed."
    I found that the SAP note 1139014 causes this error message to be generated. Note 1139014 forms a part of support pack level 13 (release 600). Recently we have upgraded our systems from support pack level 8 to support pack level 13. Naturally even this note got implemented at that time.
    But now this note is causing this error message and so I will be grateful if someone can please tell me how to rectify the error.
    Regards,
    Suvarghya Dutta
    Edited by: Suvarghya Dutta on Feb 11, 2009 5:30 PM

    Hi Fabio,
    I would kindly ask you appy the SAP note [1521903|https://service.sap.com/sap/support/notes/1521903] and proceed as described in the note to resolve the issue.
    Hope this information is helpful for you.
    Regards, Franz

  • Internal error when deploying a mapping

    Helllo,
    I am getting an ORA-00600 internal error when I deploy a mapping using the following case statement (case statement executes fine in SQLplus):
    CASE WHEN (LINE_CANCEL_FLAG ='Y' OR PO_CANCEL_FLAG = 'Y')
    THEN ('Y')
    ELSE ('N')
    END
    If I comment out the "OR" section it deploys without errors:
    CASE WHEN (LINE_CANCEL_FLAG ='Y' )
    --OR PO_CANCEL_FLAG = 'Y')
    THEN ('Y')
    ELSE ('N')
    END
    What am I doing wrong?
    (Oracle 9i Warehouse Builder Client 9.2.0.4.0
    Oracle 9i Warehouse Builder Repository 9.2.0.2.0
    Platform for Application Server: Windows 2003
    Platform for database: HP Unix (Risc Processor) V11i)
    Thanks

    Hello again,
    Please observe that I asked whether you pressed the Validate button in EXPRESSION BUILDER (the window that appears every time you click on the ellipsis ... in the property editor for every SQL or PL/SQL expression property), not whether you validated the mapping (as a whole). These are separate things.
    The mapping can be validated OK with expression syntax errors, but the mapping PL/SQL code cannot be compiled / deployed.
    Regards, Hans Henrik

  • ORA-04062 error when running forms with different users

    ORA-04062 error when running forms with different users
    I have a form that has a block that should display some data from another users tables. (The other user's name is dynamic, it's selected from a list box)
    I wrote a stored procedure to get the data from other user's tables.
    When I compile the form and run it with the same user I compiled, it works without any error. But when I run the compiled form with another user I get the ORA-04062 (signature of procedure has been changed) error.
    I tried setting REMOTE_DEPENDENCIES_MODE to SIGNATURE in init.ora but it didn't help.
    My Forms version is 6i with Patch 15.
    Database version is 9.
    Here is my stored procedure:
    TYPE Scenario_Tab IS TABLE OF NUMBER(34) INDEX BY BINARY INTEGER;
    TYPE Open_Curs IS REF CURSOR;
    PROCEDURE Get_Scenarios(User_Name IN VARCHAR2, Scen_Table OUT Scenario_Tab) IS
    Curs Open_Curs;
    i NUMBER;
    BEGIN
    OPEN Curs FOR
    'SELECT Seq_No FROM '|| User_Name ||'.scenario';
    i := 1;
    LOOP
    FETCH Curs INTO Scen_Table(i);
    EXIT WHEN Curs%NOTFOUND;
    i := i + 1;
    END LOOP;
    END Get_Senarios;
    I would be happy to solve this problem. It's really important.
    Maybe somebody can tell me another way to do what I want to do. (getting a list of values from another users tables)

    I think it should be a better solution to create a package,
    and put your own TYPES and procedure into it.
    CREATE OR REPLACE PACKAGE PKG_XXX IS
    TYPE TYP_TAB_CHAR IS TABLE OF .... ;
    PROCEDURE P_XX ( Var1 IN VARCHAR2, var2 IN OUT TYP_TAB_CHAR );
    END ;
    Then in your Form :
    Declare
    var PKG_XXX.TYP_TAB_CHAR ;
    Begin
    PKG_XXX.P_XX( 'user_name', var ) ;
    End ;

  • FM 10 - Serious Internal Error When Copying/Pasting

    We regularly encounter a serious internal error when copying text from one FM doc to another. We also get the error (occasionally) when we run FrameScript. Does anyone know what could cause this? It appears to happen randomly (i.e. it doesn't appear to be tied to one particular .book or .fm file). We use FM 10, Windows 7, 64-bit OS, and have 4GB of RAM installed. Help please!

    We have version 10.0.2.419. There is nothing out of the ordinary with the content except that it is typically in track text edits. We cannot reproduce the crash on demand. It seems to happen randomly and to some users more than others.

  • Error when extracting data with extractor 2lis_04_matnr - NEED HELP ASAP !!

    Hi experts!
    Got an error when extracting data with extractor 2lis_04_matnr.
    System says (short dump):
    DUMP TEXT START----
    Runtime error:    CONNE_IMPORT_WRONG_COMP_TYPE
    Exception:   CX_SY_IMPORT_MISMATCH_ERROR
    Error when attempting to import object "MC04P_0MAT_TAB".
    The current ABAP program "SAPLMCEX" had to be terminated because one of the statements could not be executed. This is probably due to an error in the ABAP program. When attempting to import data, it was discovered that the data type of the stored data was not the same as that specified in the program.
    An exception occurred. This exception is dealt with in more detail below. The exception, which is assigned to the class 'CX_SY_IMPORT_MISMATCH_ERROR', was neither caught nor passed along using a RAISING clause, in the procedure  "MCEX_BW_LO_API" "(FUNCTION)".                                                                             
    Since the caller of the procedure could not have expected this exception      
    to occur, the running program was terminated.                                
    The reason for the exception is:  When importing the object "MC04P_0MAT_TAB", the component no. 5 in the dataset has a different type from the corresponding component of the target object in the program "SAPLMCEX". <b>The data type is "D" in the dataset, but "C" in the program.</b>
    DUMP TEXT END----
    Please, can someone explain me how to solve it? 
    Really need help ASAP!
    Thanks in advance,
    Jaume
    Message was edited by:
            Jaume Saumell
    Message was edited by:
            Jaume Saumell

    Hi,
    Check this note: 328181
    So you need to delete entries in SM13/LBWQ for application and also detup table content.
    And then refill teh set up table.
    If you are in production clear the entries by running collective run no of times for this application 04.
    With rgds,
    Anil Kumar Sharma .P

  • GR224  Report Painter: Internal error when converting a report

    Hi
    Using FAGL_RMIGR transaction I've trasferred report 8A3-0010 in a
    custom library ZXX. The migration happened without error messages. I've
    tryed then to run report FL3-0010 by GRR3 transaction but error message
    GR224 appears
    Report Painter: Internal error when converting a report
    Message no. GR224
    Diagnosis
    During the internal compilation of a Report Painter report to a
    Report Writer report, sets are generated. This caused an error in the
    subprogramm GENERATE_ROW_MULTI. The return code was 7.
    System Response
    The report could not be generated and/or saved.
    Procedure
    Please call the SAP Hotline and send them this longtext as well as
    detailed information describing the circumstances in which this
    error
    occured.
    Please could you help me?
    Thanks in advance
    Giovanna Scamardella

    HI,
    SAPNET notes search with GR 224 brings some old (but maybe helpful) notes: 37611, 193392,137231, pls. check.
    Best regards, Christian

Maybe you are looking for

  • IMac doing TV with SKY TV

    I don't have a TV. But I want TV. I know there are loads of USB TV receivers out there in the market. But the problem is, which one does all the work I need it to do, for the lowest price. I live in the UK now. And obviously I want SKY for all those

  • Oracle.apps.fnd.framework.OAException: oracle.jbo.NoDefException: JBO-25058

    Hi, Please help me.. I have worngly placed the view name instead of standard view i given the custom(extended) view. I am getting the below error. Now i want to clear my personalization and redo again with correct view, but i am always redirecting to

  • Display a document library view on a subsite

    Hi I have SharePoint 2013 On-Premise and I would like to display a document library from the top level site in a subsite.  This subsite will then be saved as a template and used to create other subsites. For example, I have a site called Site 1.  In

  • How do I recover a folder on icloud mail that was deleted by accident

    My wife just received a new Mac Book Air...and while learning to use the mouse pad deleted an important folder off her icloud mail.  I'm presuming I can use time machine to go back and recover it, but am not seeing that folder there.  I've checked on

  • SCCm 2007 what is SQL table name for Status Message details

    Can some one tell me below snapshot content data in which SCCM SQL table [email protected]