Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Report Painter Selection Criteria

Former Member
0 Kudos
251

Hi All,

I have some issue on the use of the report painter. I have a field which is profit center and when i use the f4 function it displays all values. What I want is to limit the displayed values based on user roles. Is it possible? How can I do this?

I hope you could provide me with answers. Thanks a lot.

Regards,

Atel

1 ACCEPTED SOLUTION

Former Member
0 Kudos
74

Hai Mariestel,

This link will give you the details...........

http://www.virtuosollc.com/PDF/Get_Reporter.pdf

also try this also..

http://help.sap.com/saphelp_bw31/helpdata/en/66/bc7d2543c211d182b30000e829fbfe/frameset.htm

Regards,

Srikanth.

PS:reward points if helpful.

9 REPLIES 9

former_member188685
Active Contributor
0 Kudos
74

Hi,

you can control with FM <b>F4IF_INT_TABLE_VALUE_REQUEST</b>

pass the data what ever you want based on rolls(by selecting). and show it .write this logic under POV.

(Process on value Request)

regards

vijay

0 Kudos
74

Hi Vijay,

I believe I can control it using forms. The problem is that I am only executing the report through GRR3. How can I filter the values then?

Thanks.

Former Member
0 Kudos
75

Hai Mariestel,

This link will give you the details...........

http://www.virtuosollc.com/PDF/Get_Reporter.pdf

also try this also..

http://help.sap.com/saphelp_bw31/helpdata/en/66/bc7d2543c211d182b30000e829fbfe/frameset.htm

Regards,

Srikanth.

PS:reward points if helpful.

Former Member
0 Kudos
74

I agree with vjay, the current use of the select-option links the list with possible entries to the domain of the dictionary object. You should mess with this. Perhaps as an alternative you can build a specific search-help and use this with:

SELECT-OPTIONS sel FOR f.

MATCHCODE OBJECT mobj

0 Kudos
74

Hi,

Thanks for the reply. I'll see what I can do with all your suggestions.

I guess I really have to use the form then instead of displaying the report directly from the report painter.

Former Member
0 Kudos
74

Hi mariestel,

1. Instead of going for this kind of approach,

(ie, filtering values based on role, on

the display list itself),

we can go for the approach which sap follows.

2. Dispaly all list (without any filteration or roles & rights)

Then while processing/taking any action,

use AUTHORITY-CHECK

to check, if the user has right

for that VALUE or not !

3. Eg. a company has rights for just one company,

ie. 1000

SAP program will display ALL companies,

but at the time of processsing/action,

it will use AUTHORITY-CHECK

to check if the user has right for 1000 or not,

and accordingly give message or proceed further.

regards,

amit m.

0 Kudos
74

Hi Amit,

I guessed you can only used the authority-check when using forms. The problem is that I am only executing the report in GRR3. How can I restrict the profit center values? Thanks.

0 Kudos
74

Hi again,

1. If its a standard sap report/tcode/program,

then i don't think we can control

the filter of the values,

(without modifying the program)

regards,

amit m.

0 Kudos
74

Yeah. I already tried modifying the program but then I was asked for an access key which we don't have right now. We might as well try another approach then. Thank you so much for all your help.

Regards,

Atel