Receiver FCC: endSeparator now working

Hi,
I am having an issue while doing file content conversion at receiver side.
My XML structure is as below:
<ROOT>
<MASTER>
   <DATA1>data1</DATA1>
   <DATA2>data2</DATA2>
</MASTER>
<MASTER_DETAIL>
   <DATA3>data3</DATA3>
   <DATA4>data4</DATA4>
</MASTER_DETAIL>
<MASTER>
   <DATA1>dataA</DATA1>
   <DATA2>dataB </DATA2>
</MASTER>
<MASTER_DETAIL>
   <DATA3>dataC</DATA3>
   <DATA4>dataD</DATA4>
</MASTER_DETAIL>
</ROOT>
Now entries in Receiver FCC were
ROOT,MASTER,MASTER_DETAIL
MASTER.fieldSeparator=|
MASTER_DETAIL.fieldSeparator=|
MASTER.endSeparator='nl'
MASTER_DETAIL.endSeparator='nl'
ROOT.endSeparator='nl'
ROOT.fieldSeparator='nl'
Output got:
data1|data2|data3|data4
dataA|dataB|dataC|dataD
Expected output :
data1|data2
data3|data4
dataA|dataB
dataC|dataD
Please let me know what to specify?
Regards, Anirudh
Edited by: Anirudh Vyas on Sep 17, 2008 3:05 PM

Problem solved!
I was supposed to do 2 stage mapping to map the parent and child segment of Idoc to Parent and child XML structure and then do mapping to have parent and child nodes as siblings of ROOT.
As below
MAP1: Idoc to XML1
MAP2: XML1 TO XML2
XML1:
<ROOT> *
<MASTER>
<DATA1>...</DATA1
<MASTER_DETAIL>*
<DATA3>...</DATA3>
</MASTER_DETAIL>
</MASTER>
</ROOT>
XML2:
<ROOT>*
<MASTER>
<DATA1>...</DATA1>
</MASTER>
<MASTER_DETAIL>
<DATA3>...</DATA3>
</MASTER_DETAIL>
</ROOT>
I was doing content conversion with XML1.
I didn't add MAP2 in interface mapping.
Now my output is as expected.
Thank you all for your help.
regards,
Anirudh.

