Mapping Flexability within XI

Hi,
We have a scenario where the source system required specific return codes in the response xml when the target application is down.
E.g: (SYNCHRONOUS communication)
Scenario 1
XML message is received by XI from source. Message is sent to SAP BAPI and the response is then return to Sender. This has been done and there are no issues
Scenario 2
XML is received by XI but SAP is down. The standard HTTP error code is returned with the description of some kind of runtime error.
My question is:- Is there any way I can map a standard response to the source sys for scenario 2?
Please bare in mind that the source application can only communicate synchronously.
This is what I have tried thus far BUT without any luck:
1 - Developed a BPM with a SYNC/ASYNC bridge and an exception branch. This does NOT work cause the BMP only allows 1 send that closes the async brigde
I would really appreciate it if anyone has any other ideas to help me resolve this challenge?
Coming from a webMethods environment where processing of this kind is real easy. I was hoping XI had the same flexibility!!
Thanx for your help.
Regards
Yackeen

Hi Yakeen,
<i>Is there any way I can map a standard response to the source sys for scenario 2</i>     
Why cant you try using fault messages as response when the actual response fails.
The Fault Message speicifed on the outbound message interface side can return text or URL you specify whenever the SAP system is down.
For more info on Fault Mesage, go thro
http://help.sap.com/saphelp_nw04/helpdata/en/5d/a45c3cff8ca92be10000000a114084/frameset.htm
Cheers
Rashmi

