Data vloume limitaion in PI7.0

Hi folks,
There is business requirement, Here we have 12Lak records in a flat file and now i need to uploade all the records into sap(financial data) by using FB01 transaction.
The senario is File to Proxy. And in mapping i need to make use of many DBlookup from Msacess database.
In FICO i can post the records if all the 12lak records are posted together (required conditions in FICO data wil be satisfied). But in PI7.0 there is a constrain in handling all the data together(large data-50MB).
So for that if i break the flate file into peices can i handle it....?  If that can be done before posting into sap i need to hold all the broken peices(12Lak) in xi again.....!!!
Please suggest me any better way to handle this kind of situtaions in PI7.0
Regards
Vijay

hi Vijay,
So for that if i break the flate file into peices can i handle it....? If that can be done before posting into sap i need to hold all the broken peices(12Lak) in xi again.....!!!
first of all,SAP recommends not to use XI for mass data uploads.
Yes, you can handle it by breaking flat file into peices.  if at you break it you need to hold all the broken peices.
Think about this solution, if you are going to run this with max interval of time like once in a day or week.
file to file scenario
break the flat file and perform transformation (do what ever db lookups you want to) and use a receiver flat CC to place the file in SAP OS level (AL11) and update the flat file instead of writing in many files so that all the 12lak records will be in one flat file. Now write ABAP program which pick the file and process it into SAP.
Regards,
Sukarna

