Quantcast
Channel: SCN : All Content - SAP Business Workflow
Viewing all 995 articles
Browse latest View live

Escalated workflow task showing WF-BATCH as Agent

$
0
0

Hello All,

 

I have requirement in report that i need to show last approved agent which approved by agent. Agent determination is based on Agent table.

in case of deadline escalation when latest end step executes system shows agent as "WF-BATCH" where last approved agent is expected according to level.

 

i am taking WI_AAGENT field form SWWWIHEAD table to show last approved agent.

 

i tried below update query in workflow but not sure it is correct or not.

 

UPDATE swwwihead

        SET WI_AAGENT = lw_agent-agent

        WHERE WI_ID EQ workitem_id

        AND WI_RH_TASK EQ task_id

        AND no_deadl EQ 'X'.


could you please advice on this.


Workflow is not triggered during PO Change

$
0
0

Hi Experts,

 

I have a query regarding the PO Release Strategy Workflow.

 

I have copied Standard PO Release Strategy Workflow and add email steps in the custom Workflow.

 

Activate linkage in Transaction Code SWETYPV, with the 'RELEASESTEPCREATED' event.

 

Workflow is working fine for PO Creation.

 

But For PO change in ME22N, workflow is not getting triggered.

 

Kindly help me, to resolve the issue that Workflow will be triggered during PO Change in ME22N as well.

 

Please be noted that I have checked so many threads regarding this issue, and tried some ways to find out but no conclusion.

Business object instance is not getting created

$
0
0

Hello Experts,

 

I have created new business object type and used started event to trigger workflow. I have marked Business object key as mandatory parameter.

 

So now problem is,  when i am executing workflow using SWUS and SWUE , Business object instance is not getting created.

 

However I have run alone business object and manually created instance. It is working fine.

 

I have checked the binding of workflow in basic data. It is also same. This workflow is being copied from another system where it is running.

 

Please guide what could be reason

 

Thanks

Shiv

PR Approval Workflow

$
0
0

Dear Experts,

 

We have to design a PR approval workflow for our client. I would like to share our WF structure & get your suggestions.

All our PR's will be cost centre based (K) and we will be creating a Z table wherein we will have:

 

1) Cost centre 2) Cost centre owner 3) Position ID (OM)   4) Email 5) Approval limit

 

WF will retrieve the relevant cost centre owner position ID from OM & based on the PR value will search the approval hierarchy in OM till the approval limit is reached.

 

Q1: How should the WF react in case the position ID is in Inactive/Withdrawn status in OM while creating a PR? In this case the WF will fail. We suggested that in this case the PR should automatically go higher in the hierarchy. This will be a temporary workaround but how will the HR come to know that there is an action to be taken by them for the WF to work. Any ideas how to automate this?

 

Q2: In case the position ID of the cost centre owner is not available in OM then what should the WF do?

 

Your valuable suggestions are highly appreciated. Thanks.

Possibilities for activating substitution in customized workflow in SAP

$
0
0

Hi,

 

We have customized PO release workflow and agent determination is done through standard FM ME_REL_GET_RESPONSIBLE..

 

Currently we are running the standard report RMPS_SET_SUBSTITUTE to activate substitution for a particular person who is going on for leave during a particular period.An entry is getting created in table HRUS_D2 and showing the substitution is active as well for the period given.

 

The issue is the substituted person is not receiving the work item even after the substitution is active.I have referred below link for knowing about the configuration required in workflow to enable this substitution.

 

Configuring and setting up substitutions in SAP Workflow - ERP Human Capital Management - SCN Wiki

 

I have also tried classifying the approval task as general forwarding allowed based on the above link. Upon classifying the task as general forwarding allowed I am not able to see the work item in anyone inbox.It is also also showing the message "This work item does not have any current agents".

 

Please suggest me how to enable the substitution and correct me if I am wrong in doing any configuration.

 

Thanks and Regards,

Siji George.

Purchase Order Workflow Problem

$
0
0

Hi experts,

 

I have create workflow for PO which has to be fired when PO is released.

 

User-mm creates the PO and releases it. But the mail fires for User-mm(Outbox) and all users i.e Level1(Inbox) Level2(Inbox) Level3(Inbox) Level4(Inbox) which is wrong.

 

Actually as per hierarchy when User-mm releases the PO mail should be fired to User-mm(outbox) and Level1(Inbox),

then when Level1 releases the PO mail should be fired to Level1(Outbox) and Level2(Inbox),

then when Level2 releases the PO mail to Level2(Outbox) and Level3(Inbox) and so on for next Levels....

 

Please suggest me where i am wrong...

 

Regards

Archana

Required Tables which needs to be maintained for Release Configuring(Purchase order)

$
0
0

Hi Expert,

 

By Referring my previous discussion regarding the configuring PO to show in Fiori apps and thread is as below.

 

Re: Configuration steps for Approve Purchase order with standard workflow to bring the data on Fiori apps

 

 

I was configuring in release procedure for purchase order (SPRO) by taking help of (Setting up Purchase Order Release Strategy), but i am missing maintenance auth for table T16F*. as i came across for few table like T16FW, T16FC, T16FH.

 

Now i am stuck with authorization for maintenance table, Do I need maintenance authorization for all T16F* table for this. can any one please confirm this.


If it is not, then please suggest me which are tables for this.

 

Thanks in Advance !!

 

Thanks & Regards,

Brajesh Kumar

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


Reversal workflow triggered with WF-BATCH

$
0
0

Hi,

 

Automatic Reversal has happened for FI Document.

 

With “WF-Batch”  Document have been reversed using transaction FB08, Not able to find out how reversal workflow started.

 

Doc1.png

Reversal done by WF-BATCH but there is no background job executed to trigger the event REVERSED.


EventLinkage.png


SWWLOGHIST.png

Also I have checked for custom program to trigger workflow but I didn't get anything.


workflow.pngl

Clearing of items happened for the  vendor 7411100048, Then accounting document 4001000293 got reversed.

Clearing of Vendor also in same date.

 

FI Doc.png

 

Please help me to understand how Reversal happened in FB08 by WF-BATCH.

Usually Reversal Agent will be the user name who started the reversal process. But for this case, workflow Initiator is WF-BATCH.

 

Thanks & Regards,

Priya

How to put req object type into a internal table

$
0
0

Hi,

 

       I have copied and modified leave request workflow (WS12300111

 

       Now i am trying to get values from req object into an internel table .

 

      I have tried swc_get_element container macro and used object but i can't catch the values into an internal table  .

 

     I used a BOR object type for this .

 

 

Thanks in advance everyone

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

Viewing all 995 articles
Browse latest View live


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