Placeholders in FCC

hi,
  is there any option like place holders in FCC.
  my requirement was with keyfield value .length of keyfield fvalue is  5 characters and i want to take 5th character ignoring first 4 characters. , so with place holder concept like that is there to do this in FCC. please suggest.
Rgds,
aman

Hi Aman,
A workaround that I can think of, is to split your key field in 2 different fields while reading the file. First field will be of length 4 and next one "1". Then, if required, you can concatenate these fields in mapping and populate the target structure accordingly.
Cheers,
Sanjeev.

Similar Messages

  • Mapping  problem due to FCC in sender file adapter

    Hi All
    I am doing File( Flat File ) to RFC Scenario.it is working fine..
    the problem comes in mapping with multiple records.
    FCC at sender file adapter is used
    my Data Type are :
    Source DT                      Target RFC import parameter(table).
    E2ED20*                            ITEM*
        KEY                                    VBELN
        VBELN                                 POSNR                                                
    E2E24*                                     CHARG
        KEY
        POSNR                             
        CHARG
    <b>*->>multiple occurence
    E2ED20  and E2E24 are 2 segment ,KEY is used in FCC to identify E2EDL20 & E2EDL24</b>
    My source text file is like this :
    E2EDL20                       0200
    E2EDL24                       xyz
    E2EDL20                       0201
    E2EDL24                       abc
    E2EDL24                       efg
    E2EDL24                       mln                      
    E2EDL20                       0202
    E2EDL24                       gty
    so the payload should be :
      0200   xyz
      0201   abc
      0201   efg     
      0201   mln
      0202   gty
    in <i>FCC ignoer record set= true</i>
    otherwise is not called...
    i try to use split by value & use oneasmany  , not helpfull.
    in message mapping when i checked th field VBELN -> display queue
    i am getting an array   0200
                                     0201
                                     0202  in white fields
    thanks & regards
    Ashutosh Rawat

    <b>Source payload</b>
      <?xml version="1.0" encoding="utf-8" ?>
    - <ns:MT_MATNO_FILE xmlns:ns="urn:abc:xxx">
    - <E2ED20>
      <KZ>E2EDL20</KZ>
      <FIELD1>020</FIELD1>
      <b><VBELN>0083662685</VBELN></b>
      </E2ED20>
    - <E2E24>
      <KZ>E2EDL24</KZ>
      <FIELD2>020</FIELD2>
      <POSNR>900001</POSNR>
      <CHARG>1078629</CHARG>
      <LFIMG>3200</LFIMG>
      <MEINS>PCE</MEINS>
      </E2E24>
    - <E2E24>
      <KZ>E2EDL24</KZ>
      <FIELD2>020</FIELD2>
      <POSNR>900002</POSNR>
      <CHARG>1078630</CHARG>
      <LFIMG>1895</LFIMG>
      <MEINS>PCE</MEINS>
      </E2E24>
    - <E2E24>
      <KZ>E2EDL24</KZ>
      <FIELD2>020</FIELD2>
      <POSNR>900003</POSNR>
      <CHARG>1079145</CHARG>
      <LFIMG>1883</LFIMG>
      <MEINS>PCE</MEINS>
      </E2E24>
    - <E2E24>
      <KZ>E2EDL24</KZ>
      <FIELD2>020</FIELD2>
      <POSNR>900004</POSNR>
      <CHARG>1079146</CHARG>
      <LFIMG>3195</LFIMG>
      <MEINS>PCE</MEINS>
      </E2E24>
    - <E2ED20>
      <KZ>E2EDL20</KZ>
      <FIELD1>020</FIELD1>
    <b> <VBELN>0083662648</VBELN></b>
      </E2ED20>
    - <E2E24>
      <KZ>E2EDL24</KZ>
      <FIELD2>020</FIELD2>
      <POSNR>900011</POSNR>
      <CHARG>1001450</CHARG>
      <LFIMG>2946</LFIMG>
      <MEINS>8PC</MEINS>
      </E2E24>
    - <E2ED20>
      <KZ>E2EDL20</KZ>
      <FIELD1>020</FIELD1>
    <b> <VBELN>0083673936</VBELN></b>   </E2ED20>
    - <E2E24>
      <KZ>E2EDL24</KZ>
      <FIELD2>020</FIELD2>
      <POSNR>900012</POSNR>
      <CHARG>1073953</CHARG>
      <LFIMG>2458</LFIMG>
      <MEINS>PCE</MEINS>
      </E2E24>
      </ns:MT_MATNO_FILE>
    <b>at target what required is</b>
    <item>
    <b><VBELN>0083662685</VBELN></b>
    <POSNR>900001</POSNR>
    </item>
    <item>
    <b><VBELN>0083662685</VBELN></b>
    <POSNR>900002</POSNR>
    </item>
    <item>
    <b><VBELN>0083662685</VBELN></b>
    <POSNR>900003</POSNR>
    </item>
    <item>
    <b><VBELN>0083662685</VBELN></b>
    <POSNR>900004</POSNR>
    </item>
    <item>
    <b><VBELN>0083662648</VBELN></b>
    <POSNR>900011</POSNR>
    </item>
    <item>
    <b><VBELN>0083673936</VBELN></b>
    <POSNR>900012</POSNR>
    </item>
    in Sender FCC
    E2ED20.fieldFixedLengths               7,76
    E2ED20.fieldNames                            KZ,VBELN
    E2ED20.keyFieldValue              E1EDL20
    E2ED20.endSeparator              'nl'
    E2E24.fieldFixedLengths              7,24,13,7,3
    E2E24.keyFieldValue                              E1EDL24
    E2E24.fieldNames                               KZ,POSNR,CHARG,LFIMG,MEINS
    E2E24.endSeparator                              'nl'
    ignoreRecordsetName              true
    source file is already there...
    Message was edited by:
            ashutosh rawat

  • Problem in Sender File Adapter using FCC with Variable structure

    Hi Experts,
    Hi Experts,
    I have facing an issues while using FCC in Sender File adapter. Below are the configs for the same:-
    Recordset structure required is ==HEADER,1,DATA,*,TRAILER,1
    Recordset per message == *
    Key Field Name == Key
    (Sorry i dont know how to insert screen shot here..pls tell me how can i insert screen shots here on sdn)
    HEADER.fieldSeparator           ,
    HEADER.endSeparator           u2018nlu2019
    HEADER.fieldNames               Key,x,y,zu2026
    HEADER.keyFieldValue          1
    HEADER.keyFieldInStructure      ignore
    HEADER.fieldContentFormatting     trim
    HEADER.additionalLastFields     ignore
    HEADER.missingLastFields     ignore
    DATA.fieldSeparator
    DATA.endSeparator
    DATA.fieldNames
    DATA.keyFieldValue
    DATA.keyFieldInStructure
    DATA.fieldContentFormatting
    DATA.additionalLastFields
    DATA.missingLastFields
    Using same variables for Trailer record as well.
    Source CSV file which i am picking:-
    ADSE ,RASD,replan  Contact ,2  0080509 0 8:43:25   ,        
    EMPL ,0011111,  S Top Up ,20080401  ,20080430  ,sdf  ,                          00000000431250  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:07:35,
    EMPL ,0222222,  r Cash Award ,20070701  ,20070703  ,ded  ,                          00000000023509  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:09:31,
    EMPL ,0233333,   Cash Award ,20070801  ,20070831  ,df  ,                          00000000044057  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:10:56,
    EMPL ,0244444,   Cash Award ,20080101  ,20080111  ,sf  ,                          00000000026717  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:08:29,
    BTRL ,   5140, 
    When i tested the scenario and monitored it using MDT in CC monitoring tool its giving me below mentioned error.
    The XML page cannot be displayed
    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
    XML document must have a top level element. Error processing resource 'http://myurlname/mdt/me...
    However if i change the occurence of DATA as some specific value for eg 4 instead of * it works fine.
    Kindly help me in solving this problem.
    Thanks,
    Aditya Verma

    Hi Madan,
    Thanks a lot for giving me the way to this. But when i tested this with the below file its giving me the same error. Please let me know if i need to do any changes to the parameters mentioned above:-
    ADSE ,ASDA,Sha  replan Fr ont Feed Contact ,2  0080509 0 8:43:25   ,        
    EMPL ,0011111,   Cash Top Up ,20080401  ,20080430  ,TPV  ,                          00000000431250  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:07:35,
    EMPL ,0222222,   r Cash Award ,20070701  ,20070703  ,TPV  ,                          00000000023509  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:09:31,
    EMPL ,0233333,  r Cash Award ,20070801  ,20070831  ,TPV  ,                          00000000044057  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:10:56,
    EMPL ,0244444,   Cash Award ,20080101  ,20080111  ,TPV  ,                          00000000026717  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:08:29,
    EMPL ,0255555,   Cash Award ,20080301  ,20080320  ,TPV  ,                          00000000027870  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:08:25,
    EMPL ,0266666,   Cash Award ,20071001  ,20071020  ,TPV  ,                          00000000020681  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:09:31,
    EMPL ,0877777,   Cash Top Up ,20080401  ,20080430  ,TPV  ,                          00000000036000  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:07:05,
    EMPL ,0888888,   Leaver Cash Award ,20071201  ,20071231  ,TPV  ,                          00000000157200  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:11:29,
    EMPL ,0899999,  S Leaver Cash Award ,20080301  ,20080331  ,TPV  ,                          00000000153530  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:07:42,
    EMPL ,0800000,  S Leaver Cash Award ,20070701  ,20070731  ,TPV  ,                          00000000012234  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:08:34,
    BTRL ,   5140,
    This the original csv file which i'll get in live. Kindly suggest as ur solution worked with other file but not working with this scv file.
    Thanks a lot,
    Aditya.

  • PI 7.11 - FCC Receiver Adapter

    Hi
    I've got a simple xml which i have to convert in a fixed length text file. Is it possible to convert it using FCC with following structure:
              <root>
                   <data>
                        <record>
                             <name>john</name>
                             <surname>doe</surname>
                             <zip>12345</zip>
                             <city>abcd</city>
                        </record>
                        <record>
                             <name>bart</name>
                             <surname>simpson</surname>
                             <zip>131313</zip>
                             <city>springfield</city>
                        </record>
                   </data>
              </root>
    I did this conversion already with PI 7.0, but i removed the <data> element to get a simpler substructure. Is it also possible without removing this?
    I found following entry [Re: File Adapter Reciver Side: FCC Convetion Problum in PI 7.1], but it didn't works for me. Any suggestions?
    Thanks in advance
    Michael

    Hi,
      Are you looking for a content conversion at teh Receiver adapter or the sender adapter?
    If you have defined teh structure in ur Data type as u have mentioned then don't remove anything because ur source file would be containing the following structure itself.
    If you are getting the XML structure at source
    <root>
       <data>
          <record>
                   <item1>
                   <item2>
          </record>
       </data>
    </root>
    the follow the same structure at the receiver side as well. If u want to delete the data node at teh receiver side then delete at teh source side FCC as well.
    Just try and let me know. I will help you out.
    Thanks
    Veeru

  • Problem in Archiving File From FTP Server to XI File Server Using FCC

    Hi,
    The scenario is file to IDOc. XI has to read the input file from client FTP server and archive it to XI local file server. Archiving on XI server is working fine without FCC (for xml files). But with FCC, the sender FTP adapter is archiving empty files (0 kb files).
    I've checked SXMB_MONI, even there I can see the file data and the IDoc is getting posted with proper data. But, the archived file is empty. Not sure about the problem.
    Please suggest. Thanks in advance.
    Regards,
    Joe.

    Hi,
    File adapter has the functionality which support the empty file handling.
    Handling of Empty Files
    Specify how empty files (length 0 bytes) are to be handled.
    ○ Do Not Create Message
    No XI messages are created from empty files.
    The files are processed according to the selected Processing Mode.
    For example, if the processing mode is Delete, empty files are deleted in the source directory.
    ○ Process Empty Files
    XI messages are created with an empty main payload.
    The files are processed according to the selected Processing Mode.
    ○ Skip Empty Files
    No XI messages are created from empty files.
    Empty files are skipped and remain in the source directory.
    refer the belwo link:
    http://help.sap.com/saphelp_nw04/helpdata/en/ae/d03341771b4c0de10000000a1550b0/frameset.htm
    reward points if helpful*
    thanks
    SAPXI

  • Error in Receiver Communication Channel in FCC

    I have a simple scenario of Proxy to File. I have to just one field in complete row. So my structure is as below : MT_RecordIB -> Records.  So my XSD looks like this :
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://XXXl.com/INF31018/SAPSerOrd_DaysIn" targetNamespace="http://hnwl.com/INF31018/SAPSerOrd_DaysIn">
       <xsd:element name="MT_RecordIB" type="DT_RecordIB" />
       <xsd:complexType name="DT_RecordIB">
          <xsd:sequence>
             <xsd:element name="Records" type="xsd:string" />
          </xsd:sequence>
       </xsd:complexType>
    </xsd:schema>
    I have used FCC and the parameters are :
    Recordset Structure                                  Records
    Records.fieldSeparator             'nl'
    But I am getting following error in Receiver Communication Channel :
    Failed to process message content. Reason: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'ns0:MT_RecordIB' found in document', probably configuration error in file adapter (XML parser error)' (Software version: 3.0.21)
    Thanks,
    Pankaj Singh

    Hey Pankaj,
    Your content conversion parameter might be configured improperly.
    Refer this blogs
    /people/shabarish.vijayakumar/blog/2007/08/03/file-adapter-receiver--are-we-really-sure-about-the-concepts
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    Refer the following threads for your problem
    [ Unknown structure 'ns0:MT_dbglgtr_FileName' found in document'|Unknown structure 'ns0:MT_dbglgtr_FileName' found in document']
    Rgds
    Ramesh

  • How do I set up a master slide in Keynote that provides placeholders for multiple images?

    I came across an article in Mac|Life (Oct 2012 p90) titled "Create a Stylish Slideshow".  The steps include creating a master slide that allows for you to add multiple photos.  My master slide list for all themes allows for only one photo per slide.  What am I missing and how can I set up a slide to which I can add multiple photos as they do in this article?  Yes, I am using Keynote '09 v5.3.

    Thanks for the info.  Following the instructions which are covered in chap 12 of the User Manual, I found that I cannot use shapes as placeholders.  The only success I experienced was if I used an actual photo image.  With photos I could select  Define as Media Placeholder, with Shapes, the only option was to Define as Text Placeholder.  I will address this with a thorough review of chapter 12.  
    My initial problem was that I assumed that all themes in Keynote possessed the same set of Master slides.  When I found this not to be the case I looked at each theme and identified 12 of the 44 provided different master slide options which provided placeholders for more than 1 photo (a few provided up to 6).  For helpful information for others, here is a listing of those themes that provide master slides for more than 1 photo:  Editorial, Kyoto, Brushed Canvas, Typeset, Craft, Stock Book, Blue Print, Vellum, Modern Portfolio, White Corners, Storyboard, Formal. 
    Thanks again.  Your feedback got me on the right track to resolving my problem.

  • Drag and Drop to photo page creates links, doesn't replace placeholders

    I searched the discussions for quite a while and didn't find much similar to this topic. Basically, drag and drop is no longer working on my iWeb and my photo grids will not accept pictures to replace the placeholder (sample) photos. I will try to explain the whole problem in detail.
    I am a new iWeb user, and I set up a page without any problems at first. Yet when I returned in iWeb to add another photo page today, I have had a lot of trouble. I used the template Photo Page and opened the Inspector and the Media Viewer to drag photos onto the placeholder photos, as the Help pages and tutorials show. Yet when I drag the picture file from the Media Viewer into the photo grid, only a small text box appears that sets up a hyperlink to the photo file on my computer. I've tried messing with the inspector, seeing what the difference is between the placeholder photos' settings and the files I'm trying to add.
    The only differences I can see are: in the Link Inspector's pane I can tell the program is at first making a hyperlink to the file instead of displaying the photo (yet disabling the hyperlink doesn't change anything); also,
    In the Graphic Inspector pane that appears when I have selected a general area in the photo grid, at the top the "Style" , "Layout" and "Caption" options appear, along with a display of a sample photo style. When I click on one of the rectangles that appears with the file I am trying to drag and drop, I have only the "fill" option, which has "none" selected. Fiddling with the options does not get the photo to appear.
    I can see the blue grid surrounding the placeholder photos, so the photo grid exists. I have also tried using different templates' photo pages, but they all have the same problem. I also tried creating an album in iPhoto and importing it to iWeb, but only two photos appeared out of 12.
    So the main part of my problem is not that photos don't appear at all (if I try and insert them they appear on their own, completely independant of the template's style and the photo grid)., it is that they do not work with the photo grid and that drag-and-drop no longer works.
    Any information that could help is greatly appreciated.
    Sue

    Susan,
    Try out the following things. These suggestions are
    sort of the starting point for non-specific strange
    behavior in iWeb.
    1. Delete iWeb preference file at:
    YourHardDrive/Users/yourname/Users/Library/Preferences
    /"com.apple.iWeb.plist"
    2. Delete iLife Media Browser preference file at:
    YourHardDrive/Library/Preferences/"com.apple.iLifeMedi
    aBrowser.plist"
    3. Repair startup disk permissions using Disk
    Utility
    4. Reboot machine
    5. Delete iWeb application (but keep a backup of the
    Domain file!) and reinstall iWeb 1.0 from original
    iLife'06 DVD or Recovery Disks and then update
    directly to 1.1.1 via Software Update.
    These are the top 5 things that seem to garner some
    kind of positive results from people having similar
    problems.
    I am having the same problem Susan described. I've tried #1 and #2 from the above recommendations and still have the same problem of photos not opening in the photo page after dragging them from iphoto. I, too, published a site (not on .Mac, but I don't know if that matters) and now want to add a photo page. Also, the template shows six placeholders, but when I select the photo page only three appear.
    Hope you can help. Thank you.

  • How do we remove Carriage Return (line feed) inserted in FCC files

    Hi Experts,
    The file that we generate has a carriage return at the end.
    Is there any way in which we can remove this carriage return (line feed) from the file?
    The FCC parameters used at our end are as below:
    structure.filedNames:
    structure.fieldFixedLengths:
    structure.fixedLengthTooShortHandling: Cut
    Kindly tell us a solution ASAP.
    Thanks & Regards
    Dhwani

    Dear All,
    Let me elaborate on my query
    Consider that the files output looks like below:
    12  34  45  545 5454 UL
    23  33  43  434 4545 FG
    45  44  44  586 6535 GM
    Now there is an extra line(Carriage Return) getting inserted after the last line 45  44  44  586 6535 GM  which is not required at our end.
    The cursor of the file instead of stopping on the last character M, points to the next line.
    Can you please suggest how to remove this extra line from the files.
    I dont understan how will remove context help in this case.
    Regards
    Dhwani

  • Verizon won't let us activate a new basic phone. Just filed FCC complaint

    My mom has had this Verizon plan for nearly 10 years. It's not a bargain by any means. It's $12 a month plus $0.25 a minute. Kind of a rip-off. But she likes the plan. Anyway, she recently added a $10 texting plan and talked to one of the sales managers at the store about getting a new phone (texting with a flip phone isn't practical.) He said she couldn't get a new phone with a QWERTY keyboard because she still has a year left on her contract, but recommended she get a phone elswhere, or buy one. She asked multiple times if Verizon would be able to activate the phone, and the salesman said yes multiple times. So she bought a new texting phone, an EnV3.
    She called up Verizon to activate it, and they told her that the plan is no longer valid and any device switch would involve changing plans to a more expensive version. Keep in mind she's under contract after she got a new flip phone last year. What should I do? The store couldn't activate the phone either. I'll try online but not sure if it will work. I filed an FCC complaint though so maybe that will help. Otherwise, I'm getting my mom off Verizon once the contract is up. AT&T is good in our area, and even T-Mobile is. At least you get what you pay for with them.

        kgor93,
    After ten years of loyalty, we want to see your mom here for another ten strong. Pending which plan she is on, a Verizon Wireless device like an EnV3 may require current pricing plans in order to make the switch. Do you happen to know the exact name of the plan she's currently on as well as the offerings? Also, which device does she currently use? We're going to do everything we can to express options to make sure she gets some proper help so she can stay on board.
    Evan_VZW
    Please follow us on twitter @VZWSupport

  • Problem in creating a textfile using FCC in Receiver Comm. Channel

    Dear experts,
    I have a problem creating a flat file using file content conversion in PI. 
    My target XML structure looks like this:
    1..1
    1..n
    1..1
    1..n
    1..1
    The mapping itself goes fine, result in XML looks OK. 
    But I need to create a flat textfile that looks like this:
    Fileheader
    Invoiceheaderdata1
    Invoicedetaildata1
    Invoicedetaildata2
    Invoiceheaderdata2
    Invoicedetaildata1
    Invoicedetaildata2
    Invoicedetaildata3
    Filetrailer
    How do i configure the FCC in the receiving communication channel? I keep getting an error with the invoicedetaildata node. 
    Thanks in advance
    William 

    Can you provide us with the receiver communication channel parameters and along with that the errors received?
    Regards
    Indranil

  • I will contact the FCC and see if they can help. Every time I crash I send a report. I NEVER created a mozilla persona account and stumbled on it

    I have repeatedly contacted mozilla each time my apps crashed. i later found out remote access was put on my device. Subsequently, I determined that all of my accounts are on Mozilla persona without my ever even knowing it. I want it determined who has created this account and who is using. I will go to the FCC. This has ruined my life

    If someone created a persona account without your permission, you can close it easily. [[How do I manage my Persona account?#w_how-do-i-cancel-my-persona-account|How do I cancel my Persona account?]]
    If you'd like help with your Firefox crashes, please give us your crash ID's. Type about:crashes into your address bar, press Enter, and then copy the last 5 crash ID's into this thread (They should start with bp-)

  • Error in Receiver FCC: Unknown structure ... found in document

    Hi Experts,
    I have a problem with the Receiver File Adapter. I want to use Content Conversion to generate a plain file.
    Input to receiver file adapter:
    <?xml version="1.0" encoding="utf-8" ?>
    <PlainFile>
      <filename>filename.txt</filename>
      <line>Line 1</line>
      <line>Line 2</line>
    </PlainFile>
    Wanted result: a file filename.txt with this content:
    Line 1
    Line 2
    FCC settings:
    RecordSet Structure: line, filename
    line.fieldSeparator:'nl'
    filename.fieldFixedLengths:0
    filename.fixedLengthTooShortHandling:Cut
    Problem is: the adapter throws error "Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'PlainFile' found in document'"
    If I use:
    RecordSet Structure: PlainFile, line, filename
    and add:
    PlainFile.fieldSeparator:'nl'
    ... the lines are printed, but also the unwanted filename. The XML input results from an 1:n mapping, therefore I want to set different filenames by variable substitution from the payload.
    Many thanks for your help,
    Ralf

    Since you want to the filename to be sent in the payload, check out the below Variable Substitution Method. This information is available in help.sap.com.
    Advanced Tab Page
    Variable Substitution (Target Directory/File Name Scheme)
    If you set the Enable indicator, you can enter variables for the Target Directory and File Name Scheme. Enter the names of the variables and references in the table.
    &#9679;      Enter each variable that you reference in the Target Directory and File Name Scheme fields without the surrounding percentage sign under Name of Variables in the table.
    The variables can refer to attributes of the message header or elements of the message payload.
    &#9675;       If the variables are to refer to an attribute of the message header, add the prefix message: to the name of the variable under Reference. You can specify the following attributes of the message header:
    sender_party, sender_service, receiver_party, receiver_service, interface_name, interface_namespace,
    message_id (message ID with hyphens, for example 9fbe1ff1-9a0d-11d9-8665-cbf10a126331)
    message_id_hex (message ID in hexadecimal format, for example 9fbe1ff19a0d11d98665cbf10a126331)
    For example, if you want to specify the interface name from the message header in the target directory or in the file name scheme, enter message:interface_name as the reference.
    Note
    If one of the message attributes contains characters that are not permitted in a file name, for example \, /, :, *, ?, ", <, >, |, then these characters are replaced by an underscore ("_").
    &#9675;       If the variable refers to an element in XML schema, add the prefix payload: to the information under Reference. The reference then comprises a pseudo path description in the form of a comma-separated list with the schema namea,na,nameb,nb,....
    namea,nameb,... corresponds to the element name and na,nb,... corresponds to the occurrence of the element name at the respective level in the document.
    The description begins at the root of the document and ends at the respective element.
    Example
    To reference the element that is in bold in the example, the following expression is used: payload:root,1,e1,1,e2,2
    The parser searches for the first occurrence of the root element at the first level. It then searches for the first occurrence of e1 at the second level and for the second occurrence of e2 at the third level. The content of the last element (“Example Value”) is set as the value for a specified variable.
    <?xml version="1.0" encoding="UTF-8" ?>
    <root>
      <dummy>
         <e1>
            <e2>Data_1</e2>
            <f/>
            <g attr="abc">text</g>
            <e2>Data_2</e2>
         </e1>
      </dummy>
      <e1>
         <e2>illegal/value</e2>
         <f/>
         <g attr="abc">text</g>
         <e2 attr="fghij">Example Value</e2>
      </e1>
    </root>

  • Empty line handling in sender fileadapter FCC

    Hi Al,
      How do we ignore empty lines in the fixed length file by using FCC?
    In my input file,i would be having emply lines at last and as per my curect FCC configurations,it is reading that emplty line also and due to this,message got failed in message mapping.How do we ignore this in sender file adapter?
    I do not want to change any mapping condition.

    Hi Rajesh,
    Just a short in the dark . There is a parameter by the name of NameA.keepIncompleteFields
    This parameter is only evaluated if you enter a value for NameA.fieldFixedLengths.
    ○       If you enter NO and the last field found in the structure is shorter than specified in NameA.fieldFixedLengths, processing is terminated with a corresponding error message.This is the default.
    ○       If you enter YES, the last field found in the inbound structure is transferred to the outbound structure, even if it is shorter than specified in NameA.fieldFixedLengths.
    Caution
    You use this parameter to control the behavior of the conversion routine for the last field in a structure.
    Use the NameA.missingLastFields parameter to define the behavior at runtime when the structure contains less fields or no fields (as in your case a blank line) in total that specified in NameA.fieldFixedLengths.
    Regards
    joel

  • Empty file handling in Receiver File adapter (FCC - Premature end of file)

    Hi
    My interface is Flat file to Flat File interface with file content conversion which is working fine in SAP PI 7.1 EHP1.
    If I want to process the empty file from sender system, PI should place the same empty file in the receiver FTP Location as per my requirement.
    I am facing the below error message when PI tries to place the empty file.
    Message processing failed. Cause: org.xml.sax.SAXParseException: Premature end of file.
    But if I am not using FCC, I am able to get the empty file at the receiver end.
    Please suggest on this, If I am using FCC in the receiver side.
    Thanks
    Gabriel

    Hi Gabriel,
                       You can write a simple script to copy a file from source folder to target in case the fiel size is ZERO bytes. The script will not copy the file if the filesize is more than zero bytes, This will be processed normally by PI server. You can call the script from sender communication channel parameter : "RUN OS command before message processing". Could you please specify the Operating System (OS) you are using in your PI server.
    Regards
    Anupam

Maybe you are looking for