Skip to Content
author's profile photo Former Member
Former Member

File Sender Adapter: Content Conversion :Mandatory parameter 'xml.keyfieldN

i have a scenario where i had to pick a flat file and post it to RFC.

on the basis of keyfields i had to pick the values

<b>but i am getting mandatort field xml.keyfieldnamec: no value</b>

my flat file is of type :

E2EDL20 0200083662685

E2EDL24 02090000110786293200PCE

E2EDL24 02090000210786301895PCE

E2EDL20 0200083662685

E2EDL24 02090000110786293200PCE

E2EDL24 02090000210786301895PCE

My FCC parameters are :

RecordSet Structure :E2ED20,,E2E24,

RecordSet sequence :Ascending

Keyfield Name: KG

E2ED20.fieldNames KEY01,VBELN

E2ED20.keyFieldName KEY01

E2ED20.keyFieldValue 'E2EEDL20'

E2ED20.fieldFixedLengths 7,33

E2ED20.endSeparator 'nl'

E2ED20.processFieldNames fromConfiguration

E2E24.keyFieldName KEY02

E2E24.keyFieldValue 'E2EEDL24'

E2E24.fieldNames KEY02,POSNR,CHARG,LFIMG,MEINS

E2E24.fieldFixedLengths 7,29,10,4,3

E2E24.endSeparator 'nl'

E2E24.processFieldNames fromConfiguration

KEY01,KEY02 i had 2 field added in DataType to identify :E2EEDL20,E2EEDL24.

THx

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • Best Answer
    Posted on Sep 10, 2007 at 07:02 AM

    which SP are you working on ???

    anyway try these in your FCC;

    RecordSet Structure :E2ED20,,E2E24,

    RecordSet sequence :Ascending

    Keyfield Name: KG

    E2ED20.fieldNames KEY01,VBELN

    E2ED20.keyFieldValue 'E2EEDL20'

    E2ED20.fieldFixedLengths 7,33

    E2ED20.endSeparator 'nl'

    E2E24.keyFieldValue 'E2EEDL24'

    E2E24.fieldNames KEY02,POSNR,CHARG,LFIMG,MEINS

    E2E24.fieldFixedLengths 7,29,10,4,3

    E2E24.endSeparator 'nl'

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 10, 2007 at 06:53 AM

    Hi,

    what it says in Message Display Tool

    Regards,

    Akshay Jamgoankar.

    Message was edited by:

    Akshay Jamgaonkar

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 10, 2007 at 06:58 AM

    Hi,

    >>Keyfield Name: KG

    Remove this and try.. it will definately work...

    Regards

    Santhosh

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 10, 2007 at 07:06 AM

    Hi,

    The FCC u have provided..

    RecordSet Structure :E2ED20,,E2E24,

    RecordSet sequence :Ascending

    <b>>>Keyfield Name: KG</b>

    E2ED20.fieldNames KEY01,VBELN

    <b>>>E2ED20.keyFieldName KEY01</b>

    E2ED20.keyFieldValue 'E2EEDL20'

    E2ED20.fieldFixedLengths 7,33

    E2ED20.endSeparator 'nl'

    E2ED20.processFieldNames fromConfiguration

    U have specified the keyfield two times....

    either u can remove <b>>>E2ED20.keyFieldName KEY01</b> from fcc and change ut DT to have a field KG to hold the keyvalue or

    u can remove <b>>>Keyfield Name: KG</b> so that the field specified by the <b>field.keyFieldName</b> is used to identify the keyfield...

    Regards

    Santhosh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 10, 2007 at 06:42 AM

    Hi,

    You need to write .keyFieldlnName = ignore.

    Regards,

    S.RamNarender

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 10, 2007 at 07:24 AM

    Hi ajay

    if still the file is not picked try this and see

    Check the source file property whether it is readonly file

    regards

    yugapreetha

    Message was edited by:

    Yugapreetha T

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.