DB Selects during Mapping

Hello,
during my message mapping i need to call a Database in Order to select
dynamically a value for the destination field. I need to know whether Is this possible with message mapping at all, and if so, what are the basic stepts
to this <i><b>within</b></i> the message mapping.
Regards
Gunnar

>>stepts to this within the message mapping
This is called Look up. Have a look into this blog
/people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
Jai Shankar

Similar Messages

  • VLD-1141: Internal error during mapping generation.

    I am getting the "VLD-1141: Internal error during mapping generation" error when deploying a mapping. This mapping was previously working fine. As part of a re-factoring effort, for all the underlying tables and views, we replace 2 existing columns with a new column. All the objects were successfully re-imported and synchronized in the mapping. The mapping is using Mapping Input Parameter, Lookups, Expression Transformations, Splitter, Set Operator, Source & Target Tables. All these transformation were part of the earlier working version of the mapping.
    On doing validation within the mapping, I get a success message followed by 4 warning for the Lookup Condition on key Lookup does not contain a complete unique key. Before the re-factoring effort, I was getting the same 4 warning messages, however the mapping was executing correctly.
    When I do Generate within the mapping, I get the following message:
    Code cannot be generated.
    Click the message tab for details.
    In the Design Center, when I do a validation on the mapping I get the following error:
    VLD-1141: Internal error during mapping generation.
    java.lang.NullPointerException
    at oracle.wh.service.impl.mapping.component.Sequence.getSequenceExpressions(Sequence.java:138)
    at oracle.wh.service.impl.mapping.component.Sequence.doSequenceValidation(Sequence.java:239)
    at oracle.wh.service.impl.mapping.component.entity.EntitySqlDelegate.prepareOutputContext2(EntitySqlDelegate.java:123)
    at oracle.wh.service.impl.mapping.component.entity.EntitySqlDelegate.prepareOutputContext2(EntitySqlDelegate.java:97)
    at oracle.wh.service.impl.mapping.component.entity.EntitySqlDelegate.prepareOutputContext(EntitySqlDelegate.java:78)
    at oracle.wh.service.impl.mapping.generation.WBMappingGenerator.generate(WBMappingGenerator.java:240)
    at oracle.wh.service.impl.mapping.generation.PlSqlGenerationMediator.assembleSetBasedInternal(PlSqlGenerationMediator.java:2108)
    at oracle.wh.service.impl.mapping.generation.PlSqlGenerationMediator.assembleSetBased(PlSqlGenerationMediator.java:2090)
    at oracle.wh.service.impl.mapping.generation.PlSqlGenerationMediator.assemble(PlSqlGenerationMediator.java:541)
    at oracle.wh.service.impl.mapping.generation.WBMappingGenerator.generate(WBMappingGenerator.java:798)
    at oracle.wh.service.impl.mapping.generation.WBMappingGenerator.generate(WBMappingGenerator.java:335)
    at oracle.wh.service.impl.mapping.generation.WBDeployableMappingGenerator.generate(WBDeployableMappingGenerator.java:102)
    at oracle.wh.service.impl.generation.common.WBGenerationService.generateCode(WBGenerationService.java:433)
    at oracle.wh.service.impl.generation.common.WBGenerationService.generateCode(WBGenerationService.java:311)
    at oracle.wh.service.impl.generation.service.WhValidationGenerationTransaction.run(WhValidationGenerationTransaction.java:251)
    Any help in this regards would be appreciated.
    Naval

    Hi,
    I think your mapping is corrupted by converting two columns to one. The owb has always a problem if you change the structure of a table which is bound to a table operator. The way to avoid this is to drop the table operator after changing the table in the table editor and recreate it with the changed table definition.
    Make a test: select the new attribut in the table operator and look left on the configuration window. To which table and attribute it's bound?
    Regards,
    Detlef

  • No Un-ambiguous Selection of Mapping Module (above one) for BUPA_MAIN BDocs

    Hi All
    I seem to have hit a snag here. I am trying to replicate customers from CRM to ERP but am getting these two errors:
    Main error: Partially send, receivers have errors.
    No un-ambiguous selection of mapping module (above one) for BDoc type 3932399B34D6279BE10000000A11449E.
    Service that caused the error: SMW3OUTBOUNDADP_CALLADAPTERS._
    I have searched on Googleand SDN but have come up with nothing as far as these errors are concerned. We have managed to replicate Business Partners, Materials and Conditions from ERP to CRM without any problems but when it cam e to replicating back, these errors started popping up.
    I have used all the tools for analysis but have come up with nothing the really suggest to me what is wrong. I have monitored queues, traces and dumps. I have played around with the filter setting and all.
    With regards to the process itself, i followed the C03 best practices config guide and i believe that i have everything in place. Here are the steps i followed:
    1.Create an Internal number range for the CRM customer group.
    2. Assigned the number range to the Customer group
    3. Created a corresponding number range (External) in ERP and a corresponding CRM Customer account group as a copy of the standard 0001 Sold-to-party account group and assigned the number range to it.
    4. Defined Partner functions (SP, SH, BP, and PY) for the account group
    5. I mapped the CRM classification for customers (B) to the created account group (CRM Customer)
    6. I synchrponized the fields for the account group created and the BP roles in CRM including changes on a per client (BUPA) basis.
    7. I redowloaded all the cutomizing objects (though i only needed the DNL_CUST_KTOKD) for the sake of the mappings directly in CRM or R/3 Account group maintenance during the creation of the BP.
    8. I customized the filter settings in BUPA_MAIN and included the BUT100 table for the filetring of the customers who were created as SP, BP, PY, or SHand who belonged to the Customer group we had created. (BUT000->BU_GROUP & BUT100->RLTYP) for source site CRM.
    9. Activated the necessary function modules through transactions COM_BUPA_CALL_FU in ERP and CRMC_BUT_CALL_FU in CRM according to [http://help.sap.com/saphelp_crmscen70/helpdata/en/60/85b5d333f4174b8e982c1c15db35f3/frameset.htm]
    10. Using transaction R3AS i sought to replicate the BUPA_MAIN object.
    Because of the few customers created in CRM, it only executes within a single block so the queues would be empty by the time SMQ1 and SMQ2 are executed. R3AM1 shows it as running. SMW01 shows the above error.
    When creating a BP through the tx code BP, the main error would be Technical error(Incomplete) and the two other errors as mentionme above would also be there
    Is there anyone out there who has met this very same problem or knows the solution to this.
    Thanks in advance.

    We managed to get a solution to the problem. Here it goes:
    When a new adapter object (e.g a custom one) is created, the SMOFOBJECT table is populated with the entry and, in turn, the SMOFUPLMAP is populated with the object and the mapping module for uploading to R/3. During the upload process, a search for custom mapping modules is done and if not found the standard mapping modules are used. However, and it seems weird since it seems as if it applies to the BUPA_MAIN object or the corresponding mapping module (BUPA_MWX_BDOC_UPLOAD_MAIN_R3), there has  to be a one-to-one mapping between an mapping module and adapter object.
    I had created a custom adapter object (Z_BUPA_MAIN) to which I wanted to put some custom filters and did not want to test with the standard object. So two objects using the same mapping module ended up existing  in the SMOFUPLMAP table (one-to-many mapping). The function module in which this happens is the GET_UPL_FUNCTION_FOR_OBJ.
    So the solution would be to delete the object if it is not needed or to maintain the SMOFUPLMAP table to remove the entry. When you delete the object, it sometimes does not automatically/subsequently remove the entry in SMOFUPLMAP, so manual maintenance has to be done or the same object has to be recreated and have the mapping module allocated. After this, the problem would be solved. What is weird to me is that the only one-to-one mapping is allowed. I created a custom object for the download of conditions and I did not get that error. So it means that in this case you would have to copy the mapping module and create a custom one for the custom object.

  • Extract fields from the SOAP body during mapping

    Hi all,
    I have an Abap Proxy to SOAP scenario with a main payload and an attachment. During mapping I need the reference of the attachment to store the reference in the main payload. I don't need the attachment itself.
    SOAP-Body:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Eingangs-Message
      -->
    - <SAP:Manifest xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:wsu="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="wsuid-manifest-5CABE13F5C59AB7FE10000000A1551F7">
    - <SAP:Payload xlink:href="cid:payload-E742FF47D930DE5CE1000000C107826A @sap.com">
      <SAP:Name>MainDocument</SAP:Name>
      <SAP:Description />
      <SAP:Type>Application</SAP:Type>
      </SAP:Payload>
    - <SAP:Payload xlink:href="cid:payload-EE42FF47D930DE5CE1000000C107826A @sap.com">
      <SAP:Name>hugo.txt</SAP:Name>
      <SAP:Description />
      <SAP:Type>ApplicationAttachment</SAP:Type>
      </SAP:Payload>
      </SAP:Manifest>
    I need the attachment reference as string inside my main payload: cid:payload-EE42FF47D930DE5CE1000000C107826A @sap.com
    I wrote an user defined function to select the MessageId, but the MessageId is only part of the reference to the main payload.
    String constant;
    java.util.Map map;
    map = container.getTransformationParameters();
    constant = (String) map.get(StreamTransformationConstants.MESSAGE_ID);
    return constant;
    Has anybody an idea to get the reference of the attachment from the SOAP body with an user defined function or an adapter module?
    Thanks and kind regards
    Frank

    Hello,
    thank you all for the information. I found a solution for my problem on the sender side. I wrote an own helper class with  the method create_attach_from_txt_withref. This method  build an attachment with an own reference and write the reference back to the payload.
    This reference will not be changed within the execute_asynchronous method of the proxy.
    Method parameters:
    P_DATA        Importing   Type     STRING
    P_TYPE        Importing   Type     STRING
    P_NAME        Importing   Type     STRING
    P_ATTACHMENT  Exporting   Type Ref IF_AI_ATTACHMENT
    P_AREF        Exporting   Type     STRING
    Method coding:
    METHOD create_attach_from_txt_withref.
      DATA: lo_attachment TYPE REF TO cl_ai_attachment,
            l_payload     TYPE REF TO if_xms_payload,
            l_pref        TYPE        sxms_mf_s,
            l_guid        TYPE        guid_32,
            l_aref        TYPE        string.
      CLASS cl_ai_factory DEFINITION LOAD.
    " create the attachment
      p_attachment = cl_ai_factory=>create_attachment_from_text(
                    p_data = p_data             " attachment data
                    p_type = p_type             " attachment type
                    p_name = p_name ).          " attachment name
    " we need an implementing class of the interface if_ai_attachment
      lo_attachment ?= p_attachment.
    " get the new payload
      l_payload = lo_attachment->get_payload( ).
    " get the reference of the payload
      l_pref = l_payload->getreference( ).
    " build an own reference
      CALL FUNCTION 'GUID_CREATE'
        IMPORTING
          ev_guid_32 = l_guid.
      CONCATENATE 'payload-' l_guid '@sap.com' INTO l_aref.
      CONCATENATE 'cid:'     l_aref            INTO l_pref-href.
    " set our own reference
      l_payload->setreference( reference = l_pref ).
    " write back the modified payload
      lo_attachment->set_payload( p_payload = l_payload ).
    " return of the reference
      p_aref = l_aref.
    ENDMETHOD.
    If anybody has an idea how to read the soap body within an adapter module please let me know.
    Regards
    Frank

  • OWB 11.2 internal error during mapping generation

    Dear all,
    Ever since switching to OWB 11.2 I have been sporadically receiving unexplicable errors during mapping deployment. It only happens when I generate more than 1 mapping simultaneously, and it appears to be completely random. One or more mappings will fail during the generation phase of the deployment with an 'internal error', after which I get the option to continue deployment of those mappings that did generate correctly. What I usually do next is trying to deploy the failed mappings again, which always works - the internal error does not reoccur. But it seems to be that this second generation does not work properly either.
    For example, today I had to redeploy my entire set of mappings, due to a server change. Of the 60 mappings I had, about 5 failed with the forementioned error. (Sadly I can't include the exact error here since the job logs in the control center do not record this failure to generate, it looks like the failed mappings never were included in the job in the first place.) One of them I deployed aftewards, and found the query in the pacakge to look like:
        INSERT
        /*+ APPEND  */
        INTO
          "SA_BETMD_01" "SA_BETMD_01"
          ("DEWNKNR",
          "DEBTMCE",
          "DEBTMOM",
          "DEBTMO2",
          "DEBTMO3")
          (SELECT
    /*+ NO_MERGE */
    /* DRBETMD_RS.INOUTGRP1 */
      "DRBETMD_RS"."DEWNKNR" "DEWNKNR",
      "DRBETMD_RS"."DEBTMCE" "DEBTMCE",
      "DRBETMD_RS"."DEBTMOM" "DEBTMOM",
      NVL("DRBETMD_RS"."DEBTMO2", "DRBETMD_RS"."DEBTMOM")/* ATTRIBUTE NVL_BTMO2.OGRP.DEBTMO2: EXPRESSION */ "DEBTMO2",
      NVL("DRBETMD_RS"."DEBTMO3", "DRBETMD_RS"."DEBTMOM")/* ATTRIBUTE NVL_BTMO3.OGRP.DEBTMO3: EXPRESSION */ "DEBTMO3"
    FROM
      "SRC"."DRBETMD_RS"@"SRCDBP@SAFE_SRC_PRD_RET"  "DRBETMD_RS"
        ;However, generating the preview code in OWB results in a more correct and complete version of the code:
        INSERT
        /*+ APPEND  */
        INTO
          "SA_BETMD_01" "SA_BETMD_01"
          ("DEWNKNR",
          "DEBTMCE",
          "DEBTMOM",
          "DEBTMO2",
          "DEBTMO3",
          "DEBTMO4")
          (SELECT
    /*+ NO_MERGE */
    /* DRBETMD_RS.INOUTGRP1 */
      "DRBETMD_RS"."DEWNKNR" "DEWNKNR",
      "DRBETMD_RS"."DEBTMCE" "DEBTMCE",
      "DRBETMD_RS"."DEBTMOM" "DEBTMOM",
      NVL("DRBETMD_RS"."DEBTMO2", "DRBETMD_RS"."DEBTMOM")/* ATTRIBUTE NVL_BTMO2.OGRP.DEBTMO2: EXPRESSION */ "DEBTMO2",
      NVL("DRBETMD_RS"."DEBTMO3", "DRBETMD_RS"."DEBTMOM")/* ATTRIBUTE NVL_BTMO3.OGRP.DEBTMO3: EXPRESSION */ "DEBTMO3",
      NVL("DRBETMD_RS"."DEBTMO4", "DRBETMD_RS"."DEBTMOM")/* ATTRIBUTE NVL_BTMO4.OGRP.DEBTMO4: EXPRESSION */ "DEBTMO4"
    FROM
      "SRC"."DRBETMD_RS"@"SRCDBP@SAFE_DGN_PRD_RET"  "DRBETMD_RS"
        ;The same goes for other packages, all of which crash due trying to insert NULL values in a mandatory column! (In case, DEBTMO4.)
    Funny enough, if I generate the mapping again a bit later - without making any changes to the mapping - the code is complete and everything works properly.
    Does anyone else ever had this problem? My main problem is that I can't just reproduce this problem, so I can't exactly report it as a bug and expect it to be solved...
    Kind regards,
    Kurt Geens

    Good morning Dave,
    I do mean during deployment. As you probably know all too well, the deployment of a package is split in two parts: generation of the code, and the actual deployment. The internal error occurs during that first part - the generation of code. The exact steps I went through when the error occured are the following:
    1) I selected about 15 mappings, and chose to 'replace' these mappings in the database. The code was generated, with 4 mappings having the forementioned 'internal error'. After pressing the play button the deployment of the 11 remaining packages continued without problem.
    2) Within the same session, I selected the 4 failed mappings, and chose to 'replace' these again. The generation and deployment was succesful - no internal errors occured.
    3) I exited OWB and started a daily workflow process. One of the mappings that had an internal error in step 1 crashed with a 'cannot insert null into' error.
    4) I restarted OWB, opened the mapping, chose to generate the code, and compared the generation result with the package code in the database. This resulted in the difference mentioned in my original mail.
    5) I deployed (replace) the mapping once more, and verified the code in the database. This time the code was complete (no missing column).
    Regards,
    Kurt

  • Error during Mapping

    Hello,
    My XI 2.0 scenario :
    Flat file => File adapter => XI => IDoc adapter => SAP 4.7
    The File adapter reads the file successfully & passes to the Integration Server. In XI XML message monitor (SXMB_MONI), I'm getting the following error ...
    ====================
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Request Message Mapping
      -->
    - <SAP:ErrorHeader xmlns:SAP="http://sap.com/exchange/MessageFormat">
      <SAP:Context />
      <SAP:Code p1="Error during mapping" p2="--- Creating Java mapping com.sap.xi.tf._R_MsgMap_1_ --- Using MappingResolver with context URL /sapmnt/XID/global/xi/mapping/http%3A%2F%2FABCXYZ%2Ecom%2Fxi%2FDev%2F/bc52cef0be3411d8b277cade640701c6/ --- Load of com/sap/xi/tf/_MsgMap_1_.class from /sapmnt/XID/global/xi/mapping/http%3A%2F%2FABCXYZ%2Ecom%2Fxi%2FDev%2F/bc52cef0be3411d8b277cade640701c6/ failed. --- Class not found: com.sap.xi.tf._MsgMap_1_ --- java.lang.ClassNotFoundException at RUMappingJava.load(): Could not load class: com.sap.xi.tf._MsgMap_1_ Class not found: com.sap.xi.tf._MsgMap_1_ --- com.sap.aii.ibrun.server.map.MappingRuntimeException: at com.sap.aii.ibrun.server.map.MappingRuntimeException.code_STYLESHEET_OR_CLASS_NOT_FOUND(MappingRuntimeException.java:91) at com.sap.aii.ibrun.server.map.RUMappingJava.load(RUMappingJava.java:119) at com.sap.aii.ibrun.server.map.RUMappingJava.execute(RUMappingJava.java:40) at com.sap.aii.ibrun.server.map.RURunner.run(RURunner.java:58) at com.sap.aii.ibrun.server.map.RUManager.run(RUManager.java:66) at com.sap.aii.ibrun.sbeans.map.MappingRequestHandler.handleRequest(MappingRequestHandler.java:62) at com.sap.aii.ibrun.sbeans.map.MappingServiceImpl.processFunction(MappingServiceImpl.java:72) at com.sap.aii.ibrun.sbeans.map.XMappingServiceObjectImpl0.processFunction(XMappingServiceObjectImpl0.java:24) at com.sap.aii.ibrun.sbeans.map.MappingServiceKey.processFunction(MappingServiceKey.java:10) at java.lang.reflect.Method.invoke(Native Method) at com.inqmy.services.rfcengine.RFCDefaultRequestHandler.invokeBean(RFCDefaultRequestHandler.java:73) at com.inqmy.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:47) at com.inqmy.services.rfcengine.RFCJCOServer.handleRequest(RFCJCOServer.java:69) at com.sap.mw.jco.JCO$Server.dispatchRequest(Unknown Source) at com.sap.mw.jco.rfc.MiddlewareRFC$Server.nativeListen(Native Method) at com.sap.mw.jco.rfc.MiddlewareRFC$Server.listen(Unknown Source) at com.sap.mw.jco.JCO$Server.listen(Unknown Source) at com.sap.mw.jco.JCO$Server.run(Unknown Source) at java.lang.Thread.run(Thread.java:479) ---" p3="" p4="">MAPPING.GENERIC</SAP:Code>
      <SAP:Text language="EN">Error during mapping</SAP:Text>
      </SAP:ErrorHeader>
    ====================
    MsgMap_1 is the Message Mapping defined - mapping the flat file structure to the IDoc structure.
    Do I have to do more than just create the Message Mapping in the Integration Repository ? In the Integration Directory, the Interface Mapping (from Repository) is used.
    Any help is greatly appreciated.
    Regards,
    Homiar.

    Hi Homiar,
    Need a little more detail.
    The directory points to the interface mapping.
    The Interface mapping points to the message mapping.
    What type of message mapping are you using?
    - Graphical mapping.
    - XSLT.
    - Java.
    - Abap.
    The main problem is "java.lang.ClassNotFoundException"
    Do other mappings work in your system?
    Jason

  • Read data from Table at XI during Mapping

    Hi experts
    How we can pick data from one database table during Mapping, the table is at XI system.
    when we are picking data from table at R/3, we are using RFC Function Module/ BPM, can we pick data from XI database table during mapping ?
    what will be the steps to pick it ?
    Please Help.
    Regards,
    Study SAP

    hi Study Sap
    You may use RFC lookup
    kindly follow these links for RFC lookup
    RFC Lookup.
    Look ups.
    /people/francesco.bersani/blog/2007/03/05/data-lookup-optimized
    /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
    /people/morten.wittrock/blog/2006/03/30/wrapping-your-mapping-lookup-api-code-in-easy-to-use-java-classes
    /people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function
    Use this crazy piece for any RFC Mapping Lookups!
    /people/sravya.talanki2/blog/2005/12/21/use-this-crazy-piece-for-any-rfc-mapping-lookups
    SAP XI Lookup API
    /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
    Lookup’s in XI made simpler
    /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
    regards
    Sandeep Sharma
    PS if helpful kindly reward points

  • Error during mapping service, RFC-XI-File Adapter

    Hello,
      I have the following problem: I am using RFC to send some data to XI and then to File Adapter, however I get a short dump with "5990 Error during mapping service in XI". Even though mappings works, I tested using the document that comes in XI in Repository without any errors.
           What does this error means and is there any way to get more detailed explanation of my error. Thank you in advance for your help,
                   Dmitriy Mindich

    Synchronous RFC
    1. CALL FUNCTION func DESTINATION dest
                         parameter_list.
    Asynchronous RFC
    2. CALL FUNCTION func STARTING NEW TASK task
                    [DESTINATION {dest|{IN GROUP {group|DEFAULT}}}]
                    parameter_list
                    [{PERFORMING subr}|{CALLING meth} ON END OF TASK].
    Transactional RFC
    3. CALL FUNCTION func IN BACKGROUND TASK
                         [DESTINATION dest]
                         parameter_list
                         [AS SEPARATE UNIT].
    Use help function of your ABAP editor for more details.
    Regards
    Stefan

  • Unexpected error during mapping execution

    Hello,
    we are implementing business intelligence for Siebel 8.1. Having one strange issue and hoping anybody could help us out.
    We are using OWB 10.2.0.1. Certain error appears during mapping execution LOAD_SR which basically loads service requests from Siebel DB to data warehouse.
    The mapping is using two tables as input (S_SRV_REQ and S_SRV_REQ_X) which are joined by S_SRV_REQ.ROW_ID = S_SRV_REQ_X.PAR_ROW_ID (+) using Joiner operator, because I always need extension table (S_SRV_REQ_X) rows either filled either containing only nulls (when there is no corresponding extension row). Sadly, this does not work, during execution it generates:
    Error:
    ORA-00997: illegal use of LONG datatype
    ORA-06512: at "DWH_ADM.LOAD_SR", line 32
    ORA-06512: at "DWH_ADM.LOAD_SR", line 3507
    ORA-06512: at "DWH_ADM.LOAD_SR", line 4553
    ORA-06512: at "DWH_ADM.LOAD_SR", line 9984
    ORA-06512: at line 1
    Warning:
    ORA-00997: illegal use of LONG datatype
    In summary, these join conditions generate same error as above:
    S_SRV_REQ.ROW_ID = S_SRV_REQ_X.PAR_ROW_ID (+)
    S_SRV_REQ.ROW_ID (+) = S_SRV_REQ_X.PAR_ROW_ID (+)
    S_SRV_REQ.ROW_ID = S_SRV_REQ_X.PAR_ROW_ID
    Strangely, when I use join condition S_SRV_REQ.ROW_ID (+) = S_SRV_REQ_X.PAR_ROW_ID, it works. But then right join is used and some records get rejected by joiner operation (those who do not have corresponding rows in extension table).
    Could someone help me with this issue?
    Any feedback would be greatly appreciated. Thank you for your time reading this!
    Edited by: user8872556 on Sep 28, 2011 2:21 AM
    Edited by: user8872556 on Sep 28, 2011 2:23 AM
    Edited by: user8872556 on Sep 28, 2011 2:23 AM

    We still were not able to solve this issue, would greatly appreciate any effort to help us out.

  • How to throw a permanent exception during mapping?

    I'm using the java coding: "throw new RuntimeException(message);" to trigger an error during mapping.
    This will set the message status to: "System error, manual restart possible".
    How can I throw a permanent exception during mapping? So that the message is set to error but will NOT be restartable.

    Hi,
    Any error in  asynchronous mode in XI will be in a Restart Mode.  I dont think this can be done.
    /people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping
    /people/sap.user72/blog/2005/11/29/xi-how-to-re-process-failed-xi-messages-automatically
    Regards,
    Bhavesh

  • SAP authentication plug-in needs to have been selected during the installation

    Can anyone help me with an issue I have with the SAP authentication setup please. Unfortunately our BI 4.0 SP4 installation was installed without the SAP authentication being selected. On the setup document I have it says that the SAP authentication plug-in needs to have been selected during the installation. Does anyone know if it is possible to set this up retrospectively?
    The document can be found on the following link. Setting up the SAP plug-in - Business Intelligence (BusinessObjects) - SCN Wiki
    Thanks
    Simon

    Hi Simon,
        As Sebastian said, this is a default installation, but you must select the correct one that you need, I guess that Enterprise is the default one.
    Regards

  • Product selection during TLB run with SCM 701 (EHP1)

    Dear All,
    We are on SCM 700 with EHP1.
    I have activated the business frame work function using txn: SFW5 - SCM_APO_DP_SNP_CTM to include the product selection during TLB run. But I observed that product selection has appeared only in the TLB run (txn: /SAPAPO/SNP04) for background selection but not in the Interactive TLB run (/SAPAPO/SNPTLB).
    How can get the product selection in Interactive TLB selection as well so that multiple planners can use the TLB sessions at the same time as long as products are not same.
    Please advise & thanks in advance
    Venkat DR

    Hello Venkat,
    I do not see the business function SCM_APO_DP_SNP_CTM when I open the txn SFW5. It only shows me enterprise business functions, which has ony CA, ERP, Financial functions. But not the ones I needed.
    Can you pls tell me how to see that function ? And why these functionalities given to be activated in SCM 7.0 ?
    Thanks
    Venkat

  • Xi runing out of memory during Mapping runtime..

    Hi I have a a scenario where the a certian field in the source can result in multiple line items in the target... I saw that when the the line items increases to over 50,000 lines in the target I get thsi mapping exception -
    During the application mapping com/sap/xi/tf/_MM_Map1_2_ a com.sap.aii.utilxi.misc.api.BaseRuntimeException was thrown: RuntimeException in Message-Mapping transformatio~
    When I reduce the number of potential line items that can be generated then the mapping runs fine... this mapping has a lot of queue java functions. This leads me to believe that that the issue is related to a memory issue...
    How can i overcome this? Are there parameters that can be set to provide more system resources during mapping runtime.

    Hi Aravind,
    your input file is too large thats why you are getting that error.
    Asks your BASIS team to increase the java heap memory.
    Check this link
    Start java engine failure: how to increase space for object heap
    Regards
    Ramesh

  • RFC call during mapping?!

    Hi @ all,
    I have a question I like to call a RFC function during mapping. Is this possible and if - how to do that :-)??
    THX Matt

    Hi Matthias,
    It is possible to do that.
    If you have SP13, SAP provides a RFC API which can be called during the mapping. Refer to this document:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-code-samples/xi mapping lookups rfc api.pdf
    Also check this weblog :
    /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
    For pre-SP13 systems, refer to this How-To
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-how-to-guides/how to perform sap data lookups within xi mappings
    Cheers
    Manish

  • Alert Configuration during Mapping

    If Source XML does not have some values, I have to create alert from PI.
    I have to send Mail to Sender.
    How I can configure alert during mapping.
    I need step by step solution as I am new for Alert.

    Hi,
    You can do it in two ways,
    when Source message missing some fileds ,then you can check Condition in Receiver determination,then create receiver mail adapter to send an email its very simple.
    or
    When some fileds misisng in source message,when will happen your message mapping is it fails??if yes then then you can raise alerts for mapping errors.
    SEARCH IN SDN for step by step guides to create alerts.
    Regards,
    Raj

