Quantcast
Channel: SCN : Unanswered Discussions - SAP Business Process Management
Viewing all 3160 articles
Browse latest View live

How to Trigger Workflow from Custom FM using SWETYVE transaction

$
0
0


HI All,

 

I just want to trigger my custom workflow for Report Incident in EHSM Module, For this i have deactivated the standard workflow 'WS00500001' lingkage from SWETYPV transaction . In the same transaction i have created a new entries with

 

Object category: ABAP Class

Object type: CL_EHHSS_PCO_INC_LC

Event: CREATED

Receiver type:  Here i need to use custom Function Module to trigger my custom workflow instead of mentioning the custom workflow template ID

 

how can i achieve this ?

 

And also how can i retrive the class data in my custom function module , currently my linkage setting for new entries as:

 

Receiver call : Function module

Receiver function module:  SWW_WI_CREATE_VIA_EVENT_IBF

Check Function Module: When i use my custom Function module here it's saying error like

 

"Check function module Z_EH_M_CON_WORKFLOW: Parameter EVENT_CONTAINER has an invalid reference SWF_XMLCNT"

 

I need to do some check in my custom function module so i need to use my FM in option 'Check Function Module '.

 

Regards

Vincent


Workflow Process status

$
0
0

Hi Experts,

 

I have an issue related to Work item status.

I have checked lot of links, as per those links i am not able to get any solution, Please refer my details below and request you to share your ideas.

 

I have created a workflow for PR creation and release. I have a work item through that user can release the PR. After releasing the PR release workflow get triggered and completed successfully. But my creation workflow release step showing the status  as "processing".

 

But the same workflow working properly in development server, I am facing this issue only in Quality. My configurations are same in DEV and QAS.

 

I am not getting any entry in ST22 & SWPC, WF-BATCH has SAP_ALL and SAP_NEW authorizations.

 

I have executed the PR workflow from a BADI "ME_REQ_POSTED" implementation, due to some MM config..

 

Please suggest your ideas.

 

 

 

Thanks,

Venkadesh

Open BPM diagram from NWDI track

$
0
0

Hi,

 

I succesfully connected to an NWDI track, and I can see all development objects there. I want to open an existing BPM diagram and edit this. I can create new DCs on the track, and edit them later on. However, BPM diagrams created by other people can't be accessed.

How can I open BPM diagrams that are already on the NWDI track?

 

Thanks!

Multiple attachment in business workflow

$
0
0

Hi Guys,

 

Requirement:

 

I have one requirement where i need to add multiple attachments like one will navigate to FB01 and other one will navigate to FBU3.I need to send this decision box so that user can view this and approve this doc.

 

Hence I have created BO which is delegate of BKPF and there in header in default tab display method was there .so first navigation FB01 generated automatically , like wise i  created navigation for FBU3 by creating one custom BO delegate to BKPF  and set customize method in deafult tab in header and instantiate in workflow But it's not working .

 

Can you please help me on such issues who has worked or any help.

 

Thanks

Mrinal

Workflow delay in process

$
0
0

Hi,

 

I triggering a workflow, in that it executes the exception from where it takes around an hour to go to next step.

I do not where it stuck , Please help me into it.

 

WF_Stuck.jpg

 

What is Executing batch work item in step history.

 

Please help.

 

 

Regards,

Mandar Gavkar

Table updation by some other user name

$
0
0

Hi,

 

In Invoice workflow, when changing from one status to another status, updating custom table with OCR details.

 

User A has changed the status and same is reflecting in workflow log but in custom table user B name got updated.

User B is not in office at all, and no where related to this workflow execution.

 

I need to know how user B name is updated in custom table. I have checked the workflow log user B name not showing anywhere, and other programs also not got executed to update the custom table. I have also checked the substitutions for the users in HRUS_D2 table. But substitution not maintained.

 

Please help me in this.

 

Thanks & Regards,

Priya

CATS workitem not completing

$
0
0

Hi Experts,

 

We are using CATS timesheet workflows. Managers will approve/reject the timesheets from portal. Some times the timesheet workitem is not getting completed after approval/rejection. Based on my understanding of CATS process, workitem will be available in the CATSDB table if the timesheet is not yet approved/rejected. Here, the workitem is not there and in the CATSDB table  & the status of workitem in SWI1 is still READY.

Why workflow is working like this? We are using the standard task TS31000007

 

Please find the image and give me your suggestions

timesheet.PNG

 

Regards,

Pavan.

Custom table creation in BRF....

$
0
0

Hello Experts,

 

       Is it possible to create custom table in BRF apart from decision tables (All 3 decision tables)? The main intention to create that table to keep some fields but instead of creating ztable in ECC, I want to create it in BRF. So, is it possible?


Process workitems from mail - SSO Issue

$
0
0

Hi experts,

we are sending email notification about workitems to process using report RSWUWFML.In the shortcut there is a SSO-link with System-Id. This is for to ease the use by people normally not logged on the system. But if the user is already logged in a new session (multiple logon !) is opened internally. If we use a "normal" link with no SSO-System there is no problem: If you user is already logged in it opens up a new session otherwise system asks for logon credentials. The question is now: How can we use the advantages of SSO and avoid the multiple logons by using it.

 

Kind regards,

Hans

Binding from workflow to work item aborted , when approver got changed

$
0
0

Hi Experts,


I have a workflow which is running since years  and there were no issues with it.

During the approval process at Director level it is throwing an error for a particular user( not for other Director role users).

Recently I could see an error for 2 documents and it's description has been pasted below.


 

Confirmation of work item 000011957046 flagged for later execution


 

<span data-mce-style="color: #000000;" style="color: rgb(0, 0, 0);">Error when determining attribute 'NAME' of object instance '[BO.USR01.BOERHQA]'</span>


 

<span data-mce-style="color: #000000;" style="color: rgb(0, 0, 0);">Error in the evaluation of expression '&amp;LastWorkitem.ExecutedByUser&lt;???&gt;.Name&amp;' for item '28'</span>

 

<span data-mce-style="color: #000000;" style="color: rgb(0, 0, 0);">Source (expression '&amp;LastWorkitem.ExecutedByUser.Name&amp;') of binding assignment is not available</span>

 

<span data-mce-style="color: #000000;" style="color: rgb(0, 0, 0);">Step 210 of WS90000041: Binding from workflow to work item aborted</span>

 

Workflow 'Subworkflow for N-Level Approval' step number 11957048: work item could not be created.

 

<br>

 

<br>

Kindly help me out with your valuable answers to address this error.


Thank you,


Regards,

Giri

 

Restrict Workitem Execution through SBWP as its configured in SWFVISU

$
0
0

Hi ,

 

 

 

The requirement has been modified , now i want that task configured in SWFVISU. A workitem will be seen in SAP ID inbox (SBWP) and Portal.

1. If the user clicks on the workitem in portal then its directed to webdynpro application. - Expected and its working

2. If user clicks on the workitem in SBWP then its required - that we give either an error or information message stating that it should be executed in UWL and the work item should not be completed from SBWP. It should only be allowed to complete via Portal.

 

I was suggested a solution to above question in my earlier post :

Provide the url in mail step of workflow to lau... | SCN

 

In above link was suggested to take reference of

You could take a look to leave request workflow template WS12300111 and its step "Approval process". This one uses the method I was talking about. If you don't select the "background processing" option for the task, then the task will "stop" in the users inbox. If you add the error message thing to the method, then it cannot be executed/completed from business workplace by just clicking the work item.

The task method was CL_PT_REQ_WF_ATTRIBS->DUMMY.

After having a look at the above mentioned workflow in my current system it was observed it had an raise exception statement which was not handled also agent assignment was not activated.


In currently developed custom workflow if we dont handle exception then worklfow goes to error. If we handle that exception by activation the exception outcome in the task then the workitem gets executed after showing the information message in SBWP.

 

So the approach provided doesnt seem to work , would be grateful if someone could guide on the same.

"Work item to requester at process end" Automatic when aproved

$
0
0

Hi People,

 

When users select "Work ítem to requester at process end , there is any way to avoid (or make automatic) the final aproval ?

(Use Acept decisión from customizing is not an opción because only want use it maually with the flag)...

 

Any ideas?

 

Thanks in advance!

Workflow Container Element Not Updated

$
0
0

Hi,

 

I have a really simple task here to update a container element LAST_APPROVER within function module for Agent Determination. The problem is the container element will never be updated.

 

By looking at my workflow coding/setting below, could someone please share what I did wrong? Thanks.

 

Rule Binding:

3.PNG

 

Rule Container:

2.PNG

 

Function Module:

 

The return code from SWC_SET_ELEMENT statement is 0.

1.PNG

5.PNG

 

SWIA:

 

Container element LAST_APPROVER is not updated.

4.PNG

WorkFlow for Starter

$
0
0

