Importing structure to ESR

hi
I am in PI 7.1. I have a file to AII scenario. The file server guys gaveme the xsd. I need to two mappings for the target. depending on the value of one field I have to use one of the mappings. I am planning to use multiple operations in single inbound interface.
So for using this , is it better to create Data Type and MT or just import the xsd as external definition?
If I use it as an external definition, I can diretly start with message mapping right?
Which is better practise to use ED or DT?
Regards

Hi Radhika,
If the structure is readily available via external definition, it is best to use it. The reason for this is that the fields in the external definition are already defined and accepted by the provider. If you create it using data types/message types, you still have to consult with them about data type, length, restrictions, etc.
By default, if there is no structure given or is available, use data type/message type.
Hope this helps,
Mark

Similar Messages

  • Empty Import Structure in RFC

    Hi,
    I have created a RFC Adapter for receiving XML files. After some problems about the starting of the function module that are already solved now I have another request.
    My FM is running ok but I've a problem with the imported structure. ½
    Hà„:P/ԃæBsÐ"6ÏO›Ÿ   )„?
    BòXJ3@ /Ô å2u“LÇMR±çþ!M¿95gdj¦ Q?ó±îTP„9ÔÁyÓ;LY…¯gexA
    H`…ZPr½€†! Ä2q NN9ñÔGS€÷r›º÷ü¾SÑ(.K ?¿ PK  /¾Èqá   ¯   PK          E‡ÿ6/¾Èqá   ¯                     instance.xmlPK          :        
    Could you help me with that??
    Thanks!
    Regards
    Jorge

    Jorge,
    You cannot use RFC adapter to receive XML File.
    You should use File adapter to receive XML File data. If you mean to say File Adapter, then check your encoding parameters specified in adapter.
    Nilesh

  • Error in IB (When trying to import objects into ESR from SLD or from server

    Hi Experts,
    We are facing an error with the Integration builder recently. When we open Enterprise Services Repository of PI 7.1, we are able to see the GUI with objects perfectly. When we try to import an object into the repository from the server ( In ESR, choose Tools -> Import Design objects -> From Server), we are thrown with an exception...
    Error when exectuting search (QUERY_ERROR)
    & java.lang.NullPointerException
    The server throws the above two exceptions. I have pasted the logs of the error when trying to import an object from the server and also from the sld, below.
    Have any of you experieced the issue? Request you to please check this out and suggest what the problem could be. Thanks in advance.
    Regards,
    Basker
    Log of the error received when trying to import an object from the server...
    ====================================================================
    = Root Exception ===================================================
    ====================================================================
    Thrown:
    com.sap.aii.utilxi.swing.framework.ExecuteException: Error when executing search
    at com.sap.aii.ib.gui.shelp.QueryPanel.executeQuery(QueryPanel.java:582)
    at com.sap.aii.ib.gui.shelp.QueryPanel.startQuery(QueryPanel.java:595)
    at com.sap.aii.ib.gui.shelp.QueryPanel$1.run(QueryPanel.java:218)
    at com.sap.aii.utilxi.misc.thread.ThreadPool$ThreadPoolThread.run(ThreadPool.java:392)
    Caused by: java.lang.NullPointerException: null
    at com.sap.aii.utilxi.core.collections.ArrayUtil.appendArrays(ArrayUtil.java:331)
    at com.sap.aii.ib.gui.xiitem.services.XiItemServiceProvider.queryXiItems(XiItemServiceProvider.java:273)
    at com.sap.aii.ib.gui.xiitem.services.XiItemServiceProvider.queryXiItems(XiItemServiceProvider.java:241)
    at com.sap.aii.ib.gui.shelp.StandardQueryAccessor.executeQuery(StandardQueryAccessor.java:68)
    at com.sap.aii.ib.gui.shelp.QueryPanel.executeQuery(QueryPanel.java:567)
    ... 3 more
    ====================================================================
    == Content from the LogHandler =====================================
    ====================================================================
    #12 13:44:56 AWT-EventQueue-2 ERROR com.sap.aii.utilxi.swing.toolkit.ExceptionDialog: Throwable
    Thrown:
    com.sap.aii.utilxi.swing.framework.ExecuteException: Error when executing search
    at com.sap.aii.ib.gui.shelp.QueryPanel.executeQuery(QueryPanel.java:582)
    at com.sap.aii.ib.gui.shelp.QueryPanel.startQuery(QueryPanel.java:595)
    at com.sap.aii.ib.gui.shelp.QueryPanel$1.run(QueryPanel.java:218)
    at com.sap.aii.utilxi.misc.thread.ThreadPool$ThreadPoolThread.run(ThreadPool.java:392)
    Caused by: java.lang.NullPointerException: null
    at com.sap.aii.utilxi.core.collections.ArrayUtil.appendArrays(ArrayUtil.java:331)
    at com.sap.aii.ib.gui.xiitem.services.XiItemServiceProvider.queryXiItems(XiItemServiceProvider.java:273)
    at com.sap.aii.ib.gui.xiitem.services.XiItemServiceProvider.queryXiItems(XiItemServiceProvider.java:241)
    at com.sap.aii.ib.gui.shelp.StandardQueryAccessor.executeQuery(StandardQueryAccessor.java:68)
    at com.sap.aii.ib.gui.shelp.QueryPanel.executeQuery(QueryPanel.java:567)
    ... 3 more
    #11 13:44:55 Pool-Thread-0 FINE AutoLog.created.java.lang.NullPointerException: java.lang.NullPointerException
    at com.sap.aii.utilxi.core.collections.ArrayUtil.appendArrays(ArrayUtil.java:331)
    at com.sap.aii.ib.gui.xiitem.services.XiItemServiceProvider.queryXiItems(XiItemServiceProvider.java:273)
    at com.sap.aii.ib.gui.xiitem.services.XiItemServiceProvider.queryXiItems(XiItemServiceProvider.java:241)
    at com.sap.aii.ib.gui.shelp.StandardQueryAccessor.executeQuery(StandardQueryAccessor.java:68)
    at com.sap.aii.ib.gui.shelp.QueryPanel.executeQuery(QueryPanel.java:567)
    at com.sap.aii.ib.gui.shelp.QueryPanel.startQuery(QueryPanel.java:595)
    at com.sap.aii.ib.gui.shelp.QueryPanel$1.run(QueryPanel.java:218)
    at com.sap.aii.utilxi.misc.thread.ThreadPool$ThreadPoolThread.run(ThreadPool.java:392)
    #10 13:44:55 Pool-Thread-0 DEBUG AutoLog.created.java.lang.NullPointerException: null
    #9 13:44:55 Pool-Thread-0 FINE AutoLog.created.com.sap.aii.utilxi.swing.framework.ExecuteException: com.sap.aii.utilxi.swing.framework.ExecuteException: Error when executing search
    at com.sap.aii.ib.gui.shelp.QueryPanel.executeQuery(QueryPanel.java:582)
    at com.sap.aii.ib.gui.shelp.QueryPanel.startQuery(QueryPanel.java:595)
    at com.sap.aii.ib.gui.shelp.QueryPanel$1.run(QueryPanel.java:218)
    at com.sap.aii.utilxi.misc.thread.ThreadPool$ThreadPoolThread.run(ThreadPool.java:392)
    Caused by: java.lang.NullPointerException
    at com.sap.aii.utilxi.core.collections.ArrayUtil.appendArrays(ArrayUtil.java:331)
    at com.sap.aii.ib.gui.xiitem.services.XiItemServiceProvider.queryXiItems(XiItemServiceProvider.java:273)
    at com.sap.aii.ib.gui.xiitem.services.XiItemServiceProvider.queryXiItems(XiItemServiceProvider.java:241)
    at com.sap.aii.ib.gui.shelp.StandardQueryAccessor.executeQuery(StandardQueryAccessor.java:68)
    at com.sap.aii.ib.gui.shelp.QueryPanel.executeQuery(QueryPanel.java:567)
    ... 3 more
    #8 13:44:55 Pool-Thread-0 DEBUG AutoLog.created.com.sap.aii.utilxi.swing.framework.ExecuteException: Error when executing search
    #7 13:43:52 AWT-EventQueue-2 FINE AutoLog.created.com.sap.engine.services.security.exceptions.BaseLoginException: com.sap.engine.services.security.exceptions.BaseLoginException: Authentication did not succeed.
    at com.sap.engine.services.security.server.jaas.BasicPasswordLoginModule.login(BasicPasswordLoginModule.java:149)
    at com.sap.engine.services.security.login.LoginModuleLoggingWrapperImpl.login(LoginModuleLoggingWrapperImpl.java:220)
    at com.sap.engine.services.security.login.ModulesProcessAction.run(ModulesProcessAction.java:70)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.services.security.login.FastLoginContext.login(FastLoginContext.java:218)
    at com.sap.engine.services.security.remoteimpl.login.RemoteLoginContextHelperImpl.login(RemoteLoginContextHelperImpl.java:78)
    at com.sap.engine.services.security.remoteimpl.login.RemoteLoginContextHelperImplp4_Skel.dispatch(RemoteLoginContextHelperImplp4_Skel.java:64)
    at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:351)
    at com.sap.engine.services.rmi_p4.server.ServerDispatchImpl.run(ServerDispatchImpl.java:70)
    at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:62)
    at com.sap.engine.services.rmi_p4.P4Message.execute(P4Message.java:37)
    at com.sap.engine.services.cross.fca.FCAConnectorImpl.executeRequest(FCAConnectorImpl.java:872)
    at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:53)
    at com.sap.engine.services.cross.fca.MessageReader.run(MessageReader.java:58)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:108)
    at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:304)
    predecessor system
    com.sap.engine.services.security.exceptions.BaseLoginException: Authentication did not succeed.
    at com.sap.engine.services.security.server.jaas.BasicPasswordLoginModule.login(BasicPasswordLoginModule.java:149)
    at com.sap.engine.services.security.login.LoginModuleLoggingWrapperImpl.login(LoginModuleLoggingWrapperImpl.java:220)
    at com.sap.engine.services.security.login.ModulesProcessAction.run(ModulesProcessAction.java:70)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.services.security.login.FastLoginContext.login(FastLoginContext.java:218)
    at com.sap.engine.services.security.remoteimpl.login.RemoteLoginContextHelperImpl.login(RemoteLoginContextHelperImpl.java:78)
    at com.sap.engine.services.security.remoteimpl.login.RemoteLoginContextHelperImplp4_Skel.dispatch(RemoteLoginContextHelperImplp4_Skel.java:64)
    at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:351)
    at com.sap.engine.services.rmi_p4.server.ServerDispatchImpl.run(ServerDispatchImpl.java:70)
    at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:62)
    at com.sap.engine.services.rmi_p4.P4Message.execute(P4Message.java:37)
    at com.sap.engine.services.cross.fca.FCAConnectorImpl.executeRequest(FCAConnectorImpl.java:872)
    at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:53)
    at com.sap.engine.services.cross.fca.MessageReader.run(MessageReader.java:58)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:108)
    at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:304)
    #6 13:43:52 AWT-EventQueue-2 DEBUG AutoLog.created.com.sap.engine.services.security.exceptions.BaseLoginException: Authentication did not succeed.
    #5 13:43:52 AWT-EventQueue-2 FINE AutoLog.created.com.sap.engine.services.security.exceptions.BaseLoginException: com.sap.engine.services.security.exceptions.BaseLoginException: Cannot authenticate the user.
    at com.sap.engine.services.security.login.ModulesProcessAction.run(ModulesProcessAction.java:175)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.services.security.login.FastLoginContext.login(FastLoginContext.java:218)
    at com.sap.engine.services.security.remoteimpl.login.RemoteLoginContextHelperImpl.login(RemoteLoginContextHelperImpl.java:78)
    at com.sap.engine.services.security.remoteimpl.login.RemoteLoginContextHelperImplp4_Skel.dispatch(RemoteLoginContextHelperImplp4_Skel.java:64)
    at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:351)
    at com.sap.engine.services.rmi_p4.server.ServerDispatchImpl.run(ServerDispatchImpl.java:70)
    at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:62)
    at com.sap.engine.services.rmi_p4.P4Message.execute(P4Message.java:37)
    at com.sap.engine.services.cross.fca.FCAConnectorImpl.executeRequest(FCAConnectorImpl.java:872)
    at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:53)
    at com.sap.engine.services.cross.fca.MessageReader.run(MessageReader.java:58)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:108)
    at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:304)
    Caused by: com.sap.engine.services.security.exceptions.BaseLoginException: Authentication did not succeed.
    at com.sap.engine.services.security.server.jaas.BasicPasswordLoginModule.login(BasicPasswordLoginModule.java:149)
    at com.sap.engine.services.security.login.LoginModuleLoggingWrapperImpl.login(LoginModuleLoggingWrapperImpl.java:220)
    at com.sap.engine.services.security.login.ModulesProcessAction.run(ModulesProcessAction.java:70)
    ... 13 more
    predecessor system
    com.sap.engine.services.security.exceptions.BaseLoginException: Cannot authenticate the user.
    at com.sap.engine.services.security.login.ModulesProcessAction.run(ModulesProcessAction.java:175)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.services.security.login.FastLoginContext.login(FastLoginContext.java:218)
    at com.sap.engine.services.security.remoteimpl.login.RemoteLoginContextHelperImpl.login(RemoteLoginContextHelperImpl.java:78)
    at com.sap.engine.services.security.remoteimpl.login.RemoteLoginContextHelperImplp4_Skel.dispatch(RemoteLoginContextHelperImplp4_Skel.java:64)
    at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:351)
    at com.sap.engine.services.rmi_p4.server.ServerDispatchImpl.run(ServerDispatchImpl.java:70)
    at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:62)
    at com.sap.engine.services.rmi_p4.P4Message.execute(P4Message.java:37)
    at com.sap.engine.services.cross.fca.FCAConnectorImpl.executeRequest(FCAConnectorImpl.java:872)
    at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:53)
    at com.sap.engine.services.cross.fca.MessageReader.run(MessageReader.java:58)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:108)
    at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:304)
    Caused by: com.sap.engine.services.security.exceptions.BaseLoginException: Authentication did not succeed.
    at com.sap.engine.services.security.server.jaas.BasicPasswordLoginModule.login(BasicPasswordLoginModule.java:149)
    at com.sap.engine.services.security.login.LoginModuleLoggingWrapperImpl.login(LoginModuleLoggingWrapperImpl.java:220)
    at com.sap.engine.services.security.login.ModulesProcessAction.run(ModulesProcessAction.java:70)
    ... 13 more

    Hi Rajeev,
    Thanks for your inputs. I myself am a basis guy. I ve already checked all the authorizations given to the user - PISUPER, and have found it to be fine. Can't understand why this security issue crops up still. anyways, i m getting this error when trying to import an object from the server. If i try to create a new object and during the process, try to import the SCV from SLD, i m facing with an error again, of a different sort. The log says...
    ====================================================================
    = Root Exception ===================================================
    ====================================================================
    Thrown:
    com.sap.aii.utilxi.misc.api.BaseRuntimeException: Internal error during bean lookup for bean SldAccessServiceBean
         at com.sap.aii.ib.clsif.gen.BeanAccessHandler.handleRuntimeExInBusinessMethod(BeanAccessHandler.java:113)
         at com.sap.aii.ib.client.sldAccess.impl.SldAccessServiceDelegate.getSwcvLinks(SldAccessServiceDelegate.java:55)
         at com.sap.aii.ibrep.gui.workspace.WorkspaceCreatePanel.getSwcvLinksAdapter(WorkspaceCreatePanel.java:520)
         at com.sap.aii.ibrep.gui.workspace.WorkspaceCreatePanel.access$000(WorkspaceCreatePanel.java:75)
         at com.sap.aii.ibrep.gui.workspace.WorkspaceCreatePanel$4.getResult(WorkspaceCreatePanel.java:449)
         at com.sap.aii.utilxi.swing.toolkit.InterruptableProgressDialog$1.construct(InterruptableProgressDialog.java:190)
         at com.sap.aii.utilxi.swing.toolkit.SwingWorker$2.run(SwingWorker.java:126)
         at java.lang.Thread.run(Unknown Source)
    Caused by: com.sap.aii.utilxi.misc.api.BaseRuntimeException: Internal error during bean lookup for bean SldAccessServiceBean
         at com.sap.aii.ib.clsif.login.LoginServiceImpl.getHomeInterface(LoginServiceImpl.java:460)
         at com.sap.aii.ib.clsif.login.LoginServiceImpl.getBusinessInterface(LoginServiceImpl.java:425)
         at com.sap.aii.ib.clsif.gen.BeanAccessHandler.getBean(BeanAccessHandler.java:60)
         at com.sap.aii.ib.client.sldAccess.impl.SldAccessServiceDelegate.getBean(SldAccessServiceDelegate.java:79)
         at com.sap.aii.ib.client.sldAccess.impl.SldAccessServiceDelegate.getSwcvLinks(SldAccessServiceDelegate.java:49)
         ... 6 more
    Caused by: com.sap.aii.ib.core.ejbutil.HomeFactoryException: Exception during lookup operation of object with name sap.com/com.sap.xi.repository/SldAccessServiceBean, cannot resolve object reference.
         at com.sap.aii.ib.clsif.login.EJBHomeFactory.lookUpHome(EJBHomeFactory.java:381)
         at com.sap.aii.ib.clsif.login.LoginServiceImpl.getHomeInterface(LoginServiceImpl.java:456)
         ... 10 more
    Caused by: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception during lookup operation of object with name sap.com/com.sap.xi.repository/SldAccessServiceBean, cannot resolve object reference.
         at com.sap.engine.services.jndi.implclient.ClientContext.lookup(ClientContext.java:528)
         at com.sap.engine.services.jndi.implclient.ClientContext.lookup(ClientContext.java:637)
         at javax.naming.InitialContext.lookup(Unknown Source)
         at com.sap.aii.ib.clsif.login.EJBHomeFactory.lookUpHome(EJBHomeFactory.java:353)
         ... 11 more
    Caused by: javax.naming.NamingException: Error occurs while the EJB Object Factory trying to resolve JNDI reference Reference Class Name:
    Type: clientAppName
    Content: sap.com/com.sap.xi.repository
    Type: interfaceType
    Content: remote
    Type: home
    Content: com.sap.aii.ib.sbeans.sldAccess.SldAccessServiceHome
    Type: ejb-link
    Content: SldAccessServiceBean
    Type: remote
    Content: com.sap.aii.ib.sbeans.sldAccess.SldAccessServiceRemote
    com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext.
         at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:488)
         at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
         at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
         at javax.naming.InitialContext.init(Unknown Source)
         at javax.naming.InitialContext.<init>(Unknown Source)
         at com.sap.engine.services.ejb3.runtime.impl.EJBObjectFactory.getObjectInstance(EJBObjectFactory.java:73)
         at com.sap.engine.services.ejb3.runtime.impl.EJBObjectFactory.getObjectInstance(EJBObjectFactory.java:58)
         at javax.naming.spi.NamingManager.getObjectInstance(Unknown Source)
         at com.sap.engine.services.jndi.implclient.ClientContext.lookup(ClientContext.java:521)
         at com.sap.engine.services.jndi.implclient.ClientContext.lookup(ClientContext.java:637)
         at javax.naming.InitialContext.lookup(Unknown Source)
         at com.sap.aii.ib.clsif.login.EJBHomeFactory.lookUpHome(EJBHomeFactory.java:353)
         at com.sap.aii.ib.clsif.login.LoginServiceImpl.getHomeInterface(LoginServiceImpl.java:456)
         at com.sap.aii.ib.clsif.login.LoginServiceImpl.getBusinessInterface(LoginServiceImpl.java:425)
         at com.sap.aii.ib.clsif.gen.BeanAccessHandler.getBean(BeanAccessHandler.java:60)
         at com.sap.aii.ib.client.sldAccess.impl.SldAccessServiceDelegate.getBean(SldAccessServiceDelegate.java:79)
         at com.sap.aii.ib.client.sldAccess.impl.SldAccessServiceDelegate.getSwcvLinks(SldAccessServiceDelegate.java:49)
         at com.sap.aii.ibrep.gui.workspace.WorkspaceCreatePanel.getSwcvLinksAdapter(WorkspaceCreatePanel.java:520)
         at com.sap.aii.ibrep.gui.workspace.WorkspaceCreatePanel.access$000(WorkspaceCreatePanel.java:75)
         at com.sap.aii.ibrep.gui.workspace.WorkspaceCreatePanel$4.getResult(WorkspaceCreatePanel.java:449)
         at com.sap.aii.utilxi.swing.toolkit.InterruptableProgressDialog$1.construct(InterruptableProgressDialog.java:190)
         at com.sap.aii.utilxi.swing.toolkit.SwingWorker$2.run(SwingWorker.java:126)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: Can't get Socket. Reason:Connection timed out: connect
         at com.sap.engine.interfaces.cross.io.transport.PortManager.getRealSocket(PortManager.java:284)
         at com.sap.engine.interfaces.cross.LoadBalancerImpl.getAllAccessPoints(LoadBalancerImpl.java:97)
         at com.sap.engine.interfaces.cross.CrossObjectBroker.getDestination(CrossObjectBroker.java:142)
         at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:347)
         at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
         at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
         at javax.naming.InitialContext.init(Unknown Source)
         at javax.naming.InitialContext.<init>(Unknown Source)
         at com.sap.engine.services.ejb3.runtime.impl.EJBObjectFactory.getObjectInstance(EJBObjectFactory.java:73)
         at com.sap.engine.services.ejb3.runtime.impl.EJBObjectFactory.getObjectInstance(EJBObjectFactory.java:58)
         at javax.naming.spi.NamingManager.getObjectInstance(Unknown Source)
         at com.sap.engine.services.jndi.implclient.ClientContext.lookup(ClientContext.java:521)
         at com.sap.engine.services.jndi.implclient.ClientContext.lookup(ClientContext.java:637)
         at javax.naming.InitialContext.lookup(Unknown Source)
         at com.sap.aii.ib.clsif.login.EJBHomeFactory.lookUpHome(EJBHomeFactory.java:353)
         at com.sap.aii.ib.clsif.login.LoginServiceImpl.getHomeInterface(LoginServiceImpl.java:456)
         at com.sap.aii.ib.clsif.login.LoginServiceImpl.getBusinessInterface(LoginServiceImpl.java:425)
         at com.sap.aii.ib.clsif.gen.BeanAccessHandler.getBean(BeanAccessHandler.java:60)
         at com.sap.aii.ib.client.sldAccess.impl.SldAccessServiceDelegate.getBean(SldAccessServiceDelegate.java:79)
         at com.sap.aii.ib.client.sldAccess.impl.SldAccessServiceDelegate.getSwcvLinks(SldAccessServiceDelegate.java:49)
         at com.sap.aii.ibrep.gui.workspace.WorkspaceCreatePanel.getSwcvLinksAdapter(WorkspaceCreatePanel.java:520)
         at com.sap.aii.ibrep.gui.workspace.WorkspaceCreatePanel.access$000(WorkspaceCreatePanel.java:75)
         at com.sap.aii.ibrep.gui.workspace.WorkspaceCreatePanel$4.getResult(WorkspaceCreatePanel.java:449)
         at com.sap.aii.utilxi.swing.toolkit.InterruptableProgressDialog$1.construct(InterruptableProgressDialog.java:190)
         at com.sap.aii.utilxi.swing.toolkit.SwingWorker$2.run(SwingWorker.java:126)
         at java.lang.Thread.run(Unknown Source)
         at com.sap.engine.services.ejb3.runtime.impl.EJBObjectFactory.getObjectInstance(EJBObjectFactory.java:140)
         at com.sap.engine.services.ejb3.runtime.impl.EJBObjectFactory.getObjectInstance(EJBObjectFactory.java:58)
         at javax.naming.spi.NamingManager.getObjectInstance(Unknown Source)
         at com.sap.engine.services.jndi.implclient.ClientContext.lookup(ClientContext.java:521)
         ... 14 more
    Any clues what might be the issue?
    thanks in advance,
    Regards,
    Basker

  • ABAP Proxy Import Structure

    ok. Guys and gals I have limited ABAP expierence and have a simple question around loops. I have an ABAP proxy setup that receives an XML file and stores the contents in the INPUT method. The two structures under Item I am working with are I_HEADER and I_ITEM.
    I can access the values in I_HEADER with something like the following:
    CLEAR w_header.
    w_header-guid = v_header_guid.
    w_header-description = input-I_HEADER-DESCRIPTION.
    w_header-process_type = input-I_HEADER-PROCESS_TYPE.
    w_header-posting_date = sy-datum.
    now I currently have been testing the proxy with the following for my i_item structure. This is hard coded but I would like to import from the INPUT structure.
    CLEAR w_item.
    w_item-guid = v_item_guid.
    w_item-parent = v_header_guid.
    w_item-product = '00000000000000000000000000000000'.
    w_item-description = 'Test Item Description'.
    APPEND w_item TO i_item.
    How would I setup my loop to read the I_ITEM-ITEM table and populate with the imported values instead of hard coded. For instance using this example I would need the values from I_ITEM-ITEM-DESCRIPTION and I_ITEM-ITEM-PRODUCT?
    Thank You.

    Hi Joe,
    You have to use to loops one for header and another for Item details in that header something like this
    loop at it_header into wa_header
         loop at it_item into wa_tem
          endloop.
    endloop.

  • Function Module IMPORT structures not recognized in form subroutines

    Hello everyone,
    Did some searching on SDN and didn't find the answer, so I apologize if this has been covered before.
    Just finished my first Function Module.  It's a remote-enabled (RFC) function that will be called by XI to do some processing.  I have two components declared on the IMPORT tab, which we'll call "A" and "B".  Both "A" and "B" are defined with a user type, each of which is a simple structure of 4-5 fields each.  My Function Module also has two tables, and these are defined on the TABLES tab.
    Here's my problem:  When I do a syntax check, I get an error telling me that "A" and "B" are unknown.  However, I only get this error where I reference "A" or "B" in the FORM subroutines I have declared at the end of my function.
    I have my other data declarations defined globally in the "LZ...TOP" Include for my Function Module, so those don't pose a problem.  But these are my Function Module parameters, so I can't go "declare" those as I already have them defined on the appropriate tabs.
    Is there a way for me to get around this error and have them recognized globally, or do I have to resort to moving the values to some globally-declared "hold" field?  I'm hesitant to have to add them as parameters passed into the FORM routines because I pretty much reference each of the fields within the structures for "A" and "B".
    Thanks everyone.  Points definitely awarded for helpful answers.

    Dave,
    The parameters are visible only in the main program of the function module. So, if the subroutines are directly in the main function, they you should not have a issue. But if you subroutines in an include and you are calling them in the main function, then the paramters are not visible in the subroutines. In that case you will have to hold the values in a globally declared tables.
    Or you will have to pass them as parameters to Sub routines as well.
    Regards,
    Ravi
    note : please mark the helpful answers
    Message was edited by: Ravikumar Allampallam

  • Rfc to jdbc --issue with import structure

    Hi
    I am doing asynch RFc to jdbc scenario, for which I followed the below blog,
    /people/swaroopa.vishwanath/blog/2006/12/28/send-rfc-to-sap-xi-150-asynchronous
    (My abap code is as per the blog)
    But one doubt ,as per the blog, my imported rfc structure in IR doesnot conatin those fields(table structure) then how this mapping is going to happen?
    Else all the configurations are ok and success in runtime n in sxmb_moni,
    Please can anyone help in understanding this,
    Thanks

    Hi,
    What is the problem which you are facing ?
    You cant see the fields after importing in XI ?
    If so where are you trying to see the fields ?
    >>wanted to know as to how to code in R/3 so as to trigger the RFC in background.
    This is what is mentioned in the blog.
    >>i am not able to understand the blogs logic (R/3 code)
    Which part of the code you are not able to understand ?? theres hardly any code .
    Any part/word of the code which you cant understand ..just click on that word and press F1.
    Regards,
    Sumit

  • ESR objects after re-importing SWCV into ESR from SLD

    We created two SWCVs in SLD and imported into ESR.
    I_MYCOMP_SWCV_ONE
    I_MYCOMP_SWCV_TWO
    I created few design objects like DTs MTs SIs like  dtA, dtB, siC in I_MYCOMP_SWCV_TWO
    but later, for some reason, to enable usage of objects of I_MYCOMP_SWCV_ONE to be used/referenced in I_MYCOMP_SWCV_TWO, we had to create dependencies in sld, something like I_MYCOMP_SWCV_TWO depends on I_MYCOMP_SWCV_ONE,
    after we defined the dependency in sld, the SWCVs need to be reimported into ESR, and my previous design objects dtA, dtB, siC will be lost if i reimport I_MYCOMP_SWCV_TWO
    is there any wayout, in which all my previous objects will not be lost, (so that i need not re-create manually) after importing I_MYCOMP_SWCV_TWO
    thanks,
    Madhu.

    >>>they will not be lost for sure (you you reimport without deletion)
    thanks, when we try to reimport without delition.. we got below message.
    A software component version with the name I_MYCOMP_SWCV_TWO already exists
    To update the SLD information, use the relevant menu option in the editor for software component versions
    But it is possible to update SWCV from the content from the sld.
    that served the purpose.
    thanks again.

  • Import structure query

    hi gurus,
    In a se37 function builder i have a structure in the import paramter
    ie i am getting list of client in the import
    how i can write the query to get the details of the list of client
    it says the error as
    "it" must be a flat structure. You cannot use internal
    tables, strings, references, or structures as components. -
    senthil.

    u have to write the select condition as per mentioned in my last post
    second option can be tht u can have a loop at the internal table having clients and inside loop u can fetch the client details one by one like -
    loop at itab.
    select single * from KNA1 into corresponding fields of itab1 where Mandt = itab-mandt.
    endloop.
    second option will degrade ur performance so use the first one only.
    amit

  • Odata function import - structure as import parameter

    Hello Experts,
    I want to pass list of measured values (valueID, measured value) with info about temperature and date.
    So i want to pass to function data like this:
    - temerature
    - date
    - measured value table
             -  valueID1, measured value1
             - valueID2, measured value2
             - valueID3, measured value3
    I am not able to find way how to do it. In function import parameters there is no option to do it (like on below screen from segw)
    Thanks for help.
    Lucas

    I don't like this situation.
    Probably its often situation when you want to pass
    1) from client
    2) or to client
    data with structure:
    - param1
    - param2
    - tableType1
    For now i know ways:
    1) concatenate values from table to one string parameter (function import apraache)
    2) create update statement with table (crud update approache) and add param1 and param2 to tableType1. Its of course redundantion and its not good approache for big data.
    3) and probably best one: Batch Request in Netweaver Gateway(Multiple Operations into a Single Request)
    But i am disappointed that its also impossible to pass table type into function import.
    Am i right ?
    BR Lucas

  • Importing Structure field values in Excel using VBA and SAP RFC

    I am calling a RFC MEASUREM_DOCUM_RFC_SINGLE_001 from Excel VBA. The export parameters of the RFC has a parameter MEASUREMENT_DOCUMENT and structure COMPLETE_DOCUMENT. I am able to get back parameter value in excel from RFC using
    ActiveCell = Funct.imports("MEASUREMENT_DOCUMENT")
    Now I want to get the value of one of the fields say POINT of the structure COMPLETE_DOCUMENT in Excel. The following code doesnt work
    ActiveCell = Funct.imports("COMPLETE_DOCUMENT-POINT")
    It gives an error.
    Even I have tried to using code for tables
    dim tab as object
    set tab = funct.tabels("COMPLETE_DOCUMENT")
    but it did'nt work.
    Can any one help me how to access the field value of a structure?
    regards
    Ravindra

    I am calling a RFC MEASUREM_DOCUM_RFC_SINGLE_001 from Excel VBA. The export parameters of the RFC has a parameter MEASUREMENT_DOCUMENT and structure COMPLETE_DOCUMENT. I am able to get back parameter value in excel from RFC using
    ActiveCell = Funct.imports("MEASUREMENT_DOCUMENT")
    Now I want to get the value of one of the fields say POINT of the structure COMPLETE_DOCUMENT in Excel. The following code doesnt work
    ActiveCell = Funct.imports("COMPLETE_DOCUMENT-POINT")
    It gives an error.
    Even I have tried to using code for tables
    dim tab as object
    set tab = funct.tabels("COMPLETE_DOCUMENT")
    but it did'nt work.
    Can any one help me how to access the field value of a structure?
    regards
    Ravindra

  • AI Import - Structure is wiggling

    Hi,
    following scenario:
    I built a composing in Illustrator CS5 which is already separated on layers which i will use in After Effects.
    On one layer, there is a simple vector object. This object is given structure by using an image overlayed with "Multiply" and masked with the form of the vector object.
    I imported the AI file as composition.
    All the layers are positioned into 3D, Z-axis, and the camera moves on the z-axis through the different layers.
    Because of the fact that the camera will come pretty close to some of the object, i activated "optimate vector layer" (hopefully you will get this as my AE is in German) to get the vector advantage of not having any quality loss when zooming towards it.
    Now already while previewing, the structure over that object is wiggling, although the structure and the object are on the same layer. Also in the rendered output you can see that issue.
    Here i uploaded a very short part of the clip but you will able to see the issue (focus on the blue hills and the clouds):
    Thanks in advantage for every help. 

    Hello Rick,
    thanks for your fast response.
    I read both of the articles but i could not get a solution out of it.
    I tried to change the speed of the horizontal movement of the clouds and changed the framerate from 24 to 29,97 fps, but nothing worked.
    Also the issue seems more like to be something object-specific or a thing of interpretation than anything more or less physical.
    I did a few trials and errors and ended up with deactivating this "optimate vector layer" thing worked fine.
    In my case i´m lucky to have these structured objects far in the back, this causes that it´s not absolutely necessary to activate the optimation as the objects will stay far away from the camera during the whole scene.
    But if i´d have some of the front objects structured that way and animated, this would be a real problem...

  • Declaration for smart form importing structure

    Hi to all experts,
    I have to create a structure for smart form to declare it in the smart form interface (importing ) .The structure should be of the type below. I tried but getting type mismatch dump ....please help
    DATA: BEGIN OF ZISEG OCCURS 20.
            INCLUDE STRUCTURE ISEG.
    DATA: BTEXT LIKE T064B-BTEXT.          
    DATA: GIDAT LIKE IKPF-GIDAT.          
    DATA: MAKTX LIKE MAKT-MAKTX.        
    DATA: STEXT LIKE T064T-STEXT.        
    DATA: NAME1 LIKE T001W-NAME1.
    DATA: END OF ZISEG.

    Hi Abdul,
    sorry my answer was incomplete.You need to declare two structures,one for u r data retrival(including other 4 fields) and other for the smartform(same as DDIC structure).After retrieving you need to transfer the data from one table to other.
    Hope u got what Iam trying to say,if not PLZ rewert back.
    Thanks & Regards,
    Rock.

  • Sender RFC Adapter, missing import structure in inbound messages

    Hi, I have a simple scenario RFC- RFC-Adapter - XI - SOAPAdapter - Webservice.
    RFC has import parameter eblen type ekko-ebeln, and s_ekko type ekko.
    Tables, it_ekpo, it_eket etc.
    If i execute my interface, the tables and import parameter eblen is showed in Messages but not s_ekko. Import parameter is not empty. Th empty tables are showed to with tag </it_eket> but not s_ekko, if it doesnt exist.
    I reimport rfc and maked complete cashe refresh but it doesnt help.
    Have any an idee.
    Thanks and regards
    Hüsniye

    Have you done a CPA Cache refresh? Do this by opening URL http://server:port/CPACache/refresh?mode=full on your XI server.
    The adapter engine caches metadata and sometimes this can get a bit out of sync. Try refreshing the CPA Cache or disabling and then re-enabling your RFC Adapter.
    MJ

  • Setting RFC import structure

    Hello Everyone.
    What would be the proper way to set an import value for a WSDL RFC call using a model node (not attribute) that has a 0...1 cardinality? I have tried every method to no avail.

    I am specifically trying to call the HRWPC_GET_NAV_SUBTREE RFC. The ComplexType_HRROOTOB model object has two attributes of "oBJID" and "oTYPE".
    Here is a snippet of my code:
    public void wdDoInit(){
    Request_HRWPC_GET_NAV_SUBTREEPortType_HRWPC_GET_NAV_SUBTREE subtree_request =  new Request_HRWPC_GET_NAV_SUBTREEPortType_HRWPC_GET_NAV_SUBTREE();
    ComplexType_HRWPC_GET_NAV_SUBTREE subtree_parameters = new ComplexType_HRWPC_GET_NAV_SUBTREE();
    ComplexType_HRWPC_S_KEYOBJEC subtree_objects = new
    ComplexType_HRWPC_S_KEYOBJEC();
    ComplexType_HRWPC_S_KEYSTRUC subtree_struct = new
    ComplexType_HRWPC_S_KEYSTRUC();
    ComplexType_HRROOTOB subtree_root = new ComplexType_HRROOTOB();
    subtree_parameters.addRESULT_OBJEC(subtree_objects);
    subtree_parameters.addRESULT_STRUC(subtree_struct);
    subtree_request.setROOT(subtree_root);
    subtree_request.setParameters(subtree_parameters);
    wdContext.nodeRequest_HRWPC_GET_NAV_SUBTREE().bind(subtree_request);
    wdThis.executeGetNavSubtree();
    public void executeGetNavSubtree( )
         String objid = "50000113";
         String otype = "O";
        if(wdContext.nodeRESULT_OBJEC().currentRESULT_OBJECElement() != null){
              objid = wdContext.nodeRESULT_OBJEC().currentRESULT_OBJECElement().getOBJID();
              otype = wdContext.nodeRESULT_OBJEC().currentRESULT_OBJECElement().getOTYPE();
    Here is the part where (I assume) the import parameters for the ROOT property need to be set (ComplexType_HRROOTOB), Do you know how specifically do I do this? It is a model node with cardinality 0...1
    I have tried something along the lines of this to no avail. It look as if for some reason, the setting of the values to the model node do not work correctly.
    ComplexType_HRROOTOB new_root = new ComplexTypeHRROOTOB();
    new_root.setOBJID(objid);
    new_root.setOTYPE(otype);
    OR
    wdContext.nodeROOT().currentROOTElement().setOBJID(objid);
    wdContext.nodeROOT().currentROOTElement().setOTYPE(otype);
    wdContext.nodeSUBTREE_parameters().currentSUBTREE_parametersElement().
           setNAVTYPE(navType);
         //$$begin Service Controller(-901424175)
         IWDMessageManager manager = wdComponentAPI.getMessageManager();
         try{
              wdContext.currentRequest_HRWPC_GET_NAV_SUBTREEElement().modelObject().execute();
              wdContext.nodeSUBTREE_Response().invalidate();
              wdContext.nodeSUBTREE_Result().invalidate();
              wdContext.nodeSUBTREE_RESPONSE_rESULT_STRUC().invalidate();
              wdContext.nodeSUBTREE_RESPONSE_rESULT_OBJEC().invalidate();
         } catch(Exception ce) {
              manager.reportException(ce.getMessage(), false);
        //@@end
    Message was edited by: Trent Taylor

  • Questions on Importing an Enterprise Service Definition into PI via ESR

    Hi all,
    I 've just created a service definition for BAPI_CUSTOMER_GETDETAIL2 and imported it into ESR and PI (steps below)
    1) ERP - Created a Service Definition for BAPI_CUSTOMER_GETDETAIL2 called ZSD_ACCOUNT_GET_DETAIL
    2) Configured the EndPoint in SOAMANAGER (tested the service works fine)
    3) Published the Service in ESR (cut and paste the WSDL URL into the Publish Wizard in ESR)
    --- Question1 - is there a way to publish from ERP directly 
       - (something simiar to how in PI Integration Builder you can publish a Sender Agreement 
         by opening the Sender Agreement and selecting Sender Agreement -> Publish in SR)
    4) Created External Definition for the Message Definitions in PI
        - I did this by downloading the WSDL from the  ZSD_ACCOUNT_GET_DETAIL in ERP
        - manually editing the WSDL to remove the policy defintions
        - Imported the external definition into PI
    --- Question 2 - Is there an easier way to get the WSDL or XSD in ERP (e.g. from the BAPI without the policy statements)?
    --- Question 3 - Is there a way for PI Enterpise Service builder  to import the definition straight from ESR (a menu option)?
    --- Question 4 - Is there a way to export the WSDL from ESR to a file.
    As I said I have it working but it definitely appeared to be a "clunky" process.
    Any answers or tips in streamlining this would be appreciated.
    Cheers,
    John

    Hi Mark,
    Thanks for your response. I was aware of the functionality and I appreciate the link.
    In hindsight I could have used this to import the data structures into the Enterprise Service Builder, which answers Questions 1 and 2.
    For Questions 3 and 4, I guess I'm still looking for a better understanding of how the service registry and the Enterprise Service Builder interact.
    Right now I'm publishing the service in the service registry and importing external defintions in the Enterprise Service builder.
    I think this is cumbersome and ideally would think that the Enterprise Service Builder could "pull" external definitions from the service registry.
    Thanks again for clarifying questions 1 and 2. The updated question list is below.
    Regards,
    John
    Question1 - is there a way to publish from ERP directly
    - no, instead use the import rfc and idoc functionality built into the Enterprise Service Builder
    Question 2 - Is there an easier way to get the WSDL or XSD in ERP (e.g. from the BAPI without the policy statements)?
    - Rather than use the WSDL use theimport rfc and idoc functionality built into the Enterprise Service Builder
    Question 3 - Is there a way for PI Enterpise Service builder to import the definition straight from ESR (a menu option)?
    Question 4 - Is there a way to export the WSDL from ESR to a file.

Maybe you are looking for

  • Crystal Reports 2008 and Dynamic Images

    Hello, I have a windows .net application that uses a listing of items in a grid.  The user selects an item then clicks the print button and that brings up a report viewer form and passes the photograph location in a parameter to the report document b

  • WBS element budget-PO linkage

    Dear All, Kindly let me know how to link purchase order with WBS element. My query is that, client has make Rs.1000 as an approved budget. but while making PO against WBS element, system is allowing to create PO for more than Rs.1000 also. Kindly let

  • Question on Offline Game Apps

    HI, I am new to all of this, just purchased an IPhone4 and I want to download some paid apps for solitaire type games but I want to play these games offline not online. I downloaded solitaire game but it can only be played online. Are there offline a

  • "Display Unavailable. Close and reopen window to restore." message in Canvas

    I started a new project in FCP version 7.0.3   I have several video clips some .mov and .mp4 files.  When I drag any of them to the timeline, this error message appears in the canvas.  Help!

  • What can't i download a configuration to my iPad? PC running IPCU 3.6.2.300

    I have created a configuration profile in the iPhone Configuration Utility (3.6.2.300) and have connected my iPad Air (7.0.4), but I am not able to install the configuration file via USB cable.  When I press the "Install" button nothing happens.