Skip to Content
0

Fiori Master-Detail Multiple Key

Apr 06, 2017 at 08:15 AM

51

avatar image

Hello ,

i've trying to use master-detail template . my master data is bkpf and detail data is bseg.

but ive some problem with multiple key. Template just accepting one collection ID .

but ive three ( Gjahr,Bukrs,Belnr) is it a must to have one ? should i concatenate my keys ?

problem : when fiori app trying to call headset_getentity its just giving BELNR .

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
den colin Apr 06, 2017 at 08:59 AM
0

Hi

Declare other two fields as key in Entity mapping.

Or create another field which is combination of these three field and map that field as key field.

Thanks,

Den

Show 3 Share
10 |10000 characters needed characters left characters exceeded

are you talking about my model in segw ? if thats it i already declared them as a key .

0

Yes that's where I referred to.

1) So if these keys are already mentioned then you can try following /EntitySet(Key1='value1',Key2='value2',Key3='value3')

2)First see how do you get output in browser by calling above req. Then try to map the same for your Line items.

Thanks,

Den

0

thanks for your help i concatenate my key into awkey i am using it . but ill try your way next time.

0