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

Workflow Emails

$
0
0

Hi All

 

While running Workflow & releasing emails through RSWUWFML2 we are getting following error-

 

 

I have tried two different workflows & in both workflows the emails failed. It seems we are missing something on workflow side.

 

Even the emails are not showing in SOST.

 

a) SMTP node is in use.

 

b) The emails are releasing externally.

 

Pls advice how to resolve this issue with Tcode/path.

 

Regards

 

Pankaj


How to chnage work flow initiator

$
0
0

Dear All,

 

   I have an workflow which triggers on creation/ change of contract agreement tcode - ME31K or ME32K. Work flow is working fine. I am using class local class methods to get approvers etc.

 

I have created custom container I_LV_INITIATOR inside work flow.

 

Whenever user is changing the contract through ME32K , value of container I_LV_INITIATOR is filled with

user id of person who has created the contract .

 

But the requirement is if purchase document category (EKKO-BSTYP) = 'K' then I want this container I_LV_INITIATOR

to be filled with user id of person who has changed the contract not with the one who has created the contract. and If I manually test the work flow from SWUS , value of container I_LV_INITIATOR is filled with user id of person who is manually processing the work flow.

 

Kindly help or give any suggestion f we could achieve this in enhancement or exits.

 

Thanks,

Arpita

Securing offline workflow approvals

$
0
0

We are trying to implement offline workflow approvals by activating inbound emails to SAP. Since any email can be 'made to look' as if it came from another person these days, what are the measures that can be implemented to make sure that the email is legit?

 

Currently, the plan is to embed a key in the email while it is sent out, and to check if the key is present in the reply email.

 

I read through this document ( Sender authentication part 2: Reading email headers - Terry Zink: Security Talk - Site Home - MSDN Blogs), but the message header that I am getting in SOIN, isn't matching with the one in the document.

 

Example:

Offline/External Mail Approval Process without using SAP Part-3

 

Thanks,

Juwin

Activate screen fields from workflow

$
0
0

Hi Experts,

 

We are implementing a workflow for transaction MB21.  The delete item button has been deactivated from the screen.  The requirement is to re-activate the button upon validation of the reservation.

 

Is it possible to implement this?  If so, please help.

 

Thanks,

Vitish.

Predecessor Workitem

$
0
0

Hi

 

I have a question regarding the workflow container element Predecessor Workitem.

 

I want to use it in the following scenario. I have a user decision and in one branch from that decision a sub workflow is called.

In the sub workflow i need to get the work-item ID from the User decision step.

 

I tried to do binding from UD task container to WF container and from WF container to SubWF container but it comes up empty. This, i read, is because these are elements from the container that are done by the system.

 

I've also read quite some notes on the subject. But none are very clear on how it should work.

 

So my question is:  how should i then get a value in the _Predecessor_WI field in the Workflow container?

 

Regards

Robert

Deadline monitoring

$
0
0

Hi Experts,

 

I have a requirement with 6 weeks deadline ,  triggered work-item will be with LM (for 6 weeks), and one reminder notification will be triggered to LM each week till 5th. Last week reminder will be daily and after 6 weeks workflow will be obsolete.

 

 

I am thinking to  develop the notification part  it using LOCAL WORKFLOW instead of FORK. please suggest.

 

 

Regards

 

Rakesh

"SEND EMAIL" task error

$
0
0

Hi all,

 

I got an issue in "SEND EMAIL" task in workflow. The task is using standard BOR "SELFITEM", method "SENDTASKDESCRIPTION" to send the email.

 

First of all, the "SEND EMAIL" task work fine in Development system. After move the workflow into Quality system, the "SEND EMAIL" never work.

I had checked and done following:

- Email can be send via SBWP, and received in my outlook.

- Manually run the BOR "SELFITEM", method "SENDTASKDESCRIPTION" in SWO1, and email send successfully.

- Checked ST22 and there is no short dump.

- Check SU53 for user WF-BATCH, and didn't see any auth issue.

- Retransport the workflow definition from Development system into Quality system (3 times), but still not working.

