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

User decision inside a loop where the workflow should not complete on rejection

$
0
0

Hi  All,

 

I have  the below scenario.

I am using a user decision  step inside a loop which will run n number of times. My user decision step will have 3 outcomes -

1.  Approve

2. Reject to person X

3. Reject to person Y

Basically on rejection a work item will be sent to person x  or Y. When the person x/y receives the workitem , on clicking on the workitem a pop up window should open where user can enter the details ( same as the rejection reason pop up). After this the work item should go to the user who has earlier rejected it.

 

Please guide me here. How should I proceed here ??

 

Regards

Meenakshi


SWE_EVENT_CREATE_FOR_UPD_TASK not triggering wf some times

$
0
0

Hi ALl,

Somebody has used function module SWE_EVENT_CREATE_FOR_UPD_TASK from MV45AFZZ.

This function module is not triggering WF some times.

Can somebody kindly guide what can be the reason behind this?

and what can be done?

 

Thanks,

SD

user related question

$
0
0

Hi,

could you please tell mewhy we are not assigining more than 312 profiles to the user?

Send email in TR workflow to approvers obtained in category R rule

$
0
0

Hello Workflow Gurus,

 

I have a business requirement for workflow template WS20000263 (Loans release Workflow) which is activated to request approval for changes to business partners in transaction BP.

 

This workflow gets the list of approvers to send the workitem for approval uisng a category R rule (R: Agent determination: responsabilities RULE 20000053). As part of my requirement i have to send an email with some details to the list of approvers. How can i fetch the list of approvers that the rule is fetching as this rule has no FM for agent determination in order to get their emails? It is wanted to create a new activity in parallel to send the email.

 

Please, any help will be appreciated

 

 

Regards,

 

Gustavo

Appraisal workflow opening in display mode

$
0
0

Hi masters,

 

I have created a custom workflow for the Appraisal form. Work item is getting created properly as soon as form gets created using the Function module

'HRHAP_DOCUMENT_PREPARE'. However, when appraiser opens the work item, form is opening in display mode not allowing him to evaluate the appraisal though work item is calling the edit method.


Please let me know if there could be any configuration settings which might be causing this.

 

kindly help me in solving this.

 

Thanks in advance.

Helpful answers would be rewarded..

Send end to end email immediately through SAP Workflow

$
0
0

I have developed a sales contract WF with FIORI front end, where I am sending an email after approval with SEND EMAIL step type(email address would be different for different SalesOrganization).

 

My workflow is sending email but getting stuck in SOST. Because my client has set the send email SCOT setting with an interval of 1day,i,e all the email would be sent together at mid night 12am. Now my client want to send only sales contract approval email immediately.

 

The biggest challenge is I know the SCOT setting could be overcome by the implementing the class CL_BCS with set_send_immediately method.

But I cant incorporate BCS with Workflow send email step.

 

Please suggest how to send end to end email immediately through SAP Workflow. I am not an expert in OOPs concept.
Please share the code if something related to class implementation.

ECC Ehp7: Event CREATED or CHANGED not triggered anymore for BO DRAW

$
0
0

Hi.

 

after upgrading to ECC EhP7 we got the following problem:

 

The Events CREATED and CHANGED are not triggered

for object type DRAW. I tested it in CV01N/CV02N and

see no events in event trace.

 

But when i create manually the workflow starts. So the main

thing is, that the events are not triggered anymore.

 

I checked wf-customizing already in SWU3 and the verification

workflows are running without errors.

 

Here some data:

 

- WF WS90000040

- WF should start after DRAW-CREATED in CV01N with document type AE1

 

- SWETYPV is maintained:

 

Object-Cat: BO

Object-Type: DRAW

Event: CREATED

Consumer type: WS90000040

 

Consumer-FM: SWW_WI_CREATE_VIA_EVENT

Check-FM: SWB_2_CHECK_FB_START_COND_EVAL

 

Any ideas on that topic ?

 

Best regards,
Sebastian

Terminating event for asynchronuous dialog task

$
0
0

Hi,

 

My scenario is like this:

 

1. I have a custom ZBUS2081(with custom event contentCreated) which is delegated to standard BUS2081.

