cancel
Showing results for 
Search instead for 
Did you mean: 

BEx: Drop Down box shows compound values

Former Member
0 Kudos

Hello !

I am trying to use the drop down box feature in order to filter cost centers (0costcenter). The infoobject 0costcenter has two compunding infoobjects: 0soursystem and 0co_area. When I display key and text in the drop down box, it shows "sourcesystem/co area/cost center[text]" instead of just "cost center[text]". However in the related query/ data provider, the cost centers are displayed without compounding infoobjects.

Is anyone familiar with this problem and has a solution to this ?

Thanks in advance,

Max

Accepted Solutions (1)

Accepted Solutions (1)

former_member188080
Active Contributor
0 Kudos

Hi,

Yes it is right..

you can avoid the diaply of compunding by putting same in row those componding fields say controlling area, logsys and right click and then hide the display..

but it will be always seen in the variable display..

so to avoid this you can also write BADI and see if you can just filter those required data or youcan use text..

Thanks and regards

Kiran

Former Member
0 Kudos

Hi Kiran,

sorry for my late reply. Still getting used to the new forum ....

Never wrote a BADI for this matter, so how shall i proceed ? What are the necessary steps ?

Thanks,

Max

former_member188080
Active Contributor
0 Kudos

Hi Max,

Just check the following link

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/4009b0a8-7adc-2e10-48b3-a111c8f40...

RSR_VARIABLE_F4_RESTRICT_BADI

Thanks and regards

Kiran

Former Member
0 Kudos

Hi Kiran,

sorry, but I don't get it. What does this have to do with F4 restriction ?

Thanks !

Max

former_member188080
Active Contributor
0 Kudos

Hi Max,

F4 is nothing but selecting the values in the variable in the variable screen..

so where u can see the charateristics values compunded with compunding field values..

Thanks and regards

Kiran

Answers (1)

Answers (1)

Former Member
0 Kudos

If an infoobject is compounded, the compounding characteristics are always shown.

In your query you probably have logsys & co area in the drilldown, or have defined a fixed filter on those 2 characteristics.

Have you defined your dropdown on the same data provider as the query?

Former Member
0 Kudos

Hi,

thank you for your answer !

Logsys and co area are included in the fixed filter of the query. The dropdown is defined on the same data provider as the query.

thanks,

Max

Former Member
0 Kudos

just checked, and indeed the compound fields are always displayed.  Don't have a solution for that in my sleeve.  Maybe display the texts instead of key?

Former Member
0 Kudos

Well, my client wants cost center key and text, but without compounding characteristics 🙂

Anyway, thanks for your help

Former Member
0 Kudos

If you're note afraid of some modelling, you could create ZCOSTCENTER which is not compounded and put a dropdown on that one?

Dunno, just thinking outside the box.