Key Field Name not there_Content conversion

Hello SDN,
               I am doing a sender content conversion in send file adapter but i donot have a keyfield and my structure is :-
Header,*,body,1 but there is no common field between header and body so i cant use a keyfield . Any solutions ?
Regards,
Anirban.

Hi,
Refer this ...
http://help.sap.com/saphelp_nw70/helpdata/en/ae/d03341771b4c0de10000000a1550b0/frameset.htm
Hope it helps..
kumar.S

Similar Messages

  • FCC configuration in Sender File Channel Without any key field name

    Hi Everyone,
    We have below flat file generated from ECC using standard tcode.
    The flat file is fixed length file and first record is header record followed by line items.
    There is no key field name in the file name.
    Can we read the file and convert into xml without any key field name?
    I want to understand if the FCC configuration for above file can be done without key name or not.
    Thanks,
    Vertika

    Hello,
    AFAIK, using FCC i really doubt u can convert file into xml.
    So technically, there are two options either read each line one by one and then do conversions in ur mapping or write a custom module which will read ur input file and convert into xml.
    Configuring Generic Sender File CC Adapter
    Thanks
    Amit Srivastava

  • Diferent key field names within a recordset

    Hi
    Can we have different key field names for records within a recordset.
    When i give different key field names for Header and detail records in a recordset i get the error below: -
    message not processed: com.sap.aii.messaging.adapter.trans.TransformException: Transformer Conversion3.0.5227 Error initializing Class: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found (4408) Parameter 'xml.keyFieldName' is missing (4403) ; nested exception caused by: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found (4408) Parameter 'xml.keyFieldName' is missing (4403)
    Thanks

    Hello Pratihchi,
                   One keyfield name is allowed, eventhough we have different records per recordset. Because we can differentiate the rows based on the keyfieldvalue and those value we need to mention in the fieldname. Check below link which contains the example on this.
    https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/5393- [original link is broken] [original link is broken]> [original link is broken] File Adapter->Sender File Adapter for Content Conversion
    Regards.
    Prasanna.

  • Composite key field is not a simple type or enum

    According to the docs here - http://www.oracle.com/technology/documentation/berkeley-db/je/java/index.html?com/sleepycat/persist/model/PrimaryKey.html - you can use "A composite key class containing one or more simple type or enum fields" as a key field. When we try that we get "java.lang.IllegalArgumentException: Composite key field is not a simple type or enum: Result$Key.recordId". Am I misreading the docs?
    Thanks,
    Trevor
    @Persistent
    public final class RecordKey {
    @KeyField(1)
    private final String name;
    @KeyField(2)
    private final int duplicateNumber;
    RecordKey(final String name, final int duplicateNumber) {
    this.name = name;
    this.duplicateNumber = duplicateNumber;
    RecordKey() {
    this.name = null;
    this.duplicateNumber = -1;
    @Persistent
    static final class Key {
    @KeyField(1)
    private final RecordKey recordId;
    @KeyField(2)
    private final String key;
    Key(final RecordKey recordId, final String key) {
    this.recordId = recordId;
    this.key = key;
    Key() {
    this.recordId = null;
    this.key = null;
    }

    Hi Trevor,
    You're nesting one key class inside another. All fields of a key class must be simple types or enums, which is what the exception message is trying to say. If you want all those fields in your key class, you'll have to include them in a single flattened class.
    Neither nesting of key classes nor inheritance of key classes is supported. We have enhancements filed to support these in the future, but no concrete plans.
    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • What Oracle Table contains Partition Key Field Name?

    What Oracle table/view maintains the partition key field name?
    All_Tab_Partitions does not appear to maintain such information.
    When I use Toad -> Schema -> Tables -> Partitions, it lists the partition key field name that the partition is based.
    Thank You

    all_part_key_columns
    or
    USER_part_key_columns
    Edited by: OrionNet on Dec 5, 2008 3:56 PM

  • Delete records in itab1 where key fields does not exit in itab2 w/o Loop

    Hi,
    I am trying to find the most efficient way to compare two internal tables and filter out (delete) the entries in Internal Table 1 (ITAB1) where the key fields does not exist in internal table 2 (ITAB2).
    Here is the codes using the Loop.
    Loop at itab1.
      read table itab2 where field1 = itab1-field1 and field2 = itab1-field2.
      if sy-subrc ne 0.
       delete itab1 where field1 = itab1-field1 and field2 = itab-field2.
      endif.
    endloop.
    Instead of looping thru each record of ITAB1, is there a way to use the "DELETE" or other efficient way? This is in ECC 6.0.
    Thanks for any advice in advance.

    Not sure if its possible without using even a single loop. Though you can avoid the read statement this way
    loop at itab2.
    delete itab1 where field1 NE itab2-field1 and field2 NE  itab2-field2.
    endloop.

  • Problem in key field name in FCC

    hi,
    I am using FCC on the sender side.
    Source file is
    1;;PY;X101;20060630;06;20060630;GBP;Ref.1;Payroll June 2006; (Header)
    1;1;40;S2225000;;1050;;;;;;;;;;;;;;;X101003;;;;;;;;;;;;;;;
    1;2;240;S2225000;;4563;;;;;;;;;;;;;;;X101004;;;;;;;;;;;;;;;
    1;3;31;3100001;;5013;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    1;4;31;3100002;;600;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    2;;PY;X101;20060630;06;20060630;GBP;Ref.2;Payroll June 2006;  (Header)
    2;1;40;S2225000;;530;;;;;;;;;;;;;;;X101003;;;;;;;;;;;;;;;
    2;2;40;S2225000;;2490;;;;;;;;;;;;;;;X101004;;;;;;;;;;;;;;;
    2;3;31;3100002;;3020;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    The first field in the header is the key field to identify the header, which keeps incrementing for evry occurence of the header.
    So for the first occurence of the header first field of header will be 1, first field of item will be 1( same as header) and second field of item will be the key field now  which will increment with evry occurence of item within the header.So there is no constant value for key field name.
    So how do i perform FCC for this type of structure?
    Regards,
    Loveena

    Hi,
    You can create a custom Adapater Module and add it in your Sender Adapter. This will add a Unique Identifier to your Header and Record item which you can give in FCC.
    For more details refer to this forum
    https://forums.sdn.sap.com/click.jspa?searchID=-1&messageID=6143385
    Thanks
    Amit

  • Sender File FCC - Key Field Value not available in file

    Hi All,
    I am new to SAP PI. I am working on Sender FCC. Below is the source file structure. I need to handle multiple sub structures Header,1Data,*. I think I have to use Key.field Name and Value. But in the below format we don't have any indicator to identify which is header and which is data record. Please suggest how to processed.
    Header Record (Pipe delimited) (Cardinality 1:1)
    Date
    Invoice Number
    Total Amount
    Company Name
    Data Records (Fixed Length) (Cardinality 1:n)
    Date
    Amount
    Country
    Card Number
    etc...
    Sample File Snippet:
    20100430|4123451810|218.50|CC
    20100430    $150.00     INDIA       1234567     
    20100430    $150.00     INDIA       1234567     
    20100430    $150.00     INDIA       1234567     
    20100430    $150.00     INDIA       1234567

    Hi
    Try using the below parameters in FCC
    Header.fieldSeparator    |
    Header.endSeparator    'nl'
    Data.fieldFixedLengths   ur values --3,5,5..
    Data.endSeparator         'nl'
    Regards
    Ramg
    Edited by: Ramkumar Ganesh on May 24, 2010 4:05 AM

  • Field name not known   in old existing report.

    We have a report that we have used for a long time and has always been fine.  Today when we open it  it says data will be lost because "Field name not known".   So you click ok and look at the report in design and the report is missing a bunch of fields.  You look at the Field Explorer and it only shows the first field in the table.  This report links 2 tables. The linking field is the first field in both tables.
    I try to re-map datasource and no luck.   I close Crystal, open Crystal and create a new report, look at the same tables and all of the fields are there. Create similar report looking at same datasource, same tables, some of the same fields, and it works fine.
    What is wrong with the original report and why won't it connect or show fields?

    It may be that the report file became corrupted. Do you have a back up of that report anywhere? If not you could create a new report using the same tables and links and then have both new and old reports open and copy objects from the old report to the new report. Save it and then verify it all works as it should and replace the old report with then new report. Copy the old report somewhere safe also.
    Thank you
    Don

  • "Municipality key municipality name not existing in table T5ITM4 on date

    Hello
    We are having a issue with assigning a municipality key for employees in Italy under IT0002 in ECC 6.0, all the municipalities are existing with the right dates but when we are getting the following message when assigning.
    "Municipality key <municipality name> not existing in table T5ITM4 on date
    Thanks

    ensure the client that you have the entries is same as the client that you test. When i was checking the note, we were already in the support pack required by the note. what we noticed are the entries were available in Client 000 but I was tetsing in a different client which didnt have the same entries.
    So i requested my basis folks to copy to the table entries and it worked.
    I came across an old note 589011 pointing to a report RPUCMNI0 which can also do the trick for you.
    both OSS Notes helps you load customizing required for Italy Master data and Payroll data. In my case, I was interested only in MasterData(T5ITM4, T5ITMX).

  • Key fields are not visible in output condition table

    Hi,
         I have created few conndition tables using V/61. But i can not see Key field. It is not displaying. But when I check thru VK11 i can see that all fields are marked as key fields. example of table B018.
    My problem is that , i want to make few filed non key fields rest of fileds as key fields so that there should not be any duplicate ntry based on key fields. also I do not want to maintain these two fields for each record.
    Is there any exit to modify and view thesefields? or it is a security issue...bold
    Your earliest response is highly appreciated.\
    Thanks,
    AKS

    Hi Raga,
    Please check the documentation under the customizing path:
    IMG -> Sales and Distribution -> System Modifications ->
    Create New Fields (Using Condition Technique) ->
    New Fields For Pricing
    Then click on the paper icon
    Here is explained how to setup additional fields for pricing,
    not present in the standard.
    Notice the following rules:
    1. the new fields must have name beginning with 'ZZ' or 'YY' in order
       to avoid problem after upgrade
    2. add the new field in the table T681F for the application 'V' and the
       usage 'A'
    3. these new fields must be appened to the structures KOMKAZ or KOMPAZ
       (depending they are header or item fields)
    4. you should provide these fields by implementing the userexits
       USEREXIT_PRICING_PREPARE_TKOMK (header fields)
       USEREXIT_PRICING_PREPARE_TKOMP (item fields)
       in program MV45AFZZ for sales order, RV60AFZZ for invoice.
    In that documentation there are some examples too.
    Please check it.
    Regards,
    Alex

  • Can field names not start with a single letter camel case?

    I am using Hibernate 3.6, JPA 2.0, and Spring 3.0.6. I have fields in my objects like the following:
    class PersonContact {
    Long eAddressCpId;
    ElectronicAddress eAddress;
    I use field access (in my orm files) and queries/inserts/etc work without an issue. The fields are both in the class as well as in the orm files. But on startup of the application, the JPA configuration load spits out warnings:
    2011-02-22 15:38:10,785 [[STANDBY] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] WARN org.hibernate.cfg.annotations.reflection.JPAOverridenAnnotationReader - Property com.foo.model.contactpoint.ElectronicAddress.eAddress not found in class but described in <mapping-file/> (possible typo error)
    2011-02-22 15:38:10,801 [[STANDBY] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] WARN org.hibernate.cfg.annotations.reflection.JPAOverridenAnnotationReader - Property com.foo.model.person.PersonContact.eAddressCpId not found in class but described in <mapping-file/> (possible typo error)
    2011-02-22 15:38:10,801 [[STANDBY] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] WARN org.hibernate.cfg.annotations.reflection.JPAOverridenAnnotationReader - Property com.foo.model.person.PersonContact.eAddress not found in class but described in <mapping-file/> (possible typo error)
    2011-02-22 15:38:10,817 [[STANDBY] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] WARN org.hibernate.cfg.annotations.reflection.JPAOverridenAnnotationReader - Property com.foo.model.person.PartyContact.eAddressCpId not found in class but described in <mapping-file/> (possible typo error)
    2011-02-22 15:38:10,817 [[STANDBY] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] WARN org.hibernate.cfg.annotations.reflection.JPAOverridenAnnotationReader - Property com.foo.model.person.PartyContact.eAddress not found in class but described in <mapping-file/> (possible typo error)
    If I change my field names to be from eAddress to electronicAddress and eAddressCpId to electronicAddressCpId , then I don't get these warnings.
    Is there requirements around the field names?
    Thanks..jay

    Hi,
    If you have this PersonContact.eAddress in your mapping file, Hibernate will look in PersonContact for
    1 a public field called eAddress
    2 a public member method called getEAddress (Or geteAddress).
    3 a public member method called isEAddress(Or isAddress)
    Your fields aren't public, so my guess is that getEAddress is found. From this "get" is stripped away and the rest is "decapitalized".
    This decapitalize method has these lines:
    if (name.length() > 1 && Character.isUpperCase(name.charAt(1)) &&
          Character.isUpperCase(name.charAt(0))){
                 return name;
    }So yes, I think there is a requirement with fields names. (Or rather getter names, since fields aren't decapitalized)
    You could try and change your mapping file into PersonContact.EAddress to see if I'm right.
    Btw, I am not a Java programmer, so this is what I could manage from a poor mans view at this (Open) source of Hibernate's.
    Regards
    Peter

  • Wild Card as key field value in Content Conversion

    Hi,
         Can any one please tell me that can a wild card such as '*' be used as key field value.
    Thnx,
    Pravesh Puria.

    Hi Pravesh
    For the file name in the sender file adapter you can use the '*' or '?'(as a placeholder for exactly one character)
    You can also enable the "Advanced Selection for Source File" in the sender file adapter, where you can do two things:
    a)you can specify an exclusion mask for the file name specified above.
    b)you can specify/lits multiple directories with a file name and an associated exclusion mask, e.g. in file name you put ".txt" and in the associated exclusion mask "a". The every file with ".txt" except "a" will be fetched from that directory. 
    Try it out.
    Regards,
    Goekhan

  • Display as Key and Name Not working properly after upgrade to Bi7.0

    Hi Bw Guru's
    Recently we have upgrade our BW 3.5 system to BI 7.0 (Only system upgrade not applications ).
    after the upgrade we are facing lot of issues with Bex Analyzer. The following are some of the issues
    1) In BW3.5 after the execution of Workbook or query ,we can convert to local currency .
       Right click on workbook -> Currency translation-> Database currency .
        but after upgrade to BI7.0 this is not working ..
    2) Characterstic Right click on workbook Dispaly as Key and Name is also not working ..
    I know that Currency translation in BI7.0 works in different way compare to BW3.5 .we can use alternate option like By Target Currency from Database currency to convert to local currency and it is working fine in Bex,but businesss users want more friendly way ...because to select the above option they have to enter local currency and rate type ...
    Do you we have any notes available for the above solutions ..?Do we need to upgrade Bex version also..?Is there any document which describe how the above things works after system upgraded to BI7.0?
    Please suggest me..
    Thanks in advance
    Shu Moh.

    Dear Harita
    The first issue Currency translation in query or workbook is solved with SAP note 1119549.For second issue we have not found solution until now ,Once we find the solution we will update you..
    Shu Moh

  • Table Maintenance - Field Names not appearing

    Hi,
       I given table maintenace for 'Z' table.
       When i went to SM30 transcation, the fields which are taken as Built-in type instead of Data elements are not having caption( Field names ) . It is showing '+' in the place of Fieldname .
       What may be the reason. In table i given short description of the field . Even though it is not displaying.
    Please suggest me.
    Thanks in advance
    Pavan.

    Hi Pavan,
    If you used the built-in types, then that is how it appears in SM30. It will <b>not</b> take the field short descriptions you entered in the table.
    Only way to get around it is to go to the screen of the table maintenance and change the field lables there. Caution though, is that whenever you change the table maintenance, you need to do this screen change again.
    Let me know if you need more info on how to do it.
    Srinivas

Maybe you are looking for

  • Delivery date determination in the schedule lines

    Hi,        I have a question on the delivery date determination in the schedule lines of the sales order. If the goods issue date in the schedule line has been determined as 17th Aug 2009, and the transit time is 3 days. What should be the delivery d

  • Firefox always tells me it crashed and can't open even after having been un-installed and deleted and re-installed

    I wanted to get a bookmark I had saved in firefox so when I clicked on it mozilla crash reporter pops up telling me firefox has crashed and then it sends the report. Even when it gives me the option to start firefox in safe mode it gives me the same

  • Printer claim code, printer laserjet 600

    Hi, To get the printer claim code, I enter the IP address listed on the configuration page but I keep getting "problem loading page," so I cannot connect to the HP Embedded Web Server.  I've triple-checked the IP address so I know I'm not entering it

  • Horizontal Scrolling Image JITTERY?

    Hello, I just made a simple flash movie with one 3000 pixel wide jpeg scrolling from left to right, I am using about 500 frames at about 20 frames per second to scroll it using a simple motion tween. There is not much to this movie, but the image is

  • Problem in CFL

    Hi, I have a problem in CFL. I am taking the GRN No in the CFL. If i choose the GRN No automatically vendor code and item code should display to the particular GRN No if i choose from the CFL its displaying correctly in the text fields. But instead o