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

FV50 : Trigger event when user changes fields in line items

$
0
0

Hello all,

BO for documents created using FV50 is FIPP. The change document linked to FIPP is BELEGR.

1.jpg

 

But the problem is details related to general ledger  parked document are captured in VBSEGS table. I want to track changes in few fields in this table. This table is not included in BELEGR.

2.jpg

So i have created a new entry in SCDO :

3.jpg

I have also generated update program.

Now my question is : 

1. Do i have to do some type of coding in generated FM to track the changes to table ?

2. Do i need to call this FM explicitly while creating/changing document in FV50 ?

 

Then i have passed this into SWED :

4.jpg

Then i tried to assign ZGL_BSEGS into SWEC against Business Object FIPP. I got warning message

Key for change doc. object ZGL_BSEGS and business object type FIPP are incompatible.

 

What should i do to link it with FIPP ? Please suggest.

 

Please let me know if i have missed something in between.

 

Regards,

Nitish


Workflow in SAP HANA

$
0
0

Hi,

 

During Teched in Barcelona back in November 2015 I participated in a CodeJam session with Benjamin Notheis where he showed a new way of building workflows in HANA systems. Session INT601. I think it was in Eclipse.

I cannot find any related information - anyone aware of How-to guides and/or more information about this topic so it is possible to try it?

Unfortunately the USB stick does not contain anything for this session.

 

Thanks,

 

Claus.

How to redirect a workflow ?

$
0
0

Hi,

   

     I want to redirect the employee leave work item if it sits in the manager's inbox for 72 hours (like if the manager is on leave).

   

     It must go to the manager's superior and the work item should be deleted form the managers inbox.

   

     To do this, do I define a new task?


Guys please help!!!

How to restart workflow after completion?

$
0
0

Dear experts,

 

We have situation where we need to restart the workflow after completion - strange isn't...

 

A multi-level wf: At the top approval level agent rejected and as a result workflow  rightly set to completed... Now agent want to change decision to approve...

 

Therefore seeking your expert advice on how to re-start the completed workflow at that level only...

 

Best Regards,

Aslam

Outlook notification on workflows ending with error

$
0
0

I have configured my ID as workflow admin in SWU3 and in SU01 a valid email address is maintained in association with my SAP id.

 

Now, whenever there is an error on any of the running workflows I am receiving a notification in SBWP inbox as a document.

However I am not getting same notificationon my outlook inbox.

 

I am in a fix here, any help will be appreciated...

New feature: ABAP OO-Workflow Task with fixed domain values

$
0
0

Dear friends,

 

with BOR methods, you could specifiy a method with a "Returning" parameter. If that was related to a Data element --> Domain --> with fixed values, the Workflow Builder created you separate outcomes for each of the values.

If you like that design ... or not (... Hi Mike :-) ) ... this feature wasn't provided with the ABAP Objects Workflow, so you had to store the result into a separate container element with a CASE-step right afterwards.

 

So... this has change now, how I've just found out. At least with SAPKB 702 SP 17...

this has become available, and it just works nicely.

 

What you need:

- Create a functional method

- I just gave a simple name for the parameter, e.g. RV_<method_name> ... now fancy stuff like a definition of _WI_RESULT is required and I would recommend not to use such a returning name.

- Refer the data element to a domain with fixed values

- Create a task, based on that based

- You do NOT need to make anything special about the binding task<->method

- When you enter that task in the Workflow builder it will generate you the appropriate outcomes

 

Don't forget to check that the returning element is ALWAYS filled with (at least) a default value, otherwise you receive message SWP 009 (Error in CASE / outcome of a step) and the Workflow runs into an unrecoverable error.

 

Cheers

   Florin

 

That entry is not really worth a blog, but if you like it, feel free to "like" it, too :-)

Pass BO as parameter to RH_GET_ACTORS.

$
0
0

Hi all,

 

I have a requirement to get the agents for the standard rule "20000027" (PO workflow agents).

But the rule accepts Purchase order business object (BUS2012) as container parameter.

 

Now i  need to call the FM RH_Get_actors in abap to determine the agents and if no agents found then do subsequent steps.

But i am unable to pass business object as parameter to the FM.

 

Kindly advise.

 

Regards

Suman

How-to assign agents dynamically for a task

$
0
0

Dear WF Gurus,

 

I've implemented an OO WF, and my requirement is to assign agents to a Task dynamically, which are known when triggering the WF. Since I'm retrieving the agents from an external service, I pass the agents via the workflow start event, when triggering it, and now I have it in my Workflow container.

I bound this table of my WF container via expression to agents of the Activity, but agents get not assigned to this step.

 

I tried with ad-hoc agent assigment, here my problem is, that I cannot move my table of agents described above into the container element Agent_0003.Agents (generated by teh ad-hoc wizard).

 

Any advice welcome, how-to assign the agents to my single Activity what I've in my WF

 

Thank you

Attila


Module pool in workflow user decision

$
0
0

Hello All,

 

I am new to workflow. I want to display the output in module pool to the approves in user decision.

Please help me to achieve this.

 

 

