One Message Two Possibles receivers (iDoc or BAPI) in an System

Hi All,
My Scenario is:
JDBC - > BAPI or IDOC
the legacy system sends customers to SAP XI... and those customers could be old or new...
so... in my interface... I ask with a RFC LookUp.. if the customer exists or have to create a new one.
for create we use the iDoc: DEBMAS06... but it doesn't support modify a customer.
Modifications with: BAPI: BAPI_CUSTOMER_CHANGEFROMDATA1.
which is the best way to do this???
2 messages mappings??? with 2 receivers determination???
1 message mapping whit 2 diferent messages?? and 1 receiver???
Have read about Enhanced Receivers... but doesn't work...
Help Please....
Thx, and Regards

In the Configuration Part of the Integration Builder, in the Interface Determination you can add more Inbound Interfaces, even the same one twice.
When you do that, a new column appears between the two you already had, named 'Condition'.
In here you can select all the values from your (Outbound) Interface and compare them to a fixed or dynamic value of your choosing. The interface will then use the Interface Mapping you selected only when the condition is true. This way you can let the same outbound message use multiple possible mappings/interface mappings.
Don't forget that you now need to make a Receiver Agreement for every condition you added.

Similar Messages

  • One message, two communication channels

    Hi,
    I have a problem of choosing communication channel after/during message mapping. In message mapping I perform lookup into database table and according to return value i need to choose communication channel. Return value from table is inserted to the message.
    In receiver determination I have condition based to that return value. If return value is not EMA, use party1( and service1) and if return value is EMA, use party2( and service1)
    Like this
    (/INVOIC01/IDOC/E1EDK01/ACTION ≠ EMA) -> Party1
    (/INVOIC01/IDOC/E1EDK01/ACTION = EMA) -> Party2
    But this does not work. It works okay, if i send value EMA from R3, like manually insert it in WE19, correct communication channel is selected. But if value EMA is inserted
    within mapping, the other CC is always selected. Value EMA is correctly in the message if i check it from output.
    Best Regards
    Pekka Pottonen

    try this:
    in Expresion Editor Put this.
    /INVOIC01/IDOC/E1EDK01[ACTION = "EMA"]
    /INVOIC01/IDOC/E1EDK01[ACTION != "EMA"]
    In condicion Editor put this:
    /INVOIC01/IDOC/E1EDK01[ACTION = "EMA"] = EX
    /INVOIC01/IDOC/E1EDK01[ACTION != "EMA"] = EX
    this will work.,
    I will agree wiht Rodrigo that it should work.
    I would also agree Stefan. As he mentioned the Receiver determination takes places first in the Pipe line process and only after that the message mapping follows.
    But here in this scenario we will have two different receivers for the specific sender service and interface in the initial step, after that condition will get executed and message will be routed to the proper reciever.
    this should work as we implemented this in one of our scenarios.
    ex:
    step 1
    sender A -
    Receiver A
                Receiver B
    step 2.
    /INVOIC01/IDOC/E1EDK01[ACTION = "EMA"]
    /INVOIC01/IDOC/E1EDK01[ACTION != "EMA"]
    In step 2 the proper receiver will be picked up.
    thanks,
    Venkat

  • One message two attributes

    I have a date range that must be populated (From before To Date).  I would like to highlight both date fields when reporting the message.  HOw do I do this?
    Right now my code is....
    if (compareResult > 0)
        // From Date is After To Date - INVALID
        msgMgr.reportContextAttributeMessage(wdContext.nodeDateRange().getCurrentElement(),wdContext.nodeDateRange().getNodeInfo().getAttribute("FromDate"),
        IMessageAttendTrackGroupReportComp.DATE__ERROR__FROM_AFTER_TO, new Object[] {}, true);
        msgMgr.reportContextAttributeMessage(wdContext.nodeDateRange().getCurrentElement(),wdContext.nodeDateRange().getNodeInfo().getAttribute("ToDate"),
        IMessageAttendTrackGroupReportComp.DATE__ERROR__FROM_AFTER_TO, new Object[] {}, true);
        returnValue = false;
    which reports the message in the message box twice  - not what I want

    Hi Diane,
    Unfortunately you can't report two same messages for context attribute, but see only one.
    One of the features of displayed message is that you can click on it and navigate to the errorneous element, e.g. input field.
    It is impossible to use one link to navigate to two element simultaneously
    But in your case if you are reporting the message "From date is after to date" you may highlight only From date.
    Best regards
    Ivan Dulko
    Edited by: Ivan Dulko on Jun 2, 2008 11:42 PM

  • No Idocs arrived from the source system.

    Dear All,
    Please read this issue carefully.
    Error Message is that
    "No Idocs arrived from the source system."
    In the Details Tab:
    Trasnfer( IDOCS &TRFC):Missing Messages or warinings.
    Request IDOC:Application Documnet posted from BW side and it is green..There is a request BW IDOC number  sent to R3.
    Where as an InfoIdocs 1:Sent not arrived :Data passes to the Port is ok.
    Here i can see there is one idoc frm  OLTP R3 side ansd no incomming idoc for BW side
    I went to r3 side bd87 and found that idoc is posted well with status 53.
    This is happing in Bw for each iinfopcakage is running?

    Hi,
    go through this link...
    [https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=noidocsarrivedfromsource+system&adv=false&sortby=cm_rnd_rankvalue]
    System.-> Check RFC connection and clear/process stuck IDOCs.
    Idocs Missing or No Idocs arrived from source
    For this check the TRFC que(SM58).If any Idocs r strucked up there execute them manually.checkin sm58 transactions, you can check the status of your Idocs using BD87 in R/3. Idocs may not be processed because of load on system. You can process them manually from context menu.
    And go to BD87 to process the idoc's ..
    check which idoc has to process...select the idoc and click process ..Then It will push the data into the data targtes,
    Hope it will help you;
    regards,
    NR

  • IDOC Tables with Errors Post System Refresh

    Hi Everyone,
    Is there any Report  or other way through which one can get List of  IDOC Tables with Errors Post System Refresh.
    Thanks,
    Regards,
    - Ishan

    Hi,
    While selecting the Infopackage to run the INIT load, it is taking me to the ECC login screen. Once i enter my credentials, its showing a dump with the message:
    Short text of error message:
    No RFC authorization for user XXXXX ( RSA8 ).
    Long text of error message:
    Technical information about the message:
    Message class....... "RSAR"
    Number.............. 051
    Variable 1.......... "No RFC authorization for user XXXXX ( RSA8 )."
    Variable 2.......... " "
    Variable 3.......... " "
    Variable 4.......... " "
    Please advice.
    Regards
    sneha

  • Send one message to two receivers simultanously

    Hi,gurus:
    I wanna know how can we send one message to two receivers simultanously.
    Our scenario is file to file,and we add two receivers in receiver determinations,and leave the conditions empty.
    But it seems the message was only sent to one receivers.
    Any ideas?

    Hi...
    You should be able to send same file to two different receivers. For that you need to create :
    1. Two communication channels for two receivers
    2. Add two receivers in the Receiver Determination ( under Configure Receivers)
    3. Two interface determination for two receivers
    4. Two receiver Agreements having two different receiver CC.
    5. Only one sender agreement.
    If you have created all the above objects, you should be able to send a file to two receivers.
    Thanks,
    Pooja

  • One Message, Call multiple IDOCS in PI 7.1

    Hello SDN!!
    We are trying to implement a scenario and curious if anyone has done this. We are looking to have one message exposed to another system, which will be mapped and sent to four different IDOCS on the same system. From some blogs it seems this really can't be done except by BPM. Is this the case, and if so, are there any good tips to do the most basic BPM to have this scenario complete? (Also all the documentation seems to be in 7.0)
    Cheers
    Devlin

    Hello from the first response mapping without bpm it states it is not possible with IDOC
    Messages that result from the split in a mapping-based message split are sent using one AE. So only adapters running on the AE are supported. In particular, this means that target IDOC message splits are not supported since the IDOC adapter is not part of the AE.
    The other two blogs are nice, but wrong direction, instead of collecting IDOCs I was hoping to have one message split out to 4 IDOCS,
    Cheers
    Devlin

  • Append two message into one message in BPM

    hi,
    i have to receive two different outbound message interface in fork step. as soon as two message received
    i have to append those message to one message as below;
    A message
    1001 AAAA  BBBB CCCCC
    1002 DDDD  BBBB DDDDD
    B message
    1003 CCCC  1321 12213
    1004 DAFD  DDDD DDDDD
    1005 EDDD  DDDD DDDDD
    target message for C
    1001 AAAA  BBBB CCCCC
    1002 DDDD  BBBB DDDDD
    1003 CCCC  1321 12213
    1004 DAFD  DDDD DDDDD
    1005 EDDD  DDDD DDDDD
    and then i have to send C
    is it possible on BPM? i think not mapping issue and correlation.
    how can i append two abstract message to one abstract message?
    thanks
    venjamin

    hi all,
    BpmPatternCollectMessageToBeCollected in basis in ir is not multi-row,  this message type structure is just for individual message..
    in my case, source message type can be received multi record in row in once.
    so, what i want to say is interface mapping regarding
    appending two abs message into one inbound message for transformation.
    if it is possible, we may not need to container operation step because we already have bundled message in target abstract message. we can just send target abstract message.
    if it is not possible, how do you map to use in transformation step? and configure container operation?
    container operation should be appened from one structure message into one multi message.
    does it make sense?
    thanks
    venjamin

  • One file to be sent to one of two message types.

    Hi,
    I have gone through many other messages but didn't get an answer. Please read the issue.
    I have one file with 4 (suppose) records out of which 2 records go to one message type and the rest to other.
    I have two message mappings for each message type (same basic type), one MI and two OM's.
    On the confic side I have created all required paths.
    When I put a file through its been picked up and in the message monitoring it shows as if they are scheduled to be sent but they are not creating any IDOC's. From past few days they are in the scheduled mode only.
    Can anyone please help me. If I am not clear, I will explain in detail.
    Thank you, Regards,
    Mohana.

    Mohana,
    I think there are few entries in your queues. Since I cannot understand whether it is an inbound or outbound please go to SMQ1 and SMQ2. If you see any entries check all of them and delete them. So once deleted test it once again.
    Regards,
    ---Satish

  • Combine IDoc and RFC Respone in one Message Type

    Hello,
    I need to have the possibility to store the data of one IDoc and one RFC Response in one Message Type.
    The structure should be something like this:
    IDoc_AND_RFC_RESPONSE (root)
    --item (0..onbounded)
    ID (Attribute, type xsd:string)
    IDOC (Elemtent, type IDOC <--unfortunately not possible in data type definition)
    RFC_Response (Element, type RFC_Response <--unfortunately not possible in data type definition)
    The goal is to merge 2 messages (idoc data and the data of a rfc response) into 1 message with logical connected items.
    e.g.
    IDOC (message 1)
    --ID 01
    IDOC_DATA_01
    --ID 02
    IDOC_DATA_02
    RFC_Response (message 2)
    --ID 01
    RFC_DATA_0101
    RFC_DATA_0102
    --ID 02
    RFC_DATA_0201
    I need this data to be transformed into:
    IDoc_AND_RFC_RESPONSE
    --item
    ID 01
    IDOC
    IDOC_DATA_01
    RFC_RESPONSE
    RFC_DATA_0101
    RFC_DATA_0102
    --item
    ID 02
    IDOC
    IDOC_DATA_02
    RFC_RESPONSE
    RFC_DATA_0201
    The problem ist NOT how to do the mapping, BUT how to define the data type of the target message.
    The IDoc and the RFC have a very complex structure so manually building the structure is not possible.
    Thanks for your help.

    Hi,
    thank you for your hints.
    - How can I define one interface with 2 message types? I work with XI 3.0.
    - Manually manipulatiing the xsd files is what I wanted to avoid (besides that, there is no possibility to get the rfc as xsd, only wsdl). Besides that, I tried to extract the IDoc xsd and imported it as message type, but there is an error message telling me "Schema to be handled does not contain a definition of type <Data Type Name>", whereas <Data Type Name> is the name I give to the Data Type. I tried the name of the IDoc Type here. Importing the xsd as external definition would work, but that would still not solve the problem as I cannot use the message in my data type definition.
    Maybe I should specify the scenario a bit better:
    I have an R3 System sending an IDoc.
    The Idoc contains multiple items.
    The data in the IDoc is NOT sufficient (and due to warranty reasons and company guidelines, it is not possible to add all the needed data to the IDoc).
    Therefore, the IDoc is passed to an Business Process, where an RFC is invoked (input are the item IDs of the IDoc).
    So afterwar the rfc call, I have all neccessary data per item in 2 messages, the IDoc and the RFC response.
    Now I need to merge the data per item into one message.
    This one message than is splitted into the several items and every item has to be sent separately. So I need a possibility to unite the IDoc with the rfc response.
    Any hint?
    Thanks a lot!

  • I have an iMac desk top, iPad, and two iPhones. Someone (a family relative) has somehow copied text messages, and possibly emails from our iPhones, and sent them to other people. He has had access to my wife's iPhone numerous times. Can I check our iPhone

    I have an iMac desk top, iPad, and two iPhones. Someone (a family relative) has somehow copied text messages, and possibly emails from our iPhones, and sent them to other people. He has had access to my wife's iPhone numerous times. Can I check our iPhones to detect any surveillance apps(bugs) on them?

    Whose Apple ID are you using? It sounds like whoever co-opted the account may have changed the security questions as well.
    Follow the instructions here: http://support.apple.com/kb/HT5665
    What should I do if I don't remember the answers to my Apple ID security questions?
    Try answering them at least once to see if you can get them right, even if you are not sure you remember the answers to your security questions.
    If you are confident you can't remember them, try one of the following:
    If you have three security questions and a rescue email address
    sign in to My Apple ID and select the Password and Security tab to send an email to your rescue email address to reset your security questions and answers. 
    If you have one security question and you know your Apple ID passwordsign in to My Apple ID and select the Password and Security tab to reset your security question.
    If you have one security question, but don't remember your Apple ID password
    contact Apple Support for assistance. Learn more about creating a temporary support PIN to help Apple confirm your identity when you contact Apple Support.
    Note: If you have forgotten your password and answer your security questions incorrectly too many times in a row, you will be unable to try to answer your security questions for a period of time. During that time you will not be able to reset your password and will not have access to your account.

  • The list of extensions for InDesign now have a yellow triangle warning symbol in front of a good many of the extensions and when moused over i get one of two messages:  "Extensions may not function properly because it does not meet the dependency conditio

    The list of extensions for InDesign now have a yellow triangle warning symbol in front of a good many of the extensions and when moused over i get one of two messages:
    "Extensions may not function properly because it does not meet the dependency condition."
    OR
    Extension Status is not consistent with extension set configuration."
    The reason I opened the Extension Manager in the first place was to check to see if I had installed a third party extension.  And I was presented with these warning symbols.  I haven't added anything, I haven't done anything that would cause this.
    Does anyone know how to fix this???
    I am running OSX 10.9.5; Indesign CS6 version 8.0.2 And Adobe Extension Manager version  6.0.8.28.
    Thanks in advance!
    Nina

    Many InDesign pre-installed extensions (Those extensions you have immediately after InDesign installation) define dependency rules in their mxi files. Dependency means that one extension works well only if one or more other extensions are installed and enabled. If this condition is not met, the yellow triangle warning will be shown.
    You can select an extension with warning, click "Advanced" tag page in the lower right panel. You will see "This extension has dependency on: <extension name> ...". Check whether every extensions listed here are available and enabled. If not, enable them. Repeat these steps for all the extensions which have warning.

  • I have 160gb of music on my Classic, 6th Gen (I think) I've just bought it. Is it possible for it to play my songs in a random order, one or two from different albums?

    I have 160gb of music on my Classic, 6th Gen (I think) I've just bought it. Is it possible for it to play my songs in a random order, one or two from different albums?

    To add to what Stonerock has mentioned, you can either create Playlists in your iTunes Library, containing exactly what you want, and then Sync them to your iPod, or you can use the iPod Classic's On-The-Go feature.
    Reading between the lines, I'm going to assume for now that you want to be able to create your preferred listening list while "out and about" - so not near your iTunes library. (You have posted in iPod Classic, after all.) You can do this with the On-The-Go Playlist.
    Look in the Playlists menu on the iPod. It probably contains the Recently Added, Recently Played and other pre-made Playlists that you see in your iTunes Library. At the bottom of the Playlists list, is the On-The-Go showing 0 Songs. Scroll down to it and press the Select (centre) button. The screen will give you instruction on adding songs to the On-The-Go Playlist.
    Basically, if you press-and-hold the Select (centre) button, while highlighting a song, the song title will blink as it is added to the On-The-Go Playlist. Try it, then go back to Playlists/On-The-Go and notice that it will now say 1 Song. (Note, you cannot add a "now playing" song to the On-The-Go Playlist.) Repeat this for every song you want to have in the list. You can also look in the Albums menu, highlight the album title and press-and-hold that to add the complete album to your On-The-Go Playlists with one press. So if you add the two albums to your On-The-Go Playlist, you can then listen to just those two albums.
    To shuffle the songs, turn on Shuffle on your iPod. Either, go into Settings/Shuffle and press the Select button to toggle between Off/Songs/Albums, or on the Now Playing screen, press the Select button three times to reach the Shuffle option, where you use the scroll wheel to move between Off/Songs/Albums, press the Select button to activate it.
    Having added songs to the On-The-Go Playlist, go into it and notice the list of songs and options to Save Playlist (New Playlist 1) or Clear Playlist. If you use Sync to manage your iPod (and that really is the best way by the way), the next Sync will transfer any unsaved On-The-Go and any New Playlist Xs that you have, back to your iTunes Library. You can even remove any song from the current On-The-Go Playlist by highlighting it (in the On-The-Go, obviously) and press-and-holding the Select button.
    If you need assistance in creating a Playlist in your iTunes Library, please ask.

  • IDOC bundling number of idocs in one message

    Hi
    I am using IDOC bundling where I have one message with around 33,000 idocs inbound to PI. Can i break the number of idocs per message so that I can have 5,000 idocs in each message. Is there a paremeter that needs to be changed create a recordset of 5,000 idocs per message or less?
    Also Can I do IDOC packaging when sending the above 33,000 IDOCs to SAP ?
    Please advise.
    Thanks,
    Teresa

    Hi Raj,
    My connectivity is JDBC - PI - SAP.
    I execute a stored procedure to pick up line items and do graphical mapping to conver to IDOCS. According to you the best way is to pick less line items at a time and conver to IDOCs?
    Can i do IDOC packaging at sender side in my scneario though i am already doing IDOC bundling?
    Thanks,
    Teresa

  • One message type different IDoc Types

    Hi All,
    Can we use one message type and different data types based on the requirement in PI mapping.Basically  I want to select mappings based on IDoc ...My requirement is to use different IDoc types for one message type in mapping ...will it work ?
    Thanks ,
    Vinay.

    If you will be wanting to have 1 message producing different IDOCS types  (to be meaning that not just multiple IDOCS of the same type) then this must be done via a BPM as the IDOC adapter will not be able to handle it by itself.  Have a receiver determination step in the BPM for each IDOC type - you'll then be sending each via foreach block.

Maybe you are looking for