Report variant authorization
Hello -
Not sure there is an easy/quick solution to this requirement but.... here goes.
For all custom programs, we'd like to limit the list of available report variants to only those variants which were created by the user executing the report. From our research - there are no available user_exits or authorization checks in function group SVAR which is used to build/display the variant lists.
Can this be accomplished any other way? We are running 4.6c.
Regards & thanks,
Lawrence
Hi,
Why not make the report so it can only run in the background ? This gets round this issue. Check if the report is running in background in AT SELECTION-SCREEN OUTPUT event and raise an error if trying to run online.
Hope this may help.
Cheers
Colin.
Similar Messages
-
Posting period variant authorization
Hi
We have a issue with posting period variant authorization. Say for example we have 4 company code and 4 posting period variants and we want to restrict one particular user should have authorization to open and close for one posting period variant only. Because mistake other company posting periods are getting opened. so as we have one posting period variant for one company, we want to restict one particular user responsible for one particular posting period variant not for all OB52 transaction code. Please advise how to achieve this.....
Regards
PadmaHi
I am not finding any thing called authorization field in OB52, where it is? please advise..
Padma -
How to define a specific report variant execution in Area Menu
For report REP01, for exemple, with a selection screen, I defined a variant with specific options, named VAR_SPEC1, to be used by a certain group of persons.
Now I created the Area Menu ZMSPEC1, and I need to associate to it an entry to execute program REP01 via variant VAR_SPEC01. How can I do it?
I saw that the program REP01 already has already defined a report transaction (ZEXREP01, for ex.), but if I use this transaction in the Area Menu, I will not use my variant...
I was looking to the different types of transactions that can be defined, but I am a bit lost.
Thanks in advance.
DavideHello,
I am still a bit lost about the easier (or better) way to associate to the new Area Menu the execution of a non-local program with selection-screen, using some predefined options (hidding some fields, predefining others...).
Can someone be more specific?
I guess the necessary elements are:
1) non-local program REP01;
2) core report variant VAR_DEFAULT, for program above.
3) new local variant VAR_SPEC1, for program in 1)
4) ...
5) ... some solution to link both parts...
6) ...
7) Area Menu ZMSPEC1, with a new item to call the execution of REP01 with variant VAR_SPEC1.
Any ideas? many thanks! -
How to restrict the display of report variants
Hello All,
I want t know how to restrict the display of report variants.
I mean, when a user saves a variant for his/her purpuse on some report program, only he/she can refer the variant while other users cannot.
I know that by setting the attribute of the variant ("Protect Variant ", "Only Display in Catalog"), this would be possible, but I want to know another way, without this setting.
Thank you for your help in advance.
Regards,Hi,
Can you just try this
DATA:it_varid TYPE TABLE OF varid.
DATA:wa_varid TYPE varid.
INITIALIZATION.
SELECT * FROM varid INTO TABLE it_varid
WHERE report = sy-repid
and ename = sy-uname.
IF sy-subrc = 0.
LOOP AT it_varid INTO wa_varid .
CALL FUNCTION 'RS_SUPPORT_SELECTIONS'
EXPORTING
report = sy-repid
variant = wa_varid-variant
EXCEPTIONS
variant_not_existent = 1
variant_obsolete = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDLOOP.
ENDIF. -
Dynamic seleciton in report variant FBL1N
Hi,
Problem Description
I am trying use dyanamic selection in report variant of FBL1N but its not working.
My working
I am using dyanamic date variant.
In the selection screen of FBL1N, we have posting date in dynamic selections.
While creating a variant for the selection screen of FBL1N, I am selecting Posting Date of dyanamic selection and choosing selection variant as "D" (D: Dynamic date calculation) along with Current Date as variable.
However system is not accepting this and the current date is not coming up while choosing this variant.
Solution required
Can anyone please help me out with dyanamic date calculation in dates from dynamic selection in report FBL1N.
Thanks,
NitishDear
You did not specify in which version you are working. If you are in new GL instead of using FBL1N you can as well use T.Code S_AC0_52000888 and here you can make dynamic selections.
Regds -
Report variant not transport to ECC 6.0
hi all,
after migration from SAP 4.6 to ECC6, i cant see the SAP transaction report variant not transaport over....is there any SAP table store the user variant not transported ?
Thanks .Pls. check manual:
Phase SAVE_VAR_CHK
After the upgrade, many of your variants can no longer be used because the relevant selection screens
have changed. If your Basis Source Release is 4.5B or higher, the SAP system offers two reports to
save the variants:
n RASUVAR1 saves your variants on the source system.
n RASUVAR2 restores the variants in the target system.
During phase SAVE_VAR_CHK you can decide whether you want the upgrade tool to run report
RASUVAR1. The report is started in phase JOB_RASUVAR1. If you have decided to run report
RASUVAR1, phase JOB_RASUVAR2 automatically starts report RASUVAR2 towards the end of the
upgrade.
For more information about the reports, see SAP Note 712297. -
The workbook report no authorization, but related query can show part data
Dear All,
We meet an error, The workbook report no authorization, but related query can show part data.
We have a workbook, it have 1 queries, and when we key in condition to run it, in one field we put on one more condition(Z3XXX = ' WZO' & ' WZA")(User didn't have authorization for this condition), and workbook report no authorization.
Then we checked authorization check log and it show "You do not have sufficient authorization on Z3XXX = ' WCO'.
But when we execute the related query with same condition. the query can open and show WZA's data.
I'd like to know the reason.
thanks & Best Regards,
Kent YuDear All,
We meet an error, The workbook report no authorization, but related query can show part data.
We have a workbook, it have 1 queries, and when we key in condition to run it, in one field we put on one more condition(Z3XXX = ' WZO' & ' WZA")(User didn't have authorization for this condition), and workbook report no authorization.
Then we checked authorization check log and it show "You do not have sufficient authorization on Z3XXX = ' WCO'.
But when we execute the related query with same condition. the query can open and show WZA's data.
I'd like to know the reason.
thanks & Best Regards,
Kent Yu -
ABAP code for creating a report variant
Hi,
I would like to create parameter on selection screen type SLIS_VARI. I would like that the program will start with pre-defined variant in ALV grid, the same as it is on standard stock report (MB52)...
Can someone tell me how to do this, and where to put the code?
Thanks in advance,
SasoHi,
This is the code for variant as parameter and F4 help.
DATA: g_repid LIKE sy-repid,
g_dynnr LIKE sy-dynnr.
DATA: g_save(1) TYPE c VALUE 'A',
g_exit(1) TYPE c,
gx_variant LIKE disvariant,
g_variant LIKE disvariant.
PARAMETERS: p_vari LIKE disvariant-variant.
INITIALIZATION.
g_repid = sy-repid.
g_dynnr = sy-dynnr.
PERFORM variant_init.
*Get default variant
gx_variant = g_variant.
CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
EXPORTING
i_save = g_save
CHANGING
cs_variant = gx_variant
EXCEPTIONS
not_found = 2.
IF sy-subrc = 0.
p_vari = gx_variant-variant.
ENDIF.
AT SELECTION SCREEN *
AT SELECTION-SCREEN.
*--PAI of selection screen
PERFORM pai_of_selection_screen.
*---F4 option for report variant
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_vari.
PERFORM f4_for_variant.
SUB-ROUTINES *
FORM variant_init.
CLEAR g_variant.
g_variant-report = g_repid.
ENDFORM. " variant_init
FORM pai_of_selection_screen.
IF NOT p_vari IS INITIAL.
MOVE g_variant TO gx_variant.
MOVE p_vari TO gx_variant-variant.
CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE'
EXPORTING
i_save = g_save
CHANGING
cs_variant = gx_variant.
g_variant = gx_variant.
ELSE.
PERFORM variant_init.
ENDIF.
ENDFORM. " pai_of_selection_screen
CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
EXPORTING
is_variant = g_variant
i_save = g_save
IMPORTING
e_exit = g_exit
es_variant = gx_variant
EXCEPTIONS
not_found = 2.
IF sy-subrc = 2.
MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
IF g_exit = space.
p_vari = gx_variant-variant.
ENDIF.
ENDIF.
AND pass this gx_variant to ALV Function module.
Rewards points if helpful.
Regards,
Srinivas ch -
Report Variant Not Found During Transport
A user has requested a routine change (adding a purchase group) to a report variant.
According to our procedures, I have gone into our Development system and changed the report variant to include the new purchasing group. I have then created a transport referencing this report and variant.
However, when I release the transport I get a warning that...
LIMU VARX REPORTNAME VARIANTNAME not found, object also deleted in target system
Application help states that it is a Message no. TW 330
The transport goes through to our production system, but no changes are made. It is essentially an empty transport.
I have done this type of change before to numerous report variants without any issues, and other request of this nature continue to go through without problems. Any idea why this might be happening, and how it can be resolved?
Thanks - points will be rewarded.Same problem once I face.
I transported one variant name and after that name changed and again transported.
It is not showing new variant name so we executed program and
Goto->variant and overwrite the previous one.
Reward if useful...
Minal -
Costing Variant authorization Error
Dear Experts,
While creating Sale Order (MTO scenario) system is throwing a error "No authorization for Costing Variant XXXX in Company
Code XXXX. understand that system will calculate Sale Order Costing in this scenario. So, user should have Costing Variant authorization in his user profile.
Basically SD related users doesn't have authorization for Product Costing Objects.
And Basis guy has maintained the authrn by costing variants object level not by the T- Codes level.
How can I allow SD Users to Costing Variant authorizations?
is this the correct way?
Please help me.......
Regards,
Balaji Bhonsle.Dear Ajay,
Firstly thanks for your help.
Is this possible to give t-code authorization by without giving costing variant authorization?
Because Client is not ready to give entire costing variant authorization.
I strongly hope that, it doesn't work any t.code autr without CV Authn related to PC Object :K_KEKO.
Is there any possibility to do this t code autrn.
Regards,
Balaji Bhonsle. -
Hi,
is there an easy way to assign a user-specific report variant without modifying the report or create own transactions. For example by assigning the report variant somehow to the user-parameter?
Thanks for your help,
AndreasHi,
Maybe you could play with the GET PARAMETER ID ...
Or maybe you could create a program that start the real program after selecting the default variant of the user. After you call the program with this variant.
SUBMIT REPORT01
VIA SELECTION-SCREEN
USING SELECTION-SET 'VARIANT1'
USING SELECTION-SETS OF PROGRAM 'REPORT00'
AND RETURN.
Rgd
Frédéric -
SOLAR_EVAL report variants
Hello all,
We are on EHP1, SP20 and are having an issue with report variants for SOLAR_EVAL. I've created multiple report variants for the Change Request Management report option, and they are all listed in SOLAR_EVAL underneath "Change Request Management", but when I click one, it does not populate the selection fields with the variant's values. Instead, I have to manually select the variant again from the selection screen.
Anyone else have this issue, and know how to solve it?
Thanks,
MicheleHello Michele,
When you click on the Variant, under Change Managerment to select the Variant, after, to populate it are you clicking on the "Get Variant" push button (Located between the Execute and reset slection fields buttons). Please try pushing the "Get Variant" push button or press (Shift+F5). I think this is the solution you were seeking.
Regards,
Paul -
Hallo,
Does anybody know how to create & load report variants from abap?
Thanks in advance...Hi,
When u execute the report first u get selection screen to enter parameter.
After Entering that press on save button. Give name, description & other available options if u want.Save it.
Now Everytime when u run that report, u get one extra icon with execute button.
Press on that button. Select ur variant.
Regards,
Digesh Panchal -
Trying to delete a Report Variant in SAP
I'm trying to delete a Report Variant in SAP, and I receive the
following Error:
Variant WF_6DXXJT cannot be deleted/renamed.
Message no. DB294
Diagnosis
You tried to delete variant WF_6DXXJT. However, it is still in use in
job (job count ).
How can I find out where this variant is being used at? It could be in
a scheduled job, but Variant Name is not displayed in SM37.hi ,
check the table VARID ,TVARV which gives all the information about the varients..
regards,
venkat. -
How to find CREATION DATE of a REPORT VARIANT
Hi Friends,
How to find the Creation Date of a Report Variant?
Regards,
VijiHello Vijaylakshmi,
You can find the Date of the variant created from the table VARID.
Go to the table VARID, You can find the report name, Variant name, EDat(Date on which variant was created), you will also find the time stamp at which the variant is created.
Hope this helps.....
If you need any further information then please l;et me know. ....
Regards,
Kittu
Edited by: Kittu on May 20, 2009 8:04 AM
Maybe you are looking for
-
HT1414 how can i find the dates of the latest backup for iphone and ipad
i cannot seem to find the dates of last backup for my iphone or ipad.. what buttons will lead me to the answer
-
How to get the current data and time of SCOM server via SCOM SDK (API) calls?
Hi, I need to read the current date and time of SCOM server via SOM SDK. Is there a class in SDK that provides this info ? Thanks, satheesh
-
2nd Airport Express wont show up in Base Station Chooser, iTunes
Hi, I have 2 Airport Express units on the same network. One is showing up, the other is not. Both were working perfectly. I recently upgraded my router to a Linksys BEFSR41. When I run the Base Station Chooser, one shows up the other does not. The sa
-
BEA WebLogic 8.1 server not booting after adding a security realm
Hi, I have added my own security realm for BEA WebLogic Server 8.1. However, when I try to boot the server using this realm, it simply hangs. I cannot take thread dumps as the server java process does not respond to "kill -3 PID" (after the server ha
-
while downloading any free application my iphone 4 ask me for apple ID and passward when i apply a valid apple ID and passward it prompt an error "cannot connect to itunes store" please help me