Regards,

RK

Purchase Order Workflow completed but last approver did not received work item

$
0
0

Hi All,

 

  Purchase Order workflow has been completed step but last release level (A2) approver did not received work item in his/her inbox.

 

and PO also has not released ( Final release not done)

 

I checked if approver is locked. he/she is Un locked.

 

Can you please suggest what are the possibilities?

 

 

Thanks,

Arpita

Event Trace Problem...

$
0
0

Hi All,

 

When I park a document using FV50, then I should get FIPP event CREATED being traced in SWEL. But I am not getting anything in SWEL.

 

This is what I did -

1) Switch on trace in SWELS.

2) Park document using TCODE FV50.

3) Switch off trace in SWELS.

4) Check entry in SWEL.

 

 

My requirement is I want to trigger a workflow whenever a document is parked in FI. Is there any other business object which  I can use for the same? Please help.

Difference between SWETYPV and SWEINST ? Where to use which one ?

$
0
0

Hello,

I have used SWETYPV several times, but recently i found SWEINST. Now i want to know what is the difference between two and where to use one ?

Regards,

Nitish

WHY do we set up a RFC connection for workflows

$
0
0

Guys please tell me why do we setup a RFC connection for workflows.

I am getting few dumps for function module IDOC_ERROR_WORKFLOW_START_R in transsactional RFC connection.

Looks like it is because of temporary disconnection.

 

i want to know what is the relationship of RFC with wirkflows.

 

Thanks in advance

Workflow Mail Text Alignment Issue

$
0
0

Hi Experts,

 

I am sending a mail to users using workflow mail step . When I checked mail using Gmail it is displaying properly, But  in outlook it is  not displaying properly. 

 

Thanks in  Advance.

 

Thanks & Regards,

Shiva.....

Issue with workflow transport across the system

$
0
0

Hi All,

 

I am facing one issue while transporting a new workflow template (and tasks) from development system to production system. I have locked the workflow template in SWDD in workbench transport request and all related task in same transport request through PFTC .

 

Now, i have imported the same to production system where i am facing issue with transported object . The problem is that i cannot view/access WF template in SWDD even though all the task/WF template are visible in PFTC .

 

When i try to access workflow builder for workflow template through PFTC i get the error that " Workflow definition 'WS9......' is not in version ' ' " .

 

 

To me it looks that version are not getting transported to target system .

 

I have already tried locking all WF template and tasks manually in TR again and have retransported to target system but the issue is still there .

 

Thanks in advance.

 

Best regards,

Ayush


Solution for Typical Business scenarios in PO workflow

$
0
0

Hi all,

 

I have built a custom PO  release workflow  for event BUS2012 ReleaseStepCreated  but we have got some business scenarios and we don't know how to handle them.

I know the below question would have been asked a lot in the forum but i am not getting appropriate answers.

 

1.Workflow is created whenever release strategy is created and the event is triggered.So when a PO is created a workflow is created.

  But when the same PO is changed and for some reason the release strategy is triggered again ,then a new workflow is triggered again.

So how to logically delete or remove,or complete the previously created workflow .

 

2 . After approval  of work item  at user decision,  i am calling BUS2012 Release method in  a task .But if the release fails due to any reason(for eg ,the PO is in edit mode by another user),then the entire workflow goes into error.

We can ask the initiator to restart the workflow from SWPR but how to notify the initiator in case of error.

 

 

We dont have a workflow admin on the client side :(.

 

Any advice would be very helpful.

 

Regards

Suman.

Workflow Binding : Which elements to bind between two containers ?

$
0
0

Hello,

 

While binding elements between two containers ( workflow to task, task to method etc), i know that I have to bind custom elements(that i created) between two containers but i don't know which of the standard elements of two containers should be binded. How to make that decision ?

 

Regards,

Nitish

Place for "z-programing" when workflow starts

$
0
0

Hi,

 

i have a general workflow question: i have to do some z-coding (sending data to another system) for all worklows in our system. So everytime a workflow is starting(!) i want to use some z-coding.

 

so is there any "central point" (enhancement in standard method/function module or something else....) where i can place my z-coding ? As said, i need that every time a workflow is triggered.

 

br Martin

Outlook notification on workflows ending with error

$
0
0

I have configured my ID as workflow admin in SWU3 and in SU01 a valid email address is maintained in association with my SAP id.

 

Now, whenever there is an error on any of the running workflows I am receiving a notification in SBWP inbox as a document.

However I am not getting same notificationon my outlook inbox.

 

I am in a fix here, any help will be appreciated...

Workflow Executed But no message in Sbwp.

$
0
0

Hi,

Need small information, I was started New small workflow At swdd, After that i was executed.

I hope no error messages , then message was came Task Started under work item id .

 

But if i see the Receipt inbox in Sbwp , There is no message in Workflow Inbox.

If i check the Status of the workflow in Swi1 , then it is saying that  Read or in Process.

 

Please have a look on attached Images. Is there any configuration is missing in My system. At Swu3 Please Update me.

Need your valuable suggestions.

Viewing all 1026 articles
Browse latest View live


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