Authorizations in CRM 2007 - How to check missing authorization objects?
Hi,
In our project we are currently busy with the set up of authorizations.
I did create the necessary PFCG and Business roles.
For the PFCG roles, I did create all of them by copy of the standard SAP_CRM_UIU_FRAMEWORK so that the user can access to the web layout.
Now I need to give authorizations for other CRM objects, my question is: How can I see which objects are missing to displaying or creating activities in the new WEB Layout?
In the old days we used the SU53 to check the authorization objects that were missing, how can we do it now in this new release? I tried it and didn't worked out.
Thx
Regards
Hugo
Hi,
For report CRMD_UI_ROLE_PREPARE you have to input a business role - not a PFCG role. Are you doing that?
Are you getting no results at all in ST01 or are all results just with return code 0?
You have to remember to set a filter for your user in ST01 before activating the trace. Another thing to check is if you are using several application servers. I would imagine the trace has to be activated on the same application server as the Web UI. You can change the application sever in SM51.
/Anders
Similar Messages
-
How to check was the object bound or not without exception handling?
context.lookup("someName");throws NameNotFoundException in case object was not bound to someName.
How to check was the object bound or not without exception handling?context.lookup("someName");throws NameNotFoundException in case object was not bound to someName.
How to check was the object bound or not without exception handling? -
SAP CRM 2007 - How to Access a Table from one view to another via ABAP BSP
Hi experts, I need your help.
I am working in SAP CRM 2007 developing code modifiying views using transaction "BSP_WD_CMPWB" and my problem is the following:
After the "Account Identification" process I go to "Create Case" and click in "Complaints" option in the navigation bar.
Here there are several views involved, like "General data" and "Parties involved"
"General data" belongs to the component "BT126H_CALL" and the name of the view is "SCDetails.htm"
"Parties involved" belongs to the component "BTPARTNER" and the name of the view is "Partner.htm"
The "Partner.htm" view has a table that is displayed using a "<chtmlb:configTable . . . table = "//BTPartner/Table" instruction.
I need to acces the table "//BTPartner/Table" that belongs to "Partner.htm" in the view "SCDetails.htm" and add data into it.
How can I do that ?
Add the data in the view "Partner.htm" itself is very simple, I am using the "EH_ONINSERT" method but I have not idea how to do that from "SCDetails.htm".
Thanks in advance for your help.
Best Regards.
Exequiel.Hi,
as I understand from your question you would like to add a partner to the complaint document.
The complaint document is a 1Order document and has the root genil node named BTOrder. Using the genil relationships you have to get the BTPartnerSet and then the right Partner Relationship.
You will find a lot of information in the newsgroup on how to do this by doing a search.
But a quick help would be to use the sapgui transaction genil_model_browser, component set ONEORDER and using the tree structure navigate from the BTOrder root node to the Partner set.
Best regards,
Erika -
How to check the authorization based on webdynpro application
Hi Experts,
I was asked to develop a webdynpro component with two webdynpro applications, one each for internal party and external party to be used.
So how to restrict or check the authorization based on webdynpro application used?
Do we have any authorization object like S_TCODE for webdynpro application in roles and authorizations?
Please enlighten me.
Regards,
Ajay MatamYou can assign an authorization object to the Web Dynpro Application within SICF -
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/61/d93822a88e15489a9391f309767366/frameset.htm
Of course you could also programatically check which web dynpro application is being used from within the component and then call a custom auth-check. However maintain at the SICF is probably better for visibilty and long term maintenance costs. -
How to check that concrete object is on the scene?
Hi
I wonder how can i check that concrete object is on the scene for example:
var sprite1:Sprite = new SPrite();
stage.addChild(sprite1);
if(?????)
//do something with sprite1
else
//add sprite1 to display list and do something with it
Is there any property or method to check this?If you mean that the object exists, you can try...
if(sprite1)
trace("it exists");
else
trace("it's not here");
otherwise, if you mean you want to know if it's on the display list, you need to go thru the display list to see if it's in there...
var child:DisplayObject;
var spriteFound:Boolean = false;
for (var i:uint=0; i < stage.numChildren; i++)
child = stage.getChildAt(i);
if(child == sprite1){
spriteFound = true;
if(spriteFound){
trace("it's on display list");
} else {
trace("it's not here"); -
How to check if an object exists and how to discard it?
Greetings,
I have a main GUI panel in a JFrame that creates a smaller JFrame with a progress bar and text area whenever a process is initiated. I've set the default close operation to DISPOSE_ON_CLOSE as when I set it to EXIT_ON_CLOSE the main GUI panel closes as well (!). But whenever I'm closing the smaller JFrame and initiate a new thread, then the same operation is perform in parallel 2, 3 ,4 times, etc. It seems that the object of the class ProgressGUI which carries all the components of the small panel is not disposed properly. So my question is how can I check if an object exists and if yes how can I discard it? Or in other words how can I discard the JFrame of the small panel without closing the main GUI panel as well?
thanks,
ThomasI've set the default close operation to DISPOSE_ON_CLOSE thats right.
So my question is how can I check if an object exists Whenever you create an object, save its refrence somewhere, then just check
if(reference==null){
//object does not exist
}else {
//object exists
and if yes how can I discard it? Ensure that no references of the object to be discarded are remaining with any of the objects and then believe in 'Garbage Collector' to do the job! e.g. if there is only one reference to the frame (in your case) somewhere, you can just make an assignment like:
reference=null;by doing this, you have made the object a candidate for garbage collection. Rest is done by 'Garbage Collector', not you.
For cases like yours, it is better to make the small frame just once and whenever required just make the frame visible.
e.g.
JFrame smallFrame;
void showSmallFrame(){
if(smallFrame==null)smallFrame=new SmallFrame(); //or something like that
smallFrame.setVisible(true);
}Thanks! -
How to check missed schedules of custom scheduler?
Hello,
I have created a custom scheduler that has been running fine, but it depends on SQL Server Agent service. I want it to process missed schedules after a potential downtime.
CREATE TABLE [dbo].[Schedules](
[Id] [int] NOT NULL,
[Frequency] [int] NOT NULL,
[Time] [time](0) NOT NULL,
[Days] [int] NOT NULL
) ON [PRIMARY]
GO
INSERT INTO Schedules VALUES (1,1,'01:00:00',16);
INSERT INTO Schedules VALUES (2,1,'23:30:00',62);
INSERT INTO Schedules VALUES (3,1,'18:00:00',127);
INSERT INTO Schedules VALUES (4,2,'01:00:00',16);
INSERT INTO Schedules VALUES (5,2,'02:30:00',8);
INSERT INTO Schedules VALUES (6,2,'23:30:00',127);
GO
The following is the query I run every minute to capture the schedules to run at that minute.
DECLARE @dt datetime,
@tm time(0),
@wd int;
SELECT @dt = CONVERT(char(16),Getdate(),121); --Zero out seconds and milliseconds
--SELECT @dt = CONVERT(char(16),'2014-02-25 09:39:25.443',121);
SELECT @tm = CAST(@dt as time(0));
SELECT @wd = DATEPART(weekday,@dt) -1; -- Sunday=0, Monday=1,...,Saturday=6
SELECT Id, Frequency, Time, Days
FROM Schedules
WHERE
(frequency = 2 --Daily
AND days & power(2,@wd) <> 0
AND datepart(hour,time) = datepart(hour,@tm)
AND datepart(minute,time) = datepart(minute,@tm))
OR
(frequency = 1 --Hourly
AND datepart(minute,time) = datepart(minute,@tm));
Now, I need to create a query/sproc which will returns schedule ids between two dates. I will populate the dates; the datetime of last executed schedule (id) as @StartDate, and maybe GetDate() as @EndDate. I can later run that sproc as a strtup sproc for
SQL Agent service.
usp_FindMissedSchedules @StartDate, @EndDate;
No simple approach comes to my mind.
Thanks,
KuzeyYou can do this by creating a CTE that will include one row for every minute of every day between @StartDate and EndDate and then cross joining it to your Schedules table. So
Declare @StartDate datetime = '20140218 10:07';
Declare @EndDate datetime = GetDate();
With cte As
(Select DateAdd(minute, 1, @StartDate) As EachMinute
Union All
Select DateAdd(minute, 1, c.EachMinute) As EachMinute
From cte c
Where c.EachMinute < GetDate())
Select s.Id, s.Frequency, s.Time, s.Days, c.EachMinute As ShouldHaveBeenRunAt
From cte c
Cross Join dbo.Schedules s
WHERE
(frequency = 2 --Daily
AND days & power(2,DateDiff(day, '18991231' /* because Dec 31, 1899 was a Sunday */, c.EachMinute) % 7) <> 0
AND datepart(hour,time) = datepart(hour,c.EachMinute)
AND datepart(minute,time) = datepart(minute,c.EachMinute))
OR
(frequency = 1 --Hourly
AND datepart(minute,time) = datepart(minute,c.EachMinute))
Order By c.EachMinute, s.Id
Option(MaxRecursion 0);
I used a different method to determine Sunday = 0, Monday = 1, etc. It can be problematic to use DATEPART(weekday ...) to determine the day of the week. The value returned by DATEPART depends on the value of DATEFIRST. And the default value
of DATEFIRST depends on the language set on the user's PC. If someone who has a PC set up as English UK runs DATEPART(weekday...) for a Saturday date, they don't get 7 as the result, they get 6.
A safe way to the Sunday = 0, Monday = 1, etc is to do DateDiff(days, ...), divide by 7 and take the remainder (that"s what the % 7 does in the above code) where you use a date that is a Sunday. This is what I did in the code above. You can pick
any Sunday, I choose Dec 31, 1899. That way your code works no matter what the value of DATEFIRST is.
Tom -
Hi Gurus
For CRM 2007 how do I default the Country in New Customer / Account view.
Many Thanks
PandurangaAlso check this thread.
https://forums.sdn.sap.com/click.jspa?searchID=25112745&messageID=6893643
Please do a serach before posting. This way you can save time in expecting answers and there may be some good solutions already available. -
Check transaction authorization
How to check transaction authorization using
Z_AUTH_OBJECT_CHECK function moduleHi,
it is not throwing failed authority check error but should work just fine.
AUTHORITY-CHECK OBJECT 'A_PERI_BUK'
ID 'AM_ACT_PER' FIELD con_31
ID 'BUKRS' FIELD x093c-bukrs.
IF sy-subrc NE 0.
* WRITE: / text-f08, x093c-bukrs. commented by C5053255
CONTINUE.
ELSE.
* Rücklesen des eingegebenen Geschäftsjahres pro Buchungskreis
p_gjahr = sav_gjahr. "> 627533
ENDIF.
CONTINUE statement executed in case of failed authority-check causes loop to skip processing for this item ... so only elements for which user has proper authorizations are processed. Try debugging to confirm
Best regards,
FS -
Authorization Check in Business Transactions in CRM 2007
Hi everybody, I have a problem whit the authorization check in CRM 2007.
This link help me to follow the steps
http://help.sap.com/saphelp_crm60/helpdata/en/e9/b29a39e7aee372e10000000a11
I follow this steps:
1.- Created a new single role on the PFCG
2.- On the Menu tab add the transaction BSP_CRMD_BUS2000108 (Trax for LEADS)
3.- On the authorization tab create a new profile and in the authorization data set the values for CRM_ORD_OP: PARTN_FCT 00000012, PARTN_FCTT *, ACTVT '02,03
4.- Generate the authorization.
5.- Set my user "TESTUSER" on the user tab
6.- Save the profile
Then, I login to CRM whit TESTUSER and I see all the leads. I miss something, what could be the problem ?
Thanks for your helpHi Shaji, Pankaj and Jushan, thanks four your answers.
I still have the same problem, I want to see only my leads that I´am the responsible, after I generated the authorization and assign the role to my user from tcode PFCG and SU01, I logout and login again and no changes, I still see all the leads.
Another test I made, I changed the authorization data and set the values for CRM_ORD_OP: PARTN_FCT , PARTN_FCTT 0008, ACTVT ' (person responsible) and the results was the same, see all the leads.
How works the User Comparisons and how can I check for errors in my pfcg role ?
Thanks for your help. -
How to check authorization in CRM Webshop.
Dear All,
I need some small help.
We have SAP CRM ISA MSA 5.0 SP8. We need to create some roles for the end users who access the system via the CRM Webshop. But we are not able to trace what authorization a user requires or lack. Like when I give a role which doest not contain the required object, few functions in the CRM webshop does not work. But we are unable to trace it, do we have something similar to su53 or a a trace (st01/st05). I tried actiavating the trace, but it does not work.
How do I know which object is checked/missing when user clicks something in a webshop?
Please help me in this.
Will surely reward points if I find anything which helps me.
Thanks.
RajeetHi Chaitanya,
For enabling the trace for checking the authorization, go to transaction, st01, check on authorizatio check and then click on general filters, type the user which you would like to check the trace for and then click on the Trace On. After this, walk through all the steps where you are facing the problem. Then once u face the error, again go to st01, click on trance off, then click on analysis and then type the user which you switced on the trace for and execute.
You can see the analysis. and you can go to the bottom and if there was any authorization issue, it would be displayed in red.
Please check and award points if you find anything worthwhile.
Thanks.
Warm Regards,
Rajeet -
How can we upload questionnaire to CRM 2007 during data migration activity?
Hi all,
I have an requirement where i have to upload questionnaires from an existing CRM system to SAP-CRM 2007 during data migration activity.
i just go through what are questionnaires, how we can create them and how we can assign them to transactions.
how can i upload during data migration activity ?
Thanks & Regards
Raman KhuranaHi,
According to your post, my understanding is that the 'Upload.aspx' page was missing or corrupted from many document libraries after migration to 2010 from 2007.
Per my knowleadge, the upgrade process sets the SPWeb.CustomUploadPage property for upgraded sites to a custom upload page titled
uploadex.aspx, as opposed to upload.aspx which is the default page for file uploads. And this custom upload page contains the “Destination Folder” field.
To removes the custom upload page (uploadex.aspx) from SPWeb, and reverts back to the default upload page (upload.aspx), we can use PowerShell script to loop through all Web sites that are contained within the site collection, including the top-level site
and its subsites, and checks to see if the SPWeb.CustomUploadPage property is not equal to blank. If true, then it sets the SPWeb.CustomUploadPage property to blank.
Here is a great blog for your reference:
Destination Folder field in site upgraded from MOSS 2007 to SharePoint Server 2010
More information:
What’s This Destination Folder Field On My File Upload Page?
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
How to get a Custom View in CRM 2007
Hi,
I have created a new view (SrvTLocation) and I want to replace Service Level Agreements view with the SrvTLocation.
In the old version, I followed this approach to get the location view
1. Add SrvTLocation to the SrvTViewSet under the view area "SrvTActionSLA".
2. Redefine the method "DO_REPLACE_INITIAL_VIEW" of the controller class of "SrvTViewSet", so that it will replace the "SrvTSLA" with "SrvTLocation"
I dont know how to do it in the new system.
Please advice me. I will reward points.
SreekanthHi Sreekanth
Have you checked the new CRM 2007 Cookbook.
I believe it's available from SAP Marketplace. Haven't checked myself but do believe it's there.
Regards
Arden
Reward with points if helpful -
How to install CRM 2007 on x64?
Hello,
I am trying to install CRM 2007 with SQL Server 2005 on Windows Server 2003 Standard Edition (x64) on a system which has x64 (Quad Core Intel Xeon) type processor. Now while installing i am getting a popup window with the following message:
The JDK installed in directory C:\j2sdk1.4.2_09 does not support the 64 bit data model. Choose a different JDK.
I have checked the http://java.sun.com website and i couldn't find any J2SDK release of 1.4.2 for x64 platform. How do i proceed from here onwards? Please Help.
Thanks and Regards,
VasuHi,
check SAP Note 941595 - Download J2SE 1.4.2 for the x64 platform
for installation document check following
https://websmp208.sap-ag.de/~sapidb/011000358700001181992007E
regards,
kaushal -
Spell Check Functionality in CRM 2007
Hi Experts,
Do we have spell check functionality in CRM 2007, If yes, How & where can we enable it ?
For example if a sales representative/Manager types something in NOTES, they should able to spellcheck.
Thanks & Regards
ShivenI dont think there is SAP spellcheck functionality available. Your best bet would be to download a spellcheck plug-in for your web browser.
Hope this helps
Regards
David
Maybe you are looking for
-
I have a panel class with a slider on it . pseudocode: public class MyJSlider extends JPanel{ private JSlider myjslider; private Color mycolor; public Color getColor(){return mycolor;} the action taken by the JSlider is to set mycolor to a new Color(
-
Installing solaris from a windows xp computer over a network
Hi, I just received the solaris 10 dvd from sun. I have the sparc and the x86 versions. The problem I have now is that I need to install it onto a computer that does not have a dvd drive. Here is the current set up of the network: I have three comput
-
Docking my hard drive and reading PC files on a Mac
I just removed my PC hard drive and put it into a hard drive dock that connects to a PC via a USB plug. I plugged it into a USB port on my new MacBook Pro. I was surprised that the files seemed to be able to be read. I thought that the formatting
-
Recently, I have needed to convert my CR2 or DNG files to CMYK profile for a printer. It is my understanding that PS Elements (any version) does not support CMYK profiles. I am an avid amateur I think I need to change from Photoshop Elements to CC or
-
HT203200 Itune did not download all my music and I paid for it
I Have 35 songs that my iPad did not download and I paid for them, what can I do?