Mapping of records in file to one BAPI

Hi
Is it possible if I have a file with two different type of records and which needs to be mapped to two different structures of BAPI.
How can this be done.
Regards
Rinku

<i>Is it possible if I have a file with two different type of records </i>
If its an XML file u may directly use the graphical mapping and if it is a text file u should go for file content conversion
<i>two different structures of BAPI.</i>
A single BAPI could not have different structures.
Are u trying to say, u want to map with different fields?
Regards,
Prateek

Similar Messages

  • Two file senders to one bapi

    hi all.
    sorry i just want to conformthat how many SA,RA,ID,RD do i need in my 2 file to bapi scenario.
    here there r two senders they r sending the files to one bapi.
    those files have same fields.
    so i created one DT,MT,MI,MM,IM.
    and i need to conform how many SA,RA,ID,RD do i need in my config.
    here iam not using any bpm.
    waiting for the great anser.
    cheers.
    seeta ram.

    Hi
    SA - 2 (for each sender)
    RA -1
    ID- 1
    RD-1
    regards
    krishna

  • I'm running logic pro 8.0.2 on Leopard 10.5.8. I've recorded an evening of live music, the cut the recording into songs using one audio file folder. When working on an individual song, I can't access the sampler.  I get the message "nothing to display"

    I'm running logic pro 8.0.2 on Leopard 10.5.8. I've recorded an evening of live music, then cut the recording into songs using one audio file folder ad multiple song files. When working on an individual song, I can't access the sampler.  I get the message "nothing to display" or "no region or audio file selected"  After much research on the web, I believe this is a permanent bug.  Does anyone have a good work-around for this type of work.  We record live 16T band rehearsals constantly and would love to be able to break individual songs out of the large file and be able to use the sampler.  Thanks in advance for your ideas!  Cheers.

    Another thing - if I copy one of the tracks to another track, then the sample editor works on the copied track.  I don't want to have to copy 16 tracks to new tracks to be able to use the sample editor on a project.  Thanks again.

  • How does one add a personal recorded M4R file to the ring tones in the UK system for iPhone 3GS

    How does one add a personal recorded M4R file to the ring tones in the UK system for iPhone 3GS.
    I have tried all sorts of ways of adding my personal M4R file but can't find the place (within the UK versions of iTunes} to transfer this file so that I can select it as a ring tone.
    I've tried also changing to the US version of iTunes and still can't find a way of doing it, although I have heard that it can be done.

    You should be able to just drop it into the library within iTunes.
    http://cnettv.cnet.com/create-free-iphone-ringtones-using-itunes-8-0/9742-1_53-5 0003920.html
    Check out the video above for a lot good info. The ringtone must be less than 35 seconds.

  • Mutiple mapping XML files for one datasource

    One of our projects raised the following question. Any help would be greatly appreciated.
    "Can we have mutiple ToplinkMappings.xml files for one database? The reason we are looking at it is, our toplinkMappings.xml file size is keep growing in size(right now 2.2MB), we are getting into issues while comparing with the previous versions. The PVCS diff tool and beyond compare tools are not able to interpret the corresponding blocks of code on both the versions properly."
    Haiwei

    Hi Haiwei,
    Yes, you can have multiple deployment.xml files in a session. Take a look at Configuring Multiple Mapping Projects.
    --Shaun                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to produce a single file per one IDOC?

    Hi Experts,
    I have a scenario where I need to create a file for one IDOC. Suppose if the IDOC contains multiple IDOCS then I need to produce multiple files. How can be done using FCC?
    Secondly If there are multiple IDOCs in to a single file how can I have a new line after each record with a deliminator at the end of the last field?
    Thanks
    Rajeev.

    Hello Rajeev,
    I have a scenario where I need to create a file for one IDOC. Suppose if the IDOC contains multiple IDOCS then I need to produce multiple files. How can be done using FCC?
    In order to achive this you can use MultiMappiing,
    - If you have multiple IDOCS at source side, you need to add those at source message type in MessageMapping and map to the file.
    check the following link how multimapping is achived.
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    Secondly If there are multiple IDOCs in to a single file how can I have a new line after each record with a deliminator at the end of the last field?
    As far i know i don't think it is possible i can't find any option at receiver FCC anyway look at this blog once
    /people/sravya.talanki2/blog/2006/12/27/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-iii
    Regards,
    Prasanna

  • Scenario File to RFC (BAPI): BAPI not executed successful

    Hi Dear Friends!
    At execution of asynchronous Scenario File to RFC (BAPI BAPI_ACC_DOCUMENT_POST)
    I have the following error in RWB Communication Channel (RFC receiver):
    - Error: 2007-07-25 11:08:25 EEST: Message processed for interface BAPI_ACC_DOCUMENT_POST:
    com.sap.aii.af.rfc.afcommunication.RfcAFWException: error while processing message
    to remote system:com.sap.aii.af.rfc.core.client.RfcClientBapiException:
    BAPI not executed successful
    Simultaniously <b>Test Configuration</b> was executed successfully. And mapping is good.
    But I don't any message in <b>target system</b> in <b>sxmb_moni</b> (formed by BAPI).
    In <b>XI system</b> I see in <b>sxmb_moni</b>:
    <Trace level="1" type="T">--start sender interface action determination</Trace>
      <Trace level="1" type="T">select interface mi_sender*</Trace>
      <Trace level="1" type="T">select interface namespace urn:file:to:bapi</Trace>
      <Trace level="1" type="T">no interface found</Trace>
      <Trace level="1" type="T">--start receiver interface action determination</Trace>
      <Trace level="1" type="T">Loop 0000000001</Trace>
      <Trace level="1" type="T">select interface *</Trace>
      <Trace level="1" type="T">select interface namespace</Trace>
      <Trace level="1" type="T">no interface found</Trace>
      <Trace level="1" type="T">--no sender or receiver interface definition found</Trace>
    Please help me understand my error.
    With the best regards,
    Natalia Maslova

    Hi, Dear Friends! Thanks for support!
    My settings of
    Connection between systems:
    DX7 01 (client 001) - XI Integration Server and DE2 13 (client 200) - target system.
    Phisically both systems are in one server: 10.20.30.24 (srv24)
    Business system DE2_200 has Communication Channel: cc_bapi_r, its settings (in Integration Builder Configuration):
    Adapter Type: RFC
    Receiver
    Transport Protocol: RFC
    Message Protocol: RFC (RFC XML)
    Adapter Engine: Integration Server
    RFC Client Parameter:
    RFC Server Type: SAP System
    Application Server: 10.20.30.24
    System Number: 13
    Authentication Mode: Use Logon Data for SAP System
    Logon User: n_maslova
    Logon Password: *******=*******
    Logon Language: EN
    Logon Client: 200
    Maximum Connections: 1
    x Advanced Mode
    x Send 'Confirm Transaction'
    x Commit Handling for Single BAPI Calls
    x BAPI Advances Mode
    Successful RETURN-TYPE Values: 0
    As I understand these settings are the settings of RFC-destination for target system DE2 13 (200) from XI (DX7 01 001).
    In SLD, Business system DE2_200 is defined as:
    Integration:
    Role: Application System
    Related Integration Server: DX7_001
    Technical System: DE2 on srv24
    Client: 200 of DE2
    Logical System Name: DE1CLNT200
    In target system DE2 13 (200) with the help of transaction sm59 I created
    RFC-destination DX7_001 of type H:
    Technical setting parameters:
    Target Host: 10.20.30.24
    Prefix Path: /sap/xi/engine/?type=entry
    Service Number: 8001
    Registration and Safe:
    SSL: Non active.
    SSL: client certificate: DFAULT SSL-client
    Enter to system:
    Language: EN
    Client: 001
    User: PIAPPLUSER
    Status PW: saved
    Password: ********
    After that in this system DE2 13 (200) with the help of transaction sxmb_adm I set in Integration Engine -> Configuration -> Configurate Integration Engine
    (Change Global Configuration Data):
    Role of Business System: Application System
    Related Integr. Server: dest://DX7_001
    Best regards,
    Natalia

  • Posting  multiple records from file to idoc

    Hi Exerts,
       i have done scenario to post one record from file to IDOC, to post multiple records from file to idoc what are the options to be modified in the scenario.
    thanks,
    dhanush

    Hi Dhanush,
      You need to change the occurance of idoc to 0 to unbounded ie need to opt idoc packaging.
      Just download the xsd of you idoc to the desktop and change the occurance tag as "<xsd:element name="IDOC" type="COND_A.COND_A02" maxOccurs="unbounded" />" and then reimport it into External definition and use it in your message mapping and then map it with you source structure.
    Regards,
    Prasanthi.

  • File to RFC/BAPI - Async- How to capture response field value

    Hi,
    I am doing File to RFC/BAPI Scenario. I have Two BAPI's. THe same source xml file is mapped to the Two Target BAPI's.
    For the first flow i.e File to BAPI1, I need to capture BAPI Response, field value and pass this value as Input to the BAPI2.
    How do I proceed with the Mapping. I am working on PI 7.1
    Any input would be Appreciated.
    Thanks & Regards,
    Varun

    Hi Varun,
    apparently you need a Business Process:
    XML -> BP (asynchronous), Map to Bapi1 request structure
    BP -> BAPI 1 (synchronous)
    Transformations step with multi mapping merging XML and Bapi1 response to Bapi2 request structure
    BP-> BAPI2
    Regards,
    Udo

  • Move a file from one lacation to another in FTP

    Hi Experts,
    i have scenario were i have to move a file from one location to another in a FTP the source and the Target  structure are same can we go  with only configuration(ID) why because there is no mapping done but i have dbout when we create a sender agreement,receiver agreemant we need to mention the Message Interface is there any way to skip the IR(Design) part
    Do provide inputs
    Thanks,
    Sampath

    hi ,
      you can skip your IR part. follow this blog
    /people/william.li/blog/2006/09/08/how-to-send-any-data-even-binary-through-xi-without-using-the-integration-repository
    /people/shabarish.vijayakumar/blog/2006/04/03/xi-in-the-role-of-a-ftp
    Edited by: Robin on Jan 20, 2009 11:50 AM

  • How to transfer files from one partition to another on the same computer

    I had a crash could not boot back into my 8.1 upgrade. Went out bought standalone 8.1. I loaded it on HD free space now I want to transfer files from one partition to another.

    hi
    say there are two infoobjects X  and Y.
    X is existing infoobject and Y in new one.
    go to infosurce-search for X-create export datasource - map the rules and load the data.
    This is one way.
    Other way is u can use X as a reference object of Y so that both of them have same structure and both objects will share common database tables in BW which are exsting for X.
    Hope this helps.
    Kindly assign the points if it helps.

  • Mac Book Pro 13" LPTP-Photo Booth Recorded Video File won't find my video/movie that I recently recorded from Sun 9-1-13. Is there a way I can retrieve the files under the Time Machine or will I need to download something for iPhoto Booth?

    I have been having the most difficult times with the use of iPhoto Booth for recording movie files of church services. It seems if I make a rename on the files, for some odd reason, I cannot find it in any of my Files Folders in Finder. I need to know is there a more simple way to retrieve movie files thru iPhoto Booth or is there something I may can download to fix this issue? Also, is there a way the videos can be flipped around to not a mirror image, but to a reverse camera? Please anyone who recognizes this problem, contact me ASAP. Thank you for your support!

    You used the data.  Verizon can not see what it was sued for.  However your phone can see whats apps used the data.  go to settings-data usage- there will be a place that says data usage cycle.  line the dates up with your cycle.  then there will be a bar graph below that   extend bother white bars one all the way to the left and one all the way to the right.  after those are extended below that will be a list of apps,  there should be one that used over 2 gb and that will show you what app used that data in her purse

  • How to move files from one folder to another folder in webdynpro java for sap portal

    Dear Experts,
    I wan to move files from one folder to another folder in SAP portal 7.3 programmatically in webdynpro java.
    My requirement is in my portal 1000 transport packages is their. Now i want to move 1 to 200 TP's into Archive folder.
    Can you please help me how to do in through portal or wd java ...
    Regards
    Chakri

    Hello,
    Do you know what the difference between copying a file this way :
    ** Fast & simple file copy. */
    public static void copy(File source, File dest) throws IOException {
    FileChannel in = null, out = null;
    try {         
    in = new FileInputStream(source).getChannel();
    out = new FileOutputStream(dest).getChannel();
    long size = in.size();
    MappedByteBuffer buf = in.map(FileChannel.MapMode.READ_ONLY, 0, size);
    out.write(buf);
    } finally {
    if (in != null) in.close();
    if (out != null) out.close();
    ================SECOND WAY============
    AND THIS WAY:
    // Move file (src) to File/directory dest.
    public static synchronized void move(File src, File dest) throws FileNotFoundException, IOException {
    copy(src, dest);
    src.delete();
    // Copy file (src) to File/directory dest.
    public static synchronized void copy(File src, File dest) throws IOException {
    InputStream in = new FileInputStream(src);
    OutputStream out = new FileOutputStream(dest);
    // Transfer bytes from in to out
    byte[] buf = new byte[1024];
    int len;
    while ((len = in.read(buf)) > 0) {
    out.write(buf, 0, len);
    in.close();
    out.close();
    And which is better? I read up on what each kind of does but still a bit unclear as to when it is good to use which.
    Thanks in advance,
    JavaGirl

  • Create two or more flash files from one (Excel) data source

    Hi experts,
    I have the following requirement about Xcelsius.
    Our data source is a relational database. Via the ODBC driver we manage to create several queries and execute them into Microsoft Excel. Those excel sheets are the basic for the Xcelsius reports.
    Now we want to build some highly visualized reports on that, but the crucial fact is. We don't want to have all the reports in one FlashFile, but we need several flash file depending on the area of the queries.
    Hence our requirement would be one of the following points:
    - create multiple flash files from one .xlf
    - create multiple .xlf from data source
    Another requirement is the automatic execution of the process. We don't want to have a person in between, who has to call all the .xlf files to create the Flash reports step by step. What we need is an automatic process.
    Can this requirement be fulfilled in a way?
    Maybe by using the Xcelsius SDK?
    Thanks for any helps and comments!
    Sebastian

    Sebastian,
    Firstly talking about the important requirement i.e. automating the process:
    In your case you can achieve this by using the XML maps. This will pick the data automatically when ever report is refreshed.
    Secondly, both the approaches are correct, however i would go with the first one.
    1. Create multiple flash files from one .xlf
         You just need to create one dashboard and have a filter on areas (Invisible) and then export to flash (for every area).    
    2. Create multiple .xlf from data source
         This approach is also fine, however you need to create multiple dashboards and do the same thing i.e filter data based on area.
    P.S. Did you get a chance to explore options to integrate Xcelsius with your Relational Database, this will be much effective.
    -Anil

  • UDF - Removing Header Record from File

    Hi Team,
    In my file(File Content Conversion) to ABAP server proxy scenario...
    The source File structure is like this...
    KUNNR|Matnr|Description----->(This is Hearder Record.Each File contains this header record.)
    1001|0077321|Special Materials
    1002|0077323|Raw Material
    File adapter will picks the file , In Message Mapping The first record is the Header Record from the above file structure.So I need to remove the Header Record.
    Can we handle  this requirement with any FCC parameter ;I think we can do it with the help of UDF in MessageMapping?
    Can anybody ghelp me the sample code for this.
    Thanks.
    Drumi

    Hi,
    You can use Document Offset in FCC to  specify the number of lines that are to be ignored at the beginning of the document.
    Regards,
    Priyanka

Maybe you are looking for

  • IPod will not charge...?

    So, I just bought a reconditioned 20G 2nd Gen iPod. I installed the software and plugged in the iPod to the power adapter.... and all I get on the iPod is the sad iPod icon. It makes sounds while it's hooked up to the power cord, but the little sad i

  • User Settings lost after session is released

    I am having a problem with the User settings being lost after the user logs off the system. menu settings, fields displayed in Marketing  Documents,  displayed User Defined fields and the sequence of User defined fields get lost after the session end

  • Multiple clients with role production

    Dear SAP experts, Is it possible to assign the client role "production"  (in scc4) to multiple clients in 1 instance. If the answer is yes then how can it be done because if I try to do it via ssc4 i get an error that there already is a production cl

  • If i want to texture one of my 3D models in 3D-s max, should I be using Illustrator or photoshop

    just want to know what components of a texture (specular, diffuse, colour etc..) i create in which program

  • Oracle 8i and MQseries queues

    Is there any possibility to access MQSeries queues using 8i AQ packages routines? I have to read some data from MQS and insert it into Oracle on Win2k and wonder if I need any additional MQ interfaces. Best regards, Tomek.