Sender side 10 files and reciever side 10 idocs

hi,
      if suppose from sender side there are 10 files ....each files containing name and addresses of customers . and in the recievers side there will be 10 idocs each idocs will have customers name and addresss.........
can u guide me to do the above scenerio..
thanks in advance,
jp.

JP,
<MT_Input>
<Record>
<Emp_Name>J</Emp_Name>
<Emp_ID>10000</Emp_ID>
</Record>
<Record>
<Emp_Name>K</Emp_Name>
<Emp_ID>10000</Emp_ID>
</Record>
<Record>
<Emp_Name>L</Emp_Name>
<Emp_ID>10000</Emp_ID>
</Record>
<Record>
<Emp_Name>M</Emp_Name>
<Emp_ID>10000</Emp_ID>
</Record>
<Record>
<Emp_Name>N</Emp_Name>
<Emp_ID>10000</Emp_ID>
</Record>
Like above we have 10 records in single file.
In case 2  , each Record is in different file.
Best regards,
raj.

Similar Messages

  • Send xml file and recieve xml in response from servlet

    hi
    i want to send a xml file to http address and in response recieives an xml file from which i want to fetch value in java
    can everybody help me out by giving me some help code
    thanks
    haryy

    I think you can do this with the DOM API .
    Go through this: http://www.javaworld.com/javaworld/jw-07-2000/jw-0728-jdom2.html

  • Oops...mail wont send large file and I cant get it to stop trying.

    I was sending a ;large file (116 megs) email to my wife by mistake, thinking the file was the resized images I had. I was sending this via .me account. When I open mail now, my .me account still tries to send the files, and I cant make it stop. Its not in my drafts or outbox, but the cog spins forever on my .me account. I then see a folder which says it is a recovered mail folder and those images are in two emails in that folder. Any help? I just want my .me inbox to recieve mail again and to send mail when I need it to. This has been going on for two days now.

    Search using the name of this large file in Spotlight -- anything show up in an unexpected location?
    If you click on Window in the menubar, and choose Activity, what does it says is in process?
    Quit Mail, and hold down the Shift key while clicking to relaunch Mail -- make any difference?
    Ernie

  • Bash shell for  sid adm and ora sid user

    I'm planning to make bash shell as the the default shell for my <sid>adm and ora<sid> user. Will there any issues? It seems harmless.
    My current setups are ECC6 on top of  AIX 5.3 and Oracle 10g
    regards,
    Marjan

    The only problem is permission of user access to that bash shell. as well as what u u want to run i mean to say if it is any haevy erport or update insert or refresh functionality then do not run at the time of haevy load.
    Thanks

  • How to send data (file and text both) from jsp to servlet

    upload JSP 
    case 1>> if i am using this  <form enctype="multipart/form-data" the file value is comming on the servlet side
             and other vales are not comming when i am using request.get parameter(....);
    case 2>>  if i am using this <form  type="text/html" the "submissionperiod" and "Types" value is comming on the servlet but the file is not comming ........
         How to resolve this issue .  i need to send all the three parameter on single submit and retrieve the parameter values  in my servlet .
    please help !
    <form enctype="multipart/form-data" name="form" method="post" action="Upload" >
                    <table font size="3" style="color:brown;font-family:Arial" >
                    <tr>
                    <td>Submission Year:    </td>
                    <td><select  name="submissionperiod">
                         <option value="">--select--</option>
                         <option value="2000">2000</option>
                         <option value="2001">2001</option>
                         <option value="2002">2002</option>
                         <option value="2003">2003</option>
                         <option value="2004">2004</option>
                         <option value="2005">2005</option>
                         <option value="2006">2006</option>
                         <option value="2007">2007</option>
                         <option value="2008">2008</option>
                         <option value="2009">2009</option>
                    </select><label class="Required">*</label></br></td>
                    </tr>
                    <tr>
                    <td>Submission Type :    </td>
                    <td><select  name="types"   onchange="showDescription()">
                         <option value="">--select--</option>
                         <option value="CRF">CRF</option>
                         <option value="NIR">NIR</option>
                         <option value="NC">NC</option>
                         <option value="SEF">SEF</option>
                    </select><label class="Required">*</label></br></td>
                   </tr>
                   <tr><td></td><td>
                   <div id="divTypeDetails">
                    <textarea  id= "subTypeDes" name="subTypeDes"  value=""></textarea></br></br>
                  </div>
                  </td>
              </table>     
              <td>Select a file (< 100 MB):   </td>
              <td><input id="importFile" name="importFile" type="file"></br>          
              </td>
              <input type="hidden" name="types">
              <input type="hidden" name="submissionperiod">
              <input type="submit" id="submitButton" name="submit" value="Upload" onclick = "checkUploadValidity();"/>
              <input type="button" name=btncancel id=btncancel value="cancel" onclick= "btncancel_click()"/>
    </form> 

    Both the file and text values are included in the binary inputstream of the request. The parametermap is always empty.
    There exist 3rd party API's to parse multipart/form-data streams, such as [Apache Commons FileUpload API|http://commons.apache.org/fileupload].
    Read at least the 'User Guide' and 'Frequently Asked Questions' sections.

  • Maximum size of XML files and number of IDocs for IDoc receiver adapter

    Hi Guys,
    We have an XML file to IDoc scenario where XI picks up an XML file with multiple Customer records in it, it does a simple mapping and creates one DEBMAS06 IDoc per record in the XML file. All IDocs are sent in a single file in XML-IDOC format to IDoc adapter which then posts the separate DEBMAS IDocs to R/3.
    a) What is the maximum size of XML files that XI can handle with mapping involved ?
    b) What is the maximum number of IDocs in a single file that the receiver IDoc adapter can handle ?
    The first time this interface runs almost 200,000 Customer records will be exported in one XML file.
    Thank you.

    Hi,
    Well it is difficult to find out the  maximum Size of xml messgaes that can be processed by XI and also Maximum number idocs an recevier Idoc adapter can handle.
    This totally depends on your production system loads and the limits can be set totally on trail & error basis..
    In my heavy loaded production system, i found out that the maximum size of the successfull messages after processing by XI is around 75 MB (seen in transaction SXMB_MONI). Whereas messages with size around 100 MB went into error.
    I havent encounter any such limits with respect to Idocs.
    I would suggest that you divide your data into smaller chunks and sent it part by part instead of sending it all once since you data size is huge.
    You can vary your batch size as per your system load.
    Regards,
    - Deepak.

  • How to use  the same channel to send a file and messages to the server

    I'm trying to develop a simple program that will send and receive files from the server and in the same time I need to communicate with the server through the messages
    I'm using TCP Socket
    my problem is
    I have only one channel
    so, I have no option, either I can use it for sending the file itself or sending the message .. but not both !
    my question is : How can I use the same channel for sending and receiving (file & message)
    I would appreciate for any clue or hint
    best

    kajbj wrote:
    kmarwani wrote:
    Thanks for reply
    yes, that what I'm thinking to do
    but, in case of sending binary file, if I attached a flag on its header, will it corrupt the file ?
    bestThe other end would of course need to decode the messages that you get, and only write the "data" part to the file.Thanks
    I'm gonna try to hard-code what you suggest and i will post what happen with me here
    even though I'm not sure how can I add header to a binary file and remove it from the file at other end. (coz I read it as stream and send as array without touching its contents)
    this how I'm sending the file
    ConnSocket = CSocket.accept();
    ToClient = new DataOutputStream(ConnSocket.getOutputStream());
    File myFile = new File("abc.jpg");
    FileInputStream myFileInStream = new FileInputStream(myFile);
    BufferedInputStream mybuffInStream = new BufferedInputStream(myFileInStream);
    myBytArray = new byte[(int) myFile.length()];
    mybuffInStream.read(myBytArray, 0, myBytArray.length);
    ToClient.write(myBytArray, 0, myBytArray.length);
    ToClient.flush();
    myFileInStream.close();best

  • Can not change password of sid adm and ora sid

    Hello Experts,
    I have done a system copy of SAP ECC6.0.The target and the source system are on the same host.Hardware platform is HP-UX 11.31 and database is Oracle 10g.Both the systems are up and running now.
    While target system installation, I gave the "master password"(password for all users) same as in the source system.
    But when the target sysetm was installed, I found that <target  sid>adm and ora<target sid> ,ddic passwords are not working.For J2EE_ADMIN, the password is working.
    Please guide how to change ( or reset) the password of <target  sid>adm and ora<target sid> without knowing the old password.
    DDIC password I could able to change by logging into the system with SAP*
    Please Help..
    Anupam.

    for
    Please guide how to change ( or reset) the password of <target sid>adm and ora<target sid> without knowing the old password.
    You need to login with root and then just type passwd sidadm and give the new password.Same you can do it for orasid.you can change it with root as it has administrator rights and will not ask for the old password.
    Thanks
    Rishi Abrol

  • How to Parse the XML File and create an IDOC?

    Hello friends,
    I've an xml file which needs to be parsed and create an idoc into SAP to post the New Hire process?  I need to create an ABAP for this
    Could somebody help me do this?
    Thanks

    here is the sample code for loading local xml file and parsing its using the abov ementioned FM
    report y_xml_upload
           no standard page heading.
           data: filename type string ,
                 xmldata type xstring .
    data: result_xml type standard table of smum_xmltb .
    data: return type standard table of bapiret2 .
    constants: line_size type i value 255.
      data: begin of xml_tab occurs 0,
               raw(line_size) type x,
            end   of xml_tab,
            file  type string,
            size  type i.
    * upload the xml file
    filename = 'C:raja123.xml' .
      call function 'GUI_UPLOAD'
        exporting
          filename            = filename
          filetype            = 'BIN'
          has_field_separator = ' '
          header_length       = 0
        importing
          filelength          = size
        tables
          data_tab            = xml_tab
        exceptions
          others              = 1.
    ************uncomment this and comment the call of SCMS_BINARY_TO_XSTRING if you dont have this fm in your system.
    *  if sy-subrc <> 0.
    *    clear: xmldata.
    *    exit.
    *  else.
    *    data: len type i.
    *    len = size.
    *    loop at xml_tab.
    *      if len <= line_size. exit. endif.
    *      concatenate xmldata xml_tab-raw(line_size)
    *             into xmldata in byte mode.
    *      len = len - line_size.
    *    endloop.
    *    if len > 0.
    *      concatenate xmldata xml_tab-raw(len)
    *             into xmldata in byte mode.
    *      len = len - size.
    *    endif.
    *  endif.
    ******* end of comment.
    call function 'SCMS_BINARY_TO_XSTRING'
      exporting
        input_length       = size
    *   FIRST_LINE         = 0
    *   LAST_LINE          = 0
    importing
       buffer             = xmldata
      tables
        binary_tab         = xml_tab
    exceptions
       failed             = 1
       others             = 2
    if sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    call function 'SMUM_XML_PARSE'
      exporting
        xml_input       = xmldata
      tables
        xml_table       = result_xml
        return          = return .
    Regards
    Raja
    do not forget to assign points to helpful answers

  • I never set a password for my acrobat and it is locking my out of changing the password settings. I am trying to send a file and the reciever cannot access

    help

    There are quite a lot of possible things that are going on. Can you let us know
    1. What system you have (e.g. Windows 7, Mac OS Mavericks)?
    2. What version of Acrobat or Adobe Reader you have?
    3. WHO gets the message about a password (you or the receiver, or both)?
    4. What is the full text of the message, if you get it?
    5. If the receiver gets it, what security do you set on the file?

  • Read of XML file and post to IDOC

    Hi
    I'm working on a <b>WAS620</b> and need to read an XML file from a customer, extract the fields needed and post these via IDOC ORDERS01. My problem is HOW to read the XML file? Can anyone give me the steps involved/links to examples etc - I have not processed XML files via ABAP before.
    The file is posted to a shared folder and the ABAP I am about to develop will pick up this file.
    The file is <b>NOT</b> in IDOC/XML format but the customers own format
    Hope someone can help me asap.
    Thanks all in advance
    /Bo

    Hi,
    I would like to extend this question for <b>WAS620</b> and <b>reading</b> a <b>proprietary customer specific XML</b> file/data that is <b>send via HTTP to SAP WAS</b>.
    <b>Q1</b>: What is the best way to read this HTTP sent XML data (as it is, without transformations) into ABAP?
    <b>Q2</b>: What is the appropriate handler to use in the ICF object?
    Thanks all in advance

  • I upgraded because they said my files were too big but I've emailed files a lot prior.  now after the upgrade I have a completed file to emial to someone, enter all the data, and there is no "SEND" button.  how do i send these files and why isnt it just l

    I have often sent pdf or other files with adobe by email with no problem.
    this file it said was too big so I'd have to upgrade to send it.   so I upgraded it.  I followed all the instructions, email, etc, etc, and its' ready to go but there is no SEND button.  how do I sent my file?

    Are you still experiencing a problem with Adobe Send?  We inadvertently introduced a problem earlier today (now fixed), but you reported your issue was last night.
    Anyway, can you check again?

  • Sender as File and receiver as WebService

    I have following scenrio to work on but not sure how to do it.Any help on this is greatly apperciated.
    I have sender which can post file to XI asynchronously and webService which can process it on the receiving it synchronously.
    Is there any way to communicate between asynchronus and synhcronous interfaces.
    Thanks,
    Samir

    Hi Samir, let me try to list down the i/f to be created to acheive ur scenario.
    1)u need 1 abstract async i/f to receive the async message from file adapter
    2)u need 2 abstract async i/f , one is the request message of the web service & other is the response message of the web service
    3)U need 1 abstract sync i/f to be referenced in the send step of ccBPM.
    Now, create 3 cotainers in ur BPM process for i/f created in step 1 & 2 above, and u shud now ve an sync-sync bridge mechanism in place.
    -Saravana

  • AS2: Sending URL string, and recieving in flash on seperate page

    i'm trying to send some data from a list component to another
    web page, and have flash collect it and take you to an appropriate
    frame... this is what i'm using to send the data
    getURL("
    http://www.myothersite.biz?seminar="+list_box.selectedItem.firstChild.firstChild.nodeValue ,
    "_blank");
    now how can i retrieve that from the other page? I know how
    to use FlashVars and such, but only when you define it.. I don't
    know how to make it dynamic... does that make sense?

    dzedward,
    >> i'm trying to send some data from a list component
    to
    >> another web page, and have flash collect it and take
    >> you to an appropriate frame...
    I would use the LoadVars class in that situation. Have you
    checked into
    that? Create an instance of LoadVars, then add properties to
    your instance
    to match whatever data you're sending. Invoke
    LoadVars.sendAndLoad(), or
    see the LoadVars class entry for additional options.
    > ok, I worked this out with javascript, however i need to
    > URLdecode it... I'm not sure how to do that with
    javacript,
    > I'm no javascript expert, just dabble. anyone have some
    clues?
    Both JavaScript and ActionScript have escape() and
    unescape() functions
    for just that purpose. :)
    David Stiller
    Co-author, Foundation Flash CS3 for Designers
    http://tinyurl.com/2k29mj
    "Luck is the residue of good design."

  • Sending big files and server notes

    I was sending 3 consecutive e-mails with some pictures on them. They eventually went through but did get a sign or notice saying the server could not put them through. Is that because I have used up my space allotment or did I send them to fast or were they to big? Also does keeping to many previous e-mails limit my space etc. (when sending out or coming in) using AT&T 1.5mps high speed.

    some 226 KB lets say 6 pictures?

Maybe you are looking for