NStep Workflow BADI not working
Hi,
I am trying to Activate nstep Approval WF using BADI.
Afetr event linkage in SWE2 for SC WS14000133
I am getting message:
<i>Approval workflow is ambiguous. Inform system administrator</i>
Is it prerequisite for maintain Start condition for WF WS14000133 ?If yes could you send me details how can I maintain it in SWB_COND ?
Is there any step which I am missing for this BADIs
implementation in Custmization?
How can I be in debugging mode after creation of SC?
Regards,
Sachin
Hi Sachin,
I am not able to understand your requirement...What exactly is your requirement?Do you wnat a very flexible SC approval strategy or just Approval based on some start conditions like total value of SC/Roles???
Accordingly,you will have to decide which WF to be used..As i said earlier,you can have only 1 WF active for the Object type BUS2121.
So first decide which WF's you wnat to activate...For more info pls refer the foll links
http://help.sap.com/saphelp_srm40/helpdata/en/5a/af5eff85d011d2b42d006094b92d37/content.htm
http://help.sap.com/saphelp_srm40/helpdata/en/17/40a86c773d6c41801d78af1a34b90f/content.htm
BR,
Disha.
Pls reward points for helpful answers
Similar Messages
-
Hi everybody;
I'm teaching in a University and recently was provided to us a server for testing Podcasting lectures. Xserve 2 Ghz PowerPC G5, 1Gb RAM and 232 Gb HD (just 9 GB used), Leopard 10.5.2 OS. Of course we choose the hard way so no assistance for setup was hired.
My problem is that I can subscribe to my Podcast server with iTunes but I get "no new episodes from Podmac(my group)".
(1) I went into Server Admin under Podcast Producer and set the default Properties. (2) xGrid services and Podcast Producer are runnig.(3) open directory and kerberos are running in the same server. My guess workflow is not working; the files stacking up in the podcast recording directory and nothing goes to the podcasts directory. At Podcast producer server Log I get;
+Thu Apr 10 20:58:54 -0500 2008 -- Processing Podcast Producer Job ID: 14+
+Thu Apr 10 20:58:54 -0500 2008 -- Using workflow bundle:+
+/System/Library/PodcastProducer/Workflows/Blog and iTunes with+
intro.pwf
+Thu Apr 10 20:58:54 -0500 2008 -- Assembling Metadata for recording:+
458D24C4-DFD0-48CD-BDE2-0A3E1530502F
+Thu Apr 10 20:58:54 -0500 2008 -- Processing:+
/Podcasts/Recordings/458D24C4-DFD0-48CD-BDE2-0A3E1530502F/user_metadata.plist
+Thu Apr 10 20:58:59 -0500 2008 -- Processing Podcast Producer Job ID: 14+
+Thu Apr 10 20:58:59 -0500 2008 -- Using wor+
Using the xGrid admin I can see the agent available but none job is listed. Can anyone help me pls?Officially, Podcast Producer only supports Intel-based agents. On a PowerPC based Xserve, the agent ranking will be zero, and podcast producer jobs will not run.
Some people have modified the workflows to ignore the ranking, but there are no guarantees the workflows will run correctly if that's done. -
Setting Workflow status not working in imported workflow from SPD to Visual Studio
Hi all,
I have created SPD workflow and imported in visual studio. When I deploy imported Workflow using visual studio feature I found that Setting Workflow Status action is not working. Do I need to change Set Workflow status activity in Visual studio to make it
work.
Rohit PasrijaHi,
According to your post, my understanding is that Setting Workflow status did not work in imported workflow from SharePoint Designer to Visual Studio.
I try to reproduce the issue and the result is the same as yours.
After I import the workflow, choose the .xoml file, the view is as below:
To troubleshooting the issue, I add a new item to the project and select “Sequential Workflow” in the template.
After I click the Tool, I find that there don’t have the “SetCustomWorkflowStatus1” activity.
To set the status of the state, we need to use the “Set State” Activity in the “SharePoint Workflow” toolbar.
That is the reason why the “SetCustomWorkflowStatus1” activity does no work.
More information:
Apply Custom Values to Visual Studio Workflow Statuses
Thanks,
Linda Li
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Linda Li
TechNet Community Support -
Workflow does not work from Script Menu or as Application
Hi,
I create a really simple script to adjust podcast volume...
1. Get Specified iTunes Items (Recently added podcast – my smart folders of recently downloaded items)
2. Filter Songs in iTunes (Volume Adjustment is 0: so the workflow will not touch podcasts already adjusted.)
3. Set Options of iTunes Songs (Volume Adjustment: 80)
The workflow works find when running from Automator. But when I save it as script plug-in or application and try to run it, nothing happens. Please help. Thanks.
P.S. I tried to create folder action script that adjust the volume automatically when a podcast is downloaded (get selected items -> set options in iTunes songs). At first it works. Now it doesn't.It starts by pausing iTunes, executes a applescript where there are say commands, pauses for 3 seconds, gets info from ical, filters out todays events, speaks these events out loud, fetches a weather report via web(xml), speaks out loud, pauses a couple of seconds, gets current itunes song, resumes playing of this song and the workflow is finished.
It quits right before it is about to announce todays events. Doesnt matter if there are events for today or not. If I start the application manually however, everything seems fine.
The Applescript used to launch the program:
tell application "TodaysiCal"
run
end tell
Any suggestions now ? -
EXPORT/IMPORT through FMs in BADI not working
Hi Experts,
I have checked several posts and implemented my requirement but it's not working. PFB my requirement:
We have a BADI in which I need to EXPORT an itab and the same is to be IMPORTed into ZFM. I have created 2 FMs under same FG. Now, in the FM which is being called in BADI i have EXPORT and in ZFM i have IMPORT. Code is given below:
FM from BADI: ZBADI_FM
IF lv_flag EQ 'X'.
EXPORT gt_msg TO MEMORY ID 'CHANGED_DATES'.
ENDIF.
Another ZFM under same FG: ZFM
IMPORT gt_msg FROM MEMORY ID 'CHANGED_DATES'.
gt_msg is declared in TOP that is common for both FMs. However, IMPORT is not happening. I am not getting the values that I exported. sy-subrc is 4.
Can anyone help me out? Your help is appreciated.Hi,
I can't believe that it will work:
EXPORT TO MEMORY
A data cluster in the ABAP memory is available to all programs within a call sequence, whereby data can be handed over to called programs.
call sequence
This sequence is created if you can return from the called program to the calling program at the call of an ABAP-Program with SUBMIT ... AND RETURN or CALL TRANSACTION. For this purpose, the data of the internal session of the caller remains on a stack. The programs of a call sequence have collective access to the ABAP Memory. A call sequence can be left completely using the statement LEAVE TO TRANSACTION.
Regards,
Klaus -
Automatic approval workflow does not work anymore
Hi,
Our automatic approval workflows configured via standard business configuration sets (process controlled) do not work anymore. They did work previously.
After changing the BUS objects 'automatic approval' workflow into the 1-step manager approval workflow it does work.
- The 'automatic approval' workflow does not seem to generate a workitem, the bbp_pd 'workflow' part is empty. In addition previously approved documents via 'automatic approval' do not contain workitem details via bbp_pd either anymore.
- We applied a new SP (SP07) not that long ago.
- These documents go into status: 'awaiting approval', the documents 'approval' details tell us the following:
001 Automatic Approval Valid (Can be Started) Open (No Decision Made) SYSTEM system
However the system does not execute the task, how come? What normally ensures the system executes these 'automatic approval' tasks (report?)?
Any input is very much appreciated.
Kind regards,
TimHi Balaji,
In SRM 7.0,
Our automatic approval workflows configured via standard business configuration sets (process controlled) do not work anymore. They did work previously.
- The 'automatic approval' workflow does not seem to generate a workitem, the bbp_pd 'workflow' part is empty. In addition previously approved documents via 'automatic approval' do not contain workitem details via bbp_pd either anymore.
- - These documents go into status: 'awaiting approval', the documents 'approval' details tell us the following:
001 Automatic Approval Valid (Can be Started) Open (No Decision Made) SYSTEM system
However the system does not execute the task, how come? What normally ensures the system executes these 'automatic approval' tasks (report?)?
Any input is very much appreciated.
Regards,
Shears -
IDM - GRC AC 5.3 integration - workflow detour not working as expected
Hi IDM Experts!
I would greatly appreciate your help with the problem we're currently facing; when integrating IDM with GRC, we have configured 2 CUP workflows; one for handling requests with SoD violations (Workflow B) and one to handle ones without any SoD violations (Workflow C), with the former handling risk analysis followed by role approval, and the latter handling only role approval; we have one path with one stage configured as "No Stage" (Workflow A); this path is used to decide which of the primary workflows to use (i.e. SoD violations or no SoD violations) using two detours; we have one detour configured to use Workflow B if any SoD violations are found in the request and another detour configured to use Workflow C if no SoD violations are found.
Currently what happens in our tests is that requests without risks / SoD violations work fine and actually get detoured to Workflow C, awaiting role approval from the right approver ; while requests with inherent risks / SoD violations unforutnately get automatically approved and provisioned rather than being sent to Workflow B
Any clues as to why this could be happening? We've checked if there are any settings that might be triggering it to automatically approve requests despite any risks, but can't find anything of the sort; Would be very grateful for any insight / advice on the issue.
Thanks a lot in advance!
Best regards,
SandeepHi Diego!
Once again; thank you for your quick reply!
I did recheck the auto-provisioning issue and I can confirm that it is definitely set to "No Auto-provisioning" and it hasn't been changed recently. The strange thing is that the detour works for NO SoD violations, but doesn't work for SoD violations; find below the audit trail for detour working:
Request XXX Submitted by Sandeep (SANDEEP) on 01/28/2012 02:04
Z_111111-ECC Role Added with validity dates 01/28/2012-12/31/9999
Request submitted for approval by admin(system) on 01/28/2012 02:04
Approved by Sandeep (SANDEEP) on behalf of Sandeep (SANDEEP) at path WORKFLOW_A and stage WORKFLOW_A on 01/28/2012 02:04
Approved Z_111111-ECC role for Add action with validity dates 01/28/2012-12/31/9999
Request has taken a detour to path C_WORKFLOW and stage C_STAGE on 01/28/2012 02:04
Detour condition SOD Violations with value No is satisfied at path WORKFLOW_A and stage WORKFLOW_A
and find below the audit trail for the detour not working:
Request YYY Submitted by Sandeep (SANDEEP) on 01/28/2012 01:53
Z_222222-ECC Role Added with validity dates 01/28/2012-12/31/9999
Request submitted for approval by admin(system) on 01/28/2012 01:53
Approved by Sandeep (SANDEEP) on behalf of Sandeep (SANDEEP) at path WORKFLOW_A and stage WORKFLOW_A on 01/28/2012 01:53
Approved Z_222222-ECC role for Add action with validity dates 01/28/2012-12/31/9999
Request Closed By Sandeep (SANDEEP) on 01/28/2012 01:53
I even checked the CUA System section, and the "By system" tab and it was empty; there were no specific system configurations.
And to answer your questions:
Since Workflow A is the path with the Initiator, the detour flag is deactivated and the active flag is activated.
WF B & C have both the active and detour flags activated.
Thanks a lot again for your quick responses and all the help you've provided so far!
Best regards,
Sandeep -
Multiple scheduled workflows does not work correctly
Hi All,
I hava made a simple workflow who executes a powershell script with the latest SMLETS, this workflows is triggered when a new incident is created and after the script change the status of the related computer that is affected by the incident.
When I do this just for one computer it works very fine, but when I create by example 4 incidents for several computers the workflows does not change the status of the comptuers.
For the moment I create a incident and I wait the workflows is finished and i continue to create the next incident it is ok. But I cannot to put this in production environment where several analyst create incient for several devices.
Any Idea?
Thank you
MIKEHi,
Ben was right when asked you to share the PS code.
It seems that it works for one instance and doesn't work for multiple ones. It's a regular case when you get objects using search request. Share the PowerShell code and receive the prompt within minutes.
Cheers,
Marat
Site: www.scutils.com Twitter:
LinkedIn:
Facebook: -
Workflow does not work properly
Hi experts,
I had configure approval process for my folder. The problem is when i upload a file, there is no email sent for approval. I have a FSDB repository. What went wrong? Appreciate any suggestions.
Thanks,
NanieHello,
Workflow does not start automatically by uploading documents.
You have to Submit for Approval these documents.
Regards
BP -
CQ 5.5 Workflow package not working in CQ 5.6
Hi,
I have a CQ Workflow package which is triggered on asset uploads in DAM. It was craeted for CQ 5.5 and works very well there. Now when I tried to install it in CQ 5.6 it does not seem to be working at all. The only error I see in logs is "Process definition not found" related to the package. There is no other information whatsoever.
Can anyone provide any directions on what could be the issue ?
I thought there would be backward compatibility between CQ 5.6 and 5.5 but clearly it is not the case.
Appreciate any help here.
Thanks!Hi,
The issue seems to be with CQ 5.6 & Java 1.7. One of the workaround is by adding -XX:-UseSplitVerifier option to the JVM. Also you have to update the API from 'com.day.cq.workflow' to 'com.adobe.granite.workflow' .
Thanks
Siva -
Hello
We are upgrading CRM 3.0 to 4.0. We use BADI CRM_CUSTOMER_H_BADI to develop one screen with Z-table.
It is working fine in CRM server.
But this screen not appear when we run same application from PCUI?
Thanks in Advance
Regards
VishalVishal,
To add a little further to this discussion:
If you developed the BADI correctly in 3.0, then the following methods will still function:
CRM_CUSTOMER_H_CHECK
CRM_CUSTOMER_H_MERGE.
The weblog that Tiest has on added the fields as a new tab is a good start. If you don't wish to add a new tab, then you can determine which PCUI field group structure that CUSTOMER_H is part of, and simply paint the fields on the screen using the CRM Designer.
Doing a little digging I found the CUSTOMER_H structure available to the following field groups. The list below is not complete, but should provide some alternatives if you do not wish to create a new tab.
ACT_DETAIL
ACT_DETAIL_LEAN
ACT_DETAIL_TASK
ACT_DETAIL_TASK_LEAN
CFB_DISPLAY
CFM_DISPLAY
CFM_DISPLAY_CREATE
CFM_PRICES
CFM_SERVICE_DATA_1
CLM_GENERAL_TEST
CMG_ACTIVITIES2
CPL_PRICE_1
CPL_PRICE_1_1
CPL_PRICE_1_2
CPL_PRICE_1_3
CPL_PRICE_1_4
CPL_SERVICE_1
LAM_GENERAL
LAO_GENERAL
LEA_BD
LEA_BD_Q_EXTERN
LEA_DISPL
LEA_DISPLAY_SEARCH_RESULT_CREATE
OPP_OVERVIEW
QUAL_DISPLAY
RMA_HD_SERVICE
SLC_HD_SALES_DATA
SLC_PRICES
SLO_GENERAL
SLQ_GENERAL
SRB_DISPLAY
SRC_BILLPL
SRC_BILLPL1
SRC_BILLPL2
SRC_BILLPL3
SRC_BILLPL4
SRC_DISPLAY
SRC_DISPLAY_CREATE
SRC_SERVICE_DATA_1
SRV_DISPLAY
SRV_DISPLAY_CREATE
SRV_SERVICEDATA_1
SRV_SERVICEDATA_1_PRICES
SRV_SERVICEDATA_1_TEMP
SRV_SERVICEDATA_ORG
SUR_DISPLAY_INIT -
Workflow binding not working - authorization problem?
Hi Experts,
I have the following problem in 4.6C that happens only for a specific user, so maybe an authorization problem.
There is a task in the workflow that calls a method with ME21N. The method takes the PO after the transaction call, creates a BUS2012 object from it and passes it to the task. The task then passes it back to the workflow. The next step of the workflow uses this PO object.
For this specific user, the ME21N method executes fine, PO is created. The task container in the wf log shows the object in it. But the workflow container does not have it, so it was not passed from the task to the workflow. Hence, the next task that uses the object does not start but the workflow system raises an error:
OL 808: Object with runtime number '0' not defined
WFEA 031: Step 0000000058 of WS********: Binding from workflow to work item aborted
This happens only for one specific user, everyone else can execute the tasks without a problem, the PO object is passed to the workflow.
Is there a specific authorization object required for the bindings of the workflow to work correctly?
Any help is appreciated.
Regards,
KriszHello,
You can check for authorization problems in SU53.
Did this suddenly start happening for this user, since when? I'd doublecheck that binding.
regards
Rick Bakker
Hanabi Technology -
Leave request Workflow WS12300111 not working
Hello All,
We have ESS/MSS portal and ECC6.0. I have started with pilot ESS leave request project
When i create the leave request from ESS, i am getting message ' The leave request has been sent.'
Evne i am able to the see the task in UWL(MSS) in tracking tab. But if log in as a manager to approve the leave request, its not displaying the task. I have checked the workflow, its getting stuck. Then i have checked leave process(test application) in R/3 alone in transaction PTARQ. I have given my person number and mode 'R'. Its throwing error message " No document created : HRTIM_ABS_REQ 124 conflict with absences/relocation (IT2001/0330)
But i have customized workflow properly in 1. SWU3 ; all are green except guided procedures
2. Maintained the WS12300111 in workflow template for all
3. Request have to approved
4. task is generated
5. line manager as agent (OM maintained properly)
Kindly help .
Regards,
VenkatHi ,
I have changed the pernr ,date and working fine now.Moreover task is also general. But the workflow started but stuck in the step 'Approvel Process.
Its stops at Node number 38 . I have checeked the step history :
Green (Sub)workflow created
Green Background Processing Started
Green Execution started
Green Error Message Created for Admin
Red Exception occurred Error handling for work item 000000390153
I just want to execute the leave request workflow from PTARQ, keeping as me as requestor and approver. If its success , i want to test with ESS. But now its stuck in R/3 test itself. Please help.
Regards,
Venkat -
There is a workflow "Change request status changed" which periodically fails to run, and it does not show up in "All instances" tab. For instance when I cancel a CR, all activities remain as-is in their respective statuses.
SQL - "SubscriptionStatus" from
http://blogs.technet.com/b/servicemanager/archive/2013/01/14/troubleshooting-workflow-performance-and-delays.aspx
shows increasing number of "minutes by" each minute for this particular workflow.
Restarting "Management service" does not give enything. As well as "UpdateSubscriptionWatermark" SQL from the link above (except resetting the "minutes behind" counter)
Please help!
Egils Zonde from TechnetTake it to an apple store and see if you can get an out of warranty replacement. It won't be free, I think the fee for an Air replacement is $299, but it sounds like the insides are broken.
-
SRM SC Workflow is not working as per BRF expressions
We are having SRM 7.0 SP5
Based on SC item values, We are determining whether the process level is required or not using BRF expressions.
For a particular data, only 2 process levels are selected.
But I go into debugger mode and skip one process level.
After SC is ordered, when I see the approval process there is only one level.
But when I come out from that SC, and go back to the same one and see, there is 2 process levels(when I am expecting only one).
Can anyone help me out on this? Thanks.
Edited by: BASKI ABAP on Oct 25, 2011 12:26 PMHello,
As you are only in SP 5 (last Support Package is 12), i advise you to upgrade until SP 11 or to implement all OSS notes for SRM-EBP-WFL-PC application area.
Indeed, many, many problems occur with Process-Controlled Workflow...
Regards.
Laurent.
Maybe you are looking for
-
Closing Stock correction for the previous year
Hi, We wish to do the closing stock correction of previous year (2006-07) by way of posting GRN and Issue entries on 31st March 2007. Will it corrcet the Opening Stock as on 1st April 2007!! Also will there be any issue while doing this work!! Thanks
-
I would like to be able to optimize my cc installation. I am using a 500 GB ssd card as my primary hard drive on a windows 8.1 machine with 32 gigs of memory. I have additional spinner hard drives in this machine. Everything is SATA 2 or 3. How s
-
How do I down grade from iOS8 to iOS7 on a Iphone 4s?
How do I down grade from iOS8 to iOS7 on an iPhone 4S?
-
How (Funny) is oracle lite on iPAQ !!!
i am doing VB programming on msacess in iPAQ device , there is some limitation in sql and one told me those are not exists in orale lite so i tred it , intallation ok , running msql ok , creating odb ok , when it comes to programming with ADOCE it is
-
Need one space between text and line color
Is there any way to offset the text from the border a bit? I would like to have a black line around some boilerplate text, but the text is always butted against the border. Is there a way to offset the text a bit