Application Development and Automation 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: 
Read only

reg.report

Former Member
0 Likes
649

Hi Iam having one requirement, that is i want to write one program with MM AND SD module . so the client is asking both to be displayed in the output . but here we have to restrict the user. if one user want to see the report the perticular data want to be displayed. how to do this ?. what should code i need to write this.

Thanks & Regards,

N.Narasimha Rao,

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
628

Hi,

Use Authorization Object and FM Authority_Check to validate the user.

Thanks

Sudharshan

Hi Iam having one requirement, that is i want to write one program with MM AND SD module . so the client is asking both to be displayed in the output . but here we have to restrict the user. if one user want to see the report the perticular data want to be displayed. how to do this ?. what should code i need to write this.

Thanks & Regards,

N.Narasimha Rao,

5 REPLIES 5
Read only

Former Member
0 Likes
629

Hi,

Use Authorization Object and FM Authority_Check to validate the user.

Thanks

Sudharshan

Read only

Former Member
0 Likes
628

Take two radio buttons one for SD and one for MM .

At a time only one can be clicked.. and only one report can be

viewed ..

Or use Authorization concept ..

Read only

former_member404244
Active Contributor
0 Likes
628

Hi ,

Do you want to show both SD and MM in the same output or different........

u can put two radio buttons on the selection screen...If the user wants to see SD report he will select the SD radiobutton or else he can see MM output....basing on this u can show either SD report information or MM report information...

Regards,

Nagaraj

Read only

Former Member
0 Likes
628

hi

good

Can you please post some more detail about your requirement.

Thanks

mrutyun^

Read only

Former Member
0 Likes
628

Hi Narasimha,

If i understood your requirement correctly you would have different lists being generated for different users( Correct?)

In that case you could do a simple "If" condition and populate the lists:

for example: if sd user.

write: wa_sdtable

elseif mm user.

write: wa_mmtable

endif.

where the wa_sdtable & wa_mmtable are workareas of internal tables thathave the relevant data.

For more information on Conditions such as "If" & "case" refer to the transaction "ABAPDOCU"

Have A Nice Day

Chaitanya.