Authorization issue in WAD when executing planning function
Hi All,
I am facing the bellow authorization issue-
Termination message sent
WARNING BRAIN (800): You do not have the authorization for component !!AZF2PO_AGR
MSGV1: ZF2PO_AGR
MSGV2: REP
MSGV3: !!AZF2PO_AGR
MSGV4: 16
ABEND RSBOLAP (002): No Authorization
I am getting this issue When Calling Planning function from WAD application using button. This authorization fail is happening in portal when the Planning function is executed.
Error explains that there is no authorization for component u201C!!AZF2PO_AGRu201D.Where as in actual we donu2019t have any component as stated.
Instead we have an aggregation level with technical name ZF2PO_AGR.
We have already Assigned the below Planning objects-
S_RS_ALVL
S_RS_PLENQ
S_RS_PLSE
S_RS_PLSQ
S_RS_PLST
To Summarize-There is a web application with button linked to planning functuion.When clicked on this button after execution of web template we get the above error.
Have found note 1000006,but it says Support package 12 and all but we in support package 20
Hi Guys,
I know this thread is answered but I have a similar problem I think.
I have a WAD that is published to the portal. I have added the WAD to a page via a hyperlink, the page resides in KM. When a user opens the page, via a URL iView, the see the page, but when they click on the link to open the WAD, I get the following error:
Portal runtime error.
An exception occurred while processing your request. Send the exception ID to your portal administrator.
Exception ID: 07:19_26/02/10_0067_18934750
Refer to the log file for details about this exception.
When I assign the Super Admin (UME Role) to the user, they can execute the WAD no problem.
I am not an Authorizations person, so any pointers as to where I should start looking would be greatly appreciated.
Thanks.
Freddie.
Similar Messages
-
Error when executing Planning function in BEx Web
Hi everyone,
When executing a planning function in BEx Web, via Web Application Designer, I am getting the following error message.
ABEND BRAIN (178): Common entries are not permitted for plan queries and input queries
MSGV1: Aggregation level name
Where do I go wrong?
Thanks in advance, hope this is enough info.Hi Geerts,
If i understood well, you have some problem with your query. Please check the query that you have on WAD and wich characteristics did you have on your level (the level on wich the query is based).
Pls, check the correct execution on that query on Query Designer too. That query is a plan query? it`s ready for input ?
Hope this help
Natalia. -
Authorization Issue on Portal when executing a WAD
Hi Guys,
I have a WAD that is published to the portal. I have added the WAD to a page via a hyperlink, the page resides in KM. When a user opens the page, via a URL iView, the see the page, but when they click on the link to open the WAD, I get the following error:
Portal runtime error.
An exception occurred while processing your request. Send the exception ID to your portal administrator.
Exception ID: 07:19_26/02/10_0067_18934750
Refer to the log file for details about this exception.
When I assign the Super Admin (UME Role) to the user, they can execute the WAD no problem.
I am not an Authorizations person, so any pointers as to where I should start looking would be greatly appreciated.
Thanks.
Freddie.Hi.
Plz see [auth concept |http://wiki.sdn.sap.com/wiki/display/BI/Authorization%2Bin%2BSAP%2BNW%2BBI#AuthorizationinSAPNWBI-Tables]in BI7.
Regards. -
Error while executing planning Function
Hi All,
I'm getting some error while executing planning function. Below are errors. Please check and provide solution.
Errors occurred when executing planning function RTFMPF01/RTFMPG01
Value 08 of chara Region does not correspond to the attrib.val MI of chara Store
Value 10 of chara Region does not correspond to the attrib.val RM of chara Store
Value 11 of chara Region does not correspond to the attrib.val NA of chara Store
Thanks,
VamsiHi,
Value 08 of chara Region does not correspond to the attrib.val MI of chara Store
Looks like there is a characteristics relationship which derives the attribute store from Region.
Check the master data for Region for attribute Store and the corresponding values.
The values that are maintained in the master data will only be allowed to enter in the cube.
Thanks
pratyush -
How To... Execute Planning Functions and Sequences from MS Office Ribbon
Dear all,
I am working with a SAP how to paper, which is called:
How To... Execute Planning Functions and Sequences from MS Office Ribbon.
It is working absolutely fine and I am pretty satisfied, but as you probably know "Control the visibility of a button based on the visibility of a related crosstab: the button just disappears once the related crosstab is not located on the active sheet."
This means, when I insert different queries in different crosstabs, only one crosstab will have my own created ribbon. Is it also possible to set another specific ribbon with other buttons for another crosstab? Can I change the macro, included in the appendix of the how to paper, regarding this issue?
Thanks in advance!
Kind regards
Dominik DrebingerHey Martin,
thanks for your reply, but I solved the problem on my own. Unfortunately my colleague did not see that the crosstabs had to be defined differently.
Like this:
Label
Screentip
Msolmage name
Crosstab name
Copy Initial Aligned
Copy Initial Aligned
CacheListData
SAPCrosstab1
Copy Initial Aligned
Copy Initial Aligned
CacheListData
SAPCrosstab3
Copy Initial Aligned
Copy Initial Aligned
CacheListData
SAPCrosstab5
The macro, provided by the HowTo, is therefore working perfectly fine.
Thanks though
Dominik -
Macro Error while executing planning functions or saving data
Dear All,
I am getting following error in BEx Analyzer while executing planning function or pressing a save button.
Note: Excel is 2007 version.
Cannot run the macro "XXXXXX.xlsx". The macro may not be available in this workbook or all macros may be disabled.
I changed the settings in Macro Settings (Office Button -> Excel Options -> Trust Center -> Trust Center Settings-> Macro Settings) eventhough it is showing that above message.
selected ->
Enalble all macros
Trust access to VBA project object model.
If anybody faced this issue kindly reply to this.
Best Regards,
SGHello everybody,
i am facing exactlythe same issue! I am currently running GUI Patch Level 14 and BI Add on Patch Level 10.
I have also adjusted all necessary settings in Excel Options like Activate all Macros and Trust VBA Coding.
Does anybody have another Solution.
As mentioned before Gui Patch 13 and BI Add On Patch 10 obviously arent the solutiuon.
Best regards
Janos -
Execute Planning Function while opening layout
Hi all,
I would like execute planning function while opening excel layout. Can anyone help me?Hi guys,
Check out the following thread.......Business Planning
Yes, you can do it depending on which version of SEM/BW Planning you are on...
Good luck,
Rael -
WAD execute planning function only for manually selected cells
Hello,
I have a simple standard "delete" planning function. In the WAD I add this function as a button.
Is it possible to make it so that the delete function only executes for the manually selected cells in the WAD planning layout.
I want to manually select 3 cells (3 periods out of 12 that are displayed as fixed columns) and then run the delete function which should only delete values of those 3 highlighted cells.
RegardsDeleting values in selected cells is not ossible when using delete planning function. However, there is an alternative. You can implement the How-To guide "How to Copy and Paste in BEx Web Applications for IP http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/80220fed-0e6d-2b10-bbb9-f6af76dee0cc"
Then in delete script function which is called on delete button you add code to call REFRESH_DATA command as well.
So whatever cell you select and then click delete the data will be deleted and by REFRESH_DATA the same will be updated in planning buffer. -
Executing Planning Function usind WAD
Hi Experts,
I tried to Execute a planning function using WAD.
Can you please tell me how to see the plan data before actually saving it. As We do in Modeller (RSPLAN).
Thanks,
ArshadHi Mayank,
Thanks for your generous reply.
I am quite new to BI, so please can you explain in detail how can I display the trace of the function ( Changed data ) before actually saving it using a query.
Thanks,
Arshad -
Error while executing planning function with reference data
Hi,
I have a two planning functions one is used to upload the file (with out reference data checkbox in planning function RSPLF1) and other planning function ('Referece data'check box is selected in custom planning function RSPLF1) to execute the logic of creating new record along with the flat file data.
Following data is uplooaded
Company code | Profit_ctr | calmonth | Amount
1000 | 50000 | 01.2011 | 150
Cube data
Field1 | Company code | Profit_ctr | calmonth | Amount
| 1000 | 50000 | 01.2011 | 150
Z1 | 1000 | 50000 | 01.2011 | 150
Now I want to change the value from 150 to 200 and when I try to execute with the following data, it is giving dump 'a row with the same key already exists'.
Company code | Profit_ctr | calmonth | Amount
1000 | 50000 | 01.2011 | 200
Ideally in the second execution it should append the new row with Amount value 50 to cube which is the delta value.
I debugged the issue and found that I_TH_REF_DATA has following data and C_TH_DATA also contains the same records.
Field1 Company code | Profit_ctr | calmonth | Amount
# 1000 | 50000 | 01.2011 | 150
Z1 1000 | 50000 | 01.2011 | -150
Z1 1000 | 50000 | 01.2011 | 150
Due to this, record which already exists in C_TH_DATA and trying to append new record with the same combination is failing.
C_TH_DATA should only contain the source data of Amount 200, but not sure why reference data is coming in C_TH_DATA.
Could anyone please guide me on how the reference data is getting populated in C_TH_DATA ?
Thanks in advance
Edited by: peppy on Aug 3, 2011 5:00 PM
Edited by: peppy on Aug 3, 2011 8:37 PMHi Peppy,
C_TH_DATA is hashed table! According to your post you are trying to append to C_TH_DATA and this results in a dump. Please take a look at the standard planning function to see how SAP is programming the planning functions. E.g. in CL_RSPLFC_REPOST method IF_RSPLFA_SRVTYPE_IMP_EXEC~EXECUTE you can find the following code:
CREATE DATA l_r_data_wa LIKE LINE OF c_th_data.
ASSIGN l_r_data_wa->* TO <s_data_wa>.
CREATE DATA l_r_new_wa LIKE LINE OF c_th_data.
ASSIGN l_r_new_wa->* TO <s_new_wa>.
LOOP AT c_th_data INTO <s_data_wa>.
<s_new_wa> = <s_data_wa>.
now the SAP code changes the values, you can do it your way here
and than write the changes back
MODIFY TABLE c_th_data FROM <s_data_wa>.
ENDLOOP:
Another option is to use the READ statement to check if the record is already in the table. If not, you can use MODIFY otherwise you use INSERT. So you get something like this:
READ C_TH_DATA from <s_data_wa> transporting no fields.
if not sy-subrc EQ 0.
INSERT <s_data_wa> into table C_TH_DATA.
else.
MODIFY TABLE c_th_data FROM <s_data_wa>.
endif.
Depending on your requirements you can also use the collect statement.
If c_th_data shows the reference data as well, you may need to adjust the filter to restrict it to the correct values.
Hope this helps.
Best regards
Matthias Nutt
SAP Consulting Switzerland -
Problem while executing planning function
Hi All,
I have created an input ready query which takes input for a key figure growth percentage and applies it to another key figure volume to get the new volume. For this calculation I have written a FOX formula:
Initially all the records have growth per as zero. When I enter the value for one DU and transfer it, it is calculating the new volume, but if I enter the per for a new record, it is calculating for this record and also recalculating the volume based on already entered growth percentage for the previous DU. PFB the example:
Scenario 1:
User enters the value for the first time
Season Brand DU Growth percentage Volume New vol
SS09 ADIDAS TENNIS 10% 100 110
SS09 ADIDAS KIDS 0% 500 500
Now he clicks the u2018TRANSFERu2019 button to which the planning function is assigned for performing the calculation. The volume changes to u2018110u2019.
Scenario 2:
User enters the value for next DU.
Season Brand DU Growth percentage Volume New vol
SS09 ADIDAS TENNIS 10% 100 121
SS09 ADIDAS KIDS 10% 500 550
So how can i avoid this problem of recalculating. Also if this data is saved ino the cube and the report is executed for the next time and if it picks up the growth percentages and recalculates again, it will be wrong planning.
Request your inputs as how to solve/avoid this problem.Hi,
you can use three keyfigure. The percentage value, the original value and the target value.
target value = original value * percetage value / 100.
Hope this helps ...
Regards Matthias Nutt
SAP Consulting Switzerland -
Execute planning function in Web template for selected row in analysis item
Hello all.
I have been trying several different solution for this issue I have, but could not ,make it work. Hopefully, any of you can give me some ideas.
Initially the scenario seems to be easy.
I have a Web template were I show a query analysis item with costcenter, plan/act type, user and entry date. I allow single record selection in this item.
I have a button that should execute a planning function from the plannig modeler.
The planning function should be executed only for the costcenter and plan/act type which are selected in the analysis item.
How do I have to link the two objects :analysis item and planning function, so that the planning function is executed with the correct filter? What should be the filter definition (if any expecific things to consider)?.
Thanks in advance for your help.
Best regards,
Alfonso.Dear Deepti.
Thanks a lot for your answer, but it did not solve my issue.
The problem is that my query is not created over the same agregation level as the planning function is, and as per the link you have sent me it seems to be a prerequisite.
Is there any other way to do it?
More in detail, I am implementing a Lock/Unlock mechanissim for planning costcenters. I have a n ODS where I store my costcenetr status(lock or unlock) and I also have a cube where the planning values are stored.
My query(to select the costcenter to unlock) is done from the ODS, and my planning function is done in an aggreagation level of my cube (this is to lock the costcenter in cube, to avoid incorredct updates while it is unlocked/locked).
The issue that I have is that I can not find a way to send the selected information from the query to the planning function.
I hope you have more ideas.
Thanks a lot. -
Execute planning function in Web template for selected item in anylisys ite
Hello all.
I have been trying several different solution for this issue I have, but could not ,make it work. Hopefully, any of you can give me some ideas.
Initially the scenario seems to be easy.
I have a Web template were I show a query analysis item with costcenter, plan/act type, user and entry date. I allow single record selection in this item.
I have a button that should execute a planning function from the plannig modeler.
The planning function should be executed only for the costcenter and plan/act type which are selected in the analysis item.
How do I have to link the two objects :analysis item and planning function, so that the planning function is executed with the correct filter? What should be the filter definition (if any expecific things to consider)?.
Thanks in advance for your help.
Best regards,
Alfonso.Dear Deepti.
Thanks a lot for your answer, but it did not solve my issue.
The problem is that my query is not created over the same agregation level as the planning function is, and as per the link you have sent me it seems to be a prerequisite.
Is there any other way to do it?
More in detail, I am implementing a Lock/Unlock mechanissim for planning costcenters. I have a n ODS where I store my costcenetr status(lock or unlock) and I also have a cube where the planning values are stored.
My query(to select the costcenter to unlock) is done from the ODS, and my planning function is done in an aggreagation level of my cube (this is to lock the costcenter in cube, to avoid incorredct updates while it is unlocked/locked).
The issue that I have is that I can not find a way to send the selected information from the query to the planning function.
I hope you have more ideas.
Thanks a lot. -
Error when executing planning application in Web
Hi everyone,
When executing a planning function in BEx Web, via Web Application Designer, I am getting the following error message.
ABEND BRAIN (178): Common entries are not permitted for plan queries and input queries
MSGV1: Aggregation level name
Where do I go wrong?
Thanks in advance, hope this is enough info.Have you considered creating a characteristic relationship with an EXIT Class. In this way you are able to make the value whatever you want according to the rules you code.
-
Awful performance when using planning function of type EXIT
Hi.
I created planning function base on my own class with interface IF_RSPLFA_SRVTYPE_IMP_EXEC_REF.
In this class I read active buffer and do some validations.If validation not successful I give error message, otherwise I do nothing.
After my method ends to run (very fast and without any problem and only on active filter rstricted values) it seem that application goes forward, come to method EXECUTE_SERVICE in CL_RSPLFR_CONTROLLER==========CM002 (see code below) and at line 387 when calling read_data_from_buffer it hangs for 10 minutes.
I seems that system try to read all data in cube (not only restricted with active filter) and hangs. This method returns me all records of cube into L_R_REF_DATA.
IF n_use_node_selection = rs_c_false.
read_data_from_buffer( EXPORTING i_t_charsel = l_t_charsel_ref
i_t_charsel_orig = l_t_charsel_orig
i_tsx_seldr_orig = p_tsx_seldr
i_th_block_chars = l_th_ref_block_chars
i_enqmode = 'S'
i_th_attr = l_th_attr
CHANGING c_r_data = l_r_ref_data
c_r_sid = l_r_th_sid
c_ok = l_ok ).
ELSE.
Does anybody has an idea WHY ???
Regards.Solved.
I just need to fill E_T_REF_CHARSEL at end of my class run.
Maybe you are looking for
-
Can someone help me - OS reinstall problems.
Alright guys, I'm feeling pretty stressed about my situation right now. Here is what happened.... I have a 13' MBP pro that I bought at the start of 2012. It was new then. Months ago I attempted to install Windows via Bootcamp, but it failed. Since t
-
The issue I have has been addressed in oss note(541559) but I am unable to get the solution outlined to work. The situation is I would like to show all characteristic values for 0material__PNL that we have a history of transactional data, even if the
-
Hi, I am having the following problem. Any help is greatly appreciated. I have a servlet which in its doPost method says.. response.setHeader ("Pragma", "no-cache"); The browser gets this page. Then the user go
-
Will my MacBook Pro be able to play the original Call of Duty? I am not looking to play Call of Duty 2.
-
hI, i need to create a job for materialized views to run them midnight, Could you help me advise pls CREATE MATERIALIZED VIEW MV_EMP BUILD IMMEDIATE USING INDEX REFRESH FORCE ON DEMAND START WITH sysdate+0 NEXT SYSDATE + 10/1440 AS SELECT * FROM EMP;