KeyFieldValue not picking out key

I have a sender file adapter - I have a file with structure HEADER,1,DETAIL,*,TRAILER,1
My data is:
RRELMAG  01000001138 etc.................
RRELMAG  04000002138 etc................
RRELMAG  04000003138 etc.................
RRELMAG  09000004138 etc.................
The content conversion is:
key field name = HRECTYPE,DRECTYPE,TRECTYPE
ignoreRecordsetName  true
HEADER.fieldNames   FILE_TYPE,FILE_NAME,FILLER1,HRECTYPE,SEQNO,................
HEADER.fieldFixedLengths   1,6,2,2,6,3,4,6,3,3,20,1,..............
HEADER.keyFieldValue   01
HEADER.fixedLengthTooShortHandling   Ignore
DETAIL.fieldNames  FILE_TYPE,FILE_NAME,FILLER1,DRECTYPE,SEQNO,FA..............
DETAIL.fieldFixedLengths   1,6,2,2,6,3,4,6,3,3,20..............
DETAIL.keyFieldValue   04
DETAIL.fixedLengthTooShortHandling   Ignore
DETAIL.lastFieldsOptional   yes
TRAILER.fieldNames   FILE_TYPE,FILE_NAME,FILLER1,TRECTYPE,SEQNO,FACT..........
TRAILER.fieldFixedLengths   1,6,2,2,6,3,4,6,3,3,............
TRAILER.keyFieldValue   09
TRAILER.fixedLengthTooShortHandling   Ignore
When I process this I get error:
Warning:  Channel CC_SND_FACTOREM_local: Empty document found. Proceed without sending message
When I pick out FILE_TYPE which is at the beginning of file and edit the file data to be A, B and C - it works ok
Is there a problem picking out a key in the middle of a file?????
(There are spaces before the key - but even when I replace them with characters like AA it still doesn't work.  Any ideas?????

You should have only one keyfield name, i.e keyfield name = RECTYPE.
then:
HEADER.fieldNames FILE_TYPE,FILE_NAME,FILLER1,RECTYPE,SEQNO,................
HEADER.fieldFixedLengths 1,6,2,2,6,3,4,6,3,3,20,1,..............
HEADER.keyFieldValue 01
HEADER.fixedLengthTooShortHandling Ignore
DETAIL.fieldNames FILE_TYPE,FILE_NAME,FILLER1,RECTYPE,SEQNO,FA..............
DETAIL.fieldFixedLengths 1,6,2,2,6,3,4,6,3,3,20..............
DETAIL.keyFieldValue 04
DETAIL.fixedLengthTooShortHandling Ignore
DETAIL.lastFieldsOptional yes
TRAILER.fieldNames FILE_TYPE,FILE_NAME,FILLER1,RECTYPE,SEQNO,FACT..........
TRAILER.fieldFixedLengths 1,6,2,2,6,3,4,6,3,3,............
TRAILER.keyFieldValue 09
TRAILER.fixedLengthTooShortHandling Ignore
The value for RECTYPE in your source file should be different for header, detail and tailer, i.e 'HEAD', 'DETAIL' and 'TAILER'
Jayson

Similar Messages

  • When using Adobe Colour in Photoshop, Why can I not pick out colours from an image open and first up in Photoshop?

    Am I doing something wrong?  Seems like it should be a no brainer, click for the color dropper and pick up a color.. seems I'm the one with the no brain thought because for the life of me it will not work. Then I would always go to colour Lovers and just upload my image and take the readings and put my theme together there.

    This Forum is dedicated to Photoshop.
    You may want to look for a more specific Forum.
    Adobe Color

  • I downloaded a ringtone ap, picked out several ringtones and downloaded them to itunes.  When I synced my iphone with the computer they did not appear on my phone.  It says to go to custom but I don't see that on my phone in ringtone settings.  next step.

    I downloaded a ringtone ap, picked out my ringtones and sent them to myself, got them in itunes and then synced my iphone.  No new ringtones on my iphone.  It said to look in custom, I do not have that listed under ringtones in sounds.  What do I do or can I get different ringtones on my phone?

    It was gift back in September. You can follow the instructions in the link below to remove them:
    Remove iTunes gift album "Songs of Innocence" from your iTunes music library and purchases - Apple Support

  • Not picking all open items at the time of out going payment(F-53)

    Dear Experts,
    I'm facing the issue at the time of out going payment(F-53)
    At the time of vendor line item display system is showing open items but at the time of out going payment(F-53)
    system is not picking the all open items it is picking only two items
    Pls help
    Regards
    Hari Prasad

    Hi Experts,
    Thnx for Quick response
    As per your instructions, I checked auto payment run here we have done successfully for vendor
    Open items shown in FBL1N but these open items not coming at the time of  out going payment
    I checked SPL GL indictors also
    Regards
    Hari Prasad

  • Windows 8 not picking up embedded product key when installed with WDS

    Ok so here is my setup.
    Server 2008 R2, running WDS and serving various images.
    the Windows 8 image is a vanilla boot.wim and install.wim imported from a system builder iso.
    If I burn the ISO or extract it onto a USB drive, then the install process picks up the embedded Windows product keys no problem.
    If I deploy the same thing via WDS, the setup wizard asks for the keys, ergo, is not picking them up from the UEFI firmware. Is this an inherent limitation of WDS or am I doing something wrong?

    Hi,
    As it has been a while since you post the question, whether the issue still exists? Have you tried to entered the product key in unattended file? If issue still exists could you share the unattended file with us?
    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 forum a great place.

  • System is not picking bank out going account in TBB1

    Hi All,
    I am facing the problem in TBB1 accounting entries, system is picking the bank main account (From House bank/account id assigned GL) Not picking Bank out going account from account determination
    Example:
    Accounting entry at the time of TBB1: (Term start)
    Wrong entry
    Dr. Fixed Term Deposit GL account
    Cr. Bank Main account (Which is assigned in House bank/account ID)
    Correct accounting entry should be like this:
    Dr. Fixed Term Deposit GL account
    Cr. Bank out going account
    I have checked the Payment configuration but still not able to identify the issue
    Thank in advance for your help and support
    Regards,
    MS

    Hi Ravi,
    I was going through your reply.
    I needed some clarity on my understanding please confirm it.
    Suppose Bank Account is : 113150 ( Created in FS00)
    Bank Clearing Account for Treasury Clearing purpose is 114150 (not yet created in FS00)
    Bank Clearing for non treasury clearing purpose is 112150 (created in FS00)
    in my account determination of TRM I have maintained masking as ++++++4+++
    then in this case when posting happens Account picked up will be 114150 based on my House Bank detail in payment tab.
    Although 114150 is not created in FS00 and not maintained in T042Y in FBZP. and system will throw error.
    Am I right?
    Please confirm the understanding.

  • Rerence key is not picking up in ZFBL5N

    Hello SAP Expert !!
        I got one issue,in ZFBL5N report reference key is not picking for few plants,kindly suggest me asap as this is very urgent issue.
    Thanks in advance !!!

    Hi Prateek,
    Please check the following threads and see whether you get any useful info.
    Reference Key in dynamic selection in FBL5N
    How to change ref. key 2 in FBL5n through Mass change?
    XREF1(Reference Key1) and XREF2(Reference Key2) in FBl5N report
    FBL5N t code and BSEG table is showing wrong contract number
    Warm regards,
    Murukan Arunachalam

  • I have a disk in my mac and came not get it out?  I use the command E key to eject but it does note come out?

    I have a disk in my mac but it does note come out useing command e to eject? how do i get it out or do I have to get it jixed?

    Force eject a stuck cd/dvd
    First try the normal methods to remove the disc. Drag its icon to the Trash can in the Dock or select 'Eject' from the File menu.
    If you are running a virtual machine, e.g. VMFusion, ensure that the CD is disconnected from the virtual machine. This will sometimes allow the CD to now show up in Mac OS X.
    Shut down the computer and start up whilst holding down the mouse button. This may take some time, but keep your finger on the mouse button right up until the disc comes out or the log-in screen has appeared.
    If you have Toast Titanium installed on your computer, choose EJECT DISC from the menubar.
    Sometimes you can successfully use the eject disc button in iTunes even if the disc is not visible to the Finder
    Open Disc utility and choose the disc you wish to eject in the left-hand pane, then click on the Eject button.
    Some Macintoshes have a paperclip hole that you can insert a straightened paperclip into, manually triggering the eject mechanism.
    Open Terminal and type "drutil tray eject" to eject the disc/tray, and "drutil tray close" to close the tray.
    If your computer has an eject button on the keyboard, restart the computer holding down the Option key. When the startup disk selection screen appears, let go of the option key and press the keyboard's eject button.
    Source: http://guides.macrumors.com/Force_Eject_a_Stuck_CD_or_DVD

  • A recent download the CD gets stuck and repeats.  I believe that this is a fault in the CD not picked up by Itunes.  Downloading again may not sort this out.  Who do I contact to tell this to.

    Recent download the CD gets stuck and repeats.  I believe that this is a fault in the CD not picked up by Itunes.  Downloading again may not sort this out.  Who do I contact to tell this to....thanks

    Was the CD purchased from itunes store or ripped from a CD?
    Jim

  • HT201412 My 4s is not picking up phone signal I do not no how to sort this out I have tried resetting it and its not working still I do receive messages and can send them but can not call as it just says call fail

    My 4s is not picking up phone signal I do not no how to sort this out I have tried resetting it and its not working still I do receive messages and can send them but can not call as it just says call fail

    Try resseting the network settings in settings>general then go to reset a the bottom.
    Then reset NETWORK settings.

  • TS2972 used to be able to pick out which songs in iTunes in my computer were not on a 2nd computer on homeshare in iTunes 10.  Now with V11, cant find the button that compares two libraries and finds the songs that are different.  Anyone know how to do th

    Used to be able to pick out which songs in iTunes in my computer were not on a 2nd computer on homeshare in iTunes 10.  Now with V11, cant find the button that compares two libraries and finds the songs that are different.  Anyone know how to do this now?

    Jneklason wrote:
    ~snip~
    I know this email is confusing and really hard to understand...perhaps now you will know how i've been feeling--lost and confused with all the mis-information, with a hit and miss phone, and out of time with all the 1 1/2 hr to 2 hrs EACH wasted on this issue.
    On top of all this, I can't even find out how to file a complaint with anyone higher up than Customer Service.
    I hate to tell you this, but you didn't write an email. You wrote a discussion post on the Verizon Wireless Community forum which is a public peer to peer forum. Unfortunately since you didn't mark your post as a question, the VZW reps that roam this community won't ever see your post. Before you re-post it, don't. Duplicate posts get removed from the community.
    I see there were several missteps both by the reps and yourself in your post. First you should have insisted on returning the phone within the 14 day return policy period. Second which Samsung Galaxy mini model did you purchase? The S3 mini or the S4 mini? Did you do any research prior to deciding on this device. The reps at that time deflected the easiest course of action, by trying to get you to replace the phone under insurance instead of returning the phone. The Early Edge payment option requires the current phone on the line using the early Edge must be returned to Verizon Wireless. Did you once considered going to a third party site like Swappa to purchase a gently used device for your daughter?

  • Periodic Alert scheduler not picking up 3 Check period Alerts out of 46

    Hi All,
    Please help me on this. It is rellay urgent.
    In production we have 46 period alerts on one username. Due to recent changes in organization that user transferred to other organization. Now I need to cancel all these jobs on his name and need to assign on my user account since I am the owner of the applicaitons now.
    I went to Periodic alert scheduler and deactivated the scheduler and activated again with today date. So now new request id came on periodic scheduler and all 43 jobs are showing scheduled on my user account . Even periodic scheduler also shwoing 'scheduled' on my user account . But some how only 3 alerts not picked up by scheduler.
    Only difference I found for those 3 Alerts are they have start time and end time. Can anybody let me know how to schedule these 3 alerts again. Why did n't scheduler picked up these 3 alets.
    Alert details:
    Frequency-evey n calender days,Days-1,start time :05:00:00, end time : 22:00:00,Check interval : 01:00:00
    I need the resoluciton asap . Appreciate your help and many thanks to looking into this issue.
    Thanks,
    SJP

    Hi,
    Please review these documents and see if it helps.
    Note: 2059482.7 - Set Information and make Sure Periodic Alert Scheduler is Running
    Note: 1016672.102 - Periodic Alert does not Run at Scheduled Time, Runs when Periodic Alert Scheduler Runs
    Note: 427965.1 - Periodic Alert Scheduled for On Day of the Month, Runs on Day Enabled
    Regards,
    Hussein

  • PO price is not picking from Inforecord

    Hello All,
    When PO is created by one particular user the price is not picked from inforecord. Inforecord validity periods are active and this price is not of previous purchase order. The problem is only for this user. Can you please advice what needs to be done here.
    Thanks a lot in advance.
    Best regards,
    Raji

    Hi,
    1. Check out user profile whether EVO parameter is maintained properly for all the users.
    2. Check in EVO parameter key you set radio button on Always copy.
    EVO is parameter ID for Defining Defualt values for buyer. Relevent customization carried out in SPRO --> Mat mangt --> Pur --> Env data --> define default value for buyer.
    Rewards, if helpful to you.
    rgds,
    rajesh

  • Pricing not Picked up in Billing for one of the BOM items

    Hello SAPians,
    I have an issue.
    A Standard Charge Estimate was created from Service Order.
    Invoicing was done on the same day of the Standard charge Estimate.  The issue is
    There 3 Materials (BOM)-LUMF.   The price at
    10.  Service item    Rs  0.00    TAP-  (No price)
    20.  Service Item    Rs 184.00 TAD   (Priced)
    30.  Service item    Rs 266.00 TAD   (Priced)
    total order value Rs 450/.   Total Billing amount Rs 266.00 and NOT Rs 450/. 
    The error is item at 20 not picked pricing in Invoicing. Pricing analysis in Invoicing shows "Condition record exists, but has not been set"  Message 108.
    The possibility of User Manually deleting the Condition Type in Billing is reuled out.
    Your guidance and suggestions are appreciated
    Thanks in Advance

    Hi,
    Please read the below details of the message 108 and carry out new pricing in the invoice, this will solve your problem:
    Condition record exists, but has not been set
    This message tells you that the condition record exists, but has not been set in the document. If pricing was carried out again for the document item, then the condition would be set.
    There are different reasons for this:
    1. The condition was deleted manually in the item condition screen.
    2. The condition record was created later. Please note that order processing and pricing have buffer mechanisms. This means that a newly added condition record might only be found after order processing has been left completely and then started again.
    If the condition type is used for subsequent settlement (rebate), there may be subsequent updating of business volume (the agreement is is created retrospectively). The document conditions do not contain the condition record, as the condition record was not created when pricing was carried out. Updating of business volume is carried out using special functions for subsequent settlement.
    3. When an item was added, the condition record was accessed with key fields other than change time. This could lead to different results in the requirements check at the time of adding and the change time. This can occur when modifications are made.
    4. In billing (or when copying orders): Certain condition types were not determined in the source document (this is usually controlled by the pricing requirements). When creating the document, the document flow (TVCPF,TVCPA) is processed using a pricing type that does not redetermine these condition types, although they are supposed to be called via the requirements.
    Hrishikesh

  • NIO Non-Blocking Server not Reading from Key

    I have created a NIO non blocking server (below) and it will not pick up any input from the client.... My log doesnt even show that it enters the readKey() method, so it must be something before. Any help would be appreciated.
    Scott
    package jamb.server;
    import java.io.IOException;
    import java.net.InetAddress;
    import java.net.InetSocketAddress;
    import java.nio.ByteBuffer;
    import java.nio.CharBuffer;
    import java.nio.channels.ClosedChannelException;
    import java.nio.channels.SelectionKey;
    import java.nio.channels.Selector;
    import java.nio.channels.ServerSocketChannel;
    import java.nio.channels.SocketChannel;
    import java.nio.channels.spi.SelectorProvider;
    import java.nio.charset.Charset;
    import java.nio.charset.CharsetDecoder;
    import java.util.Iterator;
    import java.util.Set;
    import java.util.logging.Logger;
    import java.util.prefs.Preferences;
    import jamb.server.client.Client;
    public class Server {
            private Selector selector;
            private ServerSocketChannel serverChannel;
            private static Logger logger = Logger.getLogger("jamb.server");
            private static Preferences prefs =  Preferences.systemRoot().node("/jamb/server");
            public void init() {
                    logger.entering("jamb.server.Server", "init");
                    //Get a selector...
                    try {
                            selector = SelectorProvider.provider().openSelector();
                            //Open the SocketChannel and make it non-blocking...
                            serverChannel = ServerSocketChannel.open();
                         serverChannel.configureBlocking(false);
                            //Bind the server to the port....
                            int port = prefs.getInt("Port", 4000);
                            logger.config("Server configured on port " + port + " (default: 4000)");
                         InetSocketAddress isa = new InetSocketAddress(
                                    InetAddress.getLocalHost(), port);       
                         serverChannel.socket().bind(isa);
                    } catch (IOException ioe) {
                            logger.severe ("IOException during server initialization!");
                    logger.exiting("jamb.server.Server", "init");
            public void run() {
                    logger.entering("jamb.server.Server", "run");
                    int bufferSize = prefs.getInt("BufferSize", 8);
                    logger.config("Buffer size set to " + bufferSize + " (default: 8)");
                    SelectionKey acceptKey = null;
                    try {
                            acceptKey = serverChannel.register(
                                    selector, SelectionKey.OP_ACCEPT);
                    } catch (ClosedChannelException cce) {
                    try {
                            while (acceptKey.selector().select() > 0) {
                                    Set readyKeys = selector.selectedKeys();
                                    Iterator i = readyKeys.iterator();
                                    while (i.hasNext()) {
                                            //logger.finest("Processing keys...");
                                            //Get the key from the set and remove it
                                            SelectionKey currentKey = (SelectionKey) i.next();
                                            i.remove();
                                            if (currentKey.isAcceptable()) {
                                                    logger.finest("Accepting key...");
                                                    acceptKey(currentKey);
                                            } else if (currentKey.isReadable()) {
                                                    logger.finest("Reading key...");
                                                    readKey(currentKey, bufferSize);
                                            } else if (currentKey.isWritable()) {
                                                    //logger.finest("Writing key...");
                                                    writeKey(currentKey);
                    } catch (IOException ioe) {
                            logger.warning("IOException during key handling!");
                    logger.exiting("jamb.server.Server", "run");
            public void flushClient (Client client) {
                    try {
                            ByteBuffer buf = ByteBuffer.wrap( client.getOutputBuffer().toString().getBytes());
                            client.getChannel().write(buf);
                    } catch (IOException ioe) {
                            System.out.println ("Error writing to player");
                    client.setOutputBuffer(new StringBuffer());
            private void acceptKey (SelectionKey acceptKey) {
                    logger.entering("jamb.server.Server", "acceptKey");
                    //Retrieve a SocketChannel for the new client, and register a new selector with
                    //read/write interests, and then register
                    try {
                            SocketChannel channel =  ((ServerSocketChannel) acceptKey.channel()).accept();
                            channel.configureBlocking(false);
                            SelectionKey readKey = channel.register(
                                    selector, SelectionKey.OP_READ|SelectionKey.OP_WRITE  );
                            readKey.attach(new Client(this, channel));
                    } catch (IOException ioe) {
                            System.out.println ("Error accepting key");
                    logger.exiting("jamb.server.Server", "acceptKey");
            private void readKey (SelectionKey readKey, int bufSize) {
                    logger.entering("jamb.server.Server", "readKey");
                    Client client = (Client) readKey.attachment();
                    try {
                            ByteBuffer byteBuffer = ByteBuffer.allocate(bufSize);
                            int nbytes = client.getChannel().read( byteBuffer );
                            byteBuffer.flip();
                            Charset charset = Charset.forName( "us-ascii" );
                            CharsetDecoder decoder = charset.newDecoder();
                            CharBuffer charBuffer = decoder.decode(byteBuffer);
                            String text = charBuffer.toString();
                            client.getInputBuffer().append(text);
                            if ( text.indexOf( "\n" ) >= 0 )
                                    client.input();
                    } catch (IOException ioe) {
                            logger.warning("Unexpected quit...");
                            client.disconnect();
                    logger.exiting("jamb.server.Server", "readKey");
            private void writeKey (SelectionKey writeKey) {
                    //logger.entering("jamb.server.Server", "writeKey");
                    Client client = (Client) writeKey.attachment();
                    if (!client.isConnected()) {
                            client.connect();
                    //logger.exiting("jamb.server.Server", "writeKey");

    From my own expierence with the NIO (Under Windows XP/ jdk1.4.1_01); you can't seem to set READ and WRITE at the same time.
    The program flow I usually end up with for a echo server is:
    When the selector.isAcceptable(): accept a connection; register for READs
    In the read event; write the incoming characters to a buffer; register for a WRITE and add the buffer as an attachment.
    In the write event; write the data to the socket If all the data was written; register for a READ; otherwise register for another WRITE so that you can write the rest.
    Not sure if that the "proper" way; but it works well for me.
    - Chris

Maybe you are looking for

  • Details of GR/IV tables

    Hi All, I want to know from which table(s) I can get the details (about all entries) of documents for which G/R is completed and IV has not completed or vice versa along with quantity, value & dates. Do suggest. Regards,

  • Order to Cash Process

    Hi all, I am aware of the order to billing process in SD. Can you please details me the Order to Cash process and the extra Config. requirements in this when compared to the order to billing process. Thanks in advance. Jn.

  • Migrated 3.x query not working properly

    Hi All,    I am migrating existing 3.x queries in system to BI 7. Some queries are showing strange behaviour like when i am executing them in analyzer the results are perfect. When i am executing same queries on web through query designer or through

  • What is my carrier

    what is my carrier?? IMEI - ***** <Edited By Host>

  • Exactly what is getting backed up ?

    Time Capsule seems to be working fine after initial set up and I can see my files remotely when I go into Time Machine on my mac. However, when I look at OPen Time Machine Preferences>Options I see my 'Filevault' protected drive in the 'do not backup