Mapping issue: Two different IDOC P19 segment to one flat file line

Hello,
Scenario: For each P01 segment (without uepos) in an order idoc I want to create one line in a plain text file.
Problem: One P01 segment has two P19 segement with different qualifiers. I want to map both P19.IDNTR (with different qualifiers) fields to the same record in my plain text file.
How can I do this?
My "if statement" does noet work. I check the qualifier in the P19 segment. But when one field in the record of the plain text is filled with an P19.IDTNR the second P19.IDTNR field is empty.
Please advice.
Best Regards,
Erik van Lisdonk

Erik,
you should get both values if you change the Context of your INPUT-Fields one level higher (for the IDTNR and for the Qualifier that is checked in the IF-statement).
The Context needs to be set to P01 for all fields and I assume it is set to P19.
Greetings
Stefan Hilpp

Similar Messages

  • BPM could be trigger for two different IDocs

    Hi Gurus!!
    Can I configure a BPM to be triggered by one of two different IDocs? I explain my scenario to clarify the question.
    I have a requirement to do several actions with the IDoc Types MATMAS05 (Material) and CLFMAS02 (Material Characteristics).
    To do these actions I use BPM, but I have several scenarios: receive MATMAS05 and CLFMAS02, receive only MATMAS05 or receive only CLFMAS02.
    I need to configure the BPM to be triggered by MATMAS05 or CLFMAS02, somebody could guide me, please?
    I have read something about a receiver determination step on the BPM.
    Thanks and regards,
    Manuel.

    Hi All,
    I am also facing same problem. I want to create material using IDOC and characteristics value. Don't know how to proceed.
    Can any body explain in detail if possible with example code.
    Thanks and full points in advance.

  • Can I have two iPads with two different credit cards linked to one iTunes account?

    Can I have two iPads with two different credit cards linked to one iTunes account?

    It is still not possible to have two credit cards with your iTunes store account. I've just had a discussion with an Apple representative who suggested I give feedback to Apple about this. The more we are, Apple might listen to us in the end.
    This is the link
    http://www.apple.com/feedback/itunesapp.html
    Please feel free to use or modify what I wrote there:
    I’m surprised as are many other people who have the same issue (can see this in many forum threads) that Apple don’t give us the possibility to have at least 2 credit cards with one AppleID/account like most other vendors do (even much smaller than Apple). This certainly forces people to buy some stuff elsewhere that they otherwise would have purchased from Apple (for example books) or restrain from buying things they would have bought if they had a choice to use a second Credit Card.
    Not having this option puts me in a precarious situation since it would not be OK to buy just anything with the Credit Card that is tied to my business (and in many cases like mine the business is only one person, the VAT No being the same as my social security No).
    Sole traders need an option too.
    Greetings
    Anna

  • Two Different Generation IPod Nanos and one Computer

    Okay so my boyfriend and I have two different geneeration IPod Nanos and one computer.. does it affect either device's performance ? and is it possible to have itunes setup so that he can have he's music sync to he's Ipod and vice ver sa without having any hassle? .. does this make any sence?

    In your case it is most likely a drive letter confusion issue. Take a look at the following article and see if the steps help fix your issue:
    Windows confuses iPod with network drive or hard drive and may keep iPod from mounting or songs may seem to disappear

  • Can you use two different apple ID's on one Ipad?

    I would like to use two different apple id's on one IPAD.  One apple ID is for work and the other is for personal use.

    Read this.
    iTunes Store: Associating a device or computer to your Apple ID
    http://support.apple.com/kb/ht4627
     Cheers, Tom

  • Is there a way to consolidate two different Apple ID's into one. I have an old Apple ID that I used for Itunes and a new I used to set up my iphone.

    Is there a way to consolidate two different Apple ID's into one. I have an old Apple ID that I used for Itunes and a new one I used to set up on my iphone.

    You cannot merge accounts.
    Why did you start a new account?

  • Can i have two different face time accounts on one apple id

    Would like to have two different face time accounts, one on mac book pro and one on ipad.  Can I have two different face time accounts on one apple id?

    You simply need to have a separate e-mail identifier for each.  One e-mail address would be associated with the mac book, the other separate and distinctive e-mail address would be associated with the i pad.  This is done under one single apple id.  Essentialy, the e-mail addresses are the FaceTime calling numbers for each. 
    Wuz

  • Run two different Tcodes "KKS2" then "KO88" one after the other

    Hi Abapers,
    I want to run two different Tcodes "KKS2" then "KO88" one after the other.  The variance is calculated using Tcode KKS2, after the successful calculation of variance the KO88 Tcode needs to be run for the settlement of materials.
    How do I run both the Tcodes in a single program using BDC. The customer needs a Tcode for this and a selection screen for production order number as input.
    Shall I use session bdc or call transaction?
    I also want to display errors of the both the Tcodes in a single log.
    Regards,
    Anuradha.

    Hi ,
           For  uploading datas for Two transaction using a single program u have to go for Batch input session . Its not feasible with call transaction . Create a session using open_session and then with in it you have to manipulate screen number and screen fields for each of them and you have to ues two insert statement . Try using commit and wait after first insert of the Transaction . And then go for the second .And then use bdc_close_session to close the session.So that only one session will be created for both transaction . You could easily get the screen field name and number by creating two call transaction program and copy from them .                                                                               
    With Regards,
                                                                                    M.Sreeram

  • How to save contents of two different rich edit box into single rtf file in windows 8.1 app

    Developer, I have requirement to save registration data into rtf file.. These can only be done by if I put rich edit box to fill the data.. Now if I am going to write the code for saving the data of different rich edit box into one particular file, it
    only saves the data of last rich edit box.. So plzz suggest that how can I save the contents of different rich edit box together into one rtf file.

    Ok Nishant, just did some quick research, since rtf file is unlike txt file, we cannot simply directly write some content to the rtf.
    You can try to find some third party code that can help you insert text into rtf file or you would like to load the content from rtf out to the richeditbox and merge them to one richeditbox and then save back to the file.
    You could like to see how to read/save rtf file sample from:
    RichEditBox class
    --James
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • One Java Mapping - two Different IDOCs

    Hi,
    is it possible to create 2 different IDOCs(IDOCTYP or MESSTYP different) with one Java mapping?
    thx

    Or what is more interested, when mapping is done only for first message, in my case IDOC, it is ok, if ther isn't any second message. What is also confusing, when I run whole proces, system dumps for all cases, even for one IDOC message. Trace:
    <Trace level="2" type="T">com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XML Declaration not allowed here.(:main:, row:1, col:44)(:main:, row=1, col=44) -> com.sap.engine.lib.xml.parser.ParserException: XML Declaration not allowed here.(:main:, row:1, col:44)</Trace>
      <Trace level="1" type="T">*** END APPLICATION TRACE ***</Trace>
    Error:
    xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="MAPPING" />
      <SAP:P1>unexpected end-of-file</SAP:P1>
      <SAP:P2 />
      <SAP:P3>1</SAP:P3>
      <SAP:P4>1</SAP:P4>
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Exception CX_XMS_SYSERR_MAPPING occurred (program: CL_XMS_MAIN===================CP, include: CL_XMS_MAIN===================CM00A, line: 604).</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>

  • BAI code map to two  different GL's based on currency

    For a BAI code ex:195,if i have to post to two different Gl accounts based on the currency for the incming payments.How do i map it in EBS.One BAI code to two different gl's based on currency.
    Please advice.

    In the EBS config, you assign BAI codes to posting rules.  Posting rules use account symbols.  GL Accounts are assigned to account symbols.  When you map account symbols to GL accounts, you can create different entries by currency.  So you would set up multiple entries for the account symbol(s) - one entry per currency - and assign the appropriate GL account for the currency.
    Regards,
    Shannon

  • Same message type and two different IDOCS need to be triggered

    Hi,
    I have two idocs with same message type,the partner profile is same.
    Please tell if there is any way to handle this situation without changing the message type.
    Please do the needful.
    Thanks,
    Nivedita

    Hi
    We can have same message type for different idoc types.
    ex:MATMAS.MATMAS01
        MATMAS.MATMAS02
        MATMAS.MATMAS03
    In the above example MATMAS is the same message type for different idoc types.
    Thanks

  • Filename seperately & Putting data from Hash Map to two different columns

    The following code produces the output as :
    $ java getNamefile
    File Name : reaper.txt
    File Name : Testing
    Is it possible to just get the file name "reaper" from it instead of reaper.txt
    import java.io.*;
    class getNamefile
         public static void main(String[] args)
              File f1 = new File("C:/javamyprograms/reaper.txt");
              File f2 = new File("C:/javamyprograms/Testing/");
              System.out.println("File Name : " + f1.getName());
              System.out.println("File Name : " + f2.getName());
    }Secondly I am trying to put the values from a HashMap into ".xls"
    PrintWriter out = new PrintWriter (new FileWriter("Unique_words_count" + file) + ".xls");
    and out.write(key + " " + hm.get(key));
    This put the values in the same columns. I want the results to be two different columns like
    column1 column2
    key1 value1
    key2 value2
    Please do advise. Thanks in advance.

    Is it possible to just get the file name "reaper"from it instead of reaper.txtActually, I ran a test, and
         System.out.println(  "file name portion == " + ( f.getName().split( "\\." ) )[ 0 ] );works also:
    This has the same effect as:
         String fileName = f.getName();
         String splitFileName[] = fileName.split( "\\." );
         System.out.println(  "file name portion == " + splitFileName[ 0 ] );Now that I think about it, the second form is more easily understood. There is really no reason to do it the first way. Just interesting to note that you can.

  • Two different radius authentication methods on one guest wlan

    I would like to use two different radius servers to one guest wlan.
    One radius server is the Cisco NAC guest server, but I would like to use e.g. a RSA SecurID server as the second.
    If the user does not exsist on the NAC guest server, the wlc should check the RSA server.
    As I understand the servers mentioned under the layer 3 config tab on the wlan configuration tab is doing round-robin.
    Is there any way that I can implement this?
    Best regards,
    Steffen Lindemann

    Is there anything on the roadmap for the NAC guest server to use AD as an external database?
    It seems like it shouldn't be too difficult since the server is already using AD to map sponsor roles.
    We really would prefer to use a single SSID instead separate SSIDs for guest and domain accounts.
    Thanks in advance!

  • How do I put two different apple id accounts on one computer?

    I have my account on my home computer but I have another account that I set my Ipad up with. How do I put two different accounts on to one computer?

    Refer to FAQ 
    http://support.apple.com/kb/HE37
    I have multiple Apple IDs. Is there a way for me to merge them into a single Apple ID?
    Apple IDs cannot be merged. You should use your preferred Apple ID from now on, but you can still access your purchased items such as music, movies, or software using your other Apple IDs. 

