Multiple Function Acknowledgments (997) to email

Hi,
I have the following problem. We send invoices to an external system and it sends back funtional acknowledgment (ANSI 997). We convert this file with the Seeburger Adapter to an XI-XML and then send it through email to different recepients. Everything is working fine but now, we have the following issue. Sometimes, there come in two or more acknowledgments in one file:
ISA00          00          ZZ1234           121234123456     0701231445U004010000000220P<~
GSFAULULUL12341234562007012314451821X004010~
ST9970001~
AK1IN1~
AK2810010127263~
AK5*A~
AK9A111~
SE60001~
GE121~
IEA1000000022~
ISA00          00          ZZ1234           121234123456     0701231445U004010000000210P<~
GSFAULULUL12341234562007012314451620X004010~
ST9970001~
AK1IN1~
AK2810010127262~
AK5*A~
AK9A111~
SE60001~
GE120~
IEA1000000021~
We receive an error message by XI that the file is not XML  because only one header line is allowed. How can we split this file into 1...n messages? I tried to do a multiple mapping but there is still an error. Any ideas?
Regards,
Stefan

Stefan,
As your source file has multiple XMlL's created by the SeeBurger Adapter,
1. Check if the splitting can be done at the adapter level itself?
2. If no, and you want XI to handle this, then you will need to use Java Mapping to handle this. Convert your InputStream into a string and then use a substring funtion to split the Input String into the valid XML's and process the same as needed.
Regards
Bhavesh

