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

Similar Messages

  • In oracle B2B multiple files are getting picked from SFTP location for one file in custer environment

    Flow is like :
    REST ENDPOINT->OSB PROXYSERVICE->BUSINESS SERVICE->B2B SFTP LOCATION->B2B->SOA JMS Queue->SOA COMPOSITE-
    Due to cluster environment, there is issue when B2B picks the file from SFTP location for Custom protocol using sftp listening channel. Sometimes B2B picks multiple files from SFTP location for just one copy of file. It is happening because of cluster environment 4 instances of server is looking into the SFTP location for picking the file and sometime 2 or more instances of server are reading same file and sending the copy to B2B.
    Please let me know , how can I stop this behavior

    All QFE's have been applied we are building the image so we have some control.
    I have build an image which used the debug DLL's of the FATFS and I have enabled all of the DebugZones.  The problem is still happening. From the timings in the debug logs and the timestamps in the data which corrupts the test file I have been able
    to see that the file is corrupted AFTER the write is complete. Or at least that's how it seems.
    We finished writing the file and closed the handle. Then more data is written to other files. When we get around to verifying the file it now contains data from the files that were subsequently written.
    What I think I need to do is figure out in detail how the two files were "laid down" onto the SDCard.  If the system used the same cluster to write the 2 files then that would explain the issue.

  • Multiple destinations for one file?

    I'd like to have two destinations for one file - ie, local and on an FTP server. I ask because I've had the FTP fail, and can't find where Compressor stashed the render locally. Failing that, can I at least test the FTP connection (like in AfterEffects) before I commit to an hours-long encoding job?

    Too Bad compressor doesn't have more than 1 destination, but if you want to find the temp file, the files are normally kept in /var/spool/qmaster , you can reveal this from the finder using the GO > GO TO FOLDER command, then typing in the above path. Of course you can change this temp space in the qmaster preferences in the System Preferences pane to any other folder you like.

  • Multiple db connections for one report

    Hi all,
    I am using Oracle Reports 10g R2. Could someone tell me if Oracle Reports supports multiple database connections for one rdf file, like this (using servlet)
    http://your_web_server:port_num/reports/rwservlet?server=server_name&report=myreport.rdf& userid1=username/password@my_db1&userid2=username/password@my_db2 &desformat=pdf&destype=cache
    I am asking this question because my report needs data from two separate Oracle databases.
    Edited by: user12239004 on Apr 27, 2010 2:14 AM

    No, you can only have one login.
    However, this is simple to resolve by creating a database link in one database to the other database.

  • Multiple Lease Duration for one DHCP Scope?

    Hi All,
    I have an urgent question. I wanted to know if it is possible to have many lease durations for different computer groups getting their addresses from one DHCP scope. I saw somewhere that it is possible to use User Classs or Vendor Classes for setting a lease
    duration for a group of computers sharing the same class Id ?
    If it is true, How can to configure ?
    Also i would like to know about the lease duration period what is the maximum days can we have ( 8 days After )?
    Thanks
    Atul

    Please refer to the following-
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/26de79f9-6ad7-4088-9077-006b9dd8c1fb/multiple-lease-durations-for-one-dhcp-scope?forum=winserveripamdhcpdns
    You can configure any value as lease duration; however if you want a very big/infinite value; it makes sense to convert the lease(s) to a reservation.

  • Multiple free goods for one item in standalone CRM

    Hi Gurus,
    We are trying to implement multiple free goods for one item in standalone CRM.
    As per SAP.help.com, it says that we can configure multiple free goods scenario in standalone CRM system.
    We tried to set up this in our system.  Basically we want to implement the scenario, where a user wants to  purchase item A, he should get a prompt for choosing between two free goods  B and C.
    We did the relevant IMG settings required for Free goods at  IMG ->CRM -> Basic Functions -> Free Goods.-> Set up Free Goods
    We also did the relevant item category determination where we have made an entry with
    Item Usage = " Free Goods" , Main item cat. = "TAN' , Item Category = "TANN".
    Now we went to create condition records in the path  "SAP Menu -> Master Data -> Prices and Conditions -> SAPCND/GCM - Maintain condition"
    We chose Application ="PRT", MaintenanceGrp="PRT_FGOODS", Maintenance context ="GCM"
    Then while creating conditon records , when I try to create two condition records where the Main Product is same but free good product is different, the system is not allowing to save these two condition records.
    it is giving error "Overlapping validity periods for two condition records".
    Please advice, if i am missing something. Thanks in advance for your help.
    thanks,
    Randhir
    Edited by: Randhir Soni on Feb 8, 2010 8:12 AM

    Constraints in free goods in R3 taken from SAP library
    Free goods can only be supported on a 1:1 ratio. This means that an order item can lead to a free goods item. Agreements in the following form are not supported: u2018With material 1, material 2 and material 3 are free of chargeu2018 or u2018If material 1 and material 2 are ordered at the same time, then material 3 is free of chargeu2018.
    Free goods are not supported in combinations with material structures (for example, product selection, BOM, variants with BOM explosion).
    Free goods are only supported for sales orders with document category C (for example, not quotations).
    Free goods are not supported for deliveries without reference to a sales order.
    Free goods cannot be used in make-to-order production, third-party order processing and scheduling agreements.
    If you defined a free goods for variants in a generic article (only SAP Retail), you can only process the variants in the purchase order and goods receipt individually (as single articles). In other words, you cannot process them using the generic article matrix.
    This answers your qn Not possible in R3
    If you are on Retail scenario this is possible thro bonus buy schemes
    But a lot of customizations needs to be done and you need a retail server to do that
    Regards
    Raja

  • Multiple free goods for one main material

    Hello SAP Gurus,
    we have a business requirement that to issue multiple free products for one main product, if the upliftment is beyond the specified quantity.
    Using free goods functionality, is it possible to achive the above requirement.
    e.g                                                     Quantity
    main product        123456                         10
    free goods             xxxxx                           2
    free goods             yyyyy                           1
    is it possible to maintain such data thru free goods or any development needs to be done.
    regards
    Casimer

    Constraints in free goods in R3 taken from SAP library
    Free goods can only be supported on a 1:1 ratio. This means that an order item can lead to a free goods item. Agreements in the following form are not supported: u2018With material 1, material 2 and material 3 are free of chargeu2018 or u2018If material 1 and material 2 are ordered at the same time, then material 3 is free of chargeu2018.
    Free goods are not supported in combinations with material structures (for example, product selection, BOM, variants with BOM explosion).
    Free goods are only supported for sales orders with document category C (for example, not quotations).
    Free goods are not supported for deliveries without reference to a sales order.
    Free goods cannot be used in make-to-order production, third-party order processing and scheduling agreements.
    If you defined a free goods for variants in a generic article (only SAP Retail), you can only process the variants in the purchase order and goods receipt individually (as single articles). In other words, you cannot process them using the generic article matrix.
    This answers your qn Not possible in R3
    If you are on Retail scenario this is possible thro bonus buy schemes
    But a lot of customizations needs to be done and you need a retail server to do that
    Regards
    Raja

  • Creation of multiple cost center for one emplyee

    HI All,
    I have requirement . one emplyee is working two projects so need create two cost centers for one employee.
    please tell me how create multiple cost center for one employee.
    Thanks&Regards
    ramesh

    hai.
    if he works half the time... u can give 50%.. or just get it confirmed from core team member..
    manu

  • Show or view multiple album art for one song on iPhone 4?

    Is it possible to show or view multiple album artwork for one song on an iPhone 4, especially on the now playing screen? I figured since iTunes has this feature then the iPhone should too. Can I download an app that does this? I've searched but couldn't find any, maybe I'm using other keywords. Could anyone point me in the right direction with this?

    Darn. I hope an app is designed to be able to do this soon. From what I've seen this feature isn't really in demand so it could take a while. Thanks for replying.

  • Isquint takes over 300 minutes for one file...

    Ok I know its apple discussions but I cant find ANY support for iSquint. Does anybody use it here and know why it takes anything for half an hour to 300 or 400 minutes for one file?
    There is no real pattern, it seems to be that if I add more than one file it's almost certain to take ages, but a single movie set to convert could take 30 minutes or 300..
    The movies are simple mp4's, dvd's encoded with handbrake. between 500mb and 1.2GB in size. No pattern to file sizes taking a specific length.
    I literally just thought though, some of these files have already been converted from avi to mp4 using iSquint, and I haven't checked for a pattern to see if these ones take ages and others do not.
    Could this be it or does anyone know what might be causing it?
    I'm running a 24" iMac with 2.8Ghz processor and 2GB RAM
    Regards

    In handbrake there is an option to encode it to add an iPod compatibility. However as far as iSquint goes, I gave up on it after i began to run out of space on my 'pod. I would suggest to reinstall the application.
    Sorry i cant be more of a help,
    Kevin

  • Multiple component instances for one component usage

    Hi,all
    How can I create multiple component instances for one component usage.
    I'm using the following code for creating  a single component instance for specific component usage:
    if(c_Usage.hasActiveComponent())
          c_Usage.deleteComponent();
    if(wdContext.currentContextElement().getSelectedTab().equalsIgnoreCase("Registered"))
          c_Usage.createComponent("health.gov.registered.Registered";);
    I can't create one more component instance for
    IWDComponentUsage c_Usage
    cause I have to delete the component instance associated with this component usage.
    Any idea how can I do it anyway?
    Regards,
    Michael

    Hi,
    To create another instance of the same component you need to embed the same component under the Used Components more then once. For Example if you have Componet A to which you want to embed Component B then under "Used Components" of Component A add component B twice.

  • Error - The file must match the template type. Upload one file per language

    hi,
    Error - The file must match the template type. Upload one file per language and territory combination.
    i am getting above error while registering RTF template in oracle application e -business suite using XML publisher admistrator responsibility.
    My work :
    i generated xml output using concurrent program.
    for this i used standard PO report,
    the executable name: POXPRPOP.
    i designed the template using MS Office word (for RTF template)
    for this :
    <?start: body?>
    <? for-each: G_Headers?>
    VENDOR:
    <?POH_VENDOR_NAME?>
    <?POH_VENDOR_COUNTRY?>
    PURCHASEORDER NO.
    <?POH_PO_NUM?>
    SHIP TO:
    <?C_COMPANY?>
    <?POH_SHIP_ADDRESS_LINE1?>
    <?POH_SHIP_COUNTRY?>
    BILL TO:
    <?C_COMPANY?>
    <?POH_BILL_ADDRESS_LINE1?>
    <?POH_BILL_COUNTRY?>
    <?end for-each?>
    <?end body?>
    saved this file as "Purchasing.rtf" on desk top
    i registered data definition
    name:purchase order data definition.
    code : short name of concurrent program.
    i try to create template Or register the template in oracle e-business suite.
    name: purchasing template
    code: concurrent program short name
    type : RTF.
    file : browse from desk top (purchasing.rtf)
    language:english
    territory: US.
    but i am getting above error
    could any one help to come out of this problem.
    thank you
    regarding,
    sai krishna@cavaya

    Hi,
    I am getting the error as
    The file must match the template type. Upload one file per language and territory combination.
    I have checked the template name. It doesn't exist already. Please help me.
    Thanks in Advance,
    Jeganathan

  • TS2512 i m trying to convert dpx files to mov in colour 1.5.3 but in file browser files are not seen in proper order for ex files names are 12345 it is coming as 23145 bcoz of which in output also its coming in wrong order

    i m trying to convert dpx files to mov in colour 1.5.3 but in file browser files are not seen in proper order for ex files names are 12345 it is coming as 23145 bcoz of which in output also its coming in wrong order

    1) What you downloaded should be a packed file (zip, tar.gz, etc) that needs to be unpacked into the directory of your choice.
    2) & 3) are answered by Ant's installation documentation (the page you're quoting from):
    http://ant.apache.org/manual/index.html

  • Hi, I have answered no to the question about saving password for one spesific site. I have changed my mind and would like Firefox to save the password. How do I reactivate the password saver for one spesific site?

    Hi, I have answered no to the question about saving password for one spesific site. I have changed my mind and would like Firefox to save the password. How do I reactivate the password saver for one spesific site?

    Check exception list of your Firefox password Manager and check if your site is there or not?
    * http://kb.mozillazine.org/User_name_and_password_not_remembered#Password_Manager_settings

  • Aperture 3.1.2 When exporting files to Finder is creating a folder for each file, that means export 200 files is creating 200 folders for each files. Does anyone knows how to fix this. Thanks

    Aperture 3.1.2 When exporting files to Finder is creating a folder for each file, that means export 200 files is creating 200 folders for each files. Does anyone knows how to fix this. Thanks

    No. This is NOT true. I've been battling with this for a couple hours.
    I choose Export>Versions
    choose
    Subfolder Format: Project Name
    no custom subfolder
    Name Format: Current Version Name.
    Aperture creates project folders for each image and names them Projects1, Projects2, Projects3 etc.
    To be sure, I have no project named Projects
    x
    This particular Aperture library has 16 projects. you can see in the screen grab it's created more than 30 folders
    If I uncheck the Subfolder, that is say NONE, I just get images and images and images, not in their project folders (of course, because I've said NONE, so why would it put them in project folders?)
    I just want to export the entire library and have the versions placed in folders named by the projects from which they came.... ez enough, no?

Maybe you are looking for

  • Monitor power settings when using HDMI to external TV

    Folks My monitor powers up just fine according to the 5 min setting I have. However, if it's projecting a movie to a TV, it never sleeps the monitor. Any way to change this behavior? Thx

  • "Merge"/combine different iViews on a page

    Hello, I wish to realise the following requirement: Imagine 2 users A and  B. We have 3 iViews i1, i2 and i3. i1 is assigned to role1, i2 is assigned to role2, i3 is assigned to role3. User A has role1 and role3, user B has role2 and role3. If  user

  • Contract and periodic billing in sales order

    Hii All, Need some help. We have a scenario where various sales orders having periodic billing are raised with respect to a contract. But after some period if the rates change then i will change those rates in the contract. Then this new rate should

  • Would like to reduce the size of Firefox header

    The header in firefox takes up a lot of room and I would like to reduce the size to its bare minimum. There are tabs such as "most visited", "getting started", and "latest headlines" that I never use. I want just my file, edit, view, history, etc bar

  • Cannot connect to Nokia Music Manager! Help needed...

    I am using Windows Vista Home Premium with PC Suite version 6.83. Just got Nokia N95 and getting used to features however an issue concerning tranfering music from Laptop to phone. Originally simply sent tracks via blutooth however came across featur