How to break the file and send it to 2 different formats??

Hi PI Experts,
    My scenario is i have a file with multiple records on the sender side and i have 1 receiver business system and have to  receive the data in 2 formats, one is in JDBC and other in xml format. my condition is if field is equal to 'ECC' then the data should be send to JDBC and if element is not equal to 'ECC' then data should be send to xml format.
for example, if a file has 2 records('ECC & ECC1) then 'ECC' record has to be stored in JDBC and 'ECC1' record should be send to xml format.
tell me what to do in the mapping side. hope u guys understood my problem.
if possible send me screenshots of the mapping.

HI Srini,
Just use two different message types in ur mapping!!!
Write the condition if (A = ECC ){Map to Structure A}
                              else if (A = ECC1){Map to Structure B}
Once you are generating all the required ECCs in Message Type A and then All ECC1s in Message Type B,
It is just configuration stuff where you will have common sender Agreement, receiver determination and also interface determination but the only thing that will separate these two is your receiver agreement.
You have to use two service interfaces for this, one for Structure A and another for Structure B.
I have done similar stuff  2 yrs back!!!
Please let me know if you require anything on this.
Thanks & Regards,
VK

Similar Messages

  • How to ZIP the files and folders/sub folder files using java

    HI All,
    I'm New to this Forum, Could anybody tell me how to zip the files and folders/sub folders using java. For example I have a folder with the name testfolder and side that folder I have some files and some sub folders inside subfolders I have some other files. I need to ZIP the files and folders as they are in same hierarchy.
    Any pointers or help wolud be appritiated.
    Thanks,
    Rajeshbabu V

    [http://www.devx.com/tips/Tip/14049]

  • How ACE classifies the traffic and send it to appropriate Context

    Hi ,
    Could some one please explain packet clasification in ACE modulue  ,example : let us assume thee are three contexts ( context1 , context 2, context3) in ACE module , how the ACE  classifies the traffic and send to appropriate CONTEXT  if any customer comes and hit the ACE .
    Regards
    Raj

    Hello Raj,
    In addition to what Ajay mentioned, yes each virtual address ( VIP) in combination with the port which you configured( if any) will act as unique identifier for the ACE to handle a specific traffic and finally take the load balance decision it needs or any other action which would be required
    Another thing which you can take into consideration from the routing perspective is that you configure on the Admin Context the specific vlans allocated to each contexts based on your requirements so for example: you may allocate this vlan10 for context 1 then vlan 20 for context 2 or all of the vlans for context 3
    Going back to your original, yes the ACE works this:
    Request ----->VIP--->ACE checks which contexts has the VIP in question---->send request to context--->traffic is load balanced between the servers
    Jorge

  • How to print the files and folders in a finder window?

    A long time ago...There used to be a way to print all the files and folders in a finder window. I haven't been able to do so in a very long time. Is it one of those things no one else needed so they eliminated it? If not, can someone tell me how to do it?

    Or use the scripts here:
    /Library/Scripts/Printing\ Scripts
    build the droplet in AppleScript Editor, and drag the folder on to the droplet.
    This thread has other suggestions:
    http://discussions.apple.com/thread.jspa?messageID=10825106&#10825106

  • Need a document about how to move the fact and dimension table's to different server's

    Hello Experts,
    I need a detailed doc on how to move the fact and dimension tables to different server's.Please help me out from this
           Thanks in advance....

    You still haven't told anyone what products besides Essbase you are using, without which this is an impossible question to answer.
    https://forums.oracle.com/thread/2585515
    https://forums.oracle.com/thread/2585171
    Are you connecting to these tables from Essbase with a load rule / ODBC?  Using Studio?  Using Integration Services?  Any Drill-Through reporting set up?
    This may sound harsh, but if you truly don't know how to answer any of these questions you should probably not be anywhere near this task...

  • How to capture the screen and send it to attachment for that mail

    hi sir ,
         how to capture the screen shot and attach with that e-mail , whether it is possible or not ..
    Regards,
    kumar

    hi sir,
        i am asking about while creating the support message from help menu in sap..
    while creating the support message we have to give component , priority and text also .. after that click the send icon in that support desk message .. while clicking the send button the entire screen ( what  we have entered in that creen na ) i have to capture the screen ( it may be save in local file also )  after that it will attach into attachment and then send it to ...
    Regards,
    kumar

  • IB- Downloading the file and send it to the user

    Hello BW gurus,
    I have a question. I have automated the ECC Z table loading process. Like I have a program which will run the ztable update process logic and will update the table and after that it will raise an event in the BW system. Based on the event the process chain will be triggered.
    After the BW data load. I want to add an extract step like run the query and then download the file in excel format and send an email to the user. I know this has to be done by information broadcasting. I haven't looked at the documentation. Maybe you guys can explain to me like how to acheive this in the process chain.
    Thanks in advance for your help.
    Senthil

    Hello Gurus Any solution for the above issue. Thanks

  • How to create Word file and send file in mail as an attachment

    Hi Guys,
    I want to create report which fetech data from table and create word file of the same data and send file in mail as an attachment.

    Hello Sagar,
    Before posting please use GOOGLE,any way it may help u,
    DivulgeSAP: Send email with PDF, ZIP, TXT etc., as attachment from CL_BCS interface
    Thanks
    Sam

  • How  to   download the file and delete the file

    plz send me reply

    Hi Nagalakshmi,
    If you want to download a file on to the presentation server from your application then please have a look at the methods listed under the OO class CL_GUI_FRONTEND_SERVICES from transaction SE24 to perform similar operations as requested by you on files on presentation server.
    However if u are considering downloading and then deleting a file on the application server, then u would need commands like OPEN DATASET, TRANSFER and CLOSE and eventually DELETE DATASET.
    F1 on the commands should help you along.
    Hope this helps.
    Regards,
    Aditya

  • How to move the file and insert menu to the left of the screen ? Dreamweaver CC

    Hello,
    Thanks for response.
    Mel

    See customizing workspace
    http://help.adobe.com/en_US/dreamweaver/cs/using/WScbb6b82af5544594822510a94ae8d65-7f82a.h tml
    Nancy O.

  • How to run the report and show the output in excel file

    salam
    how to run the report and show the output in excel file,
    how to run the report and print the o/p via printer
    how to run the report and send the o/p via mail
    thank u all

    Hi,
    There are Parameters DESTTYPE, DESFORMAT and DESNAME. You can set these parameters to get as you want.
    1) Output in Excel File
         ADD_PARAMETER(PL_ID, 'DESTYPE', TEXT_PARAMETER, 'FILE');
         ADD_PARAMETER(PL_ID, 'DESFORMAT', TEXT_PARAMETER, 'DELIMITED');
         ADD_PARAMETER(PL_ID, 'DESNAME', TEXT_PARAMETER, '<file_name>.XLS');2) output to printer
         ADD_PARAMETER(PL_ID, 'DESTYPE', TEXT_PARAMETER, 'PRINTER');
         ADD_PARAMETER(PL_ID, 'DESNAME', TEXT_PARAMETER, '<printer_name>');3) Email - Have to configure SMTP and all. ( i didn't checked it)
         ADD_PARAMETER(PL_ID, 'DESTYPE', TEXT_PARAMETER, 'MAIL');
         ADD_PARAMETER(PL_ID, 'DESNAME', TEXT_PARAMETER, '<email_id>');Regards,
    Manu.
    If this answer is helpful or correct, please mark it. Thanks.

  • How to upload the files of a directory to a server at one time?

    in a jsp page ,the user choose a directory ,then I want to upload the files of the directory to a server at one time.How to do this?Thanks!

    You create multiple file input fields and you have them select each file they want.
    Or tell the user to zip the directory and upload the zip file.
    Or use a signed applet to get all the files and send them.
    There's no way for the browser to select a directory.

  • Save the file and give date & time stamp

    1. Reading the Excel file from the selection screen as a parameter.
    2. Using F.M. ALSM_EXCEL_TO_INTERNAL_TABLE reading Excel file into
        Internal table.
    3. Implementing the Business Logic.
    4. Move output to Final Internal table.
    5. Final internal table should generate a Flat file. By using GUI_DOWNLOAD.
    6. That flat file should be saved with the name and location given in the Excel.
    7. When ever I run the program output file will generate in the same location but with date and time stamp. Because I’m running the program for range of employees say initially I run for 1 – 10,000 employees next 10,001- 20,000 like that.
    Whenever I run for 2nd time it will overwrite the previous output, that’s the reason I’m using date and time stamp.
    Eg:
    PERSONAL Numbers              Name                                         Location
    00000001                 xxxxx-24.04.2007-10.30          C:\        
    00000002                 xxxxx-24.04.2007-10.35
    00000003                 xxxxx-25.04.2007-10.40
    00000004                                  xxxxx-25.04.2007-10.30
    Can any one help me how to save the file and give date & time stamp through hardcode?
    please help me in this issue.

    I am not clear with your problem. Based on the understanding of your question,
    there  can be two cases.
    1- U want to insert time stamp in the output file.
    2- Time stamp is already there, u just have to solve the overwriting issue.
    If your question goes with option 2, You can make use of import parameters
    <b>CONFIRM_OVERWRITE</b> : Which will ask for confirmation before overwriting.
    <b>APPEND</b> : which you can choose either to append the data to the existing file or overwrite it.
    Please inform if the issue is not resolved.
    Message was edited by:
            BINU RAJ BINU

  • How to Save the files attached in tasks

    hi experts ,
    i am using a BPM process, one requirement is to send the files across tasks. i know we have a facility in tasks where we can attach the files and send across, my question is where these files are stored during process and is there any way to access these files after the process ends(for future report generation). can we save these files in database too, so we can have the artifacts related to particular process instance available at our disposal.

    Hello,
       In CE 7.2 BPM uses the Enterprise Content Managment (ECM) infrastructure to store documents that are part of a process. ECM can be accessed via API or WebDav (among others). Here's some more information:
    [ECM|http://help.sap.com/saphelp_nwce72/helpdata/en/d7/f06a2108e64ababb6ba7b980376bc0/content.htm]
    O.

  • How to email the individual pages in a script to different vendors

    Hi,
    i got a requirement of script to email sending.
    this email sending option should be include in a standard program.
    in that program currently it is printing the invoice list in such a way that all the vendor details appended to same script in different differnt pages.
    i.e: for every vendor it is printing an individual page, but these pages are combined into a single script.
    Now my requirement is to convert script to pdf and send the corresponding page data to  the particular vendor using email functionality.
    i know how to convert the script to pdf. but i am unable to breake the pages and send to that particualr vendor.
    can any one tell me how to proceed.
    Thanks& Regards
    Raaga

    If any body is curious, I found a work around in Metalink that is working for me now.
    Search for Doc ID 130432.1

Maybe you are looking for

  • What if I have to reinstall iTunes because I get an err msg?

    I got an error message yesterday in iTunes that said I needed to reinstall iTunes. It said there was something missing that I needed to import and burn CD's. I have had the program up and running since December of last year. I also have about 5400 so

  • Problem Activating Source system RSAR 374, RSAR 375

    Hi all, Hoping you can help me with this issue. I have two systems,one R/3 4.7 system and another BW 3.0B system.Both are recently installed. created user in client 800 on R/3. created user in client 100 on BW. i established RFC destination between b

  • Preview and print a printout in production order release

    Iu2019m using CO02 to release and save the production order. Currently u201Cbatch cardu201D printout is automatically printed in production order release. I want to change this to preview the printout before printout is send to the printer. Can someo

  • Problem of servlet

    HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception java.lang.NullPointerException      com.j3ltd.test.web.TestStatelessEJBServlet.doGet(Tes

  • Globalchips to Acme Communication Error

    Hi Ramesh, I am doing the X12 tutorial between Acme and Globalchips. 850 from Acme goes fine, but when GlobalChips tries to send 997 it gets the following error. Please help. Shamik AIP-50079 Transport error: [IPT_HttpSendError] HTTP encounters send