Hello Experts,

 

 

I am completely new in SAP Workflow, my requirement is if i update any value in editable Custom report it should trigger and send a mail to USER B for Approval . If user B Approved means it should save the value in Ztable and the data should be locked, if USER A Again want to change the existing value means again it should trigger and send a mail to USER B for approval if B approved means it should allow to change the values, i created a Editable Report but i dont know the process of workflow and calling the Workflow from report, so Please help me to finish this things Experts please......

Value Help with the BPM API for Z tables

$
0
0

Hello,

 

I am trying this functionality. I have tested with standard BOR objects (so standard search helps). I have defined an ABAP Alias in NWA and the OData Service of the BPM retrieves the values of the search help.

 

My question is, which is the best way to use search helps of Z tables. Should I create a Z BOR Object in order to create the ABAP Alias in the NWA or there is another way?

 

thanks,


Document Attachment and Upload using BPM

$
0
0

Hi BPM Experts,

 

Just want to ask if this is possible and if so, how can this be applied (High Level would suffice).

 

Current Scenario:

  • File is attached and upload to a separate server (file server) via SAP BPM (please correct me if I am stating it correctly).

 

Future Scenario:

  • Instead of uploading the attached document to another (separate) server, it would now be attached to current server of BPM (new content repository is created - in database maybe).

 

The current settings was applied as part of the default installation delivered by SAP.

 

Cheers,

 

R-jay

How get custom action paramter from BPMinbox

$
0
0

Hello   Everyone

     I  am  used   two custom  action in  task .  In  BPMinbox  When I click on the custom action button, enter an examination and approval.

now  I need to get this parameter,but I don't know how to get this parameter 。BPMAPI is no message about this parameter.

who   can  tell  me   about this  paramter  any  Information。

20150628102440.png

Break Point is not triggering in the Class Method

$
0
0

Hi,

 

I need to Debug the method in the Abap class in the Task. And i have tried all the possible thing.

 

1) First i changed the method in Background to Foreground.

 

2) In the Class Method i wrote DO and ENDO statement and put a External Breakpoint.

 

3) Then i checked in the SM50 i can't able to see my Class method from where i can able to set the Debug.

 

What will be the reason ?????????

 

Kidnly suggest.

 

 

Regards,

Sadiq K

Custom UI for BPM Human Tasks

$
0
0

Hi Gurus,

 

 

Could some one please help.

 

I am trying to use the UI5 application hosted on our SAP Gateway system for BPM Human Tasks.

 

I followed the SAP Link, which talks about "Custom UI in BPM & Creating HTTP Destinations".

 

Assigning a Custom User Interface to a Task - Modeling Processes with Process Composer - SAP Library

 

I have created the HTTP Destination (Q12_HTTP_Destination is the name)for the SAP Gateway system, however, when I try to ping the destination, I am getting a 404 error.

 

Parameters I used while creating the HTTP Destination are:

 

 

URL : http://<FQDN_GatewaySystemName>:<Port>

 

System Id, Client, Language and Authentication as "USer Id and Password". Except the URL Part, I am sure that all other information given in the destination is correct.

 

Then, following the SAP Help, I have created a sample BPM Process, then a human activity and in the UI Properties of the Task, I have given the relative URL as "{Q12_HTTP_Destination}/sap/bc/ui5_ui5/sap/z_sri_lvl3_ui/index.html"shown below.

 

CustomUI_Assignment.JPG

 

When I try to run the UI directly from the browser (Logon to SAP Gateway, --> SICF --> Navigate to UI application and right click --> Test Service).

 

However, when I open my task, BPM Task is telling me that "Unable to load the UI". I am suspecting that the URL property I used while creating the HTTP Destination is wrong. Any help will be highly appreciated.

 

Regards,

 

Srinivas

navigating to CRm object id using a link "execute workitem" in an external email using extended notification

$
0
0

Dear workflow people,

I need your help to do configuration so that i could navigate to the exact object id in crm web UI i.e sales order, promotions etc   whenever i click a link named "execute workitem"  inserted in the mail as a link using extended notification..

 

I have done extended notification configuration and need to know exactly what i need to do to make the user navigate directly to the object id in my case promotion and sales order  when he clicks on the "EXECUTE WORKITEM" link

 

Right now i am getting this link "EXECUTE WORKITEM"  but this navigates me to the web ui inbox not to the exact promotion id or sales order.

 

 

Regards,

Karan

Viewing all 3160 articles
Browse latest View live


Latest Images