Similar Messages

  • Error while extracting data from essbase

    Hi All,
    Now I'm tring to extract data from essbase by ODI, and at the sametime, I need to do some transformations, such as join with other relational tables or flat files to get more information about metadata. But unfortunately, once I add join into the interface, an error occurs. And it works fine if I extract directly (with no joins).
    Is there any other way except using staging table? Our data vloume is large, using staging table will waste lots of storages.
    The messages as below.
    2011-07-12 23:34:00,931 INFO [DwgCmdExecutionThread:null:49]: ODI Hyperion Essbase Adapter Version 9.3.1.1
    2011-07-12 23:34:00,931 INFO [DwgCmdExecutionThread:null:49]: Connecting to Essbase application [CORPPROD] on [172.18.93.150]:[1423] using username [admin].
    2011-07-12 23:34:00,962 INFO [DwgCmdExecutionThread:null:49]: Successfully connected to the Essbase application.
    2011-07-12 23:34:00,962 INFO [DwgCmdExecutionThread:null:49]: Essbase data extract LKM option EXTRACTION_QUERY_FILE = D:\ODI_ESS_QUERIES\QUERY.TXT
    2011-07-12 23:34:00,962 INFO [DwgCmdExecutionThread:null:49]: Essbase data extract LKM option EXTRACTION_QUERY_TYPE = ReportScript
    2011-07-12 23:34:00,962 INFO [DwgCmdExecutionThread:null:49]: Essbase Load IKM option PRE_CALCULATION_SCRIPT = null
    2011-07-12 23:34:00,962 INFO [DwgCmdExecutionThread:null:49]: Essbase data extract LKM option EXT_COL_DELIMITER =      
    2011-07-12 23:34:00,962 INFO [DwgCmdExecutionThread:null:49]: Essbase Load IKM option PRE_EXTRACT_MAXL =
    2011-07-12 23:34:00,962 INFO [DwgCmdExecutionThread:null:49]: Essbase Load IKM option POST_EXTRACT_MAXL =
    2011-07-12 23:34:00,962 INFO [DwgCmdExecutionThread:null:49]: Essbase Load IKM option ABORT_ON_PRE_MAXL_ERROR = true
    2011-07-12 23:34:00,962 DEBUG [DwgCmdExecutionThread:null:49]: inside getAppData()
    2011-07-12 23:34:00,962 DEBUG [DwgCmdExecutionThread:null:49]: Got Source Metadata
    2011-07-12 23:34:01,119 ERROR [DwgCmdExecutionThread:null:49]: The number of columns returned by script [13] is less than the source data columns exposed [14]
    com.hyperion.odi.essbase.ODIEssbaseException: The number of columns returned by script [13] is less than the source data columns exposed [14]
         at com.hyperion.odi.essbase.wrapper.EssbaseReportDataIterator.validateColumns(Unknown Source)
         at com.hyperion.odi.essbase.wrapper.EssbaseReportDataIterator.init(Unknown Source)
         at com.hyperion.odi.essbase.ODIEssbaseDataReader.getAppData(Unknown Source)
         at com.hyperion.odi.essbase.AbstractEssbaseReader.extract(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor769.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java)
         at org.python.core.PyMethod.__call__(PyMethod.java)
         at org.python.core.PyObject.__call__(PyObject.java)
         at org.python.core.PyInstance.invoke(PyInstance.java)
         at org.python.pycode._pyx85.f$0(<string>:1)
         at org.python.pycode._pyx85.call_function(<string>)
         at org.python.core.PyTableCode.call(PyTableCode.java)
         at org.python.core.PyCode.call(PyCode.java)
         at org.python.core.Py.runCode(Py.java)
         at org.python.core.Py.exec(Py.java)
         at org.python.util.PythonInterpreter.exec(PythonInterpreter.java)
         at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:144)
         at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.k(e.java)
         at com.sunopsis.dwg.cmd.g.A(g.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)
    2011-07-12 23:34:01,119 INFO [DwgCmdExecutionThread:null:49]: Logging out and disconnecting from the essbase application.
    From the working steps, I found a redundant column (Entity) was added while creating work table. Is it the reason?
    create table HYP.C$_0CUX_ABC_HYP_INTERFACE
         C14_HSP_RATES      VARCHAR2(80) NULL,
         C3_ACCOUNT      VARCHAR2(80) NULL,
         C10_PERIOD      VARCHAR2(80) NULL,
         C7_SCENARIO      VARCHAR2(80) NULL,
         C9_CURRENCY      VARCHAR2(80) NULL,
         C15_YEAR      VARCHAR2(80) NULL,
         C6_DATATYPE      VARCHAR2(80) NULL,
         C2_VERSION      VARCHAR2(80) NULL,
         C1_CATEGORY      VARCHAR2(80) NULL,
         C12_ENTITY      VARCHAR2(80) NULL,
         C13_ENTITY      VARCHAR2(80) NULL,
         C11_DEPARTMENT      VARCHAR2(80) NULL,
         C8_PROJECT      VARCHAR2(80) NULL,
         C5_DATA      NUMBER(18,8) NULL
    Appriciated!

    Extract the essbase data to a staging area and then do the transformations in another interface.
    The adaptor needs to extract the data first.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to change the value of data supplier host parameter in PI7.1

    Hi Frnds,
    I want to change the data supplier host parameter to Hostname,when i checked in SLD Administration its pointing to local host,so i wnat to change it.
    What is the procedure to change the value to host?? i am working on PI7.1 EHP1.
    THANKS,
    Raj

    thanks

  • Problems after patch abap/java sp04 to sp07 and cimmodel/cr data on PI7.1

    hello friends,
    after patch abap/java stack aan update cim model and cr content 3.00 to 4.xx, i have the following error by url:
    http://<hostname:50000>/dir
    error:
    Internal Error
    Internal error; contact your system administrator
    Internal error: Unable to start component DIRECTORY_SERVER. Specified StartupCodeEntry class "com.sap.aii.ibdir.server.applcomp.StartupCodeEntry" does not exist
    i have manually added the parameter in exchangeprofle, but what is the right value? is this the right way?
    Thanks,
    christoph

    Guys,
    Any success????
    I am working on PI 7.1. I m also facing same issue..... when I tried to upgrade SAP-XICONS and SAP_XIPCK component from SP 4.0 to 7.0.
    In my case the SLD, RWB and NWA is working... but I am not able to access
    http://pidev:50000/dir/start/index.jsp.
    The error says:
    Internal error: Unable to start component DIRECTORY_SERVER. Specified StartupCodeEntry class "com.sap.aii.ibdir.server.applcomp.StartupCodeEntry" does not exist
    deatiled error ************************
    Stacktrace
    Thrown:
    com.sap.aii.ib.core.applcomp.StartupException: Internal error: Unable to start component DIRECTORY_SERVER. Specified StartupCodeEntry class "com.sap.aii.ibdir.server.applcomp.StartupCodeEntry" does not exist
         at com.sap.aii.ib.core.applcomp.StartupException.newEntryClassNotFound(StartupException.java:78)
         at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponentImpl.startup(ExplicitApplicationComponentImpl.java:101)
         at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponents.startup(ExplicitApplicationComponents.java:438)
         at com.sap.aii.ib.core.applcomp.ApplicationComponent.startup(ApplicationComponent.java:203)
         at JEE_jsp_start_index_6931850_1232360340765_1232372432437._jspService(JEE_jsp_start_index_6931850_1232360340765_1232372432437.java:122)
         at com.sap.engine.services.servlets_jsp.lib.jspruntime.JspBase.service(JspBase.java:102)
         at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:66)
         at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:433)
         at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:240)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:66)
         at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:32)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:431)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:289)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:376)
         at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:85)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:160)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:67)
         at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
         at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
         at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
         at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:295)
         at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.run(Processor.java:222)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:152)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:247)
    Initial Startup Exception
    Internal error: Unable to start component DIRECTORY_SERVER. Specified StartupCodeEntry class "com.sap.aii.ibdir.server.applcomp.StartupCodeEntry" does not exist
    Thrown:
    com.sap.aii.ib.core.applcomp.StartupException: Internal error: Unable to start component DIRECTORY_SERVER. Specified StartupCodeEntry class "com.sap.aii.ibdir.server.applcomp.StartupCodeEntry" does not exist
         at com.sap.aii.ib.core.applcomp.StartupException.newEntryClassNotFound(StartupException.java:78)
         at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponentImpl.startup(ExplicitApplicationComponentImpl.java:101)
         at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponents.startup(ExplicitApplicationComponents.java:438)
         at com.sap.aii.ib.core.applcomp.ApplicationComponent.startup(ApplicationComponent.java:203)
         at com.sap.aii.ibdir.server.cache.monitoring.CacheMonitorServlet.startup(CacheMonitorServlet.java:104)
         at com.sap.aii.ibdir.server.cache.monitoring.CacheMonitorServlet.init(CacheMonitorServlet.java:45)
         at javax.servlet.GenericServlet.init(GenericServlet.java:241)
         at com.sap.engine.services.servlets_jsp.server.security.PrivilegedActionImpl.run(PrivilegedActionImpl.java:97)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAs(Subject.java:396)
         at com.sap.engine.services.servlets_jsp.server.application.WebComponents.addServlet(WebComponents.java:341)
         at com.sap.engine.services.servlets_jsp.server.deploy.ApplicationThreadInitializer.loadServlets(ApplicationThreadInitializer.java:849)
         at com.sap.engine.services.servlets_jsp.server.deploy.ApplicationThreadInitializer.run(ApplicationThreadInitializer.java:219)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:152)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:247)
    Regards,
    Siddhesh S.Tawate

  • Error while testing SAML service in PI7.1

    Hello all,
    I am creating a SAML secured service in PI 7.1
    I have used WS adapter in sender communication channel and reciever as RFC adapter to extract data from the system.
    I have done the necessary config in sender and receiver agreement and created the wsdl manually.
    Now to test that service i have created another component as the client.
    The sender is the SOAP channel and in the receiver, WS adapter is used.
    With these basic configurations, i have created another wsdl file which invokes my previous service.
    When i tested the new wsdl i get an error.
    <SAP:Code area="INTERNAL">WS_LOGICAL_PORT</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>Error while determining logical port Cannot find logical port for agreement 34CBAC01EBEC3F15813332AC002BD3CF and interface http://atl.tarpon.com/SAPGetAddressSAML_C.MI_Inbound_SAPGetAddSAML_C</SAP:Stack>
    Kindly guide me as to what is to be done for creation of logical port in *NWA as this tool is available for PI7.1 for me.
    Regards,
    Kevin

    Hi Kevin,
    What I meant to say is that there are multiple levels of settings required to enable SAML based communication. I wanted to ask you if you have already done those configurations.
    See the image given at following URL.
    http://help.sap.com/saphelp_nwpi71/helpdata/en/94/695b3ebd564644e10000000a114084/content.htm
    As you can see there is multiple parties involved in the overall SAML authentication process.
    May be following blog will be helpful. 
    SAML Made Simple!
    Regards,
    Vandana.

  • What are the major differecese between PI7.0 and PI7.1

    It's said that there are 3 major differences between PI7.0 and PI7.1.
    Could you give them here because I cannot find them.
    Thanks!

    Hey,
    Some more info,
    Process Automation Enterprise Services Repository as a central storage location for  enterprise service definitions and lifecycle management data for all enterprise services
    Enhanced Design Capabilities
    Service Enabling & Services Registry u2013UDDI V3.0 Additional compliant services registry for  runtime management of enterprise services
    Web Service Standards,Web Service Reliable Messaging, Web Service Policy & Security
    High Volume Support & Local processing in Adapter Engine ,Message packaging
    Improved performance for ccBPM /BPM
    using the Advanced Adapter Engine (AAE) in SAP NetWeaver PI 7.1, much higher numbers of  messages can be reached.Even better results can be achieved for asynchronous scenarios
    PI 7.10 are the services based on service interfaces. These services can be configured with  the help of the SOA Manager
    Cheers
    Agasthuri

  • Idoc configurations in PI7.3

    Hi Experts,
    For an Idoc scenario prior to PI 7.3, RFC destination, port, logical system and partner profile needs to be created in case of outbound Idoc scenario and again at XI side we need to create RFC destination, port and loading of meta data....
    Is the same is applicable for PI 7.3 as well? since Idoc resides in AAE in PI 7.3, I believe there could be some changes applicable for these settings of Idoc....
    Pls provide your inputs.....

    Hi,
    Along with the links provided by Phani and Gayatri you can laso refer this thread for IDoc configuration in PI7.3
    IDOC settings from sap r/3 to sap pi7.3
    IDoc Packaging in PI7.3
    http://www.sdn.sap.com/irj/sdn/index?rid=/library/uuid/4096a6b3-3dc3-2d10-bf87-f63d5340a916
    Configuring PI 7.30 Java IDoc Adapter
    PI/XI: PI 7.3 New Java based IDOC adapter's configuration (sender, receiver) - teaser
    IDoc Acknowledments in PI7.3
    acknowledge handling for IDOC_AAE in sap PI 7.3
    IDoc_AAE acknowledgement handling in PI 7.3
    IDoc related error in PI7.3
    Processing error in Idoc_AAE sender channel
    Hope its informative.
    Regards,
    Amol

  • JCO_COMMUNICATION_FAILURE error in PI7.0

    Hello
         Till date we have been working with SAP XI 3.0 from last one year, and I have to work with PI 7.0. I creatd a sample scenarion "File to File"in PI 7.0. The sender adapter is picked the file. in SXMB_MONI Error ID showing JCO_COMMUNICATION_FAILURE. Plz suggest me how to resolve this problem.
    Thanks
    san

    Hello San,
    Your AI RUNTIME JCOSERVER and AI DIRECTORY JCOSERVER (names - not exact I think) should exist at SM59 of your ABAP stack as well as under JCORFC PRovider in Visual Admin.
    Go to the Post isntall steps of XI 3 Install guide (most of the steps are relevant for PI7 also) (page 31 onwards) and you will have all the necessary details. There should be two more RFC destinations SAPSLDAPI adn LCRSAPRFC alongwith the above two.
    However the other two are for communicating with SLD mainly.
    Hope this helps.
    Thanks,
    Bhaskar

  • Idoc flatfile to IDOC xml issue with new PI7.11 module SAP_XI_IDOC/IDOCFlat

    Hi,
    I am trying to develop a scenario as mentioned in the blog using the new module available in PI7.1,but I am getting this error
    "Error: com.sap.conn.idoc.IDocMetaDataUnavailableException: (3) IDOC_ERROR_METADATA_UNAVAILABLE: The meta data for the IDoc type "ORDERS05" is unavailable."
    I have made every configuration correct and IDOC meta data available in both SAP R3 and PI,but it is still complaning about the meta data does not exist.
    Blog:  http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/13743%3Fpage%3Dlast%26x-order%3Ddate
    did anybody face issue with the new module available "SAP_XI_IDOC/IDOCFlatToXmlConvertor",please help me or give me mre information why I am getting this meta data error.
    Thank you,
    Sri

    Hi Sri,
    To Convert IDOC Flat file into IDOC xml from the given blog, the IDOC flat file should be present in standard format like:
    E2EDK01005                    0000047110815000000000001.........
    E2EDKA1003                    0000047110815000000000002.........
    E2EDKA1003                    0000047110815000000000003..........
    E2EDKA1003                    0000047110815000000000004........
    The Flat file have relationship as IDOC Number "000004711081500000" and segment sequence "0000001".
    If your flat file is not in this formate so i don't think that module is able to convert into IDOC xml. and if your file is already in this format then it may be issue with destinations which are created in NWA.
    Thanks
    Harish

  • Error in adapter module Upgrade PI7.11

    Hello,
    After upgrade from XI3.0 to PI7.11,I am trying to adapt code of an adapter module in order to use it in new version.
    I have changed the code ,there were no compilation errors and it was deployed successfully.
    But when trying to test the scenario ,I am getting following error:
    <code>ADAPTER.JAVA_EXCEPTION</code>
                   <text>javax.ejb.EJBException: (Failed in component: sap.com/ValidationModule7.11_EAR) Exception raised from invocation of public com.sap.aii.af.lib.mp.module.ModuleData com.sapcons.xi.af.validation.ValidationModuleBean711.process(com.sap.aii.af.lib.mp.module.ModuleContext,com.sap.aii.af.lib.mp.module.ModuleData) throws com.sap.aii.af.lib.mp.module.ModuleException method on bean instance com.sapcons.xi.af.validation.ValidationModuleBean711@4dee79d1 for bean sap.com/ValidationModule7.11_EARxml|ValidationModule7.11_EJB.jarxml|ValidationModuleBean711 in application sap.com/ValidationModule7.11_EAR.; nested exception is: java.lang.NullPointerException: while trying to invoke the method com.sap.engine.interfaces.messaging.api.MessageKey.getMessageId() of an object loaded from local variable 'msgKey'
    java.lang.NullPointerException: while trying to invoke the method com.sap.engine.interfaces.messaging.api.MessageKey.getMessageId() of an object loaded from local variable 'msgKey'
    I am nowhere using variable 'msgkey' in my code.
    I was using getMessageId() method and because of this error,I have changed the code such that I am not using this method at all.
    After this change ,I have deployed the module again,and the strange part is I am still getting the same error.
    Just to be sure that I have deployed the changed code,I created an altogether new module ValidationModule7.11_EAR(it was ValidationModule_EAR before) and deployed it,I am sure ,I am not using getMessageId() method at all,but I am getting the same error (as mentioned above).
    I have no idea why I am getting the same error.I can see in the error message that my new module is called which doesn't use this method.
    Can anyone please suggest apart from saving the Bean after code changes and redeploying the code,what needs to be done.
    (Rebuilding the project,etc.)
    It would be great if I can get some inputs on this strange behaviour.
    Thanks a lot.
    Best Regards,
    Shweta

    Hello Stefan,
    Thanks for your reply.
    I have created my new module with a different JNDI name.
    Also,I have verified that there is a link to the interface com.sap.aii.af.ifc.facade in application-j2ee-engine.xml .
    This was the code which I was trying to adapt:
    if((MessageContext)inputModuleData.getPrincipalData() instanceof MessageContext)
                    MessageContext messsageContext = (MessageContext)inputModuleData.getPrincipalData();
                    Message message = messsageContext.getMessage();
                    Attachment rootDocument = message.getRootDocument();
                    Object data = rootDocument.getData();
                    if(data instanceof Binary)
                        Binary bin = (Binary)data;
                        request = bin.getBytes();
                        String messageID = "1232";
                        if(dir == Direction.INBOUND)
                            amk = new AuditMessageKey(messageID, AuditDirection.INBOUND);
                        else
                            amk = new AuditMessageKey(messageID, AuditDirection.OUTBOUND);
    But I was getting errors like MessageContext not recognized and also,for the statement:
    Attachment rootDocument = message.getRootDocument();
    I was getting an error in statement :   if(data instanceof Binary) as following imports weren't recognized.
    import com.sap.aii.messaging.lang.Binary;
    import com.sap.aii.messaging.mo.*;
    So I used import com.sap.aii.af.service.cpa.BinaryData; and following code
    Object obj = null;
                   Message message = null;
                   obj = inputModuleData.getPrincipalData();
                              if(obj instanceof BinaryData)
                         message = (Message)obj;  
                        BinaryData bin = (BinaryData)obj;
                        request = bin.getData();
                         String messageID = "1232";
                          amk = new MessageKey(messageID, message.getMessageDirection());                                      
    Code was compiled correctly and deployed ,but I get this error with getMessageId() when I try to test it.You can see I am not using getMessageId() and msgkey anywhere in the code
    Thanks for your help
    Regards,
    Shweta

  • Problem in PI7.0 Installation

    Hello all,
          I installed newely PI7.0 server. I am not able to open sxmb_ifr. The following error showing.How to resolve this problem.
    MESSAGE ID: com.sap.aii.utilxi.prop.api.rb_all.NO_PROPERTIES
    com.sap.aii.utilxi.prop.api.PropertiesException: Unable to read configuration data (ExchangeProfile/aii.properties)
         at com.sap.aii.utilxi.prop.api.PropertySourceFactory.initServerMode(PropertySourceFactory.java:202)
         at com.sap.aii.utilxi.misc.api.AIIProperties.initServerMode(AIIProperties.java:401)
         at com.sap.aii.ib.server.applcomp.StartupServerProperties.initPropertiesForServer(StartupServerProperties.java:95)
         at com.sap.aii.ibrep.server.applcomp.StartupCodeEntry.startup(StartupCodeEntry.java:152)
         at com.sap.aii.ib.core.applcomp.IStartupCodeEntry.startupIfNotAlreadyDone(IStartupCodeEntry.java:33)
         at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponentImpl.startup(ExplicitApplicationComponentImpl.java:116)
         at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponents.startup(ExplicitApplicationComponents.java:383)
         at com.sap.aii.ib.core.applcomp.ApplicationComponent.startup(ApplicationComponent.java:209)
         at jsp_Main1214431194656._jspService(jsp_Main1214431194656.java:21)
         at com.sap.engine.services.servlets_jsp.server.jsp.JspBase.service(JspBase.java:112)
         at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:544)
         at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:186)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Thanks&Regards,
    VenkatK

    Hi,
    Follow this links it may be helpful to you
    Unable to open IR/ESR/ID ? (XI/PI/PI 7.1) [Updated for PI 7.1 support]
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1688 [original link is broken] [original link is broken] [original link is broken]

  • THROUGH HTTP CAN WE SEND FLAT FILE IN  PI7.3?

    Hi Experts,
    We have an requirement that Through HTTP can we send flat file in PI7.3.(For EX:source side HTTP and Target side is IDOC or PROXY)
    Can any one please suggest me how can I proceed for that?
    Please let me know if there is any Documents or Blogs are there related to above requirement...
    Thanks,
    Shaik

    Hi Shaik,
    You can try following approach might help.
    Tell the sender system to use post method for HTTP connection. In post method the particular application will hit to a URL and data will be passed. Source system should pass the data same as that of Text file. Use following link which will help you to convert the data sent as text into XML. Further you can use this XML to convert further into IDOC or proxy.
    Adapter User-Module for HTTP Adapter?

  • Message ID in PI7.0

    Hi Gurus
    We are migrating from XI3.0 to PI7.1 and we have lots of ABAP proxies on ECC6. In these ABAP proxies we extract Message ID using controller->get_message_id( ) but this has been deprecated in ECC and we no longer have controller coming in as parameter to proxy. Could some one let me know how we can get the message id using code example?
    Thanks
    Rajesh

    Hi
    The problem is resolved. I found a code snippet should be
    DATA : g_message_id_protocol TYPE REF TO if_wsprotocol_message_id,
             g_server_context      TYPE REF TO if_ws_server_context,
             g_xi_message_id       TYPE sxmsmguid.
      To get ABAP PROXY message ID
      TRY.
      Get server context
          g_server_context = cl_proxy_access=>get_server_context( ).
      Get message id protocol
          g_message_id_protocol ?= g_server_context->get_protocol( if_wsprotocol=>message_id ).
      Fill in message id
          g_xi_message_id = g_message_id_protocol->get_message_id( ).
        CATCH cx_ai_system_fault.                           "#EC NO_HANDLER
      ENDTRY.
    Courtsey - http://blog.chinaunix.net/u3/90431/showart_2029897.html
    Thanks
    Rajesh

  • Upgrading from XI/PI7.0 to 7.1 having problems with message mapping

    Hello,
    We are in the process over the past week of testing our XI/PI functionality after upgrading our 7.0 XI/PI environment to PI7.1; in particular several maps that were accessible in 7.0 will not open or diaplay in 7.1 complaining of a missing node in the mapping structure. Currently working with SAP on a possible fix but wanted to know if anyone else has done a true migration on top of an existing XI/PI7.0 system and experiencing similar issues (note: the maps can execute in the runtime environment but we can't display the maps source within message mapping; this also does not occur for all maps and there is no clear consistant theme to those that can be displayed and those that can't).
    The lattest issue just encountered related to message mapping is that in test mode of a map (that can be displayed) attempting to display the data queue for the mapped elements are blank no data being displayed giving an error noting that the source text of object message mapping: name of the map; has syntax errors, java area import line x, package ibm.com.xi.mapping does not exist/ import ibm.com.xi.mapping UDF:
    Has anyone upgraded from PI7.0 to 7.1 and experienced errors with existing maps that worked ok (ans still work in our QX/PRD systems) in their 7.0 envirinment but encountereing strange errors once upgrated to 7.1?
    Thanks
    Dereck Purnell
    NewellRubbermaid

    Here is the solution we received from SAP to address the issue, there were several mapping related issues we started havng from maps that worked in our 7.0 system prior to the upgrade to PI 7.1. I will try to encorporate the solutions in this response.
    a) From Customer to SAP
    1. We are unable to open some massage mapping, it is throwing
    exception
    2. Number Format functions throw exception.
    But following issue is still unresolved:
    3. When we display message queue, it throws exception
    ***) 05.02.2009 - 12:34:33 CET - Reply by SAP     
    The patch has been released at the Service Marketplace.
    Please update the scas described in the note 1264871.
    The "FormatNum" function issue has also been taken care in this patch.
    Please go through the Note 1264871 for other behaviour changes after
    upgrade. Let us know if you need any further help.
    Regards,
    B) From Customer to SAP
    04.02.2009 - 00:23:44 CET - Info for SAP
    We discovered another issue with mapping.
    For some of the mappings, we are unable to display mapping queue. When
    we execute, Interface mapping and Massage mapping, it works fine. But
    display queue throws exception. Itu2019s not able to recognize libraries
    used from dependent software component.
    Please find document "Display Mapping Queue Issue" providing example
    problem.
    25.02.2009 - 07:05:28 CET - *Reply by SAP*     
    Thank you for your update. I wanted to check with "CopyValue"
    function's index. It has to take an input integer and the problem that
    found while debugging the opening of your mapping is that the input
    was empty thus causing the exception.
    I was going to suggest the intended use of "CopyValue" function.
    When the input to "copyValue" is a constant, "copyValue" is totally
    not necessary. Thus constant can be directly mapped to other function.
    When the input is a node with values in context, you can treat one of
    values say input[0] to used in mapping by using CopyValue[0].
    But please make sure that input[0] will always produce a value.
    Note 877964 will describe in detail on Copyvalue usage.
    I am marking this Message as complete. Please confirm.

  • Upgrade to PI 7.1 EHP1 from PI7.0 - Stability of the Product

    Dear Experts,
    We are currently working on PI7.0 from last two year and it is working quite fine. We are now in the process of upgrading it to PI7.1 EHP1 SP3/4. We want to upgrade it mainly for using PI's SOA and advance adapter engine functionality.
    We would like to know whether PI7.1 EHP1 is stable and whether it is fine to go ahead with this now. We are planning for Production upgrade in next month.
    Please comments and would like to have all inputs related to upgrade.
    with regards,
    Ravi Siddam

    Hi Ravi,
        I worked on 7.0,7.1 and now on 7.1 EHP1,stability point of view there is no doubt PI7.0 is solid.
    I experienced the same with P.1 and 7.1EHP1 too.so you can upgrade to PI7.1 EHP1.
    But if you want to implement new features like Adavced Adapter Engine ,there are some limitaions think before to implementing the same.
    to improve performace better to go for message packaging it significantly improve the performace,i expericed the same.
    implementing SOA Concepts and reusing the same,you need to put lot off effort to analyse the existing servieces,but it will be really helpfull.
    Cheers,
    Raj

Maybe you are looking for

  • Screen freeze issue

    Hello, I am using XPERIA  Z1 ,which i got this April 2014. 1. The issue i face is the phone gets extremely warm on use of more than 1-2 applications.which is also the case on playing a game.I cannot hold at times due to the heat at the back of phone.

  • Internet troubles, IP address self assigned

    Hi everyone, I am having a problem with my internet connection anytime I put the powerbook to sleep or turn off and on the airport. It constantly loses the IP address and assigns itself an internal one. It takes it several minutes before I can start

  • Data lock in STS

    Hi,    Following is the online documents about how to define the header char in STS:    "Select the option Define Header Chars for Planning Session and choose Execute. The system displays a dialog box in which you can select characteristics. You have

  • JDBC BC - Executing SQL

    Hi, I follow the JDBC BC tutorial: https://open-esb.dev.java.net/kb/beta2/60/ep-jdbc-bc-tutorial.html But i'm using MySQL. When i deploy the composite application, i received an exception: Received in-only message. Executing sql . select * from "dith

  • Itune store asked me to contact apple support to complete the transaction after I filled up my credit card information when I was buying an iphone app

    itune store asked me to contact apple support to complete the transaction after I filled up my credit card information when I was buying an iphone app. What am i gonna do?