File Sender Dynamic Message Types, is that possible?

Hello everyone,
I have the next requirement and I'm thinking on how to do it, maybe you could give some advices, ideas or suggestions, my scenario should be as follosw:
File -> XI BPM -> R/3 BAPI's Execution -> JDBC Post result from BAPI's
now the problem is that in the file are the transaction codes to execute BAPI's in R/3, so it can contain something like this:
HF28|0804201885813901|1801021295PMXR2008|FP|300|99999|16/04/2008|1905966|0000111836|C|1|242572.47|
DF28|20/04/2008|N|010|010|275-01072-3|94953.76|0.00|
where it has the stucture of header(HF28) and detail(DF28, it can contain any number of details) for F28 transaction BAPI execution in R/3, and now the file can contain info for another transaction codes so the structure is going to be different, now the file name has nothing to differentiate what transaction or transactions are going to be, cause it can contain any number of transactions in any order separated by the @ symbol, now what I need is to loop that info in the BPM and call the corresponding transactions in the order that they are in the file and implement system errors and exceptions handling and even application errors and exceptions handling of the BAPI's, now the problem is that XI have to take the File in a Sender File Adapter Communication Channel but I cant' really be sure of what structure or complex structure(nested for header and details) I'm going to use until I know the transaction code in the headers and details in the file, if anyone has any suggestions or ideas on how I could accomplish this would be really, really appreciated, thanks in advance.
Regards,
Julio Cesar

hi,
You can do this using CONDITIONAL RECEIEVR DETERMIANTION.
In your Reciver Detetmination, you can give ,multiple Recivers and the condition on which the Receiver of the message is to be choosen.
if your file has different structures
one of the approaches:
Configuring Generic Sender File CC Adapter
also this (part 2)
Convert any flat file to any Idoc-Java Mapping