Similar Messages

  • Functional acknowledgment 997 reconcilation

    Hello Experts.
         I have gone through the below blogs.
    http://scn.sap.com/docs/DOC-46260
       There is a limitation for this approach if you are  sending multiple Functional Groups and /or Transaction Sets in a single EDI Message.
    My requirement is that I want Functional acknowledgment 997 reconciliation.
    Can you please suggest any other way to achieve this .
    Thanks in Advance.
    Regards
    Advit Ramesh

    Hi Tom !
    Try this BAPIs:
    IDOC_STATUS_CONVERT
    IDOC_STATUS_WRITE_TO_DATABASE
    Regards,
    Matias.
    PD: please award points if helpful

  • Multiple attachments (TIF-files) in Emails

    hi all,
    I'm trying to send an eMail with multiple attachments (TIF-files) with the function SO_NEW_DOCUMENT_ATT_SEND_API1.
    The eMail with the attachments arrives well. The problem is, when opening the attachments all look the same as the 1. attachment. The archived TIFFs are not the same and I can see that the arrived attachments have different file-lenghts.
    The packing list looks like:
    HEAD_START   HEAD_NUM   BODY_START   BODY_NUM
    1                      1                    1                      57
    1                      1                     58                   198
    1                      1                    199                  415
    The table-length of the first object is 57, the second object 141, the third 217.
    The contents_bin table has 415 lines. I appended all object-tables to the contents_bin table.
    Is there something which I have to consider especially?
    Thanks and regards
    Oliver

    I had to write something similar for text files, so this may or may not be a useful tip. BODY_NUM represents the length of the text, i.e. the number of lines not the final line number. So the packing list should be
    1 1 1 57
    1 1 58 141
    1 1 199 217
    Hope this helps...although probably very out of date by now...
    D.

  • I have tried a lot to find an app or some way in email to attach multiple of pdf files in one email. I could not find anything that sends multiple pdf file in one email and still keeping the file in simple pdf format for the recipient.

    I have tried a lot to find an app or some way in email to attach multiple of pdf files in one email. I could not find anything that sends multiple pdf file in one email and still keeping the file in simple pdf format for the recipient.

    I am not aware of a way except for photos that allows you to select multiple files in an email. I even checked settings in the Adobe Reader app, and it does not show that ability.

  • How to keep multiple function modules under one Web service

    Hi Experts,
    I have Three RFC function modules and i need to create one web service for these three RFC function modules. I know How to crearte a web service for one function module.
    please suggest me How to keep multiple function modules under one Web service.
    Thanks in advance
    Lakshminarayana

    Hi Lakshmi,
    The best way to do it is to assign all the three RFC Enabled FM's to one function group. Later on the top menu in Utilities you get an option to Create a Webservice from a Function Group.
    You can create one single Webservice using all the the 3 FM's.
    I hope this helps.
    Thanks,
    Manu

  • How do I add multiple addresses/contacts in an email tread to my contact list without having to enter each at a time?

    How do I add multiple addresses/contacts in an email tread to my contact list without having to enter each at a time? I have AppleScript but don't see "add address" in any of the boxes/drop-downs. 

    Sorry, but Address Book does not allow you to select more than one email address to send to in a group. There's really no reason why people need multiple copies of a message, anyway; they have the option of forwarding email to another email address of theirs.
    Mulder

  • TS4006 can you have multiple phones on same user email

    can you have multiple phones on same user email

    If you mean can they share the same iCloud account, yes.  Just be aware that when multiple devices share the same iCloud account, any data they sync with the account will be merged and the merged data will appear on all of the devices.  Also, any action taken on one device (such as adding or deleting contacts) will also be taken on all other devices sharing the account.  Finally, the iCloud backups of all the devices will share the same iCloud storage space.

  • Is there a way to share multiple contacts in the same email?

    Before Mavericks I could drag multiple contacts into a single email. Now under Mavericks when I do that and send, the recipient gets blank vCards.

    What I am discussing is wanting to share several contacts with someone in a single email. Before the Mavericks update I could drag multiple vCards from Contacts to an open email and they would appear as attachments. When I do that now the email recipient gets vCards that are blank when opened.

  • How to set the AS2 fileName for outbound Functional Ack 997 auto generated by Oracle B2B

    Hi Friends,
    How to set the AS2 fileName for outbound Functional Ack 997 auto generated by Oracle B2B.
    External Trading Partner is sending the EDI 856 via AS2 URL to our Oracle B2B Server.
    In the inbound 856 agreement, we have checked the option of Funtional Ack and also Functiona Ack handled by B2B is yes.
    We have the outbound agreement which is sending that Functional ack 997 (auto generated by oracle b2b) and we have specified the Outbound AS2 channel of the Partner.
    997 doc is being sent to external partner using AS2 channel, but the filename is generating as '40101'.
    Please can you let me know how to set the AS2 fileName for outbound Functional Ack 997 auto generated by Oracle B2B.
    Appreciate your valuable answers!!
    Thanks,
    Amirineni

    Amirineni,
    AFAIK, there is no option to set the file name when the 997 is generated automatically by B2B.
    Alternatively, if this is a must requirement, you can generate the FA from backend and  send to B2B with MSG_TYPE =9. In this case, you can set the header with filename (How to set the actionname property in B2B 11g)

  • Multiple calendar events in one email

    I would like to ask if Blackberry supports to read multiple events invitation in one email.
    I tried to attach two iCalendar (.ics) files, but the blackberry just picked one of the events to display as "one event",  the other is missed (disappeared).
    I tried to modify the iCalendar file to contain multiple events, but the blackberry just read it as "application/X-rimdevicecalendar". When I tried to open the attachment, it prompted "This attachment type cannot be viewed on your device" while Outlook can read the file and import into Outlook calendar correctly.
    Does Blackberry support this? Or I need to use other format?
    Appreciate for any help and response!!

    I learned that this is not possible in my version of CRS XI R2

  • TS3988 How do I create a List (multiple recipients) for my iCloud email?

    What steps must I take to create a List (multiple recipients) for my iCloud email?  I will be corresponding with a fied group of contacts over the course of a 3-month project.  I need to create a List/Alias that will send the same message to some 18-20 members of this group in a single email exchange.

    lets try this again. A PST file is an outlook file. Thunderbird does not and never has created them.
    https://addons.mozilla.org/en-US/thunderbird/addon/importexporttools/
    Use the add-on to export your mail as EML. This is a fairly standard format that just abut any mail client can read. Except Outlook.

  • Using Multiple Functions with in members selection of Hyperion Financial St

    Hello everyone, I am trying to retrieve all the level 0 entity members from a specific Level 3 entity member. Can I use multiple Functions with in Report studio to do this?? Or is creating an alt hierarcy my only option?
    Thanks

    You can try doing System Defined member list Lev 0 AND Descendants of Lv 3 member
    JTS

  • Timer that "fires" multiple functions

    Hi all
    I really need a Timer that shoots multiple functions. The
    Timer Class just handles one function and therefore is not good
    enough for my project. The Timer should work something like this:
    After 1 seconds fire functionOne
    After 4 seconds fire functionTwo
    ...and so on...
    Time is really crucial in my project (down to milliseconds)
    so I really can´t use the Timer Class and fire "new" Timers
    all the time because Flash needs some milliseconds to process all
    the code and in the end it sums up to kind of a lot of time.
    I hope I have been clear enough.
    Any advices on how to do this?
    Regards
    //Leine

    Leine,
    > I really need a Timer that shoots multiple functions.
    The Timer
    > Class just handles one function and therefore is not
    good enough
    > for my project.
    The first thing that comes to mind is, use numerous
    instances of Timer.
    > Time is really crucial in my project (down to
    milliseconds) so I
    > really can?t use the Timer Class and fire "new" Timers
    all the
    > time because Flash needs some milliseconds to process
    all the code
    Aha. Then how about a single "master timer" that keeps track
    of a
    cumulative delay, using modulo to trigger separate functions?
    var cumulativeDelay:int = 0;
    var timer:Timer = new Timer(500, 0);
    timer.addEventListener(TimerEvent.TIMER, masterTimer);
    timer.start();
    function masterTimer(evt:TimerEvent):void {
    cumulativeDelay += 500;
    if (cumulativeDelay % 1000 == 0) trace("every second");
    if (cumulativeDelay % 2500 == 0) trace("every two and a half
    seconds");
    if (cumulativeDelay % 4000 == 0) trace("every four
    seconds");
    Not sure if that would be any more efficient than numerous
    instnaces,
    but worth a shot.
    David Stiller
    Co-author, ActionScript 3.0 Quick Reference Guide
    http://tinyurl.com/2s28a5
    "Luck is the residue of good design."

  • Database Design for Multiple function site

    Hi
    I am working on one project which involve multiple function
    site, such as
    Company Product Catelog, Customer Support Forum, Document
    Exchange Engine and
    etc...
    Normally we will combine ALL TABLEs into one DATABASE.
    My question are:
    1) Is my break them to individual DATABASE, will it perform
    better?
    Means Product Catelog and Forum will have different
    DATABASE, but they
    will using the same DOMAIN NAME.
    2) I am worried about the break down and corruption of
    DATABASE, so I have the
    idea to separate them out. Are my idea correct or wrong?
    3) I am seeking for better DATABASE DESIGN, because I know
    the database will
    become huge in future. I request for your idea and opinion.
    Thank you very much.

    Creating views: not an option I think. It would involve a lot of programming with 'instead of' triggers etc.
    Seperate databases: a good way if the locations are completely independant and do not share information. This involves more DBA work.
    Separate schema's in one database: this would make public synonyms impossible, and is probably not a good option.
    Adding a location id to tables: the best way I think, and flexible. You can easily add another location, and locations can easily share information.

  • Function module for sending email

    Hi all,
    Can I know list of function modules for sending emails.
    Other than "SO_DOCUMENT_SEND_API1"
    pls let me know

    Hi Praveen,
    Below is the sample code to send the external mail.
    &**********Reward Points if helpful**********&
    DATA: ld_mtitle LIKE sodocchgi1-obj_descr,
            ld_format TYPE  so_obj_tp ,
            ld_attdescription TYPE  so_obj_nam ,
            ld_attfilename TYPE  so_obj_des .
           ld_receiver LIKE  sy-subrc.
      DATA:   it_packing_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
              it_attachment LIKE solisti1 OCCURS 0 WITH HEADER LINE,
              it_receivers LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
              w_cnt TYPE i,
              w_sent_all(1) TYPE c,                             "#EC NEEDED
              w_doc_data LIKE sodocchgi1.
      REFRESH it_receivers . CLEAR it_receivers .
      IF v_trip_send = 'X'.
        it_receivers-receiver = it_trip_dload-approver_email .
      ELSE .
        it_receivers-receiver = it_adv_dload-approver_email .
      ENDIF.
      it_receivers-rec_type = c_u .
      APPEND it_receivers. CLEAR it_receivers.
    it_receivers-receiver = " ------> pass your reciever email id.
      IF v_trip_send = 'X' .
        it_receivers-receiver = it_trip_dload-requester_email .
      ELSE .
        it_receivers-receiver = it_adv_dload-requester_email .
      ENDIF .
      it_receivers-rec_type = c_u .
      it_receivers-copy     = 'X' .
      APPEND it_receivers. CLEAR it_receivers.
      ld_mtitle = p_mtitle.
      ld_format              = p_format.
      ld_attdescription      = p_attdescription.
      ld_attfilename         = p_filename.
    Fill the document data.
      w_doc_data-doc_size = 1.
    Populate the subject/generic message attributes
      w_doc_data-obj_langu = sy-langu.
      w_doc_data-obj_name  = c_saprpt.
      w_doc_data-obj_descr = ld_mtitle .
      w_doc_data-sensitivty = 'F'.
    Fill the document data and get size of attachment
      CLEAR w_doc_data.
      READ TABLE it_attach INDEX w_cnt.
      w_doc_data-doc_size =
         ( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
      w_doc_data-obj_langu  = sy-langu.
      w_doc_data-obj_name   = c_saprpt.
      w_doc_data-obj_descr  = ld_mtitle.
      w_doc_data-sensitivty = c_f.
      CLEAR it_attachment.
      REFRESH it_attachment.
      it_attachment[] = it_attach[].
    Describe the body of the message
      CLEAR it_packing_list.
      REFRESH it_packing_list.
      it_packing_list-transf_bin = space.
      it_packing_list-head_start = 1.
      it_packing_list-head_num = 0.
      it_packing_list-body_start = 1.
      DESCRIBE TABLE it_message LINES it_packing_list-body_num.
      it_packing_list-doc_type = c_raw.
      APPEND it_packing_list.
    Create attachment notification
      it_packing_list-transf_bin = c_x.
      it_packing_list-head_start = 1.
      it_packing_list-head_num   = 1.
      it_packing_list-body_start = 1.
      DESCRIBE TABLE it_attachment LINES it_packing_list-body_num.
      it_packing_list-doc_type   =  ld_format.
      it_packing_list-obj_descr  =  ld_attdescription.
      it_packing_list-obj_name   =  ld_attfilename.
      it_packing_list-doc_size   =  it_packing_list-body_num * 255.
      APPEND it_packing_list.
      CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
        EXPORTING
          document_data = w_doc_data
          put_in_outbox = c_x
          commit_work   = c_x
        IMPORTING
          sent_to_all   = w_sent_all
        TABLES
          packing_list  = it_packing_list
          contents_bin  = it_attachment
          contents_txt  = it_message
          receivers     = it_receivers.

Maybe you are looking for