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...

Similar Messages

  • FCC parameters for  header and item

    Dear All,
    I am working on a File to RFC scenario. The file has the PO deatils from which Salesorder has to be created in R/3. Am using the BAPI BAPI_SALESORDER_CREATEFROMDAT1 to create salesorders. I have tested the scenario with XML message - it is working file .
    The problem is with FCC.
    The structure of the file is as follows
    PO number,podate,deliv. date,cust. material,quantity,receiving point
    message type:
    -->MT_messagetype
    >input
    >header
                    po number
                    po date
                    deliv date
    >item
    >item
                         cust_material
                         quantity
                         receiving point
    >partner
    >partner
                         dummy field.
    input is the recordset
    i have to get the first 3 fields from the file inlto header and the rest into item.
    i have created a dummy field in partner because I am mapping a constant value to sold to party in partner node .
    what should be the FCC parameters ?

    After looking at your structure which is comma separated and doesn't have any keyfields it will be difficult to content convert it into different nodes like header and item.
    I was looking at using fixed field lenght's along with field separator to split the structure, as the first 4-5 fields of u r row seem to be standard structures which will have fixed length, but then your last field "receiving point" is not a of fixed length.
    so as long as my understanding goes you will have to content convert the input into a flat xml structure like this:
    <input>
              <header>
                  </po number>
                  </po date>
                  </deliv date>
                  </cust_material>
                  </quantity>
                  </receiving point>
            </header>    
    <input>
    Recordset name - input
    Recordset structure --header,*
    FCC
    header.fieldNames -- po_number,1,po_date,1,deliv_date,1,cust_material,1,quantity,1,receivingpoint,1
    header.fieldSeparator -- ','
    header.endSeparator -- 'nl'
    Since in your scenario looks like you are creating  one sales order per row of file, the above structure should do the job for you.
    Cheer's

  • How to generate Header and Trailer for a file

    Hi Guru
    How can we generate header and Trailer for a file
    EX:
    i want to generate header with date and trailer with record count from table.
    Sample file :
    20120120
    fwsfs
    adfwsfd
    adff
    afsadf
    afdwsg
    adgsg
    adgsgg
    asgdsag
    sdgasgdaf
    sdfsagfadf
    10

    Hi ,
    1.Create an interface to load data from oracle to file and set generate header as false option in IKM .
    2.Create variable get_current_date of alphanumeric datatype and implement logic SELECT to_Char(SYSDATE,'yyyymmdd') FROM DUAL under refreshing tab
    3.Create variable get_record_count of numeric datatype and implement logic SELECT '<%=odiRef.getPrevStepLog("INSERT_COUNT")%>' FROM DUAL under refreshing tab
    4.Create a package
    Drag the get_current_date variable ,
    Drag odioutfile and paste the below logic OdiOutFile "-FILE=D:\ODI_TEST\emp.txt" "-CHARSET_ENCODING=ISO8859_1" "-XROW_SEP=0D0A" #GET_current_date in command tab
    Drag the interface
    Drag another variable get_Record_count
    Drag the odioutfile and paste the below logic OdiOutFile "-FILE=D:\ODI_TEST\emp.txt" -APPEND "-CHARSET_ENCODING=ISO8859_1" "-XROW_SEP=0D0A"
    #GET_RECORD_COUNT in command tab
    Link all these in sequence,save and run the package.
    OR Modify the IKM SQL to File Append to achieve same functionality.
    Thanks,
    Anuradha

  • File content conversion - sender adapter for Header and detail records

    Hi Experts,
                     I am receiving a field of fixed length content format.(Header)The first line of the file will follow the structure X having some fields and (DetailRecord)subsequent lines in the file will follow structure Y having somes fields.There is no record identifier for Header and Detail records.In one file first line is Header records and remaining subsequent line is DetailRecord.What are the parameters we have to set for sender file content conversion parameters as i donot have any key field and key field value.And in one file we have only one header records ( first line) and n number of detail records from 2nd line onwards.
    Thanks
    Deepak

    Hi
    Refer the below fourm link,
    Flat file whitout id
    Regards
    Ramg.

  • How to do the header and trailer validation in the input file?

    hi,
    what are the ways we can validate whether header and trailer record exists in the input file?
    how to do that?
    regards
    Ruban

    File to Proxy Validation
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/99593f86-0601-0010-059d-d2dd39dceaa0
    /people/swaroopa.vishwanath/blog/2005/06/24/generic-approach-for-validating-incoming-flat-file-in-sap-xi--part-1
    /people/swaroopa.vishwanath/blog/2005/06/29/generic-approach-for-validating-incoming-flat-file-in-sap-xi--part-ii
    /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy

  • Spooling data with Header and trailer

    Hi everyone,
    I have a problem in spooling the data.
    I get a .dat file to load into db .That .dat file will be having header,records,trailer.While loading into the db i load only the records .
    I load the .dat file into table using sqlldr with direct= true and parallel=true.
    I load data into one table.header and trailer into one table(Loading into two different tables using three control file each for header,records,trailer to load from same .dat file).But while spooling the data out after some modifications to the table.i need to spool it with the header and trailer.I am able to spool only the records but not header and trailer.
    That header and trailer are in standard form,everytime i get the .dat file.
    Help me how to spool data from a table with the HEADER & TRAILER in the spool file.
    Thanks

    Some may argue this is not the right forum - database general might have been a little been than downloads - but now the thread is here I'll try an answer.
    As I see it It depends on your spooling tool.
    Lets assume you are using sqlplus.
    I that case the sql prompt command may serve your purpose
    Alternatively
    select 'header' from dual
    union all
    select field1||','||field2||','field3 .... /*must single string expression but may concatentate field */ from somtable
    union all
    select 'trailer' from dual;may suit.
    However I fear either I have not understood the question or if I have understood the question that you may have difficulties implementing this.
    Edited by: bigdelboy on 19-Apr-2009 14:32

  • Open Hub Header and Trailer Record.

    Hi,
    For the Open Hub Destination
    Destination Type is File,
    Application server.
    Type of File Name: 2 Logical File name.
    How to to the get the Header and Trailer Record which will contain Creation Date, Creation Time and Total number of records.
    Header record Layput :
    Creation Date (YYYYMMDD)
    Creation Time (HHMMSS)
    Total record Count
    Trailer record Layout:
    Total number of Records in the file and
    XXXX( Key Figure ) Total.
    Thanks in advance.
    Regards,
    Adhvi.

    Hi Venkat,
    write a UDF in following way...
    pass the first parameter as the detail node (cache the whole queue) to the UDF pass the second parameter as the trailer countto the UDF
    now loop through the detail records get the count with a counter variable
    check the counter against the trailer count outside the loop
    if it doesnot match trigger the alert from the UDF itself
    Check the below link for triggering alert from an UDF
    /people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function

  • Unix Flat File: Remove header and trailer and put in another file.

    Hi,
    I have Source Flat File placed on Unix Box with header and trailer.
    I want to remove Header and Trailer and put in some other file and Data in another file.
    I tried following command in unix its working.But not getting Header and Trailer in another file.
    sed '1d;$d' input_source.txt > output_data.txt
    also How will i use OS command for it in ODI.
    Guide me.
    Thanks
    Ashwini

    Hi Ashwini,
    You can run OS commands in a package using an ODI Tool: OdiOSCommand.
    It is also possible to execute OS commands in an ODI procedure using the Operating System or Jython technologies.
    There should be some articles about this on metalink (http://metalink.oracle.com).
    Thanks,
    Julien

  • Recordset per message for Header-Data-Trailer

    Hi Experts,
    I need to process a text file with the following structure:
    Header
      Record1
      Record2
      Record N
    Trailer
    How do i use Recordset per message to break the files into multiple files with EACH havign a Header and Trailer
    Thanks,
    Shobhit

    Hi Shobhit,
    I think it cannot be possible from File Content Conversion using Recordset per message.
    You should do that by means of multimapping 1:N
    Regards,
    Carlos

  • Suppressing Header and Trailer

    Can I suppress the Header and Trailer per runtime paremeter? How?
    Thanx!

    Hi Prashant
    You can use a combination of external table and multi table insert. In ODI 11g there is a Oracle Multi Table Insert IKM. You will have to have one interface which has the source as the file and the target is a temporary target. The LKM will use LKM File to External Table, the IKM will use Oracle Multi Table IKM, and it will set DEFINE_QUERY. Also the LKM should set DELETE_TEMPORARY_OBJECTS to false. Then define 2 interfaces to load your 2 targets for example. The first target loading interface will use the 1st interface as a source and the MTI IKM again will use the MTI IKM and set IS_TARGET_TABLE to true and execute to false. Then the second target loading interface will use the 1st interface as a source and the MTI IKM again wil set IS_TARGET_TABLE to true and execute to true.
    Cheers
    David

  • Header and trailer pages in report templates

    Hi:
    I wonder how can i make header and trailer pages in the tamplate reports , so that the objects in the template header & footer report would be inherited to the generated reports. I use Oracle reports 6.0.8 and there is no header section, niether Trailer section in the Template Editor, I've read in the reports online help :"You can use the margin and body of the Header and Trailer sections to create a Header and Trailer “page” as in earlier releases. In future releases, you will be able to add and delete sections.", is there any method i can use to make header&trailer pages in the template.

    I have the same question. This is what I found on Metalink.
    goal: How To Define A Header/Trailer Section In A Reports Template Definition File (TDF)
    fact: Oracle Reports Developer
    fix: It is not possible to have a HEADER/TRAILER section in a Reports Template Definition File (TDF). Templates do not need to have a HEADER/TRAILER section, infact there is no sectioning in a template. They just define the visual layout when applied against a report section.
    This did not answer my question!

  • Generating Header and trailer sections in reports..

    Hi all.
    I want to generate reports, that has both a header- and a trailer section page.
    Usually this was part of the template report, but in Designer 9, the generator first converts the template report (.rdf) to a template report (.tdf), and is then using this template.
    But where is the header- and trailer page? You can't see them in the reports builder, when looking at templates, and the generated report does not contain any header- nor trailer pages.
    Have I missed something?
    Any replies welcome...
    Benny Albrechtsen

    I have the same question. This is what I found on Metalink.
    goal: How To Define A Header/Trailer Section In A Reports Template Definition File (TDF)
    fact: Oracle Reports Developer
    fix: It is not possible to have a HEADER/TRAILER section in a Reports Template Definition File (TDF). Templates do not need to have a HEADER/TRAILER section, infact there is no sectioning in a template. They just define the visual layout when applied against a report section.
    This did not answer my question!

  • How to create schema for Header and Footer with pipe delimiter file BPEL11g

    Hi all,
    I have issule creating Schema for Header and Footer with body file .The file format is Pipe delimiter.The following format below like is...
    Softeware Components:File Adapter(Read) 11g,
    1|1211|000|577|5444
    1|0000|57|6988|4554|sfdgh|5448|3333|ituu|44445|55546|544|788|7788
    1|0000|57|6988|4554|sfdgh|5448|3333|ituu|44445|55546|544|788|7788
    1|0000|57|6988|4554|sfdgh|5448|3333|ituu|44445|55546|544|788|7788
    1|0000|57|6988|4554|sfdgh|5448|3333|ituu|44445|55546|544|788|7788
    1|0000|57|6988|4554|sfdgh|5448|3333|ituu|44445|55546|544|788|7788
    1|0000|57|6988|4554|sfdgh|5448|3333|ituu|44445|55546|544|788|7788
    1|4544|000|yted
    I hope get the sollution for this from this Forum..Please help me out..Thankyou.

    You mean how many rows or columns..?
    If coloumns means 5 and rows only one(1).

  • RESTORE - Kernel   Bad page - header and trailer not matching

    Hello,
    I have a Problem with the recover of my backup.
    When i want to make a restore of the Database this error is shown in Logfile KNLDIAGERR
    2008-11-26 21:20:38                               --- Starting GMT 2008-11-26 20:20:38           7.5.0    Build 032-123-111-699
    2008-11-26 21:26:57      0xE0C ERR 20005 Kernel   Bad page - header and trailer not matching
    2008-11-26 21:26:57      0xE0C ERR 20006 Kernel   Header [ 5277032 - data - tab - checksumData - empty ]
    2008-11-26 21:26:57      0xE0C ERR 20007 Kernel   Trailer[ 0 - data - nil - chckNil - empty ]
    2008-11-26 21:26:57      0xE0C ERR 52015 RESTORE  write/check count mismatch 5277032
    2008-11-26 21:26:57      0xDFC ERR 52012 RESTORE  error occured, basis_err 300
    2008-11-26 21:26:57      0xDFC ERR 51080 SYSERROR -9026 BD Bad datapage
    any Help ?
    thanks a lot
    Steven

    Hi Steven,
    the database kernel checks with every read the header trailer. If it got a mismatch during read the error message you got is logged.
    The same checkes will be executed when you create a backup. You told us that the backup could be executed without any errors and that the system where you created the backup is ok as well -> you executed a Check data?
    Now everything looks like the error is in the backup and happened during writies to the external backup medium. Or the backup is ok and then the error happens during read from the external medium.
    To get closer to the reason where the problem is located I need to have some more information.
    1. You did the restore several times?
    2. Did the bad Data Page shappens always on the same page -> Check knldiag.err
    3. Did you do your backup on tape?
    4. Did you try to create a backup into a file?
    5. Does the restore from file got the error as well?
    Regards, Christiane Hienger

  • Extracting body with header and trailer multiple times from a multirow file

    Hello Everyone,
    I am new to OSB and currently working on a project where I need to extract data from a flat file containing multiple rows of body and a single header and trailer in the following fashion:
    Original File:
    <Header></Header>
    <Details></Details>
    <Details></Details>
    <Trailer></Trailer>
    Desired format using OSB:
    <Header></Header>
    <Details></Details>
    <Trailer></Trailer> ... in a single file, multiple times
    Please help me in carrying out this functionality. It's really urgent and important.
    Thanks,
    Saurabh

    Some may argue this is not the right forum - database general might have been a little been than downloads - but now the thread is here I'll try an answer.
    As I see it It depends on your spooling tool.
    Lets assume you are using sqlplus.
    I that case the sql prompt command may serve your purpose
    Alternatively
    select 'header' from dual
    union all
    select field1||','||field2||','field3 .... /*must single string expression but may concatentate field */ from somtable
    union all
    select 'trailer' from dual;may suit.
    However I fear either I have not understood the question or if I have understood the question that you may have difficulties implementing this.
    Edited by: bigdelboy on 19-Apr-2009 14:32

Maybe you are looking for

  • Stored procedures not working after migrating from 8i to 10g

    The Oracle stored procedures are generating an error following upgrading a ColdFusion web application from Oracle8i to 10g release 2. "Error","jrpp-102","05/28/08","13:35:09","insite","Error Executing Database Query.[Macromedia][Oracle JDBC Driver][O

  • Open file dialog box - Excel 2011

    Not sure if this is the right forum to ask a question about running Office 2011 under Mavericks. Since upgrading to OSX 10.9, something very odd seems to have happend to the open file dialog box in Excel. The list of the files in the current folder i

  • Oracle 10g OCI Client Certification

    we are in process of 10g RAC Certification and Customer Aksed Would it be correct to assume that the Oracle RAC 10g Certification will include the 10g OCI client certification? I believe this will be necessary for an application to connect to the clu

  • Flex and SAP

    Can we use ActionScript when creating interfaces in SAP ? Or is it only possible to use Netweaver ? It would be an advantage to have the possibility to use AS. Thanks !

  • Problem running the sample adf demo

    Hi, I'm a new user of JDeveloper and trying to use ADF Faces. I followed the instructions to setup ADF faces in JDeveloper. While trying to run the sample demo provided(adffacesdemo), I get the following error messages Error: "http://java.sun.com/jsf