Similar Messages

  • How to Customize Sending of Message Type ORDERS/ORDRSP?

    Hi Experts,
    After saving a ORDER in SAP I will that IDOC ORDERS01 will be send by Message Type ORDERS and a ORDER Confirmation by Message Type ORDRSP.
    How can i Customize that?
    Can somebody help me?
    Thanks,
    Frederic

    Hello Frederic,
    Create output type for both these and maintain the condition record to determine the partners and configure the partner profile for the partner with two outbound message types.
    Regards
    Farzan

  • When I'm trying to submit my account, I'm trying to fill in the postcode but all the time I get an invalid message, how is that possible?

    When I'm trying to submit my account, I'm trying to fill in the postcode but all the time I get an invalid message, how is that possible?

    Account for what? And what postal code re you trying to enter?

  • File sender, dynamic interface

    Hello,
    we are receiving from many partners different messages (e.g. different idocs) in files. All files are stored in the same directory and the filename is only a date/time stamp.
    So from this information I do not know anything about the payload.
    How can I receive this files into XI by the fileadapter and to start teh correct receiver determination, allthough I do not know the sender (but which is in the payload) and the interface (all I know is that it is an IDOC).
    My goal is, that I can maintain also different (Sender)Parties, as I require different Header Mappings for the IDOC adapter to R/3.
    Who can help me???
    best regards
    Werner Magerl

    Hi Werner,
    the receiver can be determinated by X-Path but to have differnt interface is not easy because you have to put in the file adapter channel.
    One (dirty) trick would be to send the messages from file adapter to http adapter. For every receiver (idoc in R/3) you create a third party business system in SLD. You find now by X-Path the right 3rd party receiver and configure the http receiver adapter setting target host = <yourXI> and path = /sap/xi/adapter_plain?service=<yourService>&interface=<yourIF>&namespace=<yourNS>&qos=EO
    1. Message: File->XI->HTTP (X-Path-Receiver, a lot channels)
    2. Message: HTTP->XI->IDoc (normal Receiver, a lot interfaces)
    Regards,
    Udo
    PS: Werner, may be that helps you or not, but please, if you fit in headerfield mapping, can you help me by my question?

  • Multiple files (with same message type) into a single file

    Dear All,
    I am having multiple files(same message type) with details like header data and its line item details in each file. The structure of all the files will be:
    File1    File2   File3
    H1        H2      H3
    L1         L1      L1
    L2        
    L3
    Now my requirement is that after every 10 hours all the files should be picked and merged (append) into a single file as target file. The structure of output file will be now like
    H1
    L1
    L2
    L3
    H2
    L1
    H3
    L1
    Kindly guide on how to proceed on this with BPM or without BPM
    Regards,
    NJ

    Now my requirement is that after every 10 hours all the files should be picked and merged
    (append) into a single file as target file.
    Check the use of "Availability Time Planning" of the adapter in your case
    /people/shabarish.vijayakumar/blog/2006/11/26/adapter-scheduling--hail-sp-19-
    If your requirement is to append you can do so by using the File Construction mode as Append in receiver File adapter
    If your req is to do a N:1 mapping (i.e. merger) then develop a mapping program accordingly...
    Regards,
    Abhishek.
    Edited by: abhishek salvi on Jun 3, 2009 10:30 AM

  • HT5957 I recently updated my iPnone 4 and iPad to the iOS7.0.2 and now if I try to send a message to anyone that has an iPhone it will try to send it as an iMessage and if they are not around a wifi connection it won't try to send it as a text, any sugges

    I recently updated my iPhone 4 and my iPad to the iOS 7.0.2 and now I am having lots of trouble with messaging. I used to be able to send or receive iMessages from other people with iPhones. Or iPads on either of my devises and if the other user was not connected to a wifi connection it would automatically try to send the message as a text message.  Now if I send a message to an iPhone user from my phone and they are not connected to wifi, the message just sits there in limbo, and doesn't notify my that it wasn't sent. I have to manually tap the message and request to send it as a text message, I also can no longer receive picture messages from android phones, and relies to my messages from iPhone users are going to my iPad and not to my phone. Help!!!!

    Try the following:
    Go to Settings > Messages > iMessages > disable
    Go to Settings > General > Reset > Reset Network Settings
    let it do it's thing and reset.
    Then go to Settings > Messages > iMessages > enable
    You'll then have to go back to your Wifi and re-enter your router credentials.

  • JMS sender adapter : message type null is unknown, payload cannot be read

    Hello,
    We are building a scenario Weblogic -> PI through a JMS adapter, but we are getting the following error in the adapter :
    2009-09-29 12:09:58     Information     New JMS message with JMS message ID ID:P<450046.1254218997063.0> received. The XI message ID for this message is e705a65f-3cf6-472a-3675-b04e9862ce45.
    2009-09-29 12:09:58     Warning     JMS message ID:P<450046.1254218997063.0>: message type null is unknown, payload cannot be read and will be empty!
    2009-09-29 12:09:58     Warning     JMS message ID:P<450046.1254218997063.0>: Payload empty or cannot be read.
    2009-09-29 12:09:58     Information     JMS Message was converted to XI message succesfully.
    Despite the fact that the message is not readable, PI creates a message anyway but the payload is empty. It is the same issue as described in this thread :
    How to read Java Object message from JMS Queue using JMS Adapter .
    But there have been no answer there.
    We have read many notes but none are relevant, any ideas ????
    Many thanks,
    GL

    Hallo,
    Have you seen this note:
    [Note 837501 - J2EE JMSAdapter: Empty payloads, unknown JMS message types|https://service.sap.com/sap/support/notes/837501]?
    Seems it can be either message 
    a) does not contain any payload and/or
    or
    b) is not of type TextMessage or BytesMessage
    /Jakub

  • How to send different message types to different partners in purchase orde?

    Hi Folks,
    I have been searching the forum for my question and have not found a solution yet. Maybe there is one out there that can give the solution.
    The situation is as follows.
    PO is created and output is determined for the Vendor and medium is correctly set to 5 (External Message, PDF).
    The requirement is the be able to either manualle add a partner and enter a email address or get it via automatically determination from buyer (Pur.Grp.)
    I have made a new Message type as a copy of neu and only allowed partner BU (Buyer). However that does not seem to work
    Anyone out there that could help?
    Thanks in advance,
    Thomas

    Hi Craig,
    In the print program we call the form z_get_mail_address
        when '5'.
          data:  lvs_comm_type     type   ad_comm,
                 lvs_comm_values   type   szadr_comm_values.
      ... use stratagy to get communication type
    enhancement-section lmedruckf1o_01 spots es_saplmedruck .
          call function 'ADDR_GET_NEXT_COMM_TYPE'
            exporting
              strategy           = nast-tcode
              address_number     = lfa1-adrnr
            importing
              comm_type          = lvs_comm_type
              comm_values        = lvs_comm_values
            exceptions
              address_not_exist  = 1
              person_not_exist   = 2
              no_comm_type_found = 3
              internal_error     = 4
              parameter_error    = 5
              others             = 6.
    end-enhancement-section.
          if sy-subrc <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
               WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          endif.
    *Begin 27-09-2011
          perform z_get_mail_address changing lvs_comm_type lvs_comm_values.
    End 27-09-2011 xkgu
    convert communication data
          move-corresponding nast to intnast.
          move sy-repid           to xprogramm.
          call function 'CONVERT_COMM_TYPE_DATA'
            exporting
              pi_comm_type              = lvs_comm_type
              pi_comm_values            = lvs_comm_values
              pi_country                = lfa1-land1
              pi_repid                  = xprogramm
              pi_snast                  = intnast
            importing
              pe_itcpo               
    we added the following code:
    form z_get_mail_address changing lvs_comm_type type ad_comm lvs_comm_values type szadr_comm_values.
      data: c_recipient(2) type c value $R
            c_buyer(2)      type c value 'ZC',
            l_mail              like lvs_comm_values-adsmtp-smtp_addr.
      tables: pa0105.
        case nast-parvw.
          when c_indkoeber.
    Get mail address in infotype PA0150 subtype 0009.
    nast-parnr must be personal number from HR.
            select single * from pa0105 where
                  pernr = nast-parnr
              and subty = '0010'
              and begda <= nast-erdat
              and endda >= nast-erdat.
            if sy-subrc = 0.
              l_mail = pa0105-usrid_long.
              perform z_get_mail using l_mail. " some logic here
              lvs_comm_values-adsmtp-smtp_addr = l_mail.
              translate l_mail to upper case.
              lvs_comm_values-adsmtp-smtp_srch  = l_mail.
              lvs_comm_values-adsmtp-consnumber = '001'.
              lvs_comm_values-adsmtp-flgdefault = 'X'.
              lvs_comm_values-adsmtp-home_flag  = 'X'.
              lvs_comm_type = 'INT'.
            endif.
          when c_recipient
    Get mail address in PO item (EKPO-AFNAM)
            l_mail = ekpo-afnam.
            perform z_get_mail changing l_mail.
            lvs_comm_values-adsmtp-smtp_addr = l_mail.
            translate l_mail to upper case.
            lvs_comm_values-adsmtp-smtp_srch  = l_mail.
            lvs_comm_values-adsmtp-consnumber = '001'.
            lvs_comm_values-adsmtp-flgdefault = 'X'.
            lvs_comm_values-adsmtp-home_flag  = 'X'.
            lvs_comm_type = 'INT'.
        endcase.
    endform.                    " Z_GET_MAIL_ADDRESS

  • TS3406 Why cant i send a message to more that 30 people? If i do the message app crashes?

    Why, when i open messages, i for one have to select each person individually which is
    Bs in the first place. But if you put any number of contacts over 30 as recipients, as soon as your
    Done typing and push send, the app crashes? This is garbage. This whole 5s is crap.
    Apple needs to fix this and fast (wasnt a problem on my 4s or my 3gs) or im just gonna
    Move to samsung. Unhappy.

    Hi SmoothMoose420,
    Welcome to the Support Communities!
    The article below may be able to help you with this.
    Click on the link to see more details and screenshots. 
    Is it possible that the size of the message was too large, or one of the recipient's contact information is no longer valid?  Did you get any type of error message?
    iCloud: Mailbox size and message sending limits
    http://support.apple.com/kb/ht4863
    Limits on Sending Messages  
    iCloud has several safeguards to ensure that only iCloud members can send messages using the iCloud outgoing mail server. Among these safeguards are reasonable limitations on:
    The total number of messages you can send each day (200 messages)
    The number of recipients to whom you can send each day (1000 recipients)
    The maximum number of recipients per message (100 recipients)
    The size of incoming and outgoing messages (20 MB)
    Cheers,
    - Judy

  • File to IDoc (Message Type - FLIGHTBOOKING_CREATEFROMDAT01) Error

    Hi all,
    Error i'm getting --  "Error: IDoc XML data record: In segment attribute occured instead of SEGMENT"
    Tried removing SEGMENT value to 1 for both segments and for individual segments with no luck ....
    Awaiting your invaluable replies on this thread.
    Thanking you in advance
    Sreedhar Kurella
    Message was edited by:
            Sreedhar Kurella

    Hi Sergio,
    Though i couldnot find exact menu as per your suggestion i followed
    rwb -> comp. monitoring --> Clicked Adapter engine server
    clicked button 'Adapter Monitoring'  which popped up another window where in which upon clicking 'File' , I found following error information :
    Retry interval started. Length : 600000.000s
    Error: File 'C:\Flight01.xml' - deleting after processing failed
    Processing started
    I rechecked the file name (including any accidental spaces) in C drive and again copied the file name from Comm Channel and renamed the file in C drive with same  and reactivated comm channel with no luck ....
    file has no 'read-only' attribute checked .....XI is running on windows 2003 and rechecked the persmission of the file where in which i made sure my user id (nwwadm) has got all permissions on this file...
    still now luck
    btw -- scenario is converting XML to IDoc to 106 client ....as i haven't filled any EDI_DC40 segment, idoc failed in 106 client .... will that failure be any cause of this anamoly behavior on file deletion ? i believe it shouldn't ?
    any pointers pls ?
    Thanks

  • How do I stop firefox from sending a message or note that " do I want this program to change my computer?" It changes some of the settings in my computer; like the color of my task bar changed and other settings too.

    Before nothing happened until just recently when box messages would appear and tell me to click "yes or no" if I want the program to change my laptop. I clicked "No", but sometimes it didn't work, and when it didn't work. When it failed, fire fox changed some of the settings in my laptop. For example, the task bar's color would be changed. Also, it seemed as if fire fox had changed some of the settings into an old version. Yesterday I restarted my laptop, and it just went back to normal like nothing happened. But, for a few minutes later, the box will appear and you have to click yes or no. I clicked the "x" button, and it just changed automatically.

    Check that you do not run Firefox as Administrator.<br />
    Right-click the Firefox desktop shortcut and choose "Properties".<br />
    In the Compatibility tab, make sure that Privilege Level: "Run this program as Administrator" is not selected.<br />
    You also need to check the Properties of the firefox.exe program in the Firefox program directory.<br />

  • My phone is unlock n I can't use internet r bbm r send email r send picture message why is that

    can some one help mi please i can only make call help mi please

    Hi and Welcome to the Community!
    To use the services you mention, you must have an adequate data plan enabled onto your BB from your carrier:
    http://www.blackberryfaq.com/index.php/What_do_I_need_a_Data_Plan_for%3F
    Do you have that?
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Creatintg Source File for GLMAST message type

    Hello All,
    Can anyone help me identify how to fill E1SKA1M-MSGFN for G/L master upload ? Please let me know how to fill the field for activities Delete/Block/Change/Create.
    Thanks
    Antony

    Hi Antony,
    The domain MSGFN has fixed values.
    003     Delete: Message contains objects to be deleted
    004     Change: Message contains changes
    005     Replace: This message replaces previous messages
    009     Original: First message for process
    023     Wait/Adjust: Data should not be imported
    018     Resend
    Regards,
    Brenda

  • Since OS 6 upgrade unable to sync contacts and calendar, receive the following error message: Help Apple improve its products by sending us diagnostic and usage information about iCloud.  By sending this message, you agree that Apple will collect and use

    Unable to sync contacts and calendar with HP Laptop using MS Outlook 2010 and I-phone 4gs since OS 6 upgrade

    The activation server is gone for AA7, but not AA8 as understand it. You will need to do the updates for AA8 to be effective on Win7. It is questionable that it will run on WIn8 (I have no clue for a MAC).
    Your conversation is an example of how many of us got here in the first place. It is fantastic that you were able to hold on and get the problem resolved. Not exactly sure of the solution, but there does seem to be light at the end of the tunnel for folks. Normally, with activation problems like yours, we recommend calling Adobe Support for them to reset the activations. I was just wanting to get a heads up about AA8 on the newer systems. Folks have been successrul on Win7 with the updates, but the results for Win8 are still not known in general. There have been some suggestions, but nothing more. As long as it works for you that is great. For our info, what OS are you running?

  • Need Flat file for Message type DELINS

    Hi Experts,
      It possible to see the flat file for the Message type DELINS ,, If needed means please say how it can  view..
    Advance thanks..

    >My need is to convert the EDI format into SAP.
    As far as I know EDI can be read by SAP as Idoc directly without conversion. At least I would try this.
    I checked in WE20 /partner profiles/ for outbound parameters there is a tab called 'EDI standards' and here you can define the EDI parameters. However there is no such tab for inbound processing.
    What I would do /using transaction code SALE/
    - define logical systems
    - assign the received to the client
    - create RFC port for Idoc processing
    - create distribution model with the correct message type
    - create port as file
    - define or generate partner profiles
    Try to upload sample files via transaction WE19 or WE16.
    You can try to debug the inbound processing and write a program based on that, which could be scheduled as a background job.
    I had a program doing similar, but it was another message type and it was XML based, however the FMs I used are the following:
    'EDI_PORT_READ' - read port definition
    'EPS_GET_DIRECTORY_LISTING' - get the file names in the dir
    'EDI_DATA_INCOMING' - process idocs
    Hope it helps.
    Peter

Maybe you are looking for

  • Is i mac OS 10.5.8 compatible with hp office jet pro 8615e printer

    can an imac osx 10.5.8 be compatible with an hpofficejet pro 8615 e printer?

  • Up to date program email support?

    Is there an email where i can get any information about what to do as my up to date code has been rejected saying it has already been used, i wish Apple would commuicate better in situations like these.

  • Applet within browser not releasing file resource

    hi, I have an applet for ftp images upload. run from eclipse IDE (which uses applet viewer) the applet is ok. if i run my applet from browser here is what happens: i upload a file .& leave the browser opened. i then open this same file with gimp or p

  • 500: Registration failed. Check Mobile user and activation code

    Hi all, I am currently implementing SAP's customer financial fact sheet in our landscape. I have tested the service and it is working and creation application and application connections are also done. However, when I tried to log in using the applic

  • Trouble Dubbing

    Okay, I am just so incredibly frustrated right now. I have tried everything to try and import my accidentally recorded LP mode tapes into FCP. It recognizes the camera but it won't log and capture. Most of the time, I get the error message, "This ope