Maybe you are looking for

  • What is the best wide format printer to use for graphic design?

    Hello all, I recently upgraded to a new iMac and am looking for the most suitable colour tabloid or super tabloid printer. I am willing to pay as much as $3000 and have read excellent reviews of the Phaser 7500, but the size and weight are too much f

  • Adobe Acrobat XI and Microsoft Expressions 4

    Background: Windows 8.1 box, Adobe Acrobat XI (ver. 11.0.07), Microsoft Web Expressions 4 User has Web Expressions open to the intranet web page access, she's able to use that to make changes, changes are seen reflected on intranet page. However when

  • How do i see what applications are running in the background

    My iMac is running very slow my operating system is OS X Yosemite Version 10.10.2 with a 2.5 GHz Intel Core i5 Processor. How do I see what applications are running in the background?

  • Essbase and Shared Services

    Hi everyone, I have installed the complete EPM suite on a single machine. All the products work fine and everyting is configured correctly (according to the CONFIGURATOR) but I can't see Essbase in Shared Services? When I expand the Application Group

  • Duplicate photo's on iPod

    I used to get my photo's on my iPod from a folder on my desktop, but I moved that folder into my pictures. When I wen't into the ipod options I picked that same folder from my desktop that I moved into my pictures. Now I have two sets of the same pho