Restrict Org details based on the User in Business partner creation..
Hi Gurus,.
I have to assign Sales Org , DIV, Distribution Channel to the Business Partner in Sales Area data. When I try system shows entire Org structure. But I want the Org structure should be displayed based on the user log on. Assume that, I am assigned to Shangai and creating Business partner for Shangai, the system should not show Beijing or other Org Unit since I belong to Shangai. How to address this scenario thro standard customization?
Is it common problem in CRM Webui(6.0 and 7.0).
My Org Structure:
Global
China
Shangai
Beijing
Nanjing.
Thanks in Advance....
Hi Denis,
Thanks for your reply. I believe Org determination rule is applicable for Transaction types not for Account Creation. I want to get Sales area data based on login user. It shows complete Sales Area(Sales Org IDDistribution ChannelDivision) when I create an Account.. Assume that you are an employee and assigned to Newyork, when you create New Customer in Newyork, system should not show Boston, Washington Sales areas...Please throw some light on this...
Thanks in Advance.,
Similar Messages
-
Display Org Unit based on User logon in Business partner creation..
Hi Gurus,.
I have to assign Sales Org , DIV, Distribution Channel to the Business Partner in Sales Area data. When I try system shows entire Org structure. But I want the Org structure should be displayed based on the user log on. Assume that, I am assigned to Shangai and creating Business partner for Shangai, the system should not show Beijing or other Org Unit since I belong to Shangai. How to address this scenario thro standard customization?
Is it common problem in CRM Webui(6.0 and 7.0).
My Org Structure:
Global
China
Shangai
Beijing
Nanjing.
Thanks in Advance....Hi Varma,
From my understanding of your problem, you can approach it in a different manner. Since, you mentioned that you will be receiving a delimited flat file around 5 to 6 times a day, you can probably consider coming up with a Report Program. This Report will consume the flat file, generate the necessary organizations, business partners, BP relationships and then create them and finish with the logging of all the messages ( Success, Error, Warnings, etc.)
You can now schedule this report execution in a Batch Processing Job which will be executed as per the scheduled time and at the end of the day you can see all the application log files.
This is just an approach and you can modify the report in your own way. I guess that the flat file will be located somewhere in the same place daily so that you can hard code the File Name and Path in the report.
Regarding the Organization and Business Partner creation, you can use the standard SAP delivered BAPI's which will return you all the errors properly.
Hope this helps.
Thanks,
Samantak. -
Purchasing Group authorization based on the user
Hi All,
Can anyone suggest me ideas on how to restrict in accessing details of a PO for a purchasing group based on the user who tries to access it .
the object is M-BEST_EKG.
need guidance in using AUTHORITY_CHECK in restriciting PO group based on the userid.
Thanks in advance.
Regards,
RyHi,
ACTIVITY controls what user can do to the PO.
01-Create
02-Change
03-Display
EKGRP controls the purchasing group
To restrict to a specific purchasing group, modify the authorization object in the role which user has to allow the specfic P.Grp. only
Cheers ! -
Is it possible to lock the structure Tab in Solar02 based on the users
Hi,
In Solar02 transaction of solution manager , under configuration node - > structure Tab , it is possible to change the structure . Is it possible to restrict this authorisation based on login users.
Best Regards,
Saravana.Hi
You can't restrict users as you required
because if they have change access they can very well proceed.
Moreover if you hide it will be hidden for all users from solar_project_admin...project tab
Regards
Prakhar
Edited by: Prakhar Saxena on Sep 24, 2010 12:12 PM -
How to check Role based on the User ID
Hi All,
Based on the User ID how to check the role of the particular person[ex Employee / Manager etc].In HR module in which table the details are present.
Thanks.
Regards
TinaHi Tina,
Use FM: <b>HR_GETEMPLOYEEDATA_FROMUSER</b>
This will give you all info related to User ID.
In parameter EMPLOYEESUBGROUP , you will get position of this employee.
Hope this helps.
Regds,
Akshay Bhawgat
Note: Some points would be nice if it helps.
Message was edited by: Akshay Bhagwat -
Report based on the user profile
Hi,
i'm trying to create a report with Oracle Report6i based on the user profile.
I created a form with many Lovs, so that i can choose the parameter to send to the report (using a java script).
I also would like to send the user that's currently logged in, just in order to filter the output.
How can i use the api wwctx_api.get_user in the java script ?
Thanks.Hi,
It is not possible to use the api directly in javascript. Maybe you pass it as a parameter to a javascript function.
Thanks,
Sharmila -
Data view web part to display the most frequently accessed pages based on the user that is logged in
I am working on a project in which I would like to display the top 5 most accessed pieces of content as links, based on the user that is logged in. Our MOSS 2007 implementation has subsites for all regions that we do business in, as an example North, South, East, and West. When a user visits the North region homepage, I would like a web part to display:
Hello, <username>, here is a listing of your most accessed content:
Link to One
Link to Two
Link to Three
Link to Four
Link to Five
So each user would get a customized list based on their content access. We are not using my sites, but these would not work as we want the list to display on the home page of the region site.
I am thinking that a data view may work here, but I am not sure. Any help is greatly appreciated.If you are running MOSS you may want to take a look at the Relevant Documents web part too.
http://office.microsoft.com/en-us/sharepointserver/HA102410251033.aspx
The Relevant Documents Web Part helps you create a personalized view of the documents that you create, check out, and change. In a large Document Center, the Web Part can save you time and effort by making files easier to find and use. The following figure shows the Web Part: -
Based on the user response need to calculate measures in universe
Hello Folks,
I have report where user prompts for the single day (Ex: OCT 1 2014).All calculations should be at universe layer.
1.Based on the user response I need to create a report for previous months .
2. PYTD and YTD measures based on user prompt from universe. [PYTD - JAN 1 2013-OCT 1 2013, YTD - Jan 1 2014- OCT 1 2014].
Example Date Set :
DIM 1 SEP13...............................................................OCT 14 PYTD YTD
Florida state M1.Single value need to give previous 13 months data M3 M4
federal M2..Single value need to give previous 13 months data M5 M6.
Arizona state M1.Single value need to give previous 13 months data M3 M4
federal M2..Single value need to give previous 13 months data M5 M6.
M1...M6 are the measures need to come from universe based on the user prompt.
M1,M2 Need to give previous 13 months based on user response.
M3,M5 [PYTD - JAN 1 2013-OCT 1 2013]
M4,M6 YTD - Jan 1 2014- OCT 1 2014].
Thanks for your help in advance.Hello Folks,
I have report where user prompts for the single day (Ex: OCT 1 2014).All calculations should be at universe layer.
1.Based on the user response I need to create a report for previous months .
2. PYTD and YTD measures based on user prompt from universe. [PYTD - JAN 1 2013-OCT 1 2013, YTD - Jan 1 2014- OCT 1 2014].
Example Date Set :
DIM 1 SEP13...............................................................OCT 14 PYTD YTD
Florida state M1.Single value need to give previous 13 months data M3 M4
federal M2..Single value need to give previous 13 months data M5 M6.
Arizona state M1.Single value need to give previous 13 months data M3 M4
federal M2..Single value need to give previous 13 months data M5 M6.
M1...M6 are the measures need to come from universe based on the user prompt.
M1,M2 Need to give previous 13 months based on user response.
M3,M5 [PYTD - JAN 1 2013-OCT 1 2013]
M4,M6 YTD - Jan 1 2014- OCT 1 2014].
Thanks for your help in advance. -
Formatting a Date based on the user's Locale
I'm having some trouble formatting a date based on the user's locale. I'm aware you can do something like this:
public static String getAsString( Object dateObject, Locale locale ) {
DateFormat dateFormat = DateFormat.getDateInstance( DateFormat.MEDIUM, locale );
return dateFormat.format( dateObject );
However, this is returning something like Jan 21, 2009. I need 01/21/2009. Of course, if this was the UK locale it'd have to be 21/01/2009. Any help would be appreciated.another issue I'm running into is that when I'm logged in as a users' locale which uses '-' instead of '/' (i.e. 21-01-2009), I get a parse error. Can anyone provide any input? Thanks.
* Parse a Date
* @param dateString
* @param locale
* @return parsed Date
public static Object parseDate( String dateString, Locale locale ) {
DateFormat dateFormat = DateFormat.getDateInstance( DateFormat.SHORT, locale );
try {
return dateFormat.parse( dateString );
catch( Exception exception ) {
throw new ExceptionUtl( UtlMessageHelper.getMessage( UtlMessageConstants.ERROR_FailedParseDateFromString, dateString ), exception );
* Format the given value into a DateFormat
* @param dateObject
* Object value to be formatted
* @param locale
* Locale format to use
* @return dateObject in SimpleDateFormat
public static String formatDate( Object dateObject, Locale locale ) {
DateFormat dateFormat = DateFormat.getDateInstance( DateFormat.SHORT, locale );
if( dateFormat instanceof SimpleDateFormat ) {
SimpleDateFormat simpleDateFormat = ( SimpleDateFormat )dateFormat;
String pattern = simpleDateFormat.toPattern();
if( !pattern.contains( "yyyy" ) ) {
pattern = pattern.replace( "yy", "yyyy" );
if( !pattern.contains( "dd" ) ) {
pattern = pattern.replace( "d", "dd" );
if( !pattern.contains( "MM" ) ) {
pattern = pattern.replace( "M", "MM" );
simpleDateFormat = new SimpleDateFormat( pattern );
return simpleDateFormat.format( dateObject );
return null;
} -
Master Recipe details\ Inspection details based on the ECR number
HI All,
Could you please help me in finding one FM which gives Master Recipe details\ Inspection details based on the ECR number which is created in CC31.
In the Transaction CC31 for a given Change Number, there is a Master Recipe and Inspection in the Objects button -> Task list . We need Master Recipe and Inspection details associated with that particular change number.
Awaiting your response
Thanks,
ChetanHI,
Check this FM MRTRS300_MASTER_RECIPE_READ -
Determine Business partner number based on the user id
Hi all,
Is there a way to determine the BP number of an employee based on the user id. The employee is created as a BP with role Employee in the system.
I'm checking USR02 and BUT000.. But i find no link between them.
Thank you,
PreethiHi Preethi
Try this
*Get the BP Guid by passign the user name here
CALL FUNCTION 'BP_CENTRALPERSON_GET'
EXPORTING
IV_USERNAME = lv_username
IMPORTING
EV_BU_PARTNER_GUID = lv_bp_guid
EXCEPTIONS
NO_CENTRAL_PERSON = 1
NO_BUSINESS_PARTNER = 2
NO_ID = 3
OTHERS = 4.
*Get the BP Numbere here
CALL FUNCTION 'CMS_BUPA_NUMBERS_READ_BL'
EXPORTING
IV_PARTNER_GUID = lv_bp_guid
IMPORTING
EV_PARTNER_ID = lv_bpnumber
EXCEPTIONS
NO_PARTNER_SPECIFIED = 1
NO_VALID_RECORD_FOUND = 2
INCONSISTENT_PARAMETERS = 3
NO_ADDRESS_FOUND = 4
OTHERS = 5.
Reward if this helps.
Thanks -
Different masterhead image based on the user logged in portal
HI,
Presently we are using standard portal theme.How can I change the image in the masterhead based on the user logged in.How can i change that and i want to assign that masteredhead to users.
Can anybody give me suggesion about this.
Thanks,
Regards,
SrinivasDear Srinivas,
Simple of achiving this kind of scnario is create separate themes for different users and assign the themes to the users in master rule collection through Desktop Page.Here in this case you will be creating one framework page and multiple Desktops and themes.All the desktops will be having the same framework page and different themes based on the user type or group type.
Otherway of achiving this is create an pdk application where it will have multiple jsp components in it and based on the each component create one PAR iview.Let us take if four groups of users then you will be creating four different jsps in pdk application which will inturn contains different masterhead images and related logos.After creating the iview place the iview in the correcsponding framework page below the masterhead iview.Here multiple framework pages and Desktops and you can go with single theme.
In the first scenario the masteread , we are managing through the theme and in second the masterhead we are managing throgh application.
Either of the scenarios can be used to create differet masterheads for different users.
Hope the answer helps you....
Reward the points if it is helpful.
Thanks,
Rudradev Devulapalli -
Different masterhead image based on the user logged in
HI,
Presently we are using standard portal theme.How can I change the image in the masterhead based on the user logged in.How can i change that and i want to assign that masteredhead to users.
Can anybody give me suggesion about this.
Thanks,
Regards,
SrinivasDear Srinivas,
Simple of achiving this kind of scnario is create separate themes for different users and assign the themes to the users in master rule collection through Desktop Page.Here in this case you will be creating one framework page and multiple Desktops and themes.All the desktops will be having the same framework page and different themes based on the user type or group type.
Otherway of achiving this is create an pdk application where it will have multiple jsp components in it and based on the each component create one PAR iview.Let us take if four groups of users then you will be creating four different jsps in pdk application which will inturn contains different masterhead images and related logos.After creating the iview place the iview in the correcsponding framework page below the masterhead iview.Here multiple framework pages and Desktops and you can go with single theme.
In the first scenario the masteread , we are managing through the theme and in second the masterhead we are managing throgh application.
Either of the scenarios can be used to create differet masterheads for different users.
Hope the answer helps you....
Reward the points if it is helpful.
Thanks,
Rudradev Devulapalli -
Pdfwatermark based on the user who login
Hi,
I wanted to know whether we can apply pdfwatermarking to documents based on the users who logs in?how?
Thanks in advanceI just got your point: you want to determine the rule, not the text in the PDF Watermark itself.
I'm afraid, this is not possible - at least, OOTB. The rules really have criteria based on metadata of the document only - see http://docs.oracle.com/cd/E23943_01/doc.1111/e10978/e01_user_if.htm#CACCAGAB
I can think of two ways how this could be resolved:
- text in the template would be so dynamic, that it'd opt to blank if necessary (this requires that PDF templates may accept idocScript, which I do not know if true)
- at the caller side or somehow in the processing of the called service (so that Watermarking is by-passed)
It'd help if you describe your business scenario.
P.S. I've just seen you described your scenario. So, it eliminates the option b) - just check if you can use idocscript in the templates, then.
Edited by: jiri.machotka on Apr 2, 2013 3:21 PM
Edited by: jiri.machotka on Apr 2, 2013 3:33 PM -
How to hide iviews based on the user groups?
Hi,
I have a custom role with workset, page and iviews.
The page has 5 iviews.
User group1 can see 5 iviews in the page.
Now user group2 wants see only 3 iviews in the page (same role).
Without creating another role for user group2, How can I hide the iviews based on the user group?
Is this possible?
Thanks
SundarHi Sundar,
I guess to achieve this, you have to set the permissions at iView level.
For this, go to System Admin -> Permissions -> Portal Permissions. Now navigate to your iView using the folder structure, do right-click on the iView and click on Open Permissions.
Search for the particular group and add that and assign the privileges accordingly. You can remove Everyone group from the iView .
Hope this will solve your problem.
Regards,
Saurabh Mathur
Maybe you are looking for
-
with an I pad 4 using facebook, how do I get the chat coloumn on the right side of facebook page to appear?
-
My sql query running for more than 4 hours could some one please help me
Hi , I have one sql executable and the query is running for more than 4 hours . Could some one please help me in tuning the sql. The stats and all the general stuff is intact at db level : SELECT pasl.item_id item_id , pv.vendor_name vendor_name , ms
-
Few question about Java and MySQL connection
Hi! I have some problems with creating connection between Java and MySQL. I followed the restrictions in mysql-connector-java.jar' readme, I set the CLASSPATH : CLASSPATH=.;D:/mysql/mysql-connector-java.jar; I copied this jar file to the right place
-
Hi All Anyone from SAP, please let me know whether is it not possible to open up a GP task from button "Open Tasks" inside a portal where GP-UWL configuration works fine and I am able to see all GP tasks in Home -> Work -> Universal Worklist. Current
-
Xfce4 keyboard layout switcher
I am having a strange issue with setting up xfce4 on my fathers' laptop. Every time I switch the keyboard layout, the x terminal emulator start acting weird: [jarda-wien@primator ~]$ whoami jarda-wien [jarda-wien@primator ~]$ echo hello bash: echo he