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

error while creating user decision step

$
0
0

Hi Friends,

First of all, a  very very happy belated Merry Christmas and New Year. I am very new to ABAP Workflow. I am currently stuck on a new issue while designing FI parking workflow.While creating user decision step, i am getting an error Task Definition not found. I checked the forums and then found that task 8267 is present in my system.I am currently following the tutorial step by step but still the issue is cominghttp://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70c047fa-e64a-2e10-fda1-9ee0f7c24b7e?QuickLink=index&overridelayout=true&50843823394578. Please go through the attachment and shed light on the issue.

 

Regards,

Saurav Lahiry


Message no. SWF_CST006

$
0
0

Dear All,

I am getting Error (Error Creating RFC Destination) when I try to execute(F8, F9) Configure RFC Destination in SWU3.

how can i resolve to this issue?

 

I have manually created the RFC (WORKFLOW_LOCAL_XXX) and User (WF-BATCH) but still getting same issue.

 

Regards

Workflow offline Approval / Inbound mail setting

$
0
0

Hi Guys,

 

We are trying to do Offline PR/PO approval through outlook for work-item (Don't want use SAP shortcut attachment). We have configured SCOT settings. As per threads for Inbound Processing we have to create new email id something like (name1.name2@XXX-YYY.company.com).

 

Please clarify what exactly XXX and YYY, Some places it seems like SAP system ID, but not sure.

 

I have checked forums, but not getting exactly the XXX and YYY value.

 

Also want to know without this sub-domain are we able to move forward with any other solution?

 

Thanks ,

Venkadesh

ArchieveLink Not triggering event

$
0
0

Hi Experts,

 

We have developed workflow for SAP FI invoice posting. When invoice is posted workflow gets triggered but gets stuck at ASSIGNED event as it does not get ArchieveLink. I checked SPRO and OAC3 but could bot get breakthrough. What more can I check?

 

Regards,

PS

Workflow Event delayed start

$
0
0

Dear all,

 

Wish you a happy new year! I would like to get some input on one of the issues I'm having with my current production environment. We have custom workflow built for Purchase Requisition. It's working all fine. But lately I have noticed once in a while some odd behaviour. The workflow is not starting immediately after the users release the requisition in ME54n. Most of the times it's immediately the workflow triggers,but few times I have noticed the  workflow only starts after 25-30 mins. There is no certain pattern. Sometime it's 15 mins sometime it's 30 mins. I checked the CDHDR/CDPOS and it says the req has been changed  for example 9:25 AM. But the workflow starts only at 9:55 AM (just an example). Where should I see to figure out why there was a delay in the process starting.

 

Appreciate all your assistance!

 

Thank you!

Custom Rule in standard Work Flow Task

$
0
0

Hello Experts,

 

We have a standard workflow in EHSM for sending Workitems to the Managers after creating a Incident transaction.

 

Workflow: WS00500001

 

1.JPG

 

Task marked in above screen shot sends the Work item details to Manager's.

 

2.JPG

 

For determining extra Agents, i have created a Rule as shown below and have attached in above Workflow task.

 

3.JPG

 

Function module:

 

4.JPG

 

 

I have binded from Workflow container to rule container with proper data types.

 

5.JPG

 

in run time, i am unable to read the container value in my Rule's function module. I.E in AC_CONTAINER parameter of Function module, it is not returning any value.

 

Please suggest what is missed out.

 

Best Regards,

Nikhil Kulkarni

Workflow definition of task 'WS12000006' cannot be activated

$
0
0

I have made changes to WS12000006 in the DEV system and we transported it to Quality server. I have noticed that after each transport one new version is being created in the Q system instead of adding the changes to the current version. and changing status of every version to "Runtime Exists".

 

Whenever a candidate books participation for a course, It is giving runtime error "Workflow definition of task 'WS12000006' cannot be activated".

 

I have checked every binding in that workflow. Everything seams to be fine. Still I am getting this error. Please help me resolve this error.

 

Thanks in advance

Event Error, "SWB_2_CHECK_FB_START_COND_EVAL"

$
0
0

Hi all, I meet a troublesome issue.

 

When 'Saved' event of a document is triggered, system will start the workflow. But, my workflow can't be triggered sometimes.

 

1) If we save the document in the CRM Portal,the workflow can't be triggered very frequently.