Similar Messages

  • Re-use message mapping from within java mapping?

    Hi there,                                                                               
    I have a question regarding java mapping. What I would like to do is to re-use an existing message mapping from within java mapping.
    Technicaly, message mapping is perfomed by com.sap.aii.mappingtool.tf3.AMappingProgram.execute, right? I would like to call that mapping program for a specifc message mapping from within my java mapping.
    Pseudo java code would look like this:
    public void execute(InputStream in, OutputStream out)
      throws StreamTransformationException {
    com.sap.aii.mappingtool.tf3.AMappingProgram.execute(in,out,'SomeMessageMapping');
    SomeMessageMapping is a message mapping that is defined in the integration repository.
    Is it possible? If so, could you provide me with some details?
    Thank you and best regards,
    Wolfgang

    Hi Wolfgang,
    very interesting idea?
    I would activa a dummy message mapping. than I would have a look in the file directory of the java-stack and try to find out the name of the *.class or *.jar file.
    On the other hand you could generate a tpz-transport-file an unpack this file, to explore the name of the *.class or *.jar
    Unfortunately I do not have access to the file system. So I can't explore the name.
    Regards Mario

  • Is there a way I can use the iPhoto maps function within Keynote?

    Hi,
    I recently brought a Macbook Pro, and am having my first go at using Keynote. Having previously played with iPhoto, there is the map function built in, and I was wondering whether there is a way to use this in Keynote?
    I was hoping to avoid using a screenshot of google maps as its not interactive, and plus quite bland too.
    Any way this can be done?
    Thanks,

    Keynote can not interact with other applications other than launch a web browser, it cant display web content within a Keynote presentation.
    The only way Keynote can be used to display a "live" web content is to launch a browser at a specific webpage, Google Maps for example,
    To try this place a shape on the slide, select it then:
    Inspector > Hyperlink > Enable as Hyperlink > link to webpage;  type in the web address in the URL box

  • FDM Mapping tables within EPMA

    Hi All
    Can anybody tell me wether EPMA can hold the FDM mapping tables?
    Also should we create a new member within the EPMA library can we set up a prompt that requests the user to update the mapping table with the new member?
    Thanks

    Hi
    Thanks for the reply
    Do you know if Kalido will be able to hold an FDM mapping table and wether this could feed into FDM?
    Thanks again

  • Google Maps from within Flex.

    I'm totally new to Flex and have jumped right in at the deep end...
    I'm working on an app for gig lovers.
    Basically you choose your favorite genres of music with check boxes, then put your postcode in and it will tell you the nearest gigs to you and give you details of each one.
    On the right hand side of the app though I would like the app to access google maps somehow and give you a map to the gig.
    Also, it will (probably) need to access google maps in order to assess which gigs are near you.
    Could anyone give me any hints on how to do this?Or just tell me that it can't be done lol.
    Cheers

    Cool.
    Thanks.
    Would it be cheeky if I asked someone to possibly write me a simple walkthrough for building something like this?
    Like I say, I'm very new to the world of Flex

  • Getting a mapping error to propogate from loop block within I.P.

    OK I kinda asked the question as a sub topic under a different heading SXMB_MONI_BPE -> Message Payload not visible in container but didnt really get an answer I'm happy with, so here goes as a main topic!
    The short description:
    I have a mapping step that must reside in a loop block, any mapping errors I want propogated back up to the main container so that they error and appear in the trace within SXMB_MONI in the same visibly obvious way as a mapping step that is not inside a block does.
    The long description:
    I have an Integration Process which splits a source message, then maps the individual messages produced within a forEach block. Unfortunately when there is a mapping error within the block, it does not propogate any meaningful information back to the message trace. Instead it just fails in smq2 with permanent error in inbound bpe processing.
    When I search in SXMB_MONI_BPE there are no process steps returned, as though the  IP was never called by the BPE.
    When I put the whole thing inside a block with an exception path that has an alert step, I do get process steps returned in sxmb_moni_bpe. When I examine the list with technical details I cannot see any "payload" under the table of messages that has been split out, therefor I cannot debug the mappings of individual messages I am looping on.  I have LOGGING, LOGGING_PROPOGATION and LOGGING_SYNC set to 1, and TRACE_LEVEL set to 3 for my IE.
    I have 2 scenarios/requirements:
    1) I put the uncaught mapping exception in the loop blook, and the error is propogated back up and the smq2 error is subsequently not produced (like it would behave if the mapping step was not inside any blocks).
    2) I catch exceptions and raise an alert and then the logging is enhanced sufficiently to enable the individual messages the loop block is looping on to be viewed within the container in sxmb_moni_bpe->list with technical details. 
    The only place I can see the error is in the defaultTrace log file, which is obviously not a suitable method for productive use.  Any solution needs to be usable in day-to-day administration of a production system, even though this is a dev issue at present!
    Thanks,
    James.

    James
    I have used this for throwing smart exceptions in SXMB_MONI
    http://agportal.goldeye.info/index.php?option=com_content&task=view&id=30&Itemid=40
    Not sure if it would work in this instance...
    Barry @ Axon!

  • API0408 Exception throws when open mapping in owb 11.2.0.1

    We got the following error message when openning mapping
    API0408: Within the same namespace domain one object has already used the name
    This exception will throw when the mapping name is the same as the table name. The mapping can be openned if changing the name to some name different from exsiting table name.
    A similar notes in metalink(Note:219649.1 Subject: API0408 followed by java.lang.NullPointerException on Mapping Validation), but it's for 10g specific.
    Do you have any clue on this?

    Looks like you are facing Bug 9662211 CAN NOT ADD AN OPERATOR WITH THE SAME NAME AS THAT OF THE MAPPING
    which is not yet fixed

  • Automatic merging of map files in RoboHelp?

    [Hope this isn't a double post; my first attempt ended in
    network error and forum doesn't seem to have that post]
    My group is charged with developing a help system using
    RoboHelp 7. Output type will be WebHelp. The interface between
    context-sensitive Help system and the target application will be a
    single project's output and a single map file. The plan for help
    development is to divide the work up into multiple layers of
    projects. The final output will be the result of multiple project
    merges from the bottom layer up.
    RH7 enables this methodology with the WebHelp merge
    module...except that it doesn't automatically merge sub projects'
    map ID files (individual BSSCDefaults.h) into the master project's
    map ID file BSSCDefaults.h. I can use a different name for the sub
    projects' map files and import them into the master project, but
    this still does not result in the master's map file being modified.
    The map IDs remain dispersed across the multiple map files within
    the master project.
    Is there a way to get an automatic concatenation of map ID
    files?

    Thanks for the suggestion. I was hoping that the answer would
    be other than that it's a manual procedure outside of RH7, but
    that's the conclusion given my previous [admittedly brief]
    searching within this site and thinking more about the RH paradigm
    (as explained in the Grainge article as well as the other Adobe
    articles).
    For now, I'm going to have the team use the following process
    while we're shaking out our development methodology:
    - each author follows the established naming convention for
    Topic IDs and use his/her assigned map number range when creating
    map IDs which should guarantee that the IDs are unique across all
    projects
    - each author will export his/her projects' map file (for
    java applications) to a subfolder within their project
    - rename the resultant BSSCDefaults.properties file to a
    globally unique filename
    - copy that project-unique properties file to the specified
    folder
    - one person/admin will concatenate the individual properties
    files into a single file to be used by the application developers
    Comments?
    ayf

  • Mapping problem - trying to map lowerlevel field to flat file

    Dear experts,
    I have a rpoblem mapping my data.
    my input-xml looks like this:
    . orderheader
    ...orderdetail (1..n)
    .....delivery header (1..n)
    .......delivery detail (1..n)
    .........invoice header (always max 1 per delivery detail)
    ...........invoice detail (always max 1 per invoiceheader)
    .......delivery detail
    etc
    I have a flat file as output which looks like this
    . RECORD
    ...ORDERNR
    ...ORDERPOSITION
    ...DELIVERYNUMBER
    ...DELIVERYPOSITION
    ...INVOICENUMBER
    ...INVOICEPOSITION
    If there are 2 invoicelines in the input xml, the outputfile should contain 2 records with all same data except invoiceposition. For each delivery-detail line a line in the outputfile must be created. So I mapped "deliverydetail" to RECORD. No problems here.
    Further I mapped invoicenumber (within the invoice header tag) to INVOICENUMBER.
    But when for instance deliverydetail 1 and 2 don't have an invoice, and deliverydetail 3 does, I see this invoicenumber not in record 3 but in record 1. Record 2 and 3 contain no invoicenumber.
    What am I doing wrong here?
    Thanks in advance,
    William

    Hi William,
    One header has multiple items, so here you have to use the oneAsMany node function.
    first input for oneasmany node function is Invoice number and 2nd and 3rd input is InvoiceDetail node.
    Regards
    Ramesh

  • IDOC mapping 1 to 0..unbounded problem in PI 7.1

    All,
    We've recently implemented SAP PI 7.1 but we face an issue at the moment. Let me describe the case
    We have a Source message which is the DEBMAS IDOC.
    Within the IDOC we use mappings for Header data and for Detail Data.
    Mapping the header data is no issue that is a 1 to 1 message mapping to our canonical data.
    BUT
    When we want to use the message split mapping in order to extract the detail data PER line we have discovered a problem.
    When within  a message mapping or within the operation mapping we use as Source the IDOC ( occurancy 1 ) and the target we take our detail canonical message (occurancy 0..unbounded) we are getting the message in our mapping that the IDOC cannot be resolved.
    When we change the target occurancy to 1 then the mapping works well.
    Is there any one facing the same issues as we do.
    thanks in advance

    This is an issue with queues with different length. You should always avoid this, as you cannot be sure, what happens.
    Instead of assigning a single entry queue to a target that expects a multiple entry queue, you should go for a generating function. A generating function delivers as many queue entries as requested.
    In your scenario, just use an empty constant. Of you have a value to be repeated, use CopyValue.
    Regards
    Stefan

  • "SQL Server 2008 Reporting Services does not support map report items"

    Hi,
    I am trying some new feature that are introduced in SQL Server 2008 R2 version. While I try to use "Map" control within it, it threw the following error:-
    "Error 1 The map, Map1, was removed from the report. SQL Server 2008 Reporting Services does not support map report items. "
    -Also, similar kind of error I am getting for "Indicator" control.

    Hi Tej,
    I think you get this error message when you are deploying a report to report server using BIDS, correct?  If not, please provide more details on your scenario :-)
    If I guessed correctly, then this message is a result of trying to deploy a map report (a SSRS 2008 R2 feature) to a non-R2 2008 report server.  When deploying a report of RDL2010 format to a non-R2 report server, BIDS will downgrade the file to RDL2008 format, so that the non-R2 report server can process it.  Any report elements using features not supported in RDL2008 will be dropped during this downgrade process.
    BIDS gets the server version from a report project property called TargetServerVersion:
    http://technet.microsoft.com/en-us/library/ee635898(SQL.105).aspx
    If your report server is indeed the 2008 R2 version, then the TargetServerVersion property should be set to "SQL Server 2008 R2 Reporting Services."  The project property page also has a "Auto Detect..." option if you are uncertain about the version of your report server.
    Hope this helps!
    Cheers,
    LawrenceThis posting is provided "AS IS" with no warranties, and confers no rights.

  • Process Map in Workspace

    Hi all,
    We are using a clustered environment in QA.
    When we click on a Work Item and then on Work Item Details inside the BPM Workspace and then click on the Process Map on the right hand corner of the Work Item Details , we DO NOT see the Process Map and the server fails.
    What could be the possible reason for this?
    Any idea?

    I don't think its possible to hide any activities from the process map. Within studio, you can only hide them from your view but even that functionality is buggy....

  • BPM Mapping Error using JDBC adapter JDBC - SAP -  JDBC

    Hi
    I am facing an issue in XI BPM in my QA system .
    My scenario involves a JDBC sender adapter which calls an SQL in the legacy database , a BPM which process the SQL resultset and IDoc send from BPM to R/3.Once IDoc is send successfully to R/3 XI BPM sends a response back to legacy database.
    There are 4 mapping transforations inside BPM.
    First XI executes an SQL in the database and then transforms it using BPM steps.
    I  have not made any changes in the mapping or within BPM.
    However since last week the BPM is failing . When I checked the error log I found out the error due to mapping transformation in one of the steps.
    In fact XI fails to successfully map in that step.
    The same BPM and mapping works fine in the Production system.
    However when I manually tried to test the BPM and the mappings with Production payload in XI QA system it again failed.
    I believe the message is failing not due to data problem.
    I also tried by deactivating and reactivating the XI sender channel which calls the SQL in the database.
    Then I tried by restarting all backgrounds jobs related to BPM.
    Both apprpoaches failed.
    I am getting the following error in transformation step.
    <b>com.sap.aii.utilxi.misc.api.BaseRuntimeExceptionRuntimeException in Message-Mapping transformatio~</b>.
    Any inputs will be very helpful and rewarded.
    Thanks in advance.

    Please provide more detailed exception trace.
    Also, I have seen some cases where the imported/deployed classes simply disapeared!!!
    I had to make dummy changes in all my message mappings and activate them in order to get them working.
    Regards,
    Henrique

  • 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.

  • Can a Java Mapping be used on non-xml data

    I would like to use a java mapping to transform non-xml formatted data to an IDOC or XML format.
    1) Does the input or output of a Java Map have to be XML.
    2) If possible can the test feature be used to load and test a non-xml data file.
    3) Any comments or lessons learned in this area.

    Hi Johan,
    below are some suggestions for your scenario:
    <i>
    1) Structured flat picked up using J2EE FTP adapter.</i>
    Indeed; you can use the file adapter to receive/retrieve this file from "any" third party system.
    <i>2) Structured flat converted to XML (Using JAVA mapping?)</i>
    When you send any message to XI, it's the adapter's task to convert this message into a XI understandable format i.e. SOAP. So the flat file to XML conversion is not your concern.
    However, if you need to perform any data transformation (input file to IDOC) then you can opt for XSLT (XML stylesheets),  Java mappings or the XI mapping tool within the repository. Based on my own experience with IDOC mapping, I can tell you that XSLT and/or Java mapping is the best way to achieve this kind of mapping.
    <i>3) XML mapped to SAP IDoc using graphical editor.</i>
    See comments point 2)
    Cheers,
    Rob.
    Message was edited by: Rob Viana

Maybe you are looking for

  • HELP How to download music from Musicstore to play on MP3 Player

    I just bought a okley sunglasses with MP3 Player... How can I buy music in a MP3 format on internet... Apparently the only way to buy/download music from internet on a mac it's with the music store but then it won't allow me to convert it into a MP3

  • Trouble with hyperlinking

    I converted a word document that had some hyperlinks to a file on the server and now the hyperlink doesn't work. So I reset the link in Adobe Pro 7 and when I emailed the document, the link was broken again. Why doesn't it retain the links? Thanks fo

  • Adding field on item level of invoice

    Hi, I would like to add one more field into the form of invoice. I changed print program so I have my field calculated.Because I'm a beginner in SAPScript forms I don't know how to add this field in ITEM line. Please advice ! BR Stefan

  • Reimbursement Type Customizing missing

    Hi All, In ESS claim advances application page the following error is appearing : Reimbursement Type Customizing missing . Can any body suggest the solution . I have one more doubt also. I read in one document that for Claim Advances application we r

  • Please provide TVU player, Adobe flash player, and...

    To all public,dont buy any smart phone, since no manufactures provide TVU player, Adobe flash player, and microsoft silverlight player, all this player is need to watch live tv stream on internet, They are not smart, only mobile phone with windows wo