Flat file to RFC need help

Hello , i have a flat file scenario : XML to RFC and response back to xml , in which case i have a more complex scenario.
Instead of calling RFC multiple times i need to call RFC multiple times through a BPM loop through one xml with duplicated strcutures how is it possible please help me
Krishna

Hi ,
Just More info-
Actually if you do the occurence as 0-n then you will be having structure like this-
<Messages>
     <Message1>
          <Source>
               <Header> </Header> (1..1)
               <Line> </Line> (1..1)
          </Source>
          <Source>
               <Header> </Header> (1..1)
               <Line> </Line> (1..1)
          </Source>
     </Message1>
     <Message1>
               <Source>
                    <Header> </Header> (1..1)
                    <Line> </Line> (1..1)
               </Source>
               <Source>
                    <Header> </Header> (1..1)
                    <Line> </Line> (1..1)
               </Source>
     </Message1>
</Messages>     
In this case you have multiple Message1 under Messages node. So now it is N number of messages under one tag.
For your scenario, you can try like this-
1) No need of changing any occurence anywhere.
2) Use BPM -mentioned in my earlier reply
I think it will work without 1:N or N:1 mapping Because in your case there is no multiple messages, but you have multiple occurences of each set. So I think you can easily handle with parForEach loop.
For eg. on ParForEach -
http://help.sap.com/saphelp_nw2004s/helpdata/en/27/db283fd0ca8443e10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/27/db283fd0ca8443e10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/27/db283fd0ca8443e10000000a114084/frameset.htm
Also check in BPM Patterns for ParForEach.
Regards,
Moorthy
Just check it