Similar Messages

  • I have 4s iPhone , I download the iOS 7. Now the front receiver microphone is not working , please help me that how to fix the problem.

    I have 4s iPhone , I download the iOS 7. Now the front receiver microphone is not working , please help me that how to fix the problem.

    I live in South Africa, and I had the same problem with my iPhone 4.
    After weeks of frustration and swearing, I was in the process of restoring my phone to a previous iOS. To do that you need to turn the "Find my iPhone" option off, since i turned it off, my problem was solved. No need to repair anything or revert back to old iOS.
    ***** that i cant use Find my iPhone, but atleast i can use my phone.

  • Im having massive issues with my email... I cant receive emails for my work email... was working perfectly and now just wont connect, i assume that I need to use my home wifi as the outgoing server?? Please help :)

    Im having massive issues with my email... I cant receive emails for my work email... was working perfectly and now just wont connect, i assume that I need to use my home wifi as the outgoing server?? Please help

    For your work email, do you use a well known server or do you use their own server? Their server IMAP and SMTP addresses might of changed or you entered them in wrong. It might be something with your router but unless you blocked every incoming connection, then it should work. I would talk to your tech guys at work to see if it is on their end.
    Hope this helped a bit, Sean

  • Email send/receive suddenly doesn't work ; can't change email settings as BB phone won't accept valid username and password -- what to do?

    email send/receive suddenly doesn't work (as of September 24th); I can't change email settings (one suggestion from tech) as BB phone won't accept *valid* username and password -- what to do?
    I understand from a support note that if I keep trying my password/username combination, my BB will eventually delete all data!
    I can't understand this. I'm completely lost now. I can't remember what I've done or tried to do. A plethora of usernames and passwords is swimming in my head.
    Thanks for any hints. I have always loved this BB Bold and have never had any trouble with it.

    But the real question is why for the past year did the passwords work and then all of the sudden after this anomaly the disk password doesn't work?  I'm not 100% sure of what my configuration was, but I know that most of the time it required one password -- supervisor, and occasionally it asked for 2 -- disk password as well I believe.  This may have been related to the Password on Restart setting I think -- asking for the disk password on cold vs. warm boot.  But I know both were exactly the same.  But after this incident only the Supervisor password worked.

  • How to find the material received in warehouse for work order through table

    Dear All ,
    I am creating alerting system We have  requrirement that if the notification or work order is pending for 10 days then alert to be sent to planner and 20 days to his senior and 30n days to his senior
    We have created FM for this  every day program will run and check open work orders and notification pending for some days
    Now my question in the FM I want to add fields for material receipt
    Idea is say for refuebsihment order pending material is received in warehouse now when this is received alert to be send in the work order planner that material is arrived
    From which tables I can track this and how to know for the alerting system that material is arrived in warehouse so alert to be send
    please reply
    Regards
    pratap
    Edited by: Pratap bhikai  Ingole on Jun 5, 2010 9:20 AM

    Hi ,
    With reference to your second point , if your looking for some alret then whenever you have goods receipt or goods issue of stock material you can have a mail triggerred through workflow .. in our project what we did was , we had a user status ALMR - All Material received and this is SET by a  Z programme which checks whether all stock materials or non stock materials against the order have been received and sets the user status and this programme is run as a batch job with 30min frequency ....
    regrds
    pushpa

  • Receiver determination doesn't work for same IDoc type but in differentSWCV

    hi guys,
    we have an emergency now. Receiver determination doesn't work for same IDoc type but in different SWCV.Please check below for detail.
    1. The process flow is : R/3 IDoc -> XI -> Third party system
    2. In previous release R13, IDoc ORDERS05 was imported and used in XI and software component version is R13. And receiver determination was created.
    3. Now, in new release R17, IDoc ORDERS05 was imported from R/3 to XI again and software component version is R17. And in R17, the receiver determination created in R13 was used for both old interface(R13) and new interface in R17.
    Then we encountered the problem, both interfaces doesn't work now, even we deleted the receiver condition(In R13, IDoc ORDERS05 was sent to system A, and in R17 IDoc ORDERS05 was sent to system B, RCVPRN was used as an condition).
    Does anyone encounter this problem? really need and appreciate your help.
    -Eddie

    information from monitor:
    Status     Sender               Service Sender Namespace                         Sender Interface
    reschedul  XXXCLNT100     urn:sap-com:document:sap:idoc:messages   ORDRSP.ORDERS05
    columns for "Receiver Service","Receiver Namespace", "Receiver Interface" are blank
    And then double click records in monitor, go into detail information...
    Normally there's lots of setps existed, such as
    Inbound Message ( CENTRAL )
    Receiver Identification
    Interface Determination
    Receiver Grouping
    Message Branch According to Receiver List
    Technical Routing
    Call Adapter
    But now there's only one setp -
    "Inbound Message ( CENTRAL )" existed, no any another setp..., and payload in inbound message looks good.
    And in SMQ2, I checked the queue information, found there's an error - "An exception occurred that was not caught." No any other detail information for this error.

  • Diplaying segment name in output file using receiver FCC

    Hi,
    we have a idoc to file scenario. we are using FCC at the receiver. the flat file generated should have the segment names before the values .
    for example, if the structure is  something like this
    <root tag>
       <serment1>
          field1
          field2
       <segment2>
            field1
            field2
       <segment2>
               field1
               field2
    the output should be in the below format
    segment1   field1value,field2value
    segment2   field1value,field2value
    segment2   field1value,field2value
    can some one guide me how to achieve the same. Also if the segment repeats, in the output also it shoukld appear
    Best Regards
    Deepika

    In mapping, output structure, create an extra field at the beginning and
    map that field to a constant value same as the source segment name.
    In Receiver FCC, use following configuration.
       Recordset Structure:      segment1,segment2(specify all segments seperated by comma)
      segment1.fieldSeparator :   , (it is comma)
      segment1.endSeparator :'nl'
      segment2.fieldSeparator :   ,
      segment2.endSeparator :'nl'
    specify the same fieldSeparator and endSeperator for the other segments also

  • Removing the empty line during Receiver FCC!

    Hi, Guys,
    I used file content conversion in receive FCC. My data type is like this:
    <TextFromSAP_DT>
    <FileName>
      <FileName>abc.txt</FileName>
    </FileName>
    <Record>
      <TEXT>dasfafaf</TEXT>
    </Record>
    <Record>
      <TEXT>qqqqqqqq</TEXT>
    </Record>
    <Record>
      <TEXT>fgfffff</TEXT>
    </Record>
    </TextFromSAP_DT>
    I need to get file name from <FileName> and output a flat file with the value in <TEXT>. But I always got an empty line at the file beginning. And I tried to move <FileName> to the end. And I got an empty line at the file end. My custom said they are having trouble to read the file with the empty line no matter it is in the beginning or end.
    I followed sample as link below but does not work. 
    https://wiki.sdn.sap.com/wiki/display/profile/2007/07/30/Removing%20the%20empty%20line%20during%20Receiver%20FCC!
    Does any body can give a help?
    Thanks a lot!
    Meiying
    Edited by: Meiying Yang on Aug 14, 2009 11:16 PM

    Hi Yang,
    You create the value udf GetFileName with one input value say a. Add this code:
    Imports: java.*;
    Add this code:
       //write your code here
    DynamicConfiguration conf = (DynamicConfiguration)container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http:" + "/" + "/" + "sap.com/xi/XI/System/File", "FileName");
    conf.put(key, a);
    return "";
    Map like this:
    FileName --> GetFileName(udf) --> target_mt
    Map other fields like:
    Record --> Record
    TEXT ---> TEXT
    Save it and activate it. When you test in mapping you will get an error so dont worry. I go the error like:
    RuntimeException in Message-Mapping transformation: Runtime exception during processing target field mapping /ns0:Target_MT. The message is: Exception:[java.lang.NullPointerException] in class com.sap.xi.tf._TestFileName_ method file1$[abc.txt, com.sap.aii.mappingtool.tf3.rt.Context@32dcebf1]
    Dont worry about this activate and do the rest of the configuration.
    In your receiver communication channel for file name put as FileName and check the file name in adapter specific message attributes. Then test it and it should work and you will get the file with file name abc.txt. I tested the whole end to end scenario and I am getting the file name abc.txt and the output what you want. If you still could not get it send me a m ail to my i d from my business card. I will send you the screen shots.
    Regards,
    ---Satish

  • Can Animations created in InDesign CS6 now work on an ipad?

    I have version 5.5, but discovered that the Animations I created in InDesign don't work on an ipad (you have to export the SWF files to Wallaby etc). I can't find any documentation that states if Animations for ipad now work in CS6 - does anyone know?
    Thanks
    Marc

    If you’re referring to DPS, then no…native animations are not yet supported…and if you are please note that there is dedicated DPS forum.
    Please keep posts pertaining to DPS there: http://forums.adobe.com/community/dps
    Bob

  • Tab Delimited File Using Receiver FCC

    Hi Experts,
    I need to generate a Tab Delimited File Using Receiver FCC. I have achieved the same by copying the tab length from a notepad and used the same in name.fieldSeparator parameter.
    The other below mentioned values for name.fieldSeparator didnu2019t produce the expected result:
    name.fieldSeparator=u2019htu2019
    name.fieldSeparator=u2019\tu2019
    name.fieldSeparator=u2019 0x09u2019
    So just need to know if my approach for achieving this is fine or not.
    Thanking you in advance.
    Aditya.

    Verma,
    name.fieldSeparator=u2019 0x09u2019
    I see a space after the first comma. Try removing it and give a try.
    '0x09' with no spaces.
    Regards,
    ---Satish

  • Problem in Receiver FCC

    Hi Experts,
                       We need to do a file content conversion in the Receiver File Adapter for a fixed length file, format of which is like:
    MT_Message
      Shipment..........1..1
         field1
         field2
         field3
    Order.................1..1
         field1
         field2
         field3
      Tare..................0..unbounded
         field1
         field2
         field3
         Item...............0..unbounded
            field1
            field2
            field3
    occurrence of all field level elements are 0..1. Shipment, Order and Tare are at the same level and Item is under Tare, which can occur multiple times.
    I have tried using the normal File receiver FCC, the localejbs/AF_Modules/MessageTransformBean bean and the StrictXml2PlainBean but am not getting the desired output, where each segment is to occur on a separate line.
    Any help would be highly appreciated.
    Regards

    Hi Sarkar,
    I think the structure you are using is not correct. It should have one root node above all these Segment, Order nodes etc.
    Probably like this:
    MT_Message
    <Recordset>
    Shipment..........1..1
    field1
    field2
    field3
    Order.................1..1
    field1
    field2
    field3
    </Recordset>
    check this blog as well
    File Receiver with Content Conversion
    Sachin

  • Put Date Before Header Line in Receiver FCC

    Hi,
    I have to create a csv file with format :
    Date : dd/mm/yyyy to dd/mm/yyyy
    PRODUCT_CODE,NAME,ADDRESS
    123,ABC,xyz
    123,ABC,xyz
    123,ABC,xyz
    123,ABC,xyz
    123,ABC,xyz
    How should i achieve putting the date before header line?
    What should be my target structure format?
    What parameters to enter in receiver FCC?

    Hi,
    have you tried..
    Have you tried:
    (http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm)
    ● NameA.enclosureSign
    Specify a string that acts as a text delimiter.
    Text enclosed by such delimiters is transferred to the target structure unchanged, although the default setting is to remove all text delimiters. Separators within such texts are ignored.
    This parameter is optional. The default setting is an empty value (no text delimiter).
    ● NameA.enclosureSignEnd
    If the text delimiters for the beginning and end of the text are different, specify the text delimiter for the end of the text here.
    If you do not make an entry here, the entry from NameA.enclosureSign is used.
    ● NameA.enclosureSignEscape
    Specify a string that replaces the text delimiter if it occurs within a text that it delimits.
    When the text is transferred the string is replaced by the value specified in NameA.enclosureSign .
    ● NameA.enclosureSignEndEscape
    Specify a string that replaces the text delimiter for the end of the text if it occurs within a text that it delimits.
    When the text is transferred the string is replaced by the value specified in NameA.enclosureSignEnd.
    ● NameA.enclosureConversion
    To remove the delimiter upon transfer, or to replace it with escape characters, enter YES. This is the default value.
    To transfer the characters unchanged enter NO.
    Note
    If you specify xml.enclosureSign=“ and xml.enclosureSignEsc=““, text enclosed in quotation marks is transferred unchanged and the quotation marks are removed.
    If the escape character for a quotation mark (““) occurs in the text itself, it is replaced by the quotation mark during the transfer.
    Thanks,
    Vijaya.

  • Receiver FCC Structure For Header and Trailer

    Hi Guys ,
    I need to go for receiver FCC for header and trailer  in PI .How the FCC in communication channel needs to be configured if I am taking a separate node for header and trailer in mapping .Output of the file should be as the file attached.
    Thanks.
    Regards.

    Hi,
    If you are using File communication channel as a reciver you can go with FCC.
    Use record set structure as : Header,detail,trailer.
    https://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
    Otherwise if you are going for SFTP to create the file ... follow the Indrajit suggestion..
    Still facing any issue.. Please let us know..
    Thanks,
    Sreenivas...

  • Email Scheduler Now Works! (Apple Script!)

    Hey everyone,
    For all wondering how to schedule emails ahead of time to go out, the programmer has updated the "Schedule Delivery" Apple Script and it now works. I tried this 2 years ago and it was a pain after 10.5 as it was very buggy. But now it's up and running!
    Mail Scripts - 2.9.1
    Workflow-enhancing AppleScripts for Mail & Address Book
    http://www.versiontracker.com/dyn/moreinfo/macosx/16217

    thanks a lot for the info. this ability is often requested. MailScripts was the only tool to offer it but it didn't work in leopard. of course, Apple really ought to have this functionality built in...

  • Camera lens now working

    BINGO - HAVE FOUND A WAY A WAY OF FIXING CAMERA PROBLEM.
    It is not a hardware issue, but a software issue.
    Somewhere the camera the settings, have been messed up.
    By re-setting from a back up, it only puts back the restored files etc, including the duff camera settings. Only by zeroing the iPhone will this work.
    Hiya all, I recently sold my old iPhone 3G to a friend of mine, but I had the problem with the camera lens not opening, the camera application would still work, and sense the orientation of the phone. But it would let me take photos etc.
    Before I passed the iPhone to my mate. I ZEROED the phone, by going into Settings/General/Reset, then select ERASE ALL CONTENT AND SETTINGS.
    Make sure you have you iPhone plugged into your computer or mains adapter etc, because this could take up to 2 hours.
    This resets all settings to their defaults and erases all your information and media:
    And also brings the iPhone back to the state, of when you first purchased the iPhone.
    I've only just spoke to my friend who has taken the iPhone from me, and reassures me the camera is now working.

    Sounds like a hardware failure to me. I'm sure you've checked the obvious, like something covering the lens.

Maybe you are looking for

  • Open and Cleared Items

    Hi all We are currently busy finalising our FI-CA BW Data Modeling exercise - and in process to complete Dataflow documentation. We will make use of the standard open and cleared item extractors with enhancements on different levels. Some background

  • TS1368 There was an error in the App Store. Please try again later. (4)

    There was an error in the App Store. Please try again later. (4)

  • Genius not updating - stuck on 'Delivering your Genius results...'

    iTunes has stopped updating my Genius results on my PC, both automatically and manually, for the last few weeks now. This has never been a problem in the past. Not sure if it coincides with the latest iTunes update (12.0.1) or my new router from my n

  • Is it battery issue?

    Dear Iphone 4 experts, I have some bad experience with my Iphone 4 today.  My phone is just 1 month old.  I have seen the phone showing 30% of battery life in the morning.  I was in hurry for the work and unable to charge. When I reach my work place

  • Error while Configuring IT0008 in PA 30

    Dear Gurus, I'm running Hiring Action through PA40 in IDES Server and i configured infogroup in this particular order. i.e 0000, 0002, 0001, 0006, 0007, 0008. Issue:- 1. After saving IT0002 my session is jumping to user login page and after providing