Quantcast
Channel: SCN : Discussion List - SAP Business Workflow
Viewing all 1026 articles
Browse latest View live

Workflow should check and wait if GR is not done

$
0
0

Hi Experts,

 

I have a Requirement that.. If the Purchase order is not done with the GR then it should wait for 15 days if between this 15 days if the GR is done then the workflow should process and call MIRO Transaction.If the GR is not done for 15 days the an escalation mail should send to user.

 

i have Done this using loop and used deadline monitoring for one day...but users suggested to look other solution rather then using Loop.

so please help me on this


Thanks,

Charan Tej


Need to get details of Position/User for a task

$
0
0

Hello Experts,

 

I am working on a report where I am displaying Position/User for workflow items. Sometimes when the users are not assigned to Position in the organization structure then S XXXXXXX is coming, however when the users are assigned, the ID is coming. When I refer tables SWWORGTASK to get Position/User for work item, I get the IDs but I want their descriptions also. I though I can refer HRP1000 for Position Details it didn t prove useful as the data type of OBJ_ID in SWWORGTASK and the field in HRP1000 are different.

 

Is there any function module that I can use to get descriptions of positions/users for a workitem ID in one go?

 

Thanks and Regards,
Arun Mann

No Agent Found

$
0
0

Dear Experts,

 

I have a Custom Workflow developed by previous developer with a Dialog Task1 (Form).

 

I had to change this workflow and based on a condition i have to add another Dialog Task2 (Form).

 

For the above task i have a Background activity which determines the users (US is concatenated) and sends them as agents to the dialog Task (used in Expression)

 

Both the dialog tasks are made General Task.

 

When i check in SWIA,for Dialog Task1 there is a Agent & also for possible Agents it has "All users can process this task"

When i check in SWIA,for Dialog Task2 there is no Agent & also for possible Agents it has "No agents found for this task -> long text"


Please kindly guide me.


Regards

Sam

Document Builder standard workflow, work item not coming in sbwp

$
0
0

Hello All,

I am using Document builder in
which when i create a document and release it, a standard workflow(WS40400006)
is triggered and in turn it triggers sub workflow WS40400005 and its
approve/reject task(TS40407950) is created as you can see in the attached image
below. After this we check in workflow log and technical details of the log
generated, where the image shows 'Approval Agents' and 'Agent_001' has entries
filled. But in the 3rd capture, when clicking on agent for the document
approve/reject, "no selected agents' error appears below. I have checked
the SBWP multiple times of the ID which is given in 'Approval Agents' and
'Agent_001' but there are no work items in the business workplace.

 

 

I need help. Somebody who
needs more details and knows about it, kindly reply.

Thank
you

Workflow for SAP Renewal 2.0

$
0
0

Hi there,

we are not able to make the workflow works. We are implementing FPM form for Renewal 2.0.

I added the class CL_HRASR00_POBJ_WF_EXIT and I'm using the standard tasks


1-  TS33700021

2-  TS17900108

3-  TS33700023


workflow.PNG


We cannot move ahead our workflow as we get back the message error

 


GUID.PNG


We read all the blogs possible but we are not able to make it works.

We gave the SAP_ALL to WF-BATCH.

 

Any help?


