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

Code inside WF Receiver FM not working | BAPI and Consume WS in Receiver FM

$
0
0

We have a requirement to consume an external web service after production order creation/release that is after order details are committed to the database. Recently came accross this method of triggering a custom function module after some event. So for this requirement we used the object type AFVC_PM and event RELEASED and created a new entry in SWETPY transaction with a custom FM(copy of the standard FM).

 

The requirement is similar to the below mentioned thread but we are facing issues doing the same.

co01 user exit after save and database commit.

 

After the order creation in the log SWEL it shows that the receiver function module was called correctly but the effect of the code in our custom FM does not take place.

Also it does not stop on the statement BREAK-POINT.

 

Inside the receiver FM we have called a BAPI and then triggering a web service. This FM works fine when called independently through se37.

 

Kindly suggest possible solutions.


Task is getting completed in workflow without approval

$
0
0

Dear Experts,

 

I wanted to show table in the workitem, so i designed module pool screen & am calling the screen in the dialog task. I have designed table control & Approve , Reject buttons on screen.

Table is showing the data but once the workitem is opened without Approve or Reject work item is getting completed, I want to keep the workitem in the inbox until its getting Approved or Rejected.

 

 

Please Help.

 

Thanks & Regards,

Bhushan

ESS Leave Posted after one year

$
0
0

Hi

 

 

1) We applied leave from dated 22nd Mar 2013 and it was approved by
manager on the same day. However there was an error in PTARQ. But it was posted
after 13 months 22 APR 2014.Can anyone letus know the reason behind it???


2) The other leave– 2013 – this was never posted. Applied leave on 11 JAN 2013, it was
approved, but then there was an error on the record, and it was never deducted
from his leave.

 

Please someone suggest us on this.

 

Regards,

Naveen Kumar B

Issues with rules, how to restrict to certain templates.

$
0
0

Hello experts.

 

I want to know the possibility whether we can restrict the rule to templates or tasks.

I have a rule which is added in different templates. But unfortunately i dont want to have some of the agents in some of the templates/tasks.

How do i restrict the rules to templates/tasks,

Is there any way , its rule by responsibility and in responsibility tab is see taskid as *.

What does it mean.

Please suggest , some of the users are facing lot of issues.

Thanks in advance.

 

 

Regards

Prasad.

SWFVISU - Vis Type iView

$
0
0

Hi all,

 

We have a workflow right now that is of type WD ABAP.  We have a link in an e-mail that points directly to the WD. The problem right now is with this scenario, it asks for a users R/3 username and password.  So, what we have done is changed the visualization type to iView.  The iView in the portal points to the web dynpro abap that we want to call.  The problem is that we want the link in the e-mail to point to the portal and not to R/3, so users can use their LDAP usernames and passwords to log into the application instead of R/3.

 

When the URL is generated for the task, it is calling transaction SWNWIEX through the webgui.  We don't want this, we want it to call the iView directly in the portal and we pass the WI_ID to the iView to be read.

 

How do we accomplish this?

 

Hope this makes sense.

Cheers,

Kevin

HTML Content in Email Notifications

$
0
0

Hi

 

I was wondering if HTML content is supported in BPM Email notifications. The html code in the BPM UI task email notification is coming as plain HTML in the email, can you please let me know if there is any flag that needs to be turned on to process the HTML code before the email is sent out?

 

Thanks

Sasi

Process Observer: Process Status shows as "Running" although End task was reached

$
0
0

Hi,

 

This is our first Process Observer implementation. I'm using a custom BOR object to track an end to end process.

 

My Activities begin with the receipt of new or updated data from an external system and ends with a Goods Issue / Receipt Document Create.

 

  1. Information Rec'd from external application
  2. STO / PO / SO (or any combination) created
  3. Possible Updates to STO / PO / SO
  4. Inbound or Outbound Delivery Document Created
  5. Goods Issue or Receipt Document Created

 

I've assigned #1 as the Start and #5 as the End of the process.

POB Activities.jpg

 

I've been testing and the POC_MONITOR is picking up the Starting Tasks great!

POB Monitor.jpg

 

However, I have some processes that should have been put in a Completed Status since they've hit their Ending Task. In this case, it was a Goods Issue.

 

POB log.jpg

 

But, if you notice, it's still in "Running" status.

 

How do I get this process to "Complete"?

 

Thanks,

Robert.

Program exit to change workitem text

$
0
0

Hi All,

 

I have a requirement to change work item text at runtime, i am using program exit to change the task contrainer variable which is being used to display work item text. i have written a code in program exit to update container element, but it's not reflected to change workitem text, when i check in ln workflow log the variable shows with updated value.

 

Please help to solve issue.

 

Many thanks,


Send mail step in workflow using typeid 'U' is not working

$
0
0

Hi Experts,

 

Send mail step in workflow is not working when passing type id 'U', i.e internet mail. It is not sent to SOST & even not in Inbox.

In workflow log system returns message Method SELFITEM->SENDTASKDESCRIPTION executed successfully.

This functionality was working fine. Recently our system is upgraded to EHP7. After upgrade this is not working.

It seems like some setting is changes in system. All configuration, SICF setting & SO16 settings are done.

 

Send mail steps is working with type id 'G' ( organization unit ) passing userid. Also using FM  SO_DOCUMENT_SEND_API it is working.

 

What all things does the workflow check before sending email using receiver type 'U' in workflow?


Thanks & Regards,

Manjiri Kamthe

Maintenance Order BUS2007 Event: Created and...

$
0
0

Hello experts, I have created a Workflow with the following steps:

 

For a Maintenance Order

 

- Trigger when BUS2007 Event:Created is reached

- User Decision: Approval/Rejected   Maintenance Order

 

Now, I need  if I choose Approval, the Maintenance Order is released automatically.

 

