cancel
Showing results for 
Search instead for 
Did you mean: 

BEx Query Hierarchy Node Matchcode F4 Custom

murcielago83
Explorer
0 Kudos

Hi experts,

i'd implement the scenario in picture, customizing a matchcode for a hierarchy node variable in BEx query.

I already implemented it using BADI RSR_VARIABLE_F4_RESTRICT_BADI, but for each authorization node, in matchcode, i will see whole branch of that node (in the picture you can see value shown VS expected.

do you have suggestions to give me?

Thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

murcielago83
Explorer
0 Kudos

Hi Anand,

i'm using an "Authorization" variable calling also the BADI.

i can filter the correct value in BADI, but when it complete execution I will see whole branch of that node.

other suggestions?

Thank you

Anand71
Active Contributor
0 Kudos

Hi,

why are using BADI? I think you will get desired results with authorization variable.

Regards,

Anand

murcielago83
Explorer
0 Kudos

Hi,

the scope is create a custom matchcode for hierarchy input variable.

The requirements of matchcode is explained in the image.

The BADI provides a matchcode filtered with only authorized nodes + whole branch.

I'd build a matchcode with only authorized nodes of branch.

I hope i was clear 🙂

Thank you

0 Kudos

Hi Daniele R

Can you share your solution on this? Thanks

Anand71
Active Contributor
0 Kudos

Hi,

I think you are using "Manual Input" variable. Try with "Authorization" variable.

Regards,

Anand