cancel
Showing results for 
Search instead for 
Did you mean: 

Can different Recordset have different key field names?

Former Member
0 Kudos

I have two Recordset Department and Position, their key field names are DepID and PosID accordingly. I defined them in my file CC as

Recordset Structure: Department,*,Position,*

Key Field Name: DepID,PosID

Is this the correct way to do it?

Accepted Solutions (1)

Accepted Solutions (1)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

specify keyfield name for every segment.

Example

Department.keyFieldName: DepID

Position.keyFieldName: PosID

Former Member
0 Kudos

Thank you so much Baskar !

Do I still have to put "DepID,PosID" in the field of "Key Field Name" other than specify them individually in "Content Conversion Parameters" section?

former_member184681
Active Contributor
0 Kudos

Hi Baskar,

In fact what you have written is not true (and not a day after that you wrote something totally opposite, here: http://scn.sap.com/message/13131491). Same key field name has to be used for all the recordset structures. Please make sure to only provide truthful advice to other users, in order not to confuse them.

Regards,
Greg

Former Member
0 Kudos

When I asked this question, I had no clue that the same key field name has to be used for all the recordset structures. My file CC wasn't working, I couldn't figure out what was the problem, I specified the wrong fields as the key field, untill yesterday I figured out what suppose to be the key field, I changed the CC and it worked. Plus Baskar's answer, it confirms that, your quote "Same key field name has to be used for all the recordset structures"

I apologize if I confused anyone, I just started with PI two months ago, so much I don't know and so much for me learn. I really appreciate people here.

Answers (0)