What do you do this?

 

Thank in advance for your help.

how to find out particular work item is trigger by particular transaction

$
0
0

Hi,

 

can any one tell how to find out particular work item is trigger by particular transaction. in swfrevtlog we ill get custom obj type and also super business obj type,but i need to identify this work item id is triggered by this transaction. can any one help,

Thanks in advance

Workflow and Portal Short URLs

$
0
0

Hi all,

 

I have created a custom link for a workflow that uses a portal short URL.  if I run the URL by itself, then it works fine.  When I add it to the URL link in the workflow, it doesn't show up in the workflow e-mail.  Something is confusing the program and changing code so the URL doesn't get added properly.  I know that it works if I use say a direct link to an iView (using the URL if you were to click the Preview button when viewing the iView in the Portal Content Directory).

 

Anyone have any suggestions on how to get this to work?  I like the anonymity of the short URLs.

 

Hope this makes sense,

Kevin

Background work item error ( work item xxxxx locked by user xxxxx ) enqueue error

$
0
0

Hi,

 

I have come across with an error in one of the workflow background step.Please refer below and guide me to proceed further.

 

I have a user decision step in a workflow and in approve branch of the step has a background task which copy the attachments of parked document.Here issue is when the user approves at user decision step ,and processing moves further to approve branch of the step which has a background step which is supposed to be executed by workflow system ( WF-BATCH )  goes to error due to the  work item locked by Dialog user who approved the user decision.  However,this error-ed work item is cleared when the  background job SWWERRE is executed but this delays the posting process for sometime.

 

Why the background work item is locked  with dialog user who completed the preceding step of a workflow ? Is there any way to avoid this situation to accelerate the document processing ?

 

Thanks in advance.

Travel Req approved mails are not triggering to SOST

$
0
0

Hi Friends,

 

In travel request workflow and travel expenses workflow, when manager approved the requests, employee should receive notification mails like "Your Travel Request XXXX approved".

We are using SOST to check notifications because Outlook configuration not yet done.

I am using RSWUWFML2 to trigger the mails, it is working fine to send mails to managers but not working for employees.

I executed RSWUWFML2 with the specific task TS20000095, but no use. Could you please help me on this.

 

Thank You.

 

Regards,

Pavan.

The method "SELFITEM->SendTaskDescription" not sending mail if ‘Long Mail Title’ Indicator is set in SWPA

$
0
0

Hi Experts,

 

The method "SELFITEM->SendTaskDescription" not sending mail ifLong Mail Title’ Indicator is set in SWPA.


This issue is faced in EHP7 environment earlier it was working fine.


My analysis is FM SWW_SRV_MAIL_SEND is called to send mail. Inside this FM, system reads the SWPA setting & based on long title value it is sending mail.If value of l_long_title is blank then all things are working fine.


Following is code of method SEND ((CL_SWF_UTL_MAIL_FACADE)

 

*- check if document has recipients at all

       lt_recipients = lo_send_request->recipients( ).

       if lt_recipients is initial.

         lo_send_request->delete( ).

 

         ls_t100msg-msgid = 'WZ'.

         ls_t100msg-msgty = 'E'.

         ls_t100msg-msgno = 619.

         raise exception type cx_swf_run_wim

           exporting

             t100_msg = ls_t100msg.

       else.

*-       Send document

         call method lo_send_request->send( ).

       endif.


The issue is lt_recipients table is blank in SEND method, this table is filled in method IF_OS_STATE-INIT.

The recipient table is not filled because the current GUID is not available in table BCST_RE.

I have refreshed buffer in So16, SWU_OBUF.

Is there any other buffer needs to be clear?

I checked following notes for long mail title

2045292  E-mail send step does not send any HTML e-mails  -   Status : Not relevant for our issue

1609811  Mail send step: mail title increased to 255 bytes - Status : cannot be implemented

1685032 Configuration: Background work items with jobs  - Status :  cannot be implemented

1658491 Enhancement SWPA: Long mail title  -  Status : cannot be implemented


Is there any other buffer needs to be clear?

Please suggest if any note is required to implement or any setting needs to be done in system.


Thanks & Regards,

Manjiri Kamthe


Call Referenced sub-process by propagated user

$
0
0

Hello, gurus!

 

Today a caught new problem.

I try to call referenced sub-process from another BPM-process. I have enabled principal propagation in both processes. After that I call head process by predefined user (in example "TestUser"), but unfortunately internal referenced sub-process was called by "SAP_BPM_Service" user.

 

Does anyone knows if I have any way to call referenced sub-process by predefined "TestUser" too?

 

Thanks for your answers.

Regards, Sergey.

How to use HTTP destination in BPM to connect to Remore server UI5

Fetching process details using process instance id

$
0
0

Hi,

 

I have process instance ids captured in a CE table and I am looking to include a feature in existing UI5 application to use the process instance id and fetch it' s corresponding process details like history, context data etc., back to UI.

 

Any helpfull doc/ ideas on how to implement this will be appreciated.

 

Thanks,

Vipin.

Road map of SAP Composite Environment

$
0
0

Hi,

      I am unable to find SAP CE road map in SAP Service market place. Is this product available as part of SAP PO (PI +BPM+BRM) offering down the line. Thnank you in adavance.

 

 

Thank you,

Mallikarjuna Rao Malisetti

BUS2105 - additional container other than ReleaseCode?

$
0
0

Hi all

I'm pretty new to workflow so please be kind.  I've searched the forums but not able to get a clear answer.

We are looking at standard workflow BUS2105.  The only container/parameter is ReleaseCode.

 

Question:  Is there a way I can add more container/parameter to BUS2105 without creating a custom BOR/event?

 

Thank you.

Viewing all 3160 articles
Browse latest View live


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