Maybe you are looking for

  • Photoshop missing in bridge tools menu since CC2014 upgrade

    Photoshop is missing from the Bridge Tools menu since my CC2014 upgrade. How do I get it back? Any help? I'm dead in the water. r.

  • Quantity differences in MC.D and MRN9 report

    Hi Experts, Could you please help me in understanding when there could be a difference in the quantities for a materil in reports MC.D and MRN9. Also, can you please explain briefly how the values are calculated in these reports. Best regards, Raghav

  • 3rd gen 8Gb non continually reboots - what to do?

    I went to add some songs to my nano and iTunes said there was a firmware update, so I said yes to install it and when the iPod rebooted, it just kept rebooting again and again. The Apple logo shows up and then 5 seconds later the screen goes blank an

  • How to make it

    I have a RDF file, <rule:Imp> <rule:head> <rule:Atom>      <rule:rel>worksWith</rule:rel> <rule:atomArg>           <rule:Var>           <rule:varName>X</rule:varName>           </rule:Var>                     </rule:atomArg>      <rule:atomArg>      

  • EBS BAI / BAI2 Format Standard File Structures in SAP

    Hello Collegues We have standard file structures which can be viewed in T.code SE11 for LockBox such as FLB01-FLB09 etc., Does anyone know the structure names for EBS BAI or BAI2 or NACHA format. Also, does SAP allow to process / clear a EBS BAI2 or