2. My workflow will be triggered when user posted an invoice through MIRO as BUS2081 is posted.

3. This workflow will generate work item that allow the user to execute it in SBWP.

4. Upon executing, it will call a custom method in ZBUS2081 that will call a custom transaction(with CALL TRANSACTION syntax) allowing user input some contract info.

 

Everything work fine up until this stage. My problem is upon execution of the custom transaction(when user press save), the workitem is not terminated from SBWP.

 

My understanding to rectify this issue.

1. Raise the custom event in user-command save(using FM SAP_WAPI_EVENT_CREATE) in the custom transaction.

2. Set the terminating event of the asynchronuous dialog task to this custom event.

3. Activate the outcome of the workflow.

 

Is my approach correct? I have try this approach by calling this FM with the respected objectkey in program but it's not working as message 'No receiver type' was found in SWEL.

Appreciate anyone can enlighten me on this issue, thanks.

 

Regards,

Marlson


Opening a link on double click of work item from NWBC

$
0
0

Hi guys,

 

I want to open a link when we double click on a work item from NWBC.

 

A method is created with the below code and added to a foreground Activity step in workflow.

 

 

DATA : lv_url TYPE string VALUE 'http://google.com' . "csequence.

CALL METHOD cl_nwbc=>url_launch

  EXPORTING

     url = lv_url.

 

The link is getting opened from SBWP workitem but the same is not working from NWBC.

 

Please suggest!

 

 

 

Regards,

Dhaval Patel.

URL link is workitem not appearing in NWBC and comments pop up not coming in NWBC

$
0
0

Hi guys,

 

We have a requirement to approve object from NWBC portal. For the same we have created a backend workflow with user decision step and binding is done with the standard business object to display the link to navigate to the object.

 

The functionality is working from SBWP inbox but the link is not appearing in NWBC.

 

scn1.jpg

Please find the NWBC screen shot for the same.

 

scn2.jpg

Additionally, the rejection text is made mandatory in the decision step.

 

scn3.jpg

The comments pop up is not coming in NWBC but working properly in the SBWP inbox.

 

Please suggest!

 

Regards,

Dhaval Patel. 

PR workflow - No event for adding new item in ME52N

$
0
0

Hi all,

 

Am facing the following issue with the PR approval workflow. We have setup PR release strategy at the Header level and have setup the workflow for the approval. The approval flow is working fine.

 

There is another requirement to cater for changes to the PR. The requirement is that any change in a PR should terminate the active flow and create a fresh one. We have added the BUS2105 CHANGED event as a trigger for the workflow and have written some code in the Check FM to determine if a new workflow is to be triggered or not. This is working fine for any changes to existing items.

 

However, when we are adding a new item to the PR in ME52N, there is no event generated and hence the workflow cannot be controlled. I tried using ME52 (old tcode) to add new item and a workflow event ReleaseStepCreated was triggered. We are using only ME52N in our system. Am not sure why there is no event triggered when adding new line item to existing PR in ME52N. Can anyone pls advise.

 

Regards

Thiru

Use an instance method from WF with instance reference

$
0
0

Hi experts.

 

I'm implementing a custom WF, using a Z class, so, I implemented FIND_BY_LPOR and LPOR methods. My class instance is alredy created, but I can't modify any non-key attribute, I mean, my constructor is something like this:

 

**This is my static method

METHOD zme_politic_constructor.

 

   CREATE OBJECT politic

     EXPORTING

       i_vbeln = i_vbeln.

 

** from this point, there are no changes in my instance attributes

   politic->zme_politic_get_marg( ).

   politic->zme_politic_id_difer( ).

   politic->zme_politic_escala( ).

   politic->zme_politica_get_authorizers( ).

 

ENDMETHOD.


METHOD constructor.

 

   me->vbeln = i_vbeln.

 

   m_lpor-instid = i_vbeln.

   m_lpor-catid  = 'CL'.

   m_lpor-typeid = 'ZCL_FLUJO_WF'.

 

ENDMETHOD.


I don't know what to do in order to modify any other attribute. Do you have any ideas?


Best regards!

Unable to Open Inbox in SBWP - runtime error

$
0
0

Hi Gurus,

 

I have a problem with my inbox - I'm experiencing runtime error (time_out) when opening it. It says 'Time limit exceeded', and 'The program 'SAPFSSO0' has exceeded the maximum permitted runtime without interruption and has therefore been terminated.

 

Can anyone of the Workflow experts tell me what is the probable cause, and what do you sugggest to solve this and prevent from happening again?

 

Thanks!

 

 

Regards,

Joyreen

Decision step in Workflow directly from orderitem

$
0
0

Hello,

 

I remember there is a way for endusers to go to the pending decision steps in the workflow directly from the orderitem.
This avoids the lengthy process of loading the entire Business Workplace.

Does any one know how? Or is this documented somewhere?

 

Sincerely yours,

 

John

Workflow triggering on FD32 when customer credit limit changes

$
0
0

Dear all,

 

I have a requirement to trigger workflow for approvals when credit limit(KNKK- KLIMK) changes in FD32 transaction code. I have created custom business object ZBUS1010 by copying BUS1010 and delegated. defined custom event for credit changes and did the configuration in SWUE and SWETYPV.

 

But somehow event is not getting triggered fro credit limit changes, tried all options  and trying for some user exit/BADI but no luck. Please suggest any ideas.TIA.

 

 

Venkat


Email NOTIFICATION to wrong person

$
0
0

Dear

 

HR person created a PR, then an HR manager is receiving an email in SAP and on his GMail,

When PR is released, an IT manager is receiving a notification in his SAP nbox that PR # 123 has been released. How can a PR approved my HR manager goes to IT manager ?


Please help, its on PRD


 

 

pr approval.PNG

email notif.PNG

 

See, Khurram has appoved, but 'confirmation is sent to' Syed Zeeshan

Work flow on Network Activity

$
0
0

Hi, In our client process when never user confirms the particular network Activity in CJ20N /CN25 T code mail needs to trigger  automatically to user who conform's that activity. please help me to make to this workflow. Regards Ramesh

issue while triggering workflow BUS2030- changed event

$
0
0

Hi All,

 

I am facing an issue.  We are creating an enquiry from VA11 tcode. After creating the enquiry, the user goes to VA12 tcode  and change the status from VA12 -> goto -> header -> status -> object status . ( screenshot attached). Header - status.PNG


If the status is released, then the workflow should trigger.


now I have used the user exit  -  USEREXIT_SAVE_DOCUMENT ( MV45AFZZ ) to trigger this workflow.

The field is RV45A-ASTTX.

If RV45A-ASTTX = 'REL'.

trigger workflow.. ( bus2030 -> changed)

otherwise not..


Now i have done the coding for the above issue.

The problem is - even if the user does not change the status to 'released' and change any other field in the enquiry from va12, the same event is triggered ( BUS2030 -> changed ) .


User does not want to go to any other tcode to release this order.


Hence, my check (enquiry is released) fails. How should I handle his situation.


Regards

Meenakshi

issue while triggering workflow BUS2030- changed event

$
0
0

Hi All,

 

I am facing an issue.  We are creating an enquiry from VA11 tcode. After creating the enquiry, the user goes to VA12 tcode  and change the status from VA12 -> goto -> header -> status -> object status . ( screenshot attached).


Header - status.PNG


If the status is released, then the workflow should trigger.


now I have used the user exit  -  USEREXIT_SAVE_DOCUMENT ( MV45AFZZ ) to trigger this workflow.

The field is RV45A-ASTTX.

If RV45A-ASTTX = 'REL'.

trigger workflow.. ( bus2030 -> changed)

otherwise not..


Now i have done the coding for the above issue.

The problem is - even if the user does not change the status to 'released' and change any other field in the enquiry from va12, the same event is triggered ( BUS2030 -> changed ) .


User does not want to go to any other tcode to release this order.


Hence, my check (enquiry is released) fails. How should I handle his situation.


Regards

Meenakshi


Workflow - External Mail

$
0
0

Dears

            when input the external mail directly as attached . the mail was sent correctly

Capture.JPG

 

But what the container element that contain the mail of work flow initiator ?

Viewing all 1026 articles
Browse latest View live


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