Dealing with Fixed Length formats both at sender and receiver side

Hi all,
I have file -- File with fixed lenght formats.
Source system will generate a text file with fixed lenght and target also needs the same file with same format.
Then we have an idea to implement the interface with out IR Development .this is fine upto now.
But now the problem is we are receiving more fields from source than we require for target process. we are not using at receiver side.
So receiving system needs only few required fields from the source file.
From soucre
Ex: Source....  DocNum   Invoice No   Bill date   Bill amount vendor code
We require at target
Ex: Target.....   DocNum  Bill Date Vendor code
Please suggest me
Regards

Hi,
>>The source file content conversion is simple...In the target when you specify the target field names just leave out the ones you dont need...
from source we wil read all the fields, this is fine and in the target how to mention the field positions
Here all fields will come into picture, we cant mention the positions at receiver
Source side Ex: Docnum    InvoiceNo     Billdate     Bill Amt     Vendor
Fixed lenghts are 10            20               10             10            20
Target Expects Ex: Docnum   BillDate  Vendor
                              10            10          20
in receiver side if you mention fixed lenghts like 10 10 20 means it may read docnum, Invoiceno, BillDate
It wont ignore InvoiceNo field in this case
Regards

Similar Messages

  • Problem with Stored Procedure exection in Sender and Receiver side of JDBC

    Hi All,
    I am facing problem while executing Stored Procedures using sender and receiver sides of JDBC adapter.
    Here is my SP in Oracle DB :
    PROCEDURE EMP                           
    ( ID IN VARCHAR2,NAME IN VARCHAR2,PROCESSED IN VARCHAR2  ) AS                                                          
    BEGIN                                                         
       INSERT INTO EMPLOYEE VALUES (ID, NAME, PROCESSED);COMMIT;END EMP;
    Now I want to execute this SP using sender JDBC channel and receiver JDBC channel.
    Can anyone please help me executing this SP?
    Regards,
    Soorya

    Hi Soorya,
    The receiver Data type should be like this:
    <StatementName>
    <storedProcedureName action=u201D EXECUTEu201D>
        <table>realStoredProcedureeName</table>
    <param1 [isInput=u201Dtrueu201D] [isOutput=true] type=SQLDatatype>val1</param1>
    </storedProcedureName >
      </StatementName>
    Check the link http://help.sap.com/saphelp_nw04/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/frameset.htm
    Which DB  are you using?? The sender structure will be like
    <resultset>
    <row>
    <field1></field1>
    <field2></field2>
    <field3></ field3>
    </row>
    </resultset>
    Search SDN you will get lot of examples
    Regards
    Suraj

  • Configuring IDOC and RFC Adapters in both Sender and receiver side

    Hi ,
    Kindly tell me the steps to configure IDOC adapters in sender as well as receiver side.
    Similarly for RFC adapters.
    Regards,
    Sweta

    Hi,
    >>>Kindly tell me the steps to configure IDOC adapters in sender as well as receiver side.
    kindly try searching for them first yourself (there are tons of docs for that and similar questions)
    and come back if you any further issues
    Thank you,
    Regards,
    Michal Krawczyk

  • Proxy to Proxy Scenario with sender and receiver on same instance

    Hi,
    I have a scenario to integrate Erecruit to HR system usng standard content. Both the Erecruiting and HR are on same instance so my sender and receiver is the same system. Standard ABAP proxies are provided.
    Now I need some help in how to configure the channels and the agreements as both the sender and receiver are on same instance. Do i need to use parties?
    do i have to create a sender communication channel?
    Please let me know the stps required in configuration for this scenario.
    Thanks in advance.

    Hey
    It does not matter if your sender and receiver are same system or different systems,the configuration steps will be the same.
    In your case you would need
    1 Receiver determination
    1 interface determination
    1 receiver agreement
    1 receiver communication channel(of type XI adapter,this will connect to HR system).
    No party or sender communication channel or sender agreement are required.
    You need to have configured 1 business system for HR system in SLD though.
    Thanx
    Aamir
    Edited by: Aamir Suhail on Jul 23, 2008 7:36 PM

  • Send and receive phone numbers for iMessage

    Since IOS 8 update, iMessage does not recognize my cell number. It only recognizes my husband's number and our email address. My number does not appear as an option on the iPhone 5; it does appear, but is not accessable on the iPad. It shows as light gray there. How do I fix this so I can send and receive iMessages?

    situation has been resolved. Both iPhone and iPad had to be restarted on iMessaging, and then cell number was recognized.

  • Re: sending and receiving picture texts

    Hi, I have an iphone 4s with ios 7.  I can send and receive picture messages from everyone except for one person.  He also has an iphone 4s but for some reason when I try to send him a pic it says not delivered. I try several more times but with the same result.  I also don't receive any that he sends to me.  I really need your
    help...any suggestions as to what is happening.  Thank you so much
    Pat

    Hi and thank you for responding.  He does have an account (sprint) that includes MMS.  I did one time receive one picture from him and that was it.  I have not been able to get any pictures to go through.  Although I am able to send pictures to every one else and receive.  Could there by some setting on my end that isn't right?  I am fairly new to the iphone.  Thank you again

  • Send a flat file with fixed lengths to XI 3.0 using a Central File Adapter?

    Hello,
    I'm wondering if someone have experience setting up conversion for different record structures. The example shown,
    /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter,
    (in a greate way) only picture one kind of structure.
    How should it be done if the file would contain
    10Mat1
    20100PCS
    The first record structure has columns
    ID(2),Material(10)
    The second redcord structure has columns
    ID(2),Quantity(3), Unit of messure (3)
    Brgds
    Kalle
    Message was edited by: Karl Bergstrom

    The configuration would be like follows:
    Content Conversion Parameters:
    Document Name: <your message type name>
    Document Namespace: <your message type namespace>
    Document Offset: <leave empty>
    Recordset Name: <any name>
    Recordset Namespace: <leave empty>
    Recordset Structure: row1,,row2,
    Recordset Sequence: any
    Recordsets per Message: *
    Key Field Name: ID
    Key Field Type: String
    Parameters for Recordset Structures:
    row1.fieldNames           ID,Material
    row1.fieldFixedLengths    2,10
    row1.keyFieldValue        10
    row2.fieldNames           ID,Quantity,UOM
    row2.fieldFixedLengths    2,3,3
    row2.keyFieldValue        20
    Instead of row1 and row2 you can choose any name.
    Regards
    Stefan

  • Flat file with fixed lengths to XI 3.0 using a Central File Adapter---Error

    Hi
    According to the following link
    /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
    In Adapter Monitor I got the following error,
    In sender Adapter,
    Last message processing started 23:47:35 2008-10-25, Error: Conversion of complete file content to XML format failed around position 0 with java.lang.Exception: ERROR converting document line no. 1 according to structure 'Substr':java.lang.Exception: Consistency error: field(s) missing - specify 'lastFieldsOptional' parameter to allow this
      last retry interval started 23:47:35 2008-10-25
      length 15,000 secs
    some one help me out ?
    Thanks
    Ram

    from the blog you referenced -
    <u> /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
    <b>goto step 4</b>
    <u>additional parameters</u>
    add as the last entry
    <recordset structure>.lastFieldsOptional            Yes
    e.g.,
      Substr.lastFieldsOptional            Yes

  • Files with fixed length

    I have an input file, which is fixed length format. I need to configure the Sender File Adapter for a fixe length file(i.e each field length is available and I need to mention that in my sender file Adapter)
    Can anyone suggest an appropriate blog, that explains my scenario.
    (I searched this web and it keep on hanging)

    Hi Naveen
      check these links
    /people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
    for sender conversion (check the sub links in this topic)
    http://help.sap.com/saphelp_nw04/helpdata/en/0b/9a50465ccf84479e39a6d50c90fb3f/frameset.htm
    and my reply to your previous post for idoc to flat file.
    Regerds
    Vishnu

  • FILE model support for CSV and fixed-length format!!

    Hi all,
    As I'm working on a data conversation project, we are in the middel to design whether the extraction for the data source should be in CSV or fixed-length. Here is the pros and cons:
    CSV:
    1. There are a lot of remarks field in the data which are all free text. It's really hard to define the record delimiter.
    2. Extracted file size for CSV is relatively small compare with fixed-length.
    fixed-length:
    Even for fixed length, we can either
    1. Extract the file without an separator/delimiter (1 row) with fixed column length
    2. Extract the file with fixed column length per record and define the record delimiter to separarter the record.
    I'd try all the above formats and it seems ODI is more prefer on CSV or combined mode (fixed column length) as:
    1. The LKM (file to external table) need to be customzised to handle the file format which without any separator/delimiter
    2. It is very hard to reverse the column definition for fixed-length (no delimiter)
    Any suggestion?
    Tao

    You can transform your files to an xml format using respective tags:
    eg:
    <?xml version="1.0" encoding="UTF-8"?>
    <MONEY>
    <MoneyID>MoneyID0</MoneyID>
    <ContractID>ContractID0</ContractID>
    <EffectiveDate>2006-05-04T18:13:51.0Z</EffectiveDate>
    <MessageDate>2006-05-04T18:13:51.0Z</MessageDate>
    <ReversalIndicator>false</ReversalIndicator>
    <PriorMoneyID>PriorMoney, something "ID0" for life;</PriorMoneyID>
    <Amount>0</Amount>
    <MoneyType>0</MoneyType>
    <ExchangeDetails>
    <CostBasis>0</CostBasis>
    <ExchangeType>0</ExchangeType>
    <MEC>false</MEC>
    <LoanAmount>0</LoanAmount>
    </ExchangeDetails>
    </MONEY>
    So, as you see, you can embed any symbol in a tag.
    After creating this xml file, you can use XML technology in Topology Manager to map to this file and then create a data store based on this technology.
    And you will be able to retrieve the data in this file under respective column headers without worrying about delimiters existing in the actual data.

  • Is it possible to display a waveform with fixed length and fixed starting point?

    Hi,
    I am using DAQ assitant to acquire voltage and current measurment of my device. The voltage is a pure sine wave and current is a periodic waveform with phase difference and distortion. I use waveform chart to display the waveform of voltage and current waveform in seperate charts and they work fine.But the waveforms look like moving to the right all the time, in another way ,the phase is always shifting. Now i want to display the waveforms of both with fixed length (say 2 cycle) and also in a same chart. Apart from that, i also want to display the voltage waveform starting form 0 degree (a fixed point )rather than moving all the time. In this case, i can observe the angle difference between voltage and current. Is there any method to achieve this purpose?
    Many Thanks,
    Hao

    Hao,
    first of all, you are using a chart which has three options for updates if the chart is "full":
    Strip chart (default)
    Scope chart
    Sweep chart
    These are called "update mode". Test the modes yourself.
    Also you have to know that you will not likely have an integer number of periods of your signal in the display of the chart. Therefore, a continuous signal will "move" the graph from update to update.
    You can implement some algorithm to discard data to maintain a static "trigger" level for display, but as stated, it will leave gaps in the signal. These gaps are not a concern unless you use the displayed signal for analysis (e.g. FFT).
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Option to read fixed-length format, EXCEL or ASCII TAB delimited

    Hi Experts,
                      I have a requirement for giving an option to read fixed-length format, EXCEL or ASCII TAB delimited in the selection screen.Kindly help me how can i read the fixed length format?
    Thanks,
    Ankita

    As far as I could have understood your problem
    You have to read the file with
    Open dataset  'file path+name'  FOR INPUT in text mode encoding default.
    and move its contents to string type variable
    Transfer to 'file path+name' to v_string.
    Now as per your requirements you need to use Offsets to transfer the data into a work area.
    For example
    wa_task-year=  v_string(4).
    wa_task-month=  v_string+4(2).
    Please confirm if this is your requirement.

  • I am having trouble with iMessage being activated. It has worked up until yesterday and now won't activate and is saying no address in the send and receive section. My number is there but not ticked. Any suggestions on how to fix this?

    I am having trouble with iMessage being activated. It has worked up until yesterday and now won't activate and is saying no address in the send and receive section. My number is there but not ticked. Any suggestions on how to fix this? I have shut down my phone, but still no luck!

    iMessage and FaceTime went down yesterday for some people. Mine is still down. My iMessage is saying the same thing about being activated. Sounds like you are still down too. Ignore the status page that says everything is fine - it lies.

  • How to deal with Fixed Assests in Process Enabled Orgs?

    How to deal with Fixed Assests in Process Enabled Orgs
    We have a Process Organization - Food Industry , We are implimenting the Process Manufacturing . But we also have plenty of machines etc i.e. Fixed assets.
    Can any one suggest how to deal with this Process Org, So that i dont need to create another Discrete Org only for Fixed Assets.
    Also note that EAM is also in scope in the next Phase, Any suggestion is highly appreciated.

    Hi
    There is no possiblity of making your Process enabled Org as EAM enabled, and you must have to create a Discrete Org where in you can make this as EAM enabled.
    In R12/11i Process Enabled items/inventory items are dealt with only process, and that is the reason we can maintain an Assest item to Process enabled org which is a constriant. Hence it is adviced that, create an Inv Org (Discrete) and Enable this for EAM.
    Hope this is clear.
    Regards
    Raj
    Sierra Atlantic

  • What's the deal with the video format?

    Hello! What is the deal with the video format? Does it mean I have to code the videos for 640*480 ? It won't accept any other size? What size do I need to select for widescreen format?
    With Quicktime pro I've been able to encode videos with a very nice resolution and small size, then try to synch them to the ipod touch and then the error, it can't be played. I use the .mov format, I like it more but if I have to use .mp4 then I'll use it.
    Thanks for the help!

    According to Apple's Specification, these are your video choices
    H.264 video, up to 1.5 Mbps, 640 by 480 pixels, 30 frames per second, Low-Complexity version of the H.264 Baseline Profile with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats.
    H.264 video, up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Baseline Profile up to Level 3.0 with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats.
    MPEG-4 video, up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats.
    http://support.apple.com/kb/SP496

Maybe you are looking for

  • Error message when trying to play a movie

    hi i am trying to watch a rented movie when i gat an error message suggesting trying later error number = (-42110) not sure why any help welcomed

  • Is this a bug in oracle 9i

    How come I do not get an error msg when i do this in oracle 9i select last_day(to_date('2010-01'|| '01', 'YYYY-MM-DD')) from dualtechincally, this should be the right way to do it select last_day(to_date('2010-01'|| '-01', 'YYYY-MM-DD')) from dual

  • Tables for Assets & Liabilities in Profit Center

    Dear All, I want to know the tables for Profit Center wise Assets & Liabilities. Help needed. Regards, Pankaj.

  • My iphone 4 doesn t ring bei incomming calls

    i made a reset but the problem already exists.

  • S10 integrated graphic chipset ?

    Hello, I'm about to puchase an S10 and I wonder if the motherboard integrate any basic graphic controler (like an intel gma 950 for instance) ? This would allow to boot and start configuring the S10 without any PCIe card. Thanks ! Solved! Go to Solut