Similar Messages

  • Is it possible with out BPM- update transaction from flat file - XI -RFC

    Hi
    my requirment is:  i need to update 2 values transaction(ks01)
    Required data we get in flat file(Val1,Val2), that data needs to be updated in transaction KS01 in r/3 system.
    Scenario is: Flat file - XI - Rfc -KS01.
    im have come across couple of doubts while thinking this way:
    ->is it possible using fie -to- rfc scenario to update KS01 transaction in R/3 system through RFC, if possible some body please explain the complete process to implement this scenario.
    ->is it possible file -to- rfc without BPM in XI 
    can somebody please help out me, how can i approach for the above requirment
    -> help would be appriciated and thanks in advance
    Regards
    Rajesh

    The BAPI / RFC corresponding to your requirement is :
    BAPI_COSTCENTER_CREATEMULTIPLE
    You scenario on  a high level would be FILE-XI-RFC
    in your IR, map the corresponding fields of the fiel to the fields in the BAPI's interface.
    As BAPI is synchronous , you may have to use  BPM to implement the Asynch-Sync bridge.
    Regards,
    Ravi

  • Currently use acrobat 6.  getting box that states: can't find adobe pdf resource files... need help

    Getting a box that states: can't find
    adobe pdf resource files... need help!!!

    I get a similar error, but only under the following conditions:  I must be printing to the Adobe PDF printer and printing multiple pages, one at a time, and then it only happens on the second and subsequent print attempts.  That is to say, the first page prints just fine and this just started yesterday afternoon. The specific file referenced in the error does not exist, but why would it work the first time and not the second?  Since it only started yesterday, I tried uninstalling and reinstalling this morning, but it made no difference.  I don't see anything under print properties like job-options and it is a single user, unshared printer.  Thoughts?  I understand the same thing is happening in at least one other of our locations, but no one there has looked into it yet.  This is a BIG problem for me, however, and I need to find an answer quickly.

  • Flat File-to-RFC question, multiple RFC calls for one file.

    Hi guys,
    I'm quite new to XI / PI and I have a question regarding a File-to-RFC scenario we're trying in NW PI 7.1.
    We have a flat file which has two lines with two fields each, let's take this as an example :
    001,001
    002,002
    The files needs to be converted to XML and then transferred to the RFC program which will update a table with the values above.
    In the ESR I've created 3 data types (z_row1,z_record1 and z_fileinput1), 1 message type (z_file2rfc_ob_mt), 1 message mapping (z_file2rfc_mm), 2 Service Interface (z_file2rfc_ob_si and z_file2rfc_ib_ztestpi) and 1 operation mapping (z_file2rfc_om).
    In the Integration Builder (ID) I've created everything required (The sender and receiver communication channels, sender and receiver agreement, receiver determination and interface mapping).
    We're also using content conversion to convert the flat file to XML, this does seem to work because I see all the lines/field in the message when it gets into PI. The problem is that the RFC can only accept two fields at a time and only the first line gets updated. I see that only the first line gets sent to the RFC.
    How can I make the RFC call for each and every line ?
    Thanks !!

    Create the RFC with table, which takes multiple lineitem as input and update the table in single call.
    If you want response back then call RFC as synchrounous else in Asynchrounous mode.
    By doing this in single call it will update the complete table.
    Gaurav Jain
    Reward Points if answer is helpful

  • IDOC to Flat File and XML ( Need both the Output)

    Hi ,
    My Scenario is IDOC to File .
    I need o/p in 2 format . ie,    1) Flat File 2 ) XML file
    I have a plan to go with Interface determination , 2 IM and what shd be the condition ?
    or Else  2 Receiver detmination  but condition ?
    How to slove this ?
    Need the Output from Idoc in 2 format ( Flat file and XML file )
    Any Blog , Thread ...Tips...etc
    Regards,
    Jude

    Hi Jude,
    Do like this:
    1. Create two inbound Service Interface (with the same target Message Type)
    2. Create separate Operation mapping with the above service interfaces as target (with the same source service interface)
    3. Create Interface Determination and include these two operation mapping (without any condition)
    4. Create 2 receiver agreement (with two separate communication channel) for each of the target service Inetrface. In one channel use content conversion and the other one will give you normal XML output
    Regards
    Suraj

  • [SOLVED]pacnew files? i need help...

    Hi,
    After upgrade with pacman -Syu, a lot of pacnew files in /etc.I read about this in archwiki but i'm still confused :S I have no idea how to use vimdiff or meld ...
    Can someone explain me simple what to do with pacnew files.I'm new in arch linux and i need help.
    Thanks to everyone. (sorry for my english)
    Last edited by grobar87 (2011-04-15 14:26:42)

    ewaller wrote:
    a pacnew file is used when an update to a package requires a new configuration file, but there is already a configuration on your system which would be wrong to simply overwrite.
    If there is nothing in the old, corresponding file you want to keep, it is okay for you to move the pacnew file and overwrite the old configuration.  If it is not okay, you need to incorporate your customizations into the pacnew file, and then move the pacnew file and overrwrite the old file.
    The tools you mentioned are just that -- tools to help figure out what changed.  The easiest solution is just to run diff fileName fileName.pacnew to see the lines that changed.
    Thanks for reply...I install vim and run diff:
    [root@DejanArch dejan]# diff /etc/group /etc/group.pacnew
    8c8
    < lp:x:7:daemon,dejan
    > lp:x:7:daemon
    11c11
    < wheel:x:10:root,dejan
    > wheel:x:10:root
    15a16
    > utmp:x:20:
    20,28c21,29
    < games:x:50:dejan
    < network:x:90:dejan
    < video:x:91:dejan
    < audio:x:92:dejan
    < optical:x:93:dejan,hal
    < floppy:x:94:hal
    < storage:x:95:dejan,hal
    < scanner:x:96:dejan
    < power:x:98:dejan
    > games:x:50:
    > network:x:90:
    > video:x:91:
    > audio:x:92:
    > optical:x:93:
    > floppy:x:94:
    > storage:x:95:
    > scanner:x:96:
    > power:x:98:
    31,39d31
    < dbus:x:81:
    < hal:x:82:
    < avahi:x:84:
    < usbmux:x:140:
    < camera:x:97:dejan
    < ntp:x:1000:
    < rtkit:x:133:
    < deluge:x:125:
    < utmp:x:20:
    Now? How to merge this two files?
    Thanks again.
    Last edited by grobar87 (2011-04-13 18:57:50)

  • Unauthorized files...need help please

    When i downloaded the new version of iTunes, i plugged in my ipod and all of a sudden i have 280 file that i cant copy onto my computer because i am not authorized to play them on my computer. I need help on figuring out how to make them accessable and able to put on my ipod. Please help

    Thanks for the tip, but that wasn't it.
    If you have any other suggestions, please let me know... I can't figure this out for the life of me. I can't drag any icon or file. But the mouse does work for clicking... (ie. files can be opened).

  • Files..files...files...need help!!!

    ey there..we have this project in java wherein we're going to use Files or we have to do file handling..we are supposed to be able to add to a file, view a certain file, delete a file and edit a file..the edit thing is the one that's giving me a lot of problems..i would just like to ask if there is a way wherein one can access a File and then edit the contents of it and then write it again having the same File name or in other words overwriting the file so that the edited one will be the one saved...i really need help with this..i've been thinking of solutions about this for weeks already...tnx...:)

    Read the file into memory.
    Edit the data in memory.
    Write the memory out to a new file with the same name.

  • Adobe turned all of my files into pdf, need help.

    I downloaded adobe 9.5 this morning and it turned all of my files and shortcuts into pdf files. I can't open anything without taking a 5 min mission through my computer. Need help please.

    You may find this helpful:
    http://helpx.adobe.com/acrobat/kb/application-file-icons-change-acroba t.html

  • Can't download an xml file to desktop - Need help

    Hello, I need to save an xml file to my desktop. Each time I try, the xml file saves as a Final Cut Pro icon. When I try to open or upload the xml file - Final Cut automatically opens (which I don't want) and it is unable to show/translate the xml. How can I get my imac to download and upload xml properly?
    I need to do this so that I can use the bulk mail "Dazzle" function on Endicia for online postage. Help please and thanks so much.

    Sean Moor wrote:
    Okay, for Endicia to open the xml file it has to be in a format such as my_file.xml but when I try to put it onto my desktop, the .xml file defaults to a Text Edit file for example my_file.xml.txt
    Just highlight the file, hit the "return" key, and you can edit the file's name. Just highlight ".txt" and delete it. You'll should get a prompt asking you if you really want to change the extension to "xml" from "txt". Just click on the "Use xml" button. That should change the extension.
    You can also edit the extension in the "Get Info" inspector in the Finder. Just highlight your file and use the "command"-"i" key combo or choose "Get Info" from the Finder's File menu.
    You shouldn't need Office to work with XML files. They're just text files. In fact, a great app for working with XML files is free: TextWrangler is really good for editing XML files...
    charlie

  • Emailing Garageband files...need help.

    Is there a thread discussing emailing  Garageband files? I'm able to do it by compressing the files, but the size of them varies wildly.
    I'm trying to send to bandmates so they can work on them to.
    Thanks for any help!

    cgjr wrote:
    Is there a thread discussing emailing  Garageband files?
    pretty much every thread about emailing is because people can't figure out how to do so, they dont' realize they need to Compress the project file.
    cgjr wrote:
    the size of them varies wildly.
    the size depends on what's been recorded in the project. MIDI instruments will take up almost no space. Audio will take up about 10MB/minute/track, and audio does not compress very well

  • File upload - I need help

    [Sorry 'bout my bad English]
    I'm trying to upload a file in a JSP. This page do a post to another JSP. In this page I have the code (there is more):
    1)PrintWriter pw = new PrintWriter(
    2) new BufferedWriter(new FileWriter( file)));
    3) ServletInputStream in = request.getInputStream();
    4) int i = in.read(); // here I got the error
    5) while ( i != -1 ) {
    6) pw.print((char) i);
    7) i = in.read();
    8) }
    I got an error that the file was not open, so I run the page in the debug mode, and I notice that the lenght of 'in', just after line 3, is 0.
    Please help
    thank you.

    read this. its 4 pages. tells ya everything you need to know.
    http://www.onjava.com/pub/a/onjava/2001/04/05/upload.html?page=1
    -S-

  • IPhoto huge file...need help clearing space

    Hi, I have a 47G iPhoto library file on my Air.  Its taking up too much space on my HD and I need to free some up. 
    I have researched some of the solutions like deleting my iPod Cache file but there are no files there....
    I am an amature when it comes to file storage so I need some help.  I have an external hard drive I can use, have iCloud, have time capsule, just dont want screw up my photo files by moving them incorrectly.

    This may help: http://www.thexlab.com/faqs/freeingspace.html

  • Can't create a PDF file from "printing" need help

    hey I have Acrobat 8 professional and I used to be able to create PDF files by clicking print, selecting the Adobe PDF printer and so on.  Recently it stopped letting me do this by stating that Windows can not print due to current printer setup.  I was able to get around it for a while by clicking on save as, create PDF, and chooseing the quick and easy option...very frustrated, I don't know if I need to download a newer version or if it doesn't like my new HP officejet printer (which I removed from my default to try and see if that worked)  done with my area of knowledge and need advise
    Thanks

    Hi Mate.
    Have you checked to see if the print spooler service is running?
    Go to desktop, right click "My Computer" and click "manage",
    Open Services and Applications
    Click Services
    Scroll down to "print spooler" and right click it - does it say "start" or "stop" ?
    if it allows you to "start" the printing service, it may be being disabled by something which could be endemic of another problem.  HP printer install software is full of mad features these days.  Print spooler should start itself automatically on bootup, if it doesn't, that might affect PDF printing.

  • Can't drag files... need help, please!

    Hoping someone can help me. I came the other day to find that none of the files on our iMac G5 could be dragged. Stuff on the desktop couldn't be moved, re-arranged, etc. Even in iTunes, files couldn't be dragged to new playlists.
    They'll still open if double clicked.
    I'm not sure what happened. My wife said she was playing a game that crashed suddenly, then all of a sudden this.
    Any advice? I just can't figure this one out.
    Thanks in advance.

    Thanks for the tip, but that wasn't it.
    If you have any other suggestions, please let me know... I can't figure this out for the life of me. I can't drag any icon or file. But the mouse does work for clicking... (ie. files can be opened).

Maybe you are looking for

  • How can I use One Plugin with all his outputs on the region

    Hi All In Cubase I have a PlugIn Manager and when I have a Plugin like Omnisphere with 8 outputs I can route each output on one sequencer region. Can I do This as same in Logic? Exemple I will open a new Midi Instrument on a region. Than I Know I hav

  • Help required in jstl

    hello guys this is small program to count from 0 to 10 using but it os showing error since i am new i am not able to ratify the error <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %> <html> <head> <title>Count to 10 Example(using JSTL)</t

  • Itunes radio is not available in canada

    when is itunes radio going to be available in Canada? Still not available as of Feb. 25th.

  • HOW TO BLOCK OR LOCATE STOLEN BLACKBERRY

    Please how do i locate my stolen blackberry phone How do I block stolen blackberry phone. so that they can not be able to access it.

  • Huge RAM consumption on LR 2.7

    Hi I'm using Lightroom 2.7 with Windows Vista Ultimate 64 bit. When I open Lightroom, the RAM usage ramps up immediately, so that within minutes I'm using 7.6gb of my available RAM, without having done anything else. System monitor tells me LR is onl