2008 Jul 30 10:57 AM
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,
2008 Jul 30 10:59 AM
Hi,
Use Authorization Object and FM Authority_Check to validate the user.
Thanks
Sudharshan
Hi,
Use Authorization Object and FM Authority_Check to validate the user.
Thanks
Sudharshan
2008 Jul 30 10:59 AM
Hi,
Use Authorization Object and FM Authority_Check to validate the user.
Thanks
Sudharshan
2008 Jul 30 11:00 AM
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 ..
2008 Jul 30 11:02 AM
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
2008 Jul 30 11:02 AM
hi
good
Can you please post some more detail about your requirement.
Thanks
mrutyun^
2008 Jul 30 11:04 AM
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.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |