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

latest end transport request not generated

$
0
0

Dear experts,

 

I have configured  a workflow for PR approval. Everything is working fine. But there are 2 issues:

1: How to use Notification tab in step 'Overall Release.' I put WF initiator. He is receiving email on his GMail ID but the text is wrong that say 'Please release PR # . . ...'  Now, I also put it in 'PR Releases' step but its text is not coming.

So my requirement is, when PR is accepted its text should be 'PR # .... approved' and when it is rejected, its text should be 'PR # ... is rejected'

 

2. I have used 'latest end' tab in my overall release step. For demo purpose, I kept it 2 Min. But now when I am changing it to 3 Days, the request on Dev system is not getting created. So how can I change the time period now


Workflow Task reminder - Recursive Deadline

$
0
0

Dear all,

 

 

I'm trying to modify one of the existing workflow (custom) . The requirement is I need the below two steps inside the loop and need to send the task (Material Problem for GR for PO) for every 3 days till some one acts upon the task.  Can anyone let me know how I have to design this?

 

Untitled.png

 

Thank you,

Justin.

trigger workflow for order on custom change event

$
0
0

Hi All,

 

 

I am facing the below issue.

 

 

I have created a custom workflow ZBUS2007 by delegating BUS2007. The workflow is working fine.

Now in case the workflow is rejected and sent for change , I need to trigger the workflow on the below conditions  -

 

 

1. When the requirement quantity is changed in iw32.

2. When a line item is added/deleted in the component tab.

 

i tried to create a custom event in my custom workflow. then use that event in SWEC - on change event - and specified the field restriction on the 'requirement quantity' field.

 

 

Also, i added my event in start conditions and did the necessary binding. My event is active in SWE2 as well.

 

Now when i check in SWEL, there are no entries for my event. Also, when i use swue, my workflow gets triggered.

 

I am confused here on how to proceed with this. Kindly help.

 

 

Regards

Meenakshi

trigger workflow for order on custom change event

$
0
0

Hi All,

 

I am facing the below issue.

 

I have created a custom workflow ZBUS2007 by delegating BUS2007. The workflow is working fine.

Now in case the workflow is rejected and sent for change , I need to trigger the workflow on the below conditions  -

 

1. When the requirement quantity is changed in iw32.

2. When a line item is added/deleted in the component tab.

 

i tried to create a custom event in my custom workflow. then use that event in SWEC - on change event - and specified the field restriction on the 'requirement quantity' field.

 

Also, i added my event in start conditions and did the necessary binding. My event is active in SWE2 as well.

 

Now when i check in SWEL, there are no entries for my event. Also, when i use swue, my workflow gets triggered.

 

I am confused here on how to proceed with this. Kindly help.

 

Regards

Meenakshi

Error in using the class static method in a Task

$
0
0

Hi Experts,

 

I am using the ABAP OO class in my workflow design, through the Activity step in Workflow template, I want to call the ABAP class static method

which takes the key fields in input and would return the same class Reference through the static method export parameter.

 

issue is in single step task, as soon as I select the Object Category option as CL ABAP class then Synchronous method option gets disabled and hence due to this I am not able to bind the export parameter of method with the Task container element as shown below.

 

SES_Error1.png

 

 

SES_Error2.png

 

in 2nd figure, I can see import and export parameters of the method are generated automatically in Task container but still in binding I am not able to bind the export parameter of method with equivalent Task container element.

 

 

please suggest how to enable for the synchronous option for ABAP class static method.

 

Thank and Regards,

Jagesh

How to activate the Action buttons in POWL for workflow?

$
0
0

Jocelyn posted a great blog here about the different inboxes now available for workflow:

Which #Workflow Inbox When?  Pros and cons for SAP Business Workflow and SAP NetWeaver #BPM

 

I am interested in the Inbox that is based on the POWL concept. This is basically an ALV list of anything you want; in this case, workflow workitems.

 

It's quite amazing and easy to set up (once you know how!).

 

I did this:

- activated the service /sap/bc/webdynpro/sap/ibo_wda_inbox in SICF

 

That's it - no SWFVISU, no UWL, no XML configuration!

 

To test it:

- In SE80, drill down into webdynpro IBO_WDC_INBOX, application IB_WDA_INBOX, configuration IBO_WDAC_POWL_INBOX

- rightclick & execute 'Test'.

 

The result looks pretty good - it automatically picks up all your workitems, and you can execute them in the normal way.

You also have the option to Forward, Substitute, Complete etc etc.

 

powl_inbox.JPG

 

However, two important parts don't seem to work: the 'action' buttons are greyed out (except for Substitution), and the 'Show/Hide Preview' link at the bottom does nothing.

 

Is this POWL inbox supposed to work 'out of the box'? Or is this just an authorization issue?

If you have some tips on how to fix this, or a cookbook, please respond.

 

thanks in advance

Paul B

Post mail problem

$
0
0

Hi All,

 

I'm facing problem of sending mail from workflow. The task is WS51900003 that triggered from BOR ERC_CAND event NEWPASSWORDREQUESTED.

When i run from application all status is green including sent mail task, but using scot there is no mail in all status detected.

When i run from the BOR directly using the same data, there is a mail in waiting status if run scot. The mail will be success if we run it from waiting status.

So what happen with this mail? why it's success when we run from foreground (run method directly) but fail from background (application)?

 

Thanks for your advice.

Dkavide

Need some help with Business Workflow

$
0
0

Hello, I need some help with a Workflow I'm working with, it's more of a few fragments of information that I can't find an answer for, hope you guys can help.



1. Task Completion Notification: a Task doesn't allow sending completion notification to an e-mail address, I need to send the notification to an e-mail group that has a number of people, so what I did is have the notification sent to an Organizational Element, which is basically a department with the people assigned to it, I maintained the e-mail address for the Organizational Element but the e-mail is not going out when the task is complete! although if I change the notification to be sent to my user ID I do get the e-mail.



2. Workflow Versions: I'm working on a 4-System landscape, basically I have one configuration environment, two for testing and one production, so when do I need to generate the Run-time version of the workflow? and how is a run time version any different from the regular version? also when I'm testing the workflow with the user which version should I use?



3. Task Agent Assignment: My task is currently set to "General Task", when I change that to anything else the system stops finding the proper agent at all, is it ok if the task in Production system is set to General Task as well? and why isn't the system finding the proper agent when the task attribute is set to anything other than "General Task"?

Edit: The Agent for this task in my workflow gets determined by a Rule.



Thank you all in advance.


Creating Exits in standard workflow templates

$
0
0

Hi,

 

Is it possible to add Program Exits to standard workflows. Till now I see only possibility for Custom Workflow developed at customer site.

 

   I would like to influence the way Workitem triggers in standard workflow.

 

It would be helpful, if somebody can throw light on this topic.

 

Thanking you,

 

Regards,

  Satya

how to customize the workflow for multi level approver

$
0
0

Hi friends,

I am Saurav Lahiry, new to workflow. I need to customize std leave and travel request workflows for multi level approver. I am currently copying WS12300111 and  WS20000050 and making changes. I saw several blogs on this issue but still the answer is still not coming. Please help with steps and if possible, screenshots.

Regards,

Saurav lahiry

Is single workflow enough to maintain the PR approval app

$
0
0

Hi Experts,

 

In our company the FIORI PR approval app has been configured by a third party vendor and they configured the workflow too. They mentioned that, for different roles, different workflows need to be created separately.

 

We have so many dept. heads to approve a PR's in Fiori App. So is it necessary to create different workflows to approve a PR, based on roles and authorizations or single workflow is enough to maintain them all???

 

[I am not sure, whether to raise the question in Workflow or in Fiori. So kindly excuse]

 

Your help and advice is highly appreciated.

 

Thanks in advance.

 

Regards,

Sakthi.

Work item is in IN Process Status for more than one day

$
0
0

Hi,

 

Work item stuck in in-process status for more than one day but normally that corresponding background task will  take max 1 second.

Checked SM50 for Running Work Process & ST22 for Dump but cant able to find & also SM58 tRFC errors.

Please assist.

Issue in Service entry sheet (ML81N) custom workflow

$
0
0

Hi

 

I have a requirement where our workflow should be triggered based on the creation of service entry sheet (ML81N).   Approver will be given the option of 'Approve' and 'Reject' to accept the SES. On clicking 'Approve', approver will be presented with a ML81N in the change mode. Approver will then check and accept the SES.  Here, instead of 'accept' and 'saving' , if the approver clicks on the BACK button with out doing anything, Work item should stay in the inbox. Work item should stay until and unless approver accepts and saves the SES.   How to handle this?

 

Regards

Shekhar

No receiver data in SWEL

$
0
0

Dear All,

 

I am facing a strange problem, its a very simple scenario where I am trying to raise my workflow from class based event.

 

The code is as follows:

 

DATA : lv_object_key TYPE sibfinstid.

lv_object_key = p_plant.

TRY.

     CALL METHOD CL_SWF_EVT_EVENT=>RAISE

       EXPORTING

*       IM_OBJCATEG        = MC_OBJCATEG_BC

         IM_OBJTYPE         = 'Z_CLN_TEST_WF'

         IM_EVENT           = 'DISPLAY_PLANT'

         IM_OBJKEY          = lv_object_key

*       IM_EVENT_CONTAINER =

       .

   CATCH CX_SWF_EVT_INVALID_OBJTYPE .

   CATCH CX_SWF_EVT_INVALID_EVENT .

ENDTRY.

 

commit work.


This triggers the event but there is no receiver.


binding.JPGSWEL.JPGevent_type_linkage.JPGdetails.JPG


SAP Workflow: Workflow log not appearing in Workflow Overview and Rejection text/reason also not coming as attachment under 'Services for Object' button

$
0
0

Hello Gurus,

 

My workflow log is not coming in workflow overview of the document for which the workflow gets triggered. Even the rejection message also not coming in attachments section of the document.

 

The document here is the Down Payment Request created for a PO.

 

I have done the binding too from container to task for BOR and also for _Attach_Objects.

 

Please suggest and help with your valuable inputs !! Thanks


Fluxo de trabalho(WF) objeto BOR - Ajuda

$
0
0

Boa noite Galera,

 

Estou começando a atuar com Workflow, porem me deparei com uma situação que não identifiquei o problema, tenho que desenhar um novo fluxo de trabalhado totalmente Z, para atender ordem de serviço que serão criadas por em programa Z:

 

Criei o BOR da maneira abaixo:

 

bor.PNG

 

Ao desenhar o fluxo deixei assim:

 

pftc.PNG

pftc1.PNG

 

Realizei uma chamada simples do objeto, para poder testar:

chamada.PNG

 

Porem ao verificar na SWI2_FREQ, o objeto não foi instanciado.

obejto.PNG

 

Qualquer ajuda é bem vinda. Se conseguir resolver posto o que era o erro.

 

Obrigado.

trigger an individual step or task in it through function module

$
0
0

Hi,

 

I am able to trigger the complete workflow using the EVENT function module..

 

I need to trigger an individual task or activity step like MM approve...

 

May I know the function module to do so, where I can pass the task ID rather than WF ID?

 

So, how do I execute an individual task ?

 

Regards


Madhukar

Workflow step stuck "In Process" for deadline monitoring for older date

$
0
0

Hi Experts,

 

I have a workflow in which theres a deadline monitoring latest end date set for a step.

The deadline monitoring is set with expression which is a date and is passed while triggering the workflow through a se38 program.

It works correctly for all scenarios except when the program is run as a background job with an older date passed for the expression.

The workflow is getting stuck in the mentioned step with status "In Process".

In foreground mode its working correctly for older dates.

 

Can anybody throw a light on why is this happening and how to avoid this?

unable to automate the execution of the acitvity step in user decision step

$
0
0

Hi,

 

I am able to automate the workflow process by capturing the WI ID of the user decision step and passing it in WAPi DECISION COMPLTE and redirect to the approve path of the decision by passing user decision as 0001


But I am unable to execute the activity step in the approve path of the user decision...

 

Is there a way to automatically execute the approve activity step or do I have to go to SBWP and execute the approve activity of the user decision step manually?

 

Regards

Madhukar

issue with reading workflow container

$
0
0

hi,

 

i have the requirment to read out workflow containers in detail for some different workflows.

 

i am using FM SAP_WAPI_READ_CONTAINER to read workflow container. thats ok for single fields which are in the container. but i have e.g. the structure EKKO (purchasing document header) in the workflow container. this structure has about 150 fields, and i need some of it to read out, BUT:


the FM has the table "simple container" which comes back with the container content. this table has to fields, name and value. for EKKO structure it looks like this:


EKKO 101    

EKKO 399384

EKKO 1234

EKKO  xxxx

EKKO xxxxxx

EKKO xxxxxxxx

.

.

.

so for all 150 fields i have the EKKO as field name, and then the content of the field, 101 for MANDT, 399384 for field EBELN, and so on..........

 

But HOW do i know the field name of the structure EKKO ?

 

As i am using the FM for many workflows i have to use a solution working for all structures. so where do i find the name of the sturcture in the workflow container ?!?

 

br Martin

Viewing all 1026 articles
Browse latest View live


Latest Images

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