Thank you so much in advance to everyone, we are desperate. :-(


Federica.

HCM P&F: TS17900101 - step_object not instantiated in the workflow log

$
0
0

Hi,

 

Currently we are developing a HCM P&F Workflow which uses a standard approval task TS17900101. STEP_OBJECT is a element in the container (the description says it will be filled automatically). When I try to execute the workflow the task gets created in the UWL, however the STEP_OBJECT element in the task is not getting instantiated and hence when I try to open the task from the UWL it gives an error No step object GUID is assigned to the work item ID XXXXXXXXXX

 

Please guide me if i need do any additional settings in order to instantiate the STEP_OBJECT container element?

 

Thanks,

Bharath

How to send Basic Authentication details using Web Activity in Workflow

$
0
0

Hello,

 

I was able to send  SOAP message to an external URL(HTTP://domain:port/listener) by using Web Activity in Workflow.

But now URL is protected with HTTP Basic Authentication.

 

How do I configure Web Activity to send Authentication details?

Before starting Workflow check, If any workflow is aready in place for key

$
0
0

Dear All,   (your support would be really helpful)

I have just started with workflow development.

 

Requirement: We have a transaction where we have
a list of data (Alv_GRID), when the user selects one line and clicks on push
button Workflow should trigger.

 

What did I do.

  1. Create a BOR with Event and some parameters. (Note For Key field just a dummy field I have assigned)

  2. Created a work flow with the same BOR Event as start event.

work flow triggering is working fine.

 

 

ISSUE: When user select one line suppose document number "1234" and clicks on push button workflow is
triggered, But when the same line is selected once again and clicks on push button workflow is triggering again which is wrong.

 

To aviod this I have used a custom table with Key and status.

 

****************************************************************************************

 

But I came to know that there is a standard
funcitionality for Work Item status.

 

FM: "SAP_WAPI_WORKITEMS_TO_OBJECT"

 

Can some please explain is this FM is suitable for my requirement if yes How to use. if not which FM ..

 

 

*********************************************************************

 

But when I execute it for my BOR it is not selecting any values.

 

 

can some one help me..

 

Waiting Urgents


Update Workflow container in wrokflow step

$
0
0


Requirement:

Capture the reason for rejection in User decision step and send a SAP mail to the Initiator.

Steps in Workflow

1. user decision (Workflow container = ATTACH with 255 lines/ multiple)

2. Mail (assined in progam exit Tab = class/ Contains logic to collect all the data from Attchement of Workitem to an internal table)

          Now this internal table data I want to append in workflow container.

3. which I will use in mail.

 

I used SAP_WAPI_WRITE_CONTAINER  ---> Does not work

Return Code =  900

error 209

error message Fm cannot be called

 

can some one suggest how to go head with this.

 

Without editing Standard BOR.

How to start a HCM process from a ABAP-program?

$
0
0

Dear Experts,

 

I need to start a HCM process frmo a ABAP program.

 

The case:

-


The program Z_REPORT starts a Workflow which (starts a HCM process and form) generates a prefilled PDF-FORM in the UWL.

 

My scenario:

-


 

Z_REPORT --> Start Workflow (the WF containers have recieved vaules from the Z_REPORT) --> Starts a HCM process --> Generates a PDF-Work Item in UWL

 

The Process A contains the forms Form_A and Form_B.  I am not able to use Backend services and field passing in HRASR_DT, due to the customer`s requirements.

 

The Workflow:

The Workflow has the following steps:

 

1. Start workflow (from triggering events)

2. Export from Workflow container --> Form container

3. Start a process and Display FORM_A

 

The challenge:

-


 

I need to trigger the workflow from Z_REPORT .

 

I have managed to start a workflow from Z_REPORT by using the FM "SAP_WAPI_START_WORKFLOW". In this case, the WF works fine with normal WF steps, however, it fails when processing STEPS that has anything to do with PROCESS A and FORMS(incl. my workflow step 2).

 

I have been using FM " SAP_WAPI_CREATE_EVENT " , but I don`t seem to manage to start the event  CL_HRASR00_WF_PROCESS_OBJECT.

 

Code:

 

   lv_objkey = ''.

  lv_objtype = 'CL_HRASR00_WF_PROCESS_OBJECT'. "  type

  lv_event   = 'TRIGGERED'. " event name

 

    CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'

    EXPORTING

      object_type             = lv_objtype

      object_key              = lv_objkey

      event                   = lv_event

      commit_work             = 'X'

    IMPORTING

      return_code             = return_code

      event_id                = event_id

    TABLES

      input_container         = lt_cont

            .

I don`t get any error messages, but I can`t see any new events started in t-code SWEL.

 

 

Question 1:

-


How do I start a HCM-process from a ABAP-program?

 

Question 2:

-


"Do I need to use the event CL_HRASR00_WF_PROCESS_OBJECT in order to start my WF and being able to generate PDF-FORM Work item in UWL?"

 

Question 3:

-


"How do I start the event CL_HRASR00_WF_PROCESS_OBJECT from the report?

 

 

Thanks in advance.

 

Best regards,

 

Tor

Simple Workflow for substitution testing

$
0
0

HI,

 

I would like to test a program for substitutions. Unfortunately I am not really familar with WF and I am searching for a really simple WF with a parameter/field for the user that shall get the workitem. I was looking through the WF templates but they all seem to be really komplex (at least for me as beginner).

 

Is there a really simple workflow that needs the target user?

 

Regards, Vanessa

How to Attach a Archive Link in User Decision

$
0
0

Hi Experts,

 

i Have a requirement that Attach a Archive Link in User Decision .

 

Thanks,

Charan Tej

Troubleshooting an agent determination rule

$
0
0

Dear all,

 

I have created a rule to determine agents in for a workitem. Tests show, however, that agents are not being determined correctly. If I simulate the rule in PFAC, setting the container values manually, everything seems to work fine, but not so in the real workflow. So I assume that the issue might be with the data flow from the workflow to the rule, but how can I check that? Can I see the container values, which have been passed to the rule? I guess, the protocol doesn't show that, am I right? Are there any possibilities to troubleshoot/debug a rule to determine the root cause?

 

Thanks in advance!

 

Alexander.

Background task in workflow not executed

$
0
0

Hi there,

 

i am implementing an ESS workflow (which i have done dozens of times) in a new system, where workflows never have been active before.

 

the problem now is that the workflows work ok BUT there is one background workflow step inside this workflow which is ignored and not being executed @runtime !!! the workflow really ignores that step and continues with the next step after this background step.

 

The basis responsible has executed SWU3 configuration. The rfc destination WORKFLOW_LOCAL_010 has been created. workflow user has been created and assigned to rfc destination. ST01 trace of this workflow user brings NO result about missing authorization.

 

What else can be the cause of an background task being ignored at runtime ? As i mentioned, this system is a "workflow virgin" and new for workflows to be processed.

 

br Martin

Notification of work items could not be sent to users as an email

$
0
0

Hi Experts,

 

We got high priority issue.

Notification of work items related to SAP HR Module could not be sent to users as an email, but they can continue to view their work items on their work list in portal.

Please help me on how to proceed

 

 

Sree


Issue in Leave Approval " Specify a class name ".

$
0
0

Hi ,

 

   When the manager is trying to approve the Leave Request in his My Work list , he cant able to approve the leave . It shows the error as 'Specify a class name'.

 

  This issue comes only for the employees raised leave request on particular day only.

 

the error arise from this function module : SAP_WAPI_WORKITEM_COMPLETE . but dont know why it happens .can you please help me to sort out this issue.

Display WI in portal not in business workplace

$
0
0

hello,

 

I have created a small WF for a couple of simple tasks. The first step creates a WI which in time is displayed in Business Workplace and in the inbox in the portal at the same time. The step is of type user decision, because I was not able to display the texts in the portal using a task with BOR Selfitem and method SendTaskDescription; this method generates a message in the workplace but nothing else and I wonder why (this is the first question).

 

Now my project leader does not want to see the WI in the workplace, he says that it is not necessary and that the portal is enough. Is there any way that I can hide the WIs from the workplace (but still visible in the portal)??

 

Thanks.

Workflow Background stuck in READY state

$
0
0

Hi All,

 

Getting issue in from last few months, As background step getting stuck in READY state. This step executes after a dialog step and whichever user id this dialog step runs with, then with same user id this background step executes which I suppose should run with WF-Batch ID and WF-batch is also unlocked.

 

Below some screen shots for reference,

BG1.GIF

 

BG2.GIF

 

BG3.GIF

 

Please suggest what could be the reason.

 

 

Regards,

Soumya

How can I get Line manager to update in a status table using rule.

$
0
0

Hi Expert ,

 

Workflow is getting triggered using custom report by HR and workitem will be triggered to employee(1st level)  for approval and 2nd level workflow is getting approved by LM using Rule 168.

Now status table will be updated (Pending with LM) in between 1st and 2nd level. i am not able to achieve due to rule. Any suggesion using rule?



Thanks in Advance

Rakesh

Which event is generated for ESS leave request ?

$
0
0

Hi all ,

 

Which event is generated for ESS leave request

which BO do i have to use for workflow WS12300111

 

I think the class CL_PT_REQ_WF_ATTRIBS has to be used

but there is no suitable event in the class.

 

Please suggest how to make workflow WS12300111 work ?

 

Thanks in advance ,

Naval Bhatt

Viewing all 1026 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>