Workflow for record type = User
Hi All,
I would like to create an WF for record type = 'User' that will update one 'User' object field based on the value entered in other 'User' object field.
Simple to do for any record type except 'User' which is not an option in the Workflow Rule New record type LOV, any ideas for an workaround here?
10x,
AlexD.
Hi Alex, unfortunately I have no answer, but I´m looking for something similar. I want to link object fields of the user´s direct manager to the appropriate object fields of the user. I don´t wanna save the values via a workflow, as the value should be dynamic if it changes in the user profile of the manager.
If this could be combined with a dynamic user layout for the administrator it would enable perfect user management. Does anyone have an idea? Many thanks, Joerg
Similar Messages
-
Howto post offsetting entries for Record type Z Line items in KE24 from FI
HI,
We are facing one problem for order created from CRM.
Firstly this order has created with one profit center ( ex PH50293 ) they have posted some plan values and released the order in CRM so values flown to ECC and available in KE24 .
After some time , we have changed profit center for this order in CRM by changing service organisation and release the order after that we have posted some values in that order which is not flown to ECC becuase of different profit center
Later we rejected the all values and make balance zero in CRM , But still values are appearing in KE24 and there is inconsistency of profit center between ECC & CRM.
Now want to make the balances zero in KE24 for that order. but it shows record type Z ,
So , now how we can rectify this and how we can make balances zero
__Note : as per present setting in the system, we can not change the profit center in CRM once order released_._
Thanks & Regards
GuptaDear VK,
I guess, the only option would be to post manual correction thru KE21N, with negative values for record type Z.
Trust this helps.
Cheers. -
Hi All,
I have to show one output in ALV.One of the o/p fields is "Record Type" which has possible entries as 1.Current Stock 2. Safety Stock 3. Process Order 4.Planned Order.
Is there any field in any table for record type with above mentioned possible entries.Even if a field for Order type is there please mention.
Thanks in Advance,
Saket.Hi
Please check this
/BI0/OIRECORDTP Record type
CFRECTY Record type
FE_RRCTY Record type
MAFID Record type
P106_RTYPE Record type
PAR_TIREG Record type
PES_190TIP Record type
PPT_TSREC Record type
RECNO Record type
RECTP_EBES Record type
RSART Record type
SISATZ Record type
VVISATZA Record type -
Look in Selector Default for Record Types
Is it possible to set a Look in Selector Default for each record type? For example, I'd like the Look in Selector default for account, contact, and opportunity to be defaulted to All but the Look in Selector default for Custom Object 1 to default to a specifc book we defined. I know that I can set the default look in selector for a given user but not sure if it can be set for a specific record type.
At this time it is not possible to set the Look in Selector by record type.
-
Sample workflow for Create new user in IDM
Hi,
I'm new to Identity Manager. I had obtain task to create new workflow with this requirements:
- create new user
- make some approvals
- deploy this user to some resource (AD, LDAP, SQL)
I have problem with first step. I tried to create user by the help of http://www.javapassion.com/idm/ create user samples, but I'm affraid that mentioned samples aren't enough for real deployment. They are good for understanding of IDM.
So I decided to explore workflows/rules that are used as default in IDM. I think Create User dialog that is in menu Accounts -> List Accounts -> New Actions -> New User . But I'm not sure which workflow is used for this dialog. Is it Create User in ProvisioningTask, or some template in TaskDefinition, or Create User Template in TaskTemplate, or something another?
(I'm listing this templates through List Object in Debug interface).
I appreciate every help
PetrChapo,
thanks a lot for informations. I have try to find corresponding process mapping for 'Create User' under Configure tab. I found process 'createUser'. So I looked for 'createUser' workflow under 'Task definition' or 'Configuration' in debug. But there was no such workflow. Only workflow with similar name was 'Create Resource User', but it doesn't look like right workflow. I expected workflow with name 'Create User'. Does anybody have this workflow under 'Task Definition' in debug? -
BPS Variable for hierarchy type User-Exit
I try to make this type of variable.
The variable is NCSTOPU, hierarchy is
NHSTOPU like
NHMAIN
-- 4
-- 401
-- 402
-- 403
-- 5
-- 501
-- 502
-- 503
So The ABAP is
FUNCTION ZCCB_AHR_VAR_HIER.
*"*"Ëîêàëüíûé èíòåðôåéñ:
*" IMPORTING
*" REFERENCE(I_TYPE) TYPE UPC_Y_VAR_TYPE
*" REFERENCE(I_AREA) TYPE UPC_Y_AREA
*" REFERENCE(I_VARIABLE) TYPE UPC_Y_VARIABLE
*" REFERENCE(IS_HIE_KEY) TYPE UPC_YS_HIE_KEY
*" EXPORTING
*" REFERENCE(ET_HIE_NODES) TYPE UPC_YT_HIESEL
DATA ZHIER type upc_ys_hiesel.
*CHANM UPC_Y_CHANM
*HIENM UPC_Y_HIENM
*HIEVER UPC_Y_HIEVER
*DATETO UPC_Y_DATETO
*NODENAME UPC_Y_NODENAME
*HIECHA UPC_Y_CHANM
*DUMMY_LEAF UPC_Y_DUMMYLEAF
*TO_CHADEP UPC_YTO_CHADEP
ZHIER-CHANM = 'NCSTOPU'.
ZHIER-HIENM = 'NHSTOPU'.
ZHIER-NODENAME = '5'.
ZHIER-HIEVER = 'A'.
ZHIER-HIECHA = '5'.
ZHIER-DUMMY_LEAF = ''.
ZHIER-DATETO = '99993112'.
INSERT ZHIER INTO TABLE ET_HIE_NODES.
ENDFUNCTION.
But it doesn't work.
The mistake is
Selected node 5 does not exist
The node 5 selected as the start value for characteristic 5 with the specified compound table does not exist in hierarchy NHSTOPU.
What is the problem?Configuration of the variable:
Variable Type - Hierarchy node,
Characteristic - NCSTOPU,
Hierarchy - NHSTOPU,
Replacement type - user-exit,
FUNCTION MODULE NAME - ZCCB_AHR_VAR_HIER.
In the planning level the characteristic NCSTOPU is set with this variable.
In the Layout 1) the characteristic NCSTOPU - Lead Column,
2) Hierarchy in the lead column - Hierarchical Data Model, BW Hierarchy -
Hi all,
can any one plzz tell me how to give grants for Record or Table type.
Thanks in AdvanceIf you want more help then do the following:
1. Post your complete Oracle version number ... minimum 3 decimal places.
2. Post the full and complete error message ... not your interpretation of it.
3. Post the DDL for the type or at least those portions of it that refer to other objects that may not exist in the same schema.
You have made this far harder than it need be by asking an initial question that concealed relevant facts and then posting again the ORA-01031 but not providing sufficient information.
If you want people to help you then provide the necessarily information. -
Output Server & "Read Ahead" for record type indicator files
I have a design requirement where I need to read to the end of the print file (record type indicator format) before I can complete the process of laying down the subforms. I need to lay down a subform on page one, but will not get the data element needed until the end of the file. It is a bill statement with line items listings. When run in a batch it can have single page and multi-page bills combined. I have heard of "read ahead" but don't seem to find any documentation on it. Can anyone verify this function and direct me where to find more information?
Thanks, PhilipOne solution might be to add a preprocessing step before the merging. Use the transformation agent to extract the "data at the end", inserting it at the beginning. When jfmerge starts, the data is good as gold, and no jumping required. In my experience, Output Server isn't that good at jumping back and forth.
Hope this helps,
Vegard -
Event CREATED is not triggered for objects of type USER
Dear all,
I'm currently configuring a workflow, which should be started when new user account is created. I took event CREATE for object type USER as a start event, but the workflow does not start, when I create new user account via transaction code SU01. If I test workflow in SWUS, everything works fine. I checked the event trace, but it shows no records for events triggered when I use SU01 and create a user.
Could you please advise how I can activate triggering of this event without using ABAP-developed event trigger?
Thank you in advance.but here the requirement is to trigger workflow after the user account is created in the system.
One more way to trigger a workflow is by the messages output. I mean when a user account is created successfully then a message will displayed on the screen let say User ABC created Successfully right so, when ever this message is raised then you can start the workflow by using this message. this can be done by using the txn SWUY
1. Open SWUY txn.
2. Click on Continue and in the next screen give the area as the message class name from which the message is getting triggered and its number in the field Message and click on continue.
3. Then it will open the PFTC txn mention the description and click on the workflow builder button and design the workflow as per you requirement.
and once this is done , so when ever the message from the above mentioned message class is raised at that time your workflow will also be started.
In this way I hope you can reduce your development time , searching for the right BADI or User exit and implementing the code and testing..
Here in the above txn all you have to make sure that from which message class the message is getting displayed once the user is created successfully, I suggest you a way is you create a dummy user and once the dummy user is created succeffully system will display the message right?, so just double click on the message at the bottom of the screen this will let you knwo what is the message class and number it is using. and once you know tyr to approach the above steps.... -
Workflow for self registration
Hi Folks,
I need to know the exact workflow used for user self registration, i.e., the workflow where in the mail to the registration approver to approve the new user request is triggered.
Can you please let me know.
Regards
RajeevHi Rajeev,
All Workflow on SRM can be found on the page
http://help.sap.com/saphelp_srm30/helpdata/en/8b/4fa9585db211d2b404006094b92d37/content.htm
Click on details New User (WS10000192)
Approval Workflow for Creating Internal Users Use
When an employee requests a user master record and Customizing has been configured such that a user needs to be approved, the users manager receives a work item.
· If the manager approves the request, the user is released. The employee receives an e-mail with an automatically generated password at the address that he or she entered when making the request.
· If the manager rejects the request, the employee is also notified by e-mail.
Prerequisites
· You have activated approval by the manager.
Menu path in the Implementation Guide (IMG):
Supplier Relationship Management ® SRM Server ® Master Data ® Create Users ® Set Approval Indicator
· You have included the manager in the organizational plan.
Menu path in the Implementation Guide (IMG):
Supplier Relationship Management ® SRM Server ® Cross-Application Basic Settings ® Organizational Management ® Change Organizational Plan
· You have activated event linkage for the event Created for workflow WS10000192.
Menu path in the Implementation Guide (IMG):
Supplier Relationship Management ® SRM Server ® Cross-Application Basic Settings ® SAP Business Workflow ® Perform Task-Specific Customizing
Regards,Nishant
Please reward if this helps. -
I tried assigining book of business for an Account based on following condition ;
Scenario > Created a new account
Account Details Page (filled with all required details)
Territory - North America (picklist)
& saved the account record
workflow details >
Record Type - 'Account'
Trigger Event - 'When new record saved'
Workflow rule - [<Territory>] = 'North America'
Action- Assign a Book
Book Name - North America (sames as territory name)
Assignment option- Replace type
Apply To - Both
I have checked all pre-requisites for workflow and all seems ok, but still this workflow is not working. Then i tried to use the REGION field on Account details page and it worked. I am not clear why the values in TERRITORY filed are not accepted whereas for REGION its works fine. Thanks to guide me on the same..Try with Territory Id. (Territory is a joined field)
-
Hi all,
does exist a workflow for Network.
I would to use a workflow for managing the user status of the network.
thanks in advantage
enzoDear Experts,
Can you please help me out in this regard. I hope my requirement is clear.
Regards,
S Bharath -
SharePoint: Workflow to retrieve all users and Create list item record for each user
Hi all,
My share point site have two Lists as Holidays and MyCalender.
Actually Holiday is simple non-Calender list with field as Holiday Date, Reason. MyCalender List Calender type list with Person Look-up column and user can see his own record. User of Manager group will declare holiday. This Holiday should get reflected
on each user 's MyCalender List.[One listitem as holiday date and reason for each user] so everyone can view that record.
I have requirement as Manager will create one Holiday record and then run single workflow so for all users present in SharePoint Site, one MyCalender List Item record should get created. Is it possible to do using Workflow?? Please help as I didn't get any
solution for this.. Thanks in advance!You don't need one workflow per user when a filtered view can do this for you. If the manager's list is the parent calendar, I'm assuming that he'll be at least using the person look-up column.
Whether this feeds through the MyCalendar or stays where it is, you can use the [Me] parameter within the filter on a new view. This will then return the assigned holiday filtering against the account that is logged in.
Steven Andrews
SharePoint Business Analyst: LiveNation Entertainment
Blog: baron72.wordpress.com
Twitter: Follow @backpackerd00d
My Wiki Articles:
CodePlex Corner Series
Please remember to mark your question as "answered" if this solves (or helps) your problem. -
Hi,
The following code works perfectly for me and give me a list of users for a specific OU and their respective logon types :-
$logFile = 'c:\test\test.txt'
$_myOU = "OU=ABC,dc=contosso,DC=com"
# LogonType as per technet
$_logontype = @{
2 = "Interactive"
3 = "Network"
4 = "Batch"
5 = "Service"
7 = "Unlock"
8 = "NetworkCleartext"
9 = "NewCredentials"
10 = "RemoteInteractive"
11 = "CachedInteractive"
Get-WinEvent -FilterXml "<QueryList><Query Id=""0"" Path=""Security""><Select Path=""Security"">*[System[(EventID=4624)]]</Select><Suppress Path=""Security"">*[EventData[Data[@Name=""SubjectLogonId""]=""0x0""
or Data[@Name=""TargetDomainName""]=""NT AUTHORITY"" or Data[@Name=""TargetDomainName""]=""Window Manager""]]</Suppress></Query></QueryList>" -ComputerName
"XYZ" | ForEach-Object {
#TargetUserSid
$_cur_OU = ([ADSI]"LDAP://<SID=$(($_.Properties[4]).Value.Value)>").distinguishedName
If ( $_cur_OU -like "*$_myOU" ) {
$_cur_OU
#LogonType
$_logontype[ [int] $_.Properties[8].Value ]
#Time-created
$_.TimeCreated
$_.Properties[18].Value
} >> $logFile
I am able to pipe the results to a file however, I would like to convert it to CSV/HTML When i try "convertto-HTML"
function it converts certain values . Also,
a) I would like to remove duplicate entries when the script runs only for that execution.
b) When the script is run, we may be able to search for records after the last run and not search in the same
records that we have looked into before.
PLEASE HELP !If you just want to look for the new events since the last run, I suggest to record the EventRecordID of the last event you parsed and use it as a reference in your filter. For example:
<QueryList>
<Query Id="0" Path="Security">
<Select Path="Security">*[System[(EventID=4624 and
EventRecordID>46452302)]]</Select>
<Suppress Path="Security">*[EventData[Data[@Name="SubjectLogonId"]="0x0" or Data[@Name="TargetDomainName"]="NT AUTHORITY" or Data[@Name="TargetDomainName"]="Window Manager"]]</Suppress>
</Query>
</QueryList>
That's this logic that the Server Manager of Windows Serve 2012 is using to save time, CPU and bandwidth. The problem is how to get that number and provide it to your next run. You can store in a file and read it at the beginning. If not found, you
can go through the all event list.
Let's say you store it in a simple text file, ref.txt
1234
At the beginning just read it.
Try {
$_intMyRef = [int] (Get-Content .\ref.txt)
Catch {
Write-Host "The reference EventRecordID cannot be found." -ForegroundColor Red
$_intMyRef = 0
This is very lazy check. You can do a proper parsing etc... That's a quick dirty way. If I can read
it and parse it as an integer, I use it. Else, I just set it to 0 meaning I'll collect all info.
Then include it in your filter. You Get-WinEvent becomes:
Get-WinEvent -FilterXml "<QueryList><Query Id=""0"" Path=""Security""><Select Path=""Security"">*[System[(EventID=4624 and EventRecordID>$_intMyRef)]]</Select><Suppress Path=""Security"">*[EventData[Data[@Name=""SubjectLogonId""]=""0x0"" or Data[@Name=""TargetDomainName""]=""NT AUTHORITY"" or Data[@Name=""TargetDomainName""]=""Window Manager""]]</Suppress></Query></QueryList>"
At the end of your script, store the last value you got into your ref.txt file. So you can for example get that info in the loop. Like:
$Result += $LogonRecord
$_intLastId = $Event.RecordId
And at the end:
Write-Output $_intLastId | Out-File .\ref.txt
Then next time you run it, it is just scanning the delta. Note that I prefer this versus the date filter in case of the machine wasn't active for long or in case of time sync issue which can sometimes mess up with the date based filters.
If you want to go for a date filtering, do it at the Get-WinEvent level, not in the Where-Object. If the query is local, it doesn't change much. But in remote system, it does the filter on the remote side therefore you're saving time and resources on your
side. So for example for the last 30 days, and if you want to use the XMLFilter parameter, you can use:
<QueryList>
<Query Id="0" Path="Security">
<Select Path="Security">*[System[TimeCreated[timediff(@SystemTime) <= 2592000000]]]</Select>
</Query>
</QueryList>
Then you can combine it, etc...
PS, I used the confusing underscores because I like it ;)
Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. -
Fetching accessible record type list for any user
How to get list of standard record types being accessible for any user role?
One solution - We know the entire list of standard record types, so we can keep trying to access each record type and if we get access violation exception, then skip that record type. This solution is NOT a good idea as it will be poor in performance and may become insufficient in future version of OCOD (which may have more standard record type than the count present today).
Is there any direct API available? or any generic solution?Hello,
this is the forum for the tool {forum:id=260}. Please mark this question as answered, so others know that they can ignore it.
Then post again in {forum:id=75}
Regards
Marcus
Maybe you are looking for
-
I am using Ipad3 and OS is upgraded. I tried to reset password still unable to open imessage and facetime. I am able to download from istore though. Tried everything i knew. Please suggest!
-
Printing dunning notices using SMARTFORMS,error during parameter transfer
Hi Friends, I face a error message "Include text ZGA_DUN_HDR does not exist (object TEXT, ID ST)" when i run the dunning run. I had searched every node for text ZGA_DUN_HDR in the smartform,I didnt find the text in it.
-
Attachments in HTTP_AAE Adapter of PI 7.3?
Hi All, Can any help me with understanding the concept of Attachments in HTTP_AAE adapter in PI 7.3? I have gone through SAP help site and could not find anything on the same. Regards, Rahul
-
Fuctional Specification for Incoming HSBC fIle
Hello Every one, I have one l Requirement for me , When we make payment to vendor through F110 ,after that we run one program we got out going file to HSBC bank it was completed it runs succes fully it generate the out going file ,now my requirement
-
I can provide specific instances if needed. This seems to happen almost every time. The incorrect sites do not appear to be of any specific type. I'm also curious why the production version of Firefox jumped from 3.6.x to 8.0. Maybe I've installed a