Refresh Organizational Environment
Dear Friends,
Is there any tcode for workflow admin for refreshing organizational envrionment for other user.
I know the SWU_OBUF and one functional module RH_INBOX_REFRESH.
Is there any other way?
Thanks & Regards,
Arti
Thanks Arghadip,
This reports have the same functionality as Tcode SWU_OBUF.
I want to refresh the particurlar user organization environment.
Like we go generally. .
Setting> Workflow Setting> Refresh Organizational Environment.
Only for a particular user.
Regards,
Arti
Similar Messages
-
Purpose of "Refresh Organizational Environment"
Hi,
I have a workflow which is working fine in development. But in quality, when the approver clicks on Approve, it is showing error "No administrator found for the task". From sdn, I found that we have to "Refresh Organizational Environement" to solve this problem. I tried to find the reason for this but couldn't find it. Please tell me the possible reason for this error and what is happening when we Refresh the Organizational Environement. Is it necessary to refresh the Organizational Environment for each and every user in the system. If we have to "Refresh Organizational Environement" for each and every user in the system, what is the best way to achieve it?
Regards,
Jubish>
Rick Bakker wrote:
> It probably refreshes itself at some point, possibly once a day, but I'm not sure how or when.
Correct, once a day. How & when: deceptively simple - since HR data includes a validity period, it's cached with today's date, so at midnight it becomes invalid. -
Possible to customize/organize Environment Layer List?
Hello everyone,
I did a quick search for this topic on the forums but couldnt find anything (still havnt gotten the hang of apples search features I guess). I also couldnt find any info in the manual, so I'm hoping you wonderful Logic gurus can help me out!
I'm currently redoing my Template to have access to all possible instruments/sounds, some of which require their own routing system with auxes, multi-instruments etc. Thus I have placed many of these instruments in their own layers (i.e. Stylus RMX layer, Kontakt 2 multi layer, DKFH multi layer, MIDI Instruments layer, etc). The problem is that the layers are listed by "last created" in the environment while alphabetical in the arrange listings, which always makes me "double take" when looking for an instrument quickly (which can be quite distracting).
Is it possible to organize the layers listing by either make the environment list alphabetical or better yet put them in "custom order?" I guess in worse case I can use numbers to correspond with the "last created" method implied by the environment, but thats not a very good organizational method IMO.
Thanks in advance for any help/tips you can provide on keeping your environment organized!I suggest creating your new layers starting from the bottom of the layers list as it currently exists. You can create new layers in one of two ways:
• selecting *CREATE* from the layers list. This ALWAYS creates a new layer at the bottom of the list (keeping in mind that the *create* thing will always be the last thing in the list regardless)
==OR==
• selecting an existing layer and using the Environment's local menu Options>Layer>Insert. The behavior of this function is such that it will always insert the new layer ABOVE the one you've previously selected
A few fine points:
• The ALL OBJECTS layer cannot be moved or deleted. It is "protected".
• You can hide the ALL OBJECTS layer by unchecking the option in Prefs>Display>Other
• The order of the layers in the Environment cannot be changed once created. The only way to accomplish this is by inserting a new layer at the desired position, cutting (I don't recommend copying) all of the objects from original layer and pasting them into your new layer. However, don't attempt a mass transfer of multiple objects from one layer to another in a song where you've already got lots of music recorded. You could be in for a nightmare. But if you need to do this because you absolutely need to be more organized for your work, cut/paste the objects one at a time from original layer to destination layer. It's possible I'm being over-cautious here, but I've just had too many nightmares in the past. So the above is a conservative approach. -
Update/refresh organizational structure
Hello
I have a problem that seems to be a bug.
I have added in organizational structure new purchasing groups with responsabilities. But when I create a new shopping card, the system does not consider the good purchasing group.
Is there any transaction to refresh the organizational structure ?
Thank you for your help.
Regards,
Peggy.Hi
Check with these two FMs
BBP_GET_CATEGORIES_F4 - input - user has a attribute for that material group.
BBP_PDH_WFL_GET_PURCH_FROM_ORG - input- purchase gruop object id.
under the purchase group what are the buyers are available.
Morever - Check extended attributes are pointing to correct logical system....for eg product category since you done refresh recently...
regards
Muthu -
Need to refresh Test environment from Production
Hi All,
I need to refresh our Test environment from Production.
Can anyone help me with the list of special tools from different vendors to do it?
Any kind of help is appreciated.Hi Manoj,
Thanks for your response. I am aware of the system copy.
can you help me with some tools from different vendors that can be an alternative to system copy.
we have categorized the task into 3 categories:
Database restore
Client Copy
Special tools
The third one includes tools from different vendors (for example: TDMS from SAP itself). -
Refresh 11i environment on exactly same node
Hello Hussein,
If I need to refresh my 11i environment and I have a backup of APPL_TIER and DB_TIER directories, do I just need to replace all existing directories using my backup? Or is there any other addtional steps that I need to do? Note that its exactly same structure and same server.
Thanks a lot,
JeffreyHello Hussein,
Yes its exactly the same. All configurations are exactly the same.
Thanks a lot.
By the way I am doing some test also regarding cloning 11i environment (multi node) to another server but the DB tier of target server is 64bit. The scenario is that, the target db node is configured with crs with clustered oracle home but not yet converted to RAC (still waiting for other team to test) and my target db is just standalone setup.
I tried below approches:
- Copying oracle_home and oracle files of my source db server (32bit) and restored it to my target db server(64bit).
But upon mounting the db I got somethig cluster error, I think this is expected since I cloned it from clustered environment. And CRS is not yet configured to my target server.
- I installed 32bit oracle to my target server (I encountered a lot of relinking issues since its 32bit software and my server is 64bit). And I dont have time to fix this issues, so what I did was to install local oracle software from my source db server and copied to target server. It works but I got INVALID components after restoring the database from source db.
SQL> col VERSION format a15
SQL> /
COMP_ID VERSION STATUS
CATALOG 10.2.0.5.0 VALID
CATPROC 10.2.0.5.0 VALID
JAVAVM 10.2.0.5.0 VALID
CATJAVA 10.2.0.5.0 VALID
XML 10.2.0.5.0 VALID
CONTEXT 10.2.0.5.0 VALID
RAC 10.2.0.5.0 INVALID
ORDIM 10.2.0.5.0 VALID
SDO 10.2.0.5.0 VALID
APS 10.2.0.5.0 INVALID
XOQ 10.2.0.5.0 VALID
COMP_ID VERSION STATUS
AMD 10.2.0.5.0 INVALID
ODM 10.2.0.5.0 INVALID
XDB 10.2.0.5.0 INVALID
14 rows selected.
- I installed 64bit oracle software to target DB and restored database from my source db.
(startup migrate, utlip.sql,ulrp.sql) but still I got Invalid components as above.
Can you please let me know on how to resolve this issues, and please advice if there are any other options.
My next option is use rman backup then restore it to target. But I assume I still get Invalid components.
Thanks alot,
Jeffrey -
SC status "Awaiting Approval" - WS10000060 error
Dear colleagues,
We are on SRM 5.0.
We have the following problem:
When creating a Shopping Cart, the status of the SC remains as "Awaiting Approval".
We have only activated Workflow WS10000060 Workflow without approval, and all checks regarding Workflow customizing seem ok.
I have checked transactions indicated in Note 322526 and have not been able to find the origin of the error:
SWU3 seems OK, in SWU0 WS10000060 Workflow Without Approval Shopping Cart appears as succesfully started.
In transaction SWEL i can see no events however, even though the event log is activated.
In SWI1 however I can see the ERROR status of the workflow:
2036 (Sub)workflow 1000000076 Workflow without approval 02.11.2006 16:16:11 WS10000060 Workflow Without Approval Shopping Cart 0 0 ERROR 00:00:00 0 5 Medium 0 2036 0 0 No Agent Available
The message says "No agent available", but I believe for workflow WS10000060 no agent is needed, right?
I also get the following messages:
Message Text Error when processing node '0000000241' (ParForEach index 000000)
Exception 8987
Symbolic name
Error Type 1
Area SWP
Message 88
Variable 1 0000000241
Variable 2 000000
Variable 3
Variable 4
In the step history, the error appears in this steps:
Exception occurred Error when starting work item 000000002036
Error when starting work item 000000002036
Message no. SWP085
Error when processing node '0000000241' (ParForEach index 000000)
Message no. SWP088
Error when creating a component of type 'Etapa'
Message no. SWP087
Error when creating a work item
Message no. SWP044
Unable to determine work item type for step at node 0000000241
Message no. SWP135
Any ideas? Would appreciate any help, will reward with points.
Thanks a lot in advance !Hi,
The workflow WS10000060 is linked to a reviewer workflow WS10000265.
It may be the case that no active versions of this workflow exist in
your system.
In transaction SWDD select other WF-Definition = WS10000265.
This should activate version 0000
- Create new version - (activate version 0001)
- menu Workflow >Activation >Generate and activate runtime version
- Transaction SWUS
Workflow: WS10000265
Click on Button Refresh Organizational Environment
Synchronize the runtime buffers with transaction SWU_OBUF.
Kindly then retest the workflow WS10000265 to see if it is now ok.
You can do this by the following steps :
1. Transaction SWUD
2. enter workflow WS10000265, press enter
3. execute 'Test environment'
4. check 'Including subworkflows'
5. execute 'Consistency check for components'
If there are no errors then please do the same for workflow WS10000060.
If there are no errors for this workflow either then the problem
should be resolved.
BR,
Disha.
Pls reward points for useful answers. -
Resolving error for determination for agents and buffering
Hi,
Can u please let me know how to resolve buffering error and agent determination error, by which way and what tcode are there for it if any ?
One more question is there how to test workflow and how to restart it with issues?
Thanks
ParagHi parag ,
how to resolve buffering error -
To resolve buffering errors
1) Use Synchronize Runtime Buffer ( SWU_OBUF)
Always refresh the runtime buffer when you have made a change in a task definition or after transporting
new workflows or versions of workflows that are to be used on the day of tranport .
2) use the refresh organizational environment option in Business workplace ( SBWP) or in start workflow function ( SWUS) .This refreshes buffers for current user id .
agent determination error
to solve agent determination errors ,you can take help from following tcodes -
swi1_rule - Execute rules for work items
swi2_adm1 - Execute work items without agents
swia - Execute work items without agent check
how to test workflow and how to restart it with issues
SWPR - workflow restart after error
swi2_diag -Diagnosis of workflow with errors
SWPC - continue workflow after system crash
SWUD - workflow diagnosis
swus - test workflow
hope this helps.
Thanks,
sahiba -
Workflow org unit and event create
hi gurus,
I am using a standard sap workflow for travel. I am having two issues with it:
1. I created an org structure for it. But when I give the org structure name in the workflow it is not picking up the manager's name and not sending the email. But when I give a single personnel number, it is sending the mail.
2. At the start of the workflow there is an event 'TripCreate'. But when I create the trip by tcode: PR05 it is not starting the workflow.
Please advise. thanks.
Regards,
FSHi FS,
1. For this issue, try to refresh the organizational structure by going to transaction SBWP -> Settings menu -> Workflow Settings -> Refresh Organizational Environment. Test again.
2. For the second issue, please ensure that the event linkage for the workflow is activated. In the header of the workflow in "Version Independent (Task)" tab goto "Start Events" tab and ensure the event is first of all maintained and secondly active (green icon).
Also, if you attempt to create the event from SWUE - does the workflow trigger then ?
If all is fine above, then check whether there are any start conditions maintained which prevent the workflow from triggering.
Hope this helps.
Regards,
Aditya -
Subroutine for subtotal not getting triggered
Hi ,
I am using a dynamic internal table and passed to reuse_alv_grid_display .i have populated the event table with the subroutine for calculating the subtotal .
Please find my code below.
populating sort and layout structure .
z_v_repid = sy-repid.
z_wa_layout-zebra = 'X'.
z_wa_layout-colwidth_optimize = 'X'.
z_wa_sort-fieldname = 'LIFNR'.
z_wa_sort-up = 'X'.
z_wa_sort-subtot = 'X'.
APPEND z_wa_sort TO z_i_sort[].
CLEAR z_wa_sort.
z_wa_sort-fieldname = 'MATNR'.
z_wa_sort-up = 'X'.
z_wa_sort-subtot = 'X'.
APPEND z_wa_sort TO z_i_sort[].
CLEAR z_wa_sort.
z_wa_sort-fieldname = 'WERKS'.
z_wa_sort-up = 'X'.
z_wa_sort-subtot = 'X'.
APPEND z_wa_sort TO z_i_sort[].
CLEAR z_wa_sort.
CLEAR z_wa_event.
populating the field catalogue
z_wa_fcat-col_pos = 0.
z_wa_fcat-fieldname = 'LIFNR'.
z_wa_fcat-tabname = '<Z_F_DYNTABLE>'.
z_wa_fcat-seltext_l = 'Vendor'.
append z_wa_fcat to z_i_fcat[].
clear z_wa_fcat.
z_wa_fcat-col_pos = 1.
z_wa_fcat-fieldname = 'MATNR'.
z_wa_fcat-tabname = '<Z_F_DYNTABLE>'.
z_wa_fcat-seltext_l = 'material'.
append z_wa_fcat to z_i_fcat[].
clear z_wa_fcat.
z_wa_fcat-col_pos = 2.
z_wa_fcat-fieldname = 'WERKS'.
z_wa_fcat-tabname = '<Z_F_DYNTABLE>'.
z_wa_fcat-seltext_l = 'Plant'.
append z_wa_fcat to z_i_fcat[].
clear z_wa_fcat.
z_wa_fcat-col_pos = 3.
z_wa_fcat-fieldname = 'BASME'.
z_wa_fcat-tabname = '<Z_F_DYNTABLE>'.
z_wa_fcat-seltext_l = 'Unit'.
append z_wa_fcat to z_i_fcat[].
clear z_wa_fcat.
during run time the field catalogue table is filled with column names from z_i_temp determined during run time
DO z_v_num_month TIMES. "builds the field catalogue
j = sy-index.
READ TABLE z_i_temp INTO z_wa_temp INDEX j.
z_wa_fcat-fieldname = z_wa_temp-mon.
z_wa_fcat-seltext_m = z_wa_temp-mon.
z_wa_fcat-col_pos = l.
z_wa_fcat-tabname = '<Z_F_DYNTABLE>'.
l = l + 1.
APPEND z_wa_fcat TO z_i_fcat[].
CLEAR: z_wa_fcat , z_wa_temp.
ENDDO.
CALL METHOD cl_alv_table_create=>create_dynamic_table
EXPORTING
it_fieldcatalog = z_i_fcat1
IMPORTING
ep_table = z_i_temp1.
ASSIGN z_i_temp1->* TO <z_f_dyntable>.
CREATE DATA z_wa_temp1 LIKE LINE OF <z_f_dyntable>.
ASSIGN z_wa_temp1->* TO <z_f_workarea>.
The event table is populated .
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
I_LIST_TYPE = 4
IMPORTING
ET_EVENTS = z_i_event[]
EXCEPTIONS
LIST_TYPE_WRONG = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
READ TABLE z_i_event INTO z_wa_event
WITH KEY name = slis_ev_subtotal_text.
IF sy-subrc = 0.
MOVE z_k_formname TO z_wa_event-form.
MODIFY z_i_event FROM z_wa_event INDEX sy-tabix.
ENDIF.
and then the z_f_dyntable is populated with values .
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = z_v_repid
IS_LAYOUT = z_wa_layout
IT_FIELDCAT = z_i_fcat
IT_SORT = z_i_sort
I_DEFAULT = 'X'
I_SAVE = 'A'
IT_EVENTS = z_i_event
TABLES
t_outtab = <z_f_dyntable>
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
The subroutineIt getting triggered throught the funtion call in User Exit of MM01.
1. I hope the workflow customization is done properly in production system, as you stated that if you are trying to trigger from PFTC then it is working fine, can you please try to Refresh Organizational Environment from SBWP ---> On MEnu ---> Settings --> Workflow Settings ---> Refresh Organizational Environment and secondly try to refresh the buffer from txn SWU_OBUF
2. Make sure the user exit is transported to Production.
3. Check the workflow log from the txn SWIA if you have proper authorizations for the userid. -
Issue in Production for Workflow not getting Triggered .
Hi Guys,
I have a workflow, which is properly triggering in the development and Quality but not getting triggered in the Production. Can't get the Exaact reason because by using T-code PFTC when i test the workflow independantly its working properly and even BOR does not have any problem. Please Help me guys as this is a issue in Production.
The workflow is a customized one, It getting triggered throught the funtion call in User Exit of MM01.
ThanksIt getting triggered throught the funtion call in User Exit of MM01.
1. I hope the workflow customization is done properly in production system, as you stated that if you are trying to trigger from PFTC then it is working fine, can you please try to Refresh Organizational Environment from SBWP ---> On MEnu ---> Settings --> Workflow Settings ---> Refresh Organizational Environment and secondly try to refresh the buffer from txn SWU_OBUF
2. Make sure the user exit is transported to Production.
3. Check the workflow log from the txn SWIA if you have proper authorizations for the userid. -
UWL workitems become non clickabl/executable
Hi,
We have a huge problem with UWL workitems that become non-clickable/executable overnight.
This problem only applies to the Workitems that use the Webflow principles (BIT603, so using xHandlerLauncher in UWL config file)
In the portal logging, we sometimes see the following errors/warnings when this problem occurs:
warning 2009-05-20 12:48:28:840 com.sap.netweaver.bc.uwl.UWLException: Wed May 20 12:48:28 CEST 2009
(Connector) Invalid argument or value or null used
/uwl/ui com.sap.netweaver.bc.uwl.ui.creators.TableColumnCreator sap.com/tcwddispwda euax419-zep Server 1 2_33229
Full Message Text
com.sap.netweaver.bc.uwl.UWLException: Wed May 20 12:48:28 CEST 2009
(Connector) Invalid argument or value or null used
warning 2009-05-20 12:48:28:840 No logical system id available for backend system <EUP-300>
/uwl/service/connector/webflow com.sap.netweaver.bc.uwl.core.connect.webflow.XHandlerLauncher.getUrl() sap.com/tcwddispwda euax419-zep Server 1 2_33229
Full Message Text
No logical system id available for backend system <EUP-300>
So it seems that the link is not shown due to the fact that a logical system could not be found for the given UWL system.
Moreover, sometimes we have people logging on to the portal where the task is executable and for others not. This might be caused by 2 virtual systems we have in our landscape where the connectivity/logical system is correctly defined or buffered for 1 virtual server but on the other it is not!
Can someone please help us with this
Many thanks
Pascal DecockHi Pascal Decock,
try this,
goto tcode>SBWP>settings>workflowsettings>Refresh organizational environment. hope it works.
Regards
Bhaskar -
Message "no administrator found"
Hello All,
i am getting message in my inbox ( SBWP) <b>"no administrator found"</b>.
work item i am accessing is in READY status with me there are 2 more users which are assigned to the position. when i click on the work item in my inbox i get this message.
checking the message where used list i find message comes from FM
<b>RH_WI_AGENT_EXECUTE_CHECK</b>
message class 5W message no 140.
i dont know how much relevant is this FM.
Regards,
Rushikesh.Just go to the Menu path Settings->Workflow Settings->Refresh Organizational Environment. Once you do this the org strucutre is refreshed and you will be able to execute the workitem. It is generally called as the "Cindrella Principle" in workflow as the org strucutres get refreshed at the midnight.
Hope this helps,
Sudhi -
I have implemented workflow for releasing blocked invoice.In quality it is working perfectly fine but in production ,though the agent is receiving the workitem in his inbox but he is not able to open that work item. I have checked all things each and every thing has been transported from quality to production.I have also verified that the agent receiving the work item has the authorization for opening that item(TCode-MIR4). I am not able to find out where the problem is and how I can rectify it.
Hi,
Once the user clicks to execute the workitem does he get a message saying "No Administrator foound for the task"? If yes then go to the menu Settings->Workflow Settings->Refresh Organizational environment. It will work. If you get any other message let us know. We might be able to troubleshoot better.
Hope this helps,
Sudhi -
Problem using workflow - Agent not ready
Dear all, i'm not a workflow expert. I've created a workflow that works correctly when i test it using transaction SWDD, but I have an error of "no agent ready" when i process it using fm SWE_EVENT_CREATE.
the task is defined in this way:
Agent Expression: &_WF_INITIATOR&
but I also try this:
Agent User : ACNDEV (my user)
....and also I try to leave the agent blank.
I call the workflow rasing the event "CREATED" in that way:
VA_CREATOR-OTYPE = 'US'.
VA_CREATOR-OBJID = SY-UNAME.
CALL FUNCTION 'SWE_EVENT_CREATE'
EXPORTING
objtype = 'ZTESTFLOW'
objkey = 'ZTESTFLOW'
event = 'CREATED'
CREATOR = VA_CREATOR
TABLES
EVENT_CONTAINER = wi_container
The workflow start but at first task it is stopped with the message "No agent ready".
I already have try in different way, but i don't find any solution.
Anybody can help me ?
DavideHi
The possibilities are
1. Instead of making use of the SWE_EVENT_CREATE try to make use of the SAP_WAPI_CREATE_EVENT function module.
2. Try to refresh the organizational assignment from SBWP transaction on menu SBWP-> SETTINGS--> WORKFLOW SETTINGS -
> Refresh organizational environment.
I am sure that when ever you are trying to create or raise a event then it is not mandatory that you have to make the workflow template as general task.. but yes you have to maintain the agent assignment if you want to start the workflow directly like by using SAP_WAPI_START_WORKFLOW.
Also if you are facing this issue with some standard task but not with the workflow template then it is a problem with the agent assignment. in that case make sure that the proper agent assignment settings are maintained for the respective standard task. as mentioned in the above posts.
Regards
Pavan
Maybe you are looking for
-
What's the best way to set up new imac for logic etc?
In brief: Getting new imac (27", 3.4 i7, 8-16GB ram, 1TB HD). Will be using it mainly to run Logic Studio (loads of plugins) and Final Cut Express. I also have 2 external Hard drives one 500G one 1TB. The last imac I bought was my first and just went
-
I recently had my eMac crash. Fortunately the Mac store I took it to was able to recover everything on the hard drive and put it on an external hard drive. I am now using my new iMac and need to locate all of my cards that were in the old eMac. Where
-
I deleted the playlist just added how do i get it back ?
I deleted by accident the play list : just added , in ITUNES how do i get this back ?
-
Bar Graphs in Illustrator with Numbers within the bars
Does anyone know if an easy way to add the numbers/values into each bar in a bar graph and have them appear automatically when importing data from excel? I'm working w Illustrator CC. HELP! I'm doing 100 graphs and need to find an easy solution. Than
-
Posting period closed and posting not possible.
I am doing MIGO. But the system is not allowing me to do posting. Let me know the tcode or path through which i can open December period for posting. FI posting periods are open. So in MM its needs to be opened. Please let me know tCOde.