- The email address is provided directly to the ADDRESSSTRING from workflow container, no user id is needed in this task. I check the workflow log, the ADDRESSTRING holding correct email address.

 

The SAP system is ECC 6.0.

 

The error that I got from the workflow log is "Exception 1001, Message area SO, Number 23 : Document <XXX> could not be sent". I had no clue at the moment how this can be happen.

 

Do anyone here got experience in this issue before?

Besides that, do anyone know how to debug the "SENDTASKDESCRIPTION" when the workflow trigger it? This is a background task, and the method is a standard SAP program, I can't write a long run loop in the code to hold it for debug.

 

Regards,

Edison Wang

Work item stucks in SAP outbox

$
0
0

Hi All,

 

I am generating work item from OAWD transaction. It's not appearing in SAP inbox rather it stays in outbox. When I explicity reserve the work item then it's coming inbox but when I replace it disappears again.

 

In SYS1 system I am getting workitem directly in SAP inbox whereas in SYS2 system I am facing above issue. I have verified personnel settings, even linkage, cleared buffer but still issue exist.

 

Software Component  SYS1 - Release level SYS2 - Release level

SAP_BASIS                 701                            700

SAP_APPL                   604                            600

 

Can anyone please share your ideas to resolve this issue?

 

Thank in advance,

 

-Raghavendra


BOR object as subtype with my Method

$
0
0

Hi,

 

I create my BOR ZZZ_TEST as subtype of BUS2000116.

In this BO I add my method Z_METHOD_TEST which call one FM.

 

I create my Task in which I put Object ZZZ_TEST and my newly created method Z_METHOD_TEST.

As triggering event I put BO BUS2000116 with event CREATED. I make bindings between event and task and activate event.

 

When I create event CREATED workflow start but it stops on method Z_METHOD_TEST with error

'Method 'Z_METHOD_TEST ' is not defined for object type 'BUS2000116'.

 

Why this dosen't work???????

 

Help me PLEASE if somebody knows.

 

Thanks,

Drazen

User Decision Note via UWL vs SBWP

$
0
0

G'day all,

 

If you use the 'Mandatory Justification' option on a User Decision, that comment is loaded into a specific container element called 'Decision_Note'.

 

If you use the XML configuration option of "<Property name="UserDecisionNote" value="mandatory"/>" then that comment is just loaded into _Attach_Objects

 

Is there any way to control where the comment ends up via UWL? My problem is that within the process I've already potentially got things in _Attach_Objects but these are purely internal documents, and I need the Rejection comment attached to an email sent out to a Vendor.

 

If it has to end up in _Attach_Objects is there a clever way to pull out the latest entry?

 

Many thanks,
Mark

Can not deactivate a trigger event

$
0
0

Hi
In our workflow we have a in start-event the trigger BUS2005 (GOODSISSUED) (transaction SWDD)

Now we want to deactivate the triggerevent, by clicking the green button:

2015-10-21 10_38_03-D3A(1)_300 Workflow Builder - Display 'zppordermail'.png

 

Nothing happens when we click the button, so we can not deactivte the trigger.

 

Anyone who can help.

 

Thanks

Lars

deactivate Schedule Background Job for Missed Deadlines

$
0
0

Hi,

 

I have accidentally activated the Schedule Background Job for Missed Deadlines in my system as attached.

 

Please advise how to deactivate it.

 

In advance, Tq for the assistance.

Delete work-item from SBWP inbox-workflow

$
0
0

Hi Al,

 

I need to remove/delete a work-item from user's inbox.  Please let me know how to do it.

 

Thanks

Alex

Images missing in VIM

$
0
0

HI  Experts .

 

 

 

We have strange issue in Open Text VIM . We posted Docuemnt thorugh workflow and in some case we can view Images after posting accounting docuemnt but in some cases not .

 

I did some resarch on this and found that Generally Sap create 3 entries in TOA01 for any DP with 3 Business Object type .

as attached ,

 

But When i looked soe other DP where Image for missing in VIM i found 2 entries in Table TOA01 . Object typoe BUS2081 entries was missing . What could be reason and what is soluton .

 

many Thanks

Workflow not triggering from SWE_EVENT_CREATE

$
0
0

Hi,

 

I have created a sample workflow and mentioned start event in basic data  from a custom BO and activated it.

 

My custom BO has key field workitem id, for which i am passing GUID(some key)

 

Now when i try to trigger workflow through SWE_EVEN_CREATE from custom FM, workflow is not triggering.

 

can u please tell me where to check for the logs and what could be the reason.

 

 

Thanks,

Krish


PO release workflow when PO chnaged

$
0
0

Hi,

 

my requirement is on po release when po created.

1. i copied standard workflow WS20000075 and triggered workflow for event CHANGED with BUS2012.

2.release stratagy is also maintain  for po release.

3. i have 5 level of approvals (USER1, USER2,USER3..etc)

       so do i need to do agent assignment in task TS20000166 (SINGLERELEASE) or i will outomatically get approval details from release stratagy.

 

4. after approval of USER1 will it automatically trigger workflow for next level of approval USER2 based on release stratagy or do  we need to

    loop it for next level of approval.

 

5.from some forums i came to know that there are some settings required  to trigger workflow for po release in SPRO . so these settings are    onfiguered by functional people or technical consultant.

 

 

 

please guide me if i am going wrong.

 

please answer these questions.

 

 

Thanks,

Securing offline workflow approvals

$
0
0

We are trying to implement offline workflow approvals by activating inbound emails to SAP. Since any email can be 'made to look' as if it came from another person these days, what are the measures that can be implemented to make sure that the email is legit?

 

Currently, the plan is to embed a key in the email while it is sent out, and to check if the key is present in the reply email.

 

I read through this document ( Sender authentication part 2: Reading email headers - Terry Zink: Security Talk - Site Home - MSDN Blogs), but the message header that I am getting in SOIN, isn't matching with the one in the document.

 

Example:

Offline/External Mail Approval Process without using SAP Part-3

 

Thanks,

Juwin

Stock reservation workflow - Update field RESB-XWAOK when validated

$
0
0

Hi Experts,

 

We have implemented a workflow for the validation of stock reservations.  Once the stock reservation is validated, we would like to set the field RESB-XWAOK to 'X'. 

 

Is it possible to that in the workflow?  Could you please provide the step by step instructions?

 

Thanks,

Vitish.

Purchase Req Workflow not listed in GOS in ME51n

$
0
0

Hello Experts,

 

Current situation is- there is an existing workflow working fine for Purchase Requisition using BO BUS2009. The workflow is triggering and emails are working fine and those activities are listed in SWIA as well..

 

My requirement / issue is - even though the workflow is working fine, it is not getting listed in GOS Services Object in ME52n or ME53n under Workflow->Workflow overview. Can you please let me know is there any specific setting we need to do.

 

I tried using the BUS 2009 and standard workflow object WS00000038 and triggering them in SWUS tcode.  A Task and work item id is getting created properly, but nothing is listed in ME53n GOS Workflow overview - Why?

 

I tried doing the same steps in SWUS for Standard PO BUS2012 and WS20000075 and its getting listed fine...so I am not sure where is the setting that will make it list in GOS Services - Please let me know or does it get listed in first place?

 

Awatiing your expert response. thx

Forwarded Workitem in SBWP INBOX not appearing at the TOP

$
0
0

Hello All ,

 

When a work item is forwarded (to user B from user A ), it reaches the inbox (Of user B) , but the created on date of the workitem is the date when it was created not the one when it was forwarded.

 

So , if the inbox already has a lot of work item , this forwarded item come way below ( lets say the workitem was created 3 weeks back and was forwarded today )  according to creation date sorting .

Is it the standard behavior ?

 

Is there any other column by which i can sort SBWP to get the forwarded line item at the top as well.

Can the creation date be changed while forwarding is being done from a program using the below method-class (ASND is for forward)

 

cl_swf_rdg_dispatcher=>execute_dialog_request_multi(

                             im_por      i_lpor   "Instance Details

                             im_function 'ASND' )."Forward the request

Viewing all 1026 articles
Browse latest View live


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