cancel
Showing results for 
Search instead for 
Did you mean: 

keyField

Former Member
0 Kudos

Hello All,

I am working on a Inbound scenario. In which PI has to pick the records which are having TCODE(source field) as 431.

Hence I defined my sender communication channel with keyField attribute correctly.

Recordset Structure: RECORD,*

keyFieldName:TCODE

RECORD.keyFieldValue: 431

and defined other attributes.

But strangely channel is picking the records which are not having TCODE 431.

Can you please tell me the reason

Regards,

Moorthy

Accepted Solutions (1)

Accepted Solutions (1)

naveen_chichili
Active Contributor
0 Kudos

Hi,

if you mark NameA.keyFieldInStructure: ignore this will exclude the key field value.

http://help.sap.com/saphelp_nw70/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm

Regards,

Naveen.

Former Member
0 Kudos

Is it necessary to define Recordset per message 1 If I define keyFieldValue and keyField Name attributes?

naveen_chichili
Active Contributor
0 Kudos

Hi Moorthy,

Recordsets per message is to specify no of recordsets which has to be grouped together in a message creation.

Example : number of recordsets in a document is greater than the number specified, then it will create all messages in a single document.

Regards,

Naveen

Edited by: chichilin on Oct 5, 2011 8:25 AM

Former Member
0 Kudos

hi moorthy,

to specify the number of recordsets to be grouped together in a message.

This entry is optional. The default value is *. In the default setting, all recordsets are included in a message.

If the number of recordsets in a document is greater than the number specified, the adapter creates multiple messages from a document. The last message might then contain fewer recordsets than specified.

If you have entered a variable number of substructures under Recordset Structure, that is, you have entered the value * for at least one structure, specify a Key Field Name.

Specify the Key Field Type to be used to compare the predefined values.

This entry is used if the key field name is defined.

regards,

ganesh.

Answers (3)

Answers (3)

Former Member
0 Kudos

Moorthy

Your configuration seems to be fine.

I suppose you must have the key field in your structure ie. TCODE. And have defined RECORD.fieldNames as well.

channel is picking the records which are not having TCODE 431

Please double check other parameters

Regards

Raj

Former Member
0 Kudos

Hi Moorthy,

u need to chek what are the fcc parametrs to give, and check interface detrmination is there any condition u r giving.

NameA.keyFieldInStructure: ignore.

this parameter is ignore key field in target structure, check it once.

go through blow blog,

http://help.sap.com/saphelp_nwpi71/helpdata/en/44/6830e67f2a6d12e10000000a1553f6/frameset.htm

Former Member
0 Kudos

Hi Moorthy,

You can try any of these approaches;

  • In receiver determination place a condition for this field where all the files will be picked but the files not satisfying this condition will fail.

  • You can write a code and use it in module , by parsing the file , check for this value and process only those files satisfying this condition

- Muru