2) If we save the document in the CRM GUI,the workflow works well in most of the time.

 

 

I got some help from SAP, they said:

The error "The value of the left operand cannot be determined" usuall means there is an update issue on the side of the event because the customer is using object attributes in the condition and the data of the object instance has not been saved to the database by the time the event is raised. The event needs to be raised at the very end of the update task.

 

 

And I have used event queue. For the past 1 year, the workflow had worked very well. But recently, the system performance declines due to new business workload, and the error is very frequent for the past 1 month.

 

So, anybody could give me some good solution, thanks in advance.


Check Function Module is not getting triggered

$
0
0

Hello everyone,

We have any issue, before SAP up gradation the check function module was working fine. But few months back the code implemented in the check function module is not getting invoked. We have a scenario, when ever a user change the Person responsible from the work item  and sets the status of the task to be 'Completed'.This completes the workflow. But the issue is the new workflow is getting triggered every time  when the task status is set to the 'Completed' by the user.

 

I kept a BP in the check FM and triggered event thru SWUE.The transaction is taking into the debugging mode, but not sure if this really means the check FM is getting triggered  and working fine?. Is there any way to debug the check FM?

 

Assumption: when the person changes the task status to 'Completed' the LUW is taking some milli seconds to update the tables. Due to which the check FM is not able to fetch the data for notification 'Completed' task.

 

I have also attached a screen print from SWE2.

 

 

Regards,

Priyank Patil

Webdynpro POWL: Workflow Work items

$
0
0

Can any body share a complete step by step multiple level approval Cycle involved with POWL work items, ABAP Webdynpro screen, Workflow and ABAP Code. Please do not share the POWL Configuration. We need to have a sample Webdynpro Application, where we see the webdynpro screen in a POWL inbox and take action on work items, and the workflow proceeds.

Workflow for parked documents in SAP

$
0
0

E2E Process of document parking and workflow

 

Workflow in SAP enables the approval processing of documents before posting. A document  with amount above the threshold limit set in configuration is parked and routed to approver for action(approval/rejection).

 

Approvers for the company code receive workflow in SAP inbox and can release/reject the document.

 

Documents are posted in SAP after the approver releases it.

 

In case of rejection, the document goes back to the requestor’s Inbox.

 

 

Requestor will edit the document and park it. Approval cycle will restart.

 

 

Document below the threshold amount are posted directly.

The above can be configured and controlled through std configuration of SAP as per the following path

SPRO-> Financial Accounting (New)-> Financial Accounting Global Setting(New)->Tool->Workflow->Workflow for document parking

not getting sent mail in business workplace with error SAPSQL_ARRAY_INSERT_DUPREC"

Event trigger if user is locked

$
0
0

Hi,

 

I try to trigger an event when userid is locked.

 

I create a custom BO : ZUSER (Super-type USER - Delegate ZUSER).

I added my custom Event : Locked

 

But now in SWEC how to add this BO/Event ?

2015-01-08 15_59_00-SWEC.PNG

Which value in Change doc. object ?

I need to create a custom Change Document type ? transaction : SCDO ?

 

I need to trigger my event when USR02-UFLAG = '128'.

I need to use Field Restrictions in SWEC to do that ?

 

Thanks for help,

Youri

OOCU_RESP rule with resposnibility

$
0
0

Hello Friends,

 

 

Currently I am working on HCM travel &exp workflows and I have a rule with the responsibility type  based on the cost,comapny code and currency.

 

Business has maintained the agents in that rule.

 

 

for example:

 

cost > 100

user1

user2

 

cost<1000

CEO1

CEO2

CEO3

 

 

 

Suppose the expenses raised  cost<1000 in this case workflow approval request will be sent to CEO1,CEO2 and CEO3.

 

 

But I would like to check if the Employee and CEO1/CEO2/CEO3 are in the same org hierarchy then send only  to those persons not to all ....I know that we can use a rule with function module  but our requirement is rule will be manually maintained by the user and workflow should check.

 

Is it achievable?  if not what is the proposed solutions ? Please help me..

 

 

 

Thanks In Advance

Best Regards

Trupthi

Deadline monitoring in ESS\MSS Leave Requests

$
0
0

Hi,

 

I have copied standard workflow WS12300111 and enhanced it for Two level in ESS\MSS Leave request. Now I want to implement Deadline monitoring i.e. if the leave is not approved\rejected after one day then it has to send pending Approval notification. Still its not approved after one day also, then it has to send notification to hr.

I tried Latest end deadline monitoring and used modeled design. In that I added Email workitem to send pending notification but its not working properly.

Please suggest me how to design deadline monitoring in Leave request.     


Alignment Problem in Task Description

$
0
0

Hi,

 

1) When i align the content in the task description its coming correctly in the SOST.

 

2) But the same workitem text when i forwarded through standard program RSWUWFML2 and the alignment get changed in Outlook.

 

Eg:

 

Its should display like this:

 

Course Name       :   &Course Name&

Date                    :   &Time&

 

 

Kindly suggest

 

 

Regards,
Sadiq K

 

 

 

 

Workflow Overview is not displayed

$
0
0

Hi Guys,

 

I need one help.

Actly I have created one custom workflow ( WS90000156) and custom business  objectZPM_MRREPO (without any supertype).

all are working fine for notification creation (IW21) and is going to appropriate Approver.

 

But i am not able to see its log in IW22 transaction:

 

Workflow-> Workflow Overview.

 

 

Please help. Any help  will really be appreciated.

 

Thanks & Regards,

Gaurav Singh

SAP Workflow Improvements (courtesy of SAP Customer Connection)

$
0
0

The SAP Customer Connection for Workflow 2015 update call was held on January 11, 2016.  Some previous blogs about the Workflow 2015 initiative are:

(I've only gone back to the four most recent ones... You'll have to search for yourself if you want to see more... hint: 'Customer Connection Workflow' might work)

 

New enhancements for SAP Business Workflow

The little things that mean a lot

SAP Workflow 2015 Customer connection Selection Call

SAP Workflow improvements - at last!

 

See the offical blog announcement here.

As usual, there are the normal legal disclaimers up front.  And at the time I attempted to dial in, there were over 60 attendees on the call.  (Sadly, a malfunctioning office phone kept me off).  The call was led by Daniel-Alexander Heller and Ralf Goetzinger, with occasional sage advice from our good friend, Alan Rickayzen.


ALL IMAGES ARE COURTESY OF SAP and property of SAP.

 

The following two slides show the improvements that SAP has delivered and most of them are discussed in better detail in the recording of the call, which I can highly recommend  - Listen HERE.

 

These requests are in addition to the ones that have already been delivered (hey, Rick Bakker, maybe you can add these to your document?).

 

Here are some detailed descriptions - but seriously, you'll learn a lot more by listening to the recording.  Ralf has been involved with SAP Workflow for a long time - so his explanations of the problems behind each request and how to use the improvement will make it time well spent.

 

Note 2197117 - Debugging Background workitems - if you've spent any time at all developing/debugging your own workflows, you already know the drill on this... set a background task to dialog, put yourself as an agent, and so on.  I can't tell you how many times I've had to do this just to see how a certain method actually works ion context - and of course, you can only take those particular steps in non-productive environments.  I'm not sure I'd recommend using this method in Production, but you will be able to set an external breakpoint in your BOR background method (yes, I said BOR).

See the pic, below:

 

 

Note 2186821 - Shortcut to WF Admin functions - there have been times I just wanted to put my head down and cry for the number of steps it would take to, say, get from the technical workflow log to the various administrative functions that are necessary.  This note promises you fewer clicks, easier Admin.

 

Note 2188696 - This note has some real promise, I can tell you.  By enhancing the WF System Class (WFSyst) the workflow developer will have the ability to use CONCAT, SUBSTRING, and other functions in the workflow container itself.  No more programming goofy little methods to add First Name to Last Name!  No more goofy little methods to convert to upper case!  Youza!


 

 

Note 2200908 - If you defined a terminating event at the header level, it wasn't easy to see that the event was indeed the reason the workflow ended.  So here you go...

 

I have about another half dozen notes to discuss, but I want to save this blog and allow you all time to digest what these improvements in the SAP Workflow Environment could mean to you while I work on the next blog.   Granted, this is not earth-shattering, but for many of us who spend the days in the trenches of WF Development and Admin, our lives will be made a little bit SIMPLER.

 

If you do implement any of these notes, or any of the previously released notes, please let us know how they worked out for you.  Personally, I can't wait for Note 2188631 to be implemented in our SRM system.  We've already got it in sandbox and everytime I get to use it, I think 'Thank you SAP Customer Connection'.  What's that note for?  I encourage you to go search for yourself.

User options does not pop up when navigating from Inbox to MIR7 and back

$
0
0

User receives workitem in his In Box and double clicks it to be taken to MIR7 screen. He then navigates to the Purchase Order and then to another invoice on that PO. Then he presses back button till he reaches Do you want to Park the Document Yes No pop up in MIR7. He presses no and then the work item disappears. What is expected is that the user decision option pop up is visible allowing him to decide what he wants to do with the workitem.

 

Please let me know if I have not been very clear. Any pointers will be welcome.

SAP Workflow Improvements (courtesy of SAP Customer Connection) - Part 2

$
0
0


As I noted yesterday, an SAP Customer Connection Call took place on January 11, 2016.  This blog will summarize the next set of features that have been delivered as part of the SAP Influence activity.   The formal announcement, with links to the recording, can be found here.

 

And, just as in yesterday's blog, all images are courtesy of SAP and property of SAP.

 

Note 2241028 - Being able to forward workitems is a very powerful feature within SAP Workflow.  If you are the intended recipient, and will not be able to complete the workitem, or if you need someone else to provide information on it, you can forward the workitem.  Except this also has unintended consequences... sometimes you forward to the wrong person (for example, John Smith in Purchasing should not get the Invoice Approval, but John Smith in some other organization should) or your organization is required to keep stricter rules over what can be forwarded, when, and to whom.  This note delivers the BADI WF_WI_FORWARD, which will allow you to control forwarding according to your company's rules.

 

 

Note 2188655 - This note will provide you with the ability to set your personal workflow settings to 'Technical (Chronological) view.  Although I am a die-hard Classic Technical View person... I could be persuaded to look at a Chronological view.

 

 

Note 2201454 - Automatic alignment of the workflow model

When you are working with a really large workflow (say, one with 10 or more tasks ) you may get frustrated with always having to 'align' the model.  You know, sometimes all the tasks are bunched together, or the branches look like something out of a nightmare. This is due, in part, to the way that the workflow build system saves your model.  SAP has delivered a setting to eliminate this frustration via your personal workflow settings.

 

 

 

Note 2200416  - You may not always want the automatic generated binding in your data flows.  I believe the system looks for the first element of the same length and type of the task you are inserting, so pushing 'OK' on the generated binding popup may cause the system to create elements which are not used.  I've seen this myself.  And while you can always go back and correct the binding itself, you might not notice (or take the time to get rid of) the generated element.  I'm sure over time there would be system deprecation if you allowed this practice to continue.

 

 

Note 2250126 - Send mail step error when no recipients - well, this is HUGE!  We diligently try to ensure that there are always recipients to messages, but after maybe 10 years of being assured that everybody in the HR Org structure will ALWAYS have an email address, one day you find out that it's    just    not    true.

Enabling the Sendmail task to have an outcome (perhaps just allow the workflow to continue on?) will be a real relief.

 

 

I can see by the clock on the clubhouse wall that I am almost out of time on this blog... So please consider how much time you could save by not having to go investigate and correct SendMail tasks that have gone astray.  (Actually, I noticed that this blog was accidentally published while I was editing it, so I apologize if you're an early reader and wondering 'where the heck did this thing go....')


Cheers to all.

Viewing all 995 articles
Browse latest View live


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