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

Enhance Standard Workflow

$
0
0

Hi gurus, i would like to ask you a question.

 

I have to enhance a standard workflow but i would like to ask you the best way to proceed.

 

A) Create a new version of standard workflow and implement changes.

B) Create a Delegation for Business Object BUS2250

 

 

Maybe i have to do both, but could you explain me how does it run?

 

After creation of delegation i have to change old BUS2250 with custom ZBUS2250 in transaction SWETYP?

 

This change is enough to ensure that all events are triggered and the old business object BUS2250 is substituted with the custom ZBUS2250?

 

Is it better to change standard workflows with custom or is it unnecessary to create custom workflow and create a new version of standard workflows?

 

 

Thank you in advance

Pierfabio


triggering of extended notification Immediately and after interval

$
0
0

HI All,

I have created workflow that has workitems triggering to inbox.

To intimate workitem creation in inbox , instead of using email step I am planning to use Extended notification

as I need tasks being triggered as link.

However extended notification should be triggered immediately after the task is created in INBOX.

If i schedule extended notification task email wont be triggered immediately.

Also i want reminders for which i need to schedule extended notifications.

Can experts kindly guide me how this can be achieved?

 

Thanks,

SD

On Forward Work Item, its not displaying the Object

$
0
0

My query is as follows:

I created 03 users PS01, PS02 and PS03.

A workflow for the Notification was created such that: Notification was created for a specific type using tcode IW21  and saved.

 

The work item(WI) was visible in inbox. Upon clicking it, it gives three options i.e view, approve, cancel. Once approved in went to user PS02 as per organogram structure where PS02 is Chief of PS01.

Now PS02 receive in inbox and have three options i.e view, approve, cancel. On clicking View option, the notification open in display mode as BUS2038 display method was used with tcode IQS3 behind View button.

Now the issue:

PS02 decided not to approve it due to a reason, thus right clicked the WI in inbox and selected the Forward option from the context menu, gave the user PS03 and submitted it. Note: PS03 is a user not in the Workflow sequence

User PS03 received the WI in the inbox and upon clicking it saw the same three options that were visible to user PS02. Now when the user clicked the View option (though have IW23 and IQS3 authorizations), the workflow disappeared without showing the Notification and landed back in PS02 inbox.

At this stage the log shows no error and now the WI is residing in PS02 inbox.

Why did the Notification not appear for user PS03?

Also if PS03 approved or rejected then the workflow works fine with WI going to the next person upon approval or in rejection back with PS02. But here on clicking View, its not opening and on top of that going back to PS02.

Thanks

Faisal

Invoke class event Handler from an Event of a Workflow Instance

$
0
0

Hello Experts,

 

Please weigh in your suggestions/opinions on my below Question. Highly appreciated. 

 

1. I have Class ZCLTEST which has 2 events defined.  Event A and B.

2. I have a Workflow W1 which gets triggered based on event A. Event A is triggered from a custom program.

3. I have an Event handler (method M1) in the same class for Event B. The event handler is registered in the constructor method.

4. In the workflow W1, I have an "Event creator" Step for event B. I am binding the Class object (&ZCLTEST&) to the Event Object.

 

My understanding is that the Event handler should get invoked upon event B trigger from the Event creator step; but it does not.

I know that, unlike BOR events, Object events are confined to a given internal session.

 

My Question is - Can Event handler be triggered from an Event raised from a Workflow Instance?? Is this fundamentally viable??

 

I know that the event handler method can be called directly from the Workflow as a step; but just want to check if above is possible.

 

 

Thanks,

Fefe

Two level PO Approval Workflow

$
0
0

Hi Experts,

 

I am new to sap workflow. I have a requirement to create a workflow for PO approval. The requirement is as follows

 

When the PO is created, the workflow will trigger and it will go for approval to first level approver ( get a new workflow in SBWP) and when the first level approver release the PO it will go to the second level approver.

 

I am using a copy of the standard workflow WS20000075. For me when a PO is created it will go for approval to the first approver but when the he release the PO it will not go to the second level approver.

 

For the start Event I am using Object Type : BUS2012 and Event of the Object  as RELEASESTEPCREATED. I use TS20000166 task and assign both the user in it.

 

Please see the below screen for your reference.

 

wf.PNG

Start Event

WF1.PNG

for the first Activity

wf2.PNG

wf3.PNG

for Second activity

 

wf4.PNG

wf5.PNG

 

Please help me to resolve the Issue.

 

 

Thanks

 

Himadri

SBWP - Users don't receive WF action

$
0
0

Dears, good morning!!

 

We have a problem on the client, where the actions of pass / fail given WF are not being received in the Users box.

 

We have already seen filters / settings / permissions and hadn't identify any problem that would prevent these actions were received.

 

Debugging methods WF concerned approvers that should be acted upon are successfully listed. But none received the action in the box and WF gets stuck in this task waiting for someone to perform the next step.

 

Have anyone experienced similar problem or have any idea that might is causing this problem?

 

Thank you!!

Approval Workflow - aggregation logic for notification

$
0
0


Dear Experts,

 

we have put in place a workflow for the Purchase Requisition approval process that is currently notify with one e-mail for each purchase requisition to approve.

 

The client is requiring to optimize the mumber of emails sent through an aggregation logic leveraging on, for example, material group or vendor.

 

Is it possible to apply easily a similar logic? If yes what are the steps / objects to build?

 

Many thanks in advance for your suggestions.

 

John

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


Change the User Decision Action in Workflow

$
0
0

I have a User Decision step have Decision Text

 

 

 

 

 

 

 

 

 

 

 

1.Accept Invoice

 

 

2.Accept Final Invoice, Closing PO Lines

 

 

 

 

3.Reject Invoice

 

 

4. Display Account Info

 

 

 

 

 

 

 

 

 

Now the requirement is when user click on button 'Accept Final Invoice, Closing PO Lines' A POP message should display with 'YES' and 'NO'.When user clicks on 'Yes' button what ever the functionality is there for the button 'Accept Final Invoice, Closing PO Lines' it should work and if the User clicks on 'No' button what ever functionality for the button 'Accept Invoice' should work means it should navigate to the Accept Invoice functionality.

 

 

 

 

 

 

I had used Program Exit concept and created a class and in that i had AFTER_EXECUTION method and used the function 'POPUP_TO_CONFIRM' to display POP up message once the user clicks on button 'Accept Final Invoice, Closing PO Lines' by displaying 2 options 'YES' and 'NO'.

 

 

Now the problem is i need to change the user Decision after displaying the POP up message.

 

 

Is there any way i can change the USer Decision after the POP up message display

 

 

Thanks

Durga Prasanth

Current agent value in program exit after agent determination

$
0
0

Hello folks,

 

In user decision step, I have given rule (Agent Determination: Function to be executed) as an agent.

In addition, I have given program exit where at the event - 'CREATED' (after workitem creation), I am not being able to get determined value of agent. How do I get determined value of agent in program exit's CREATED event for user decision?

 

Regards,

Harsh

Workflow commitment error

$
0
0

We run workflow for project approvement. When the user tries to commit the work item, the error has occurred.

 

Do you have any idea for this problem?

 

Thanks in advance.

 

 

CNIF_PI056

 

 

Diagnosis

In the current LUW (Logical Unit of Work) at least one of the BAPIs listed below or the BAPI "BAPI_PS_PRECOMMIT" has finished with an error.

 

 

BAPI Method

BAPI_BUS2001_CREATE ProjectDefinitionPI.CreateSingle

BAPI_BUS2001_CHANGE ProjectDefinitionPI.Change

BAPI_BUS2001_DELETE ProjectDefinitionPI.Delete

BAPI_BUS2001_SET_STATUS ProjectDefinitionPI.SetStatus

BAPI_BUS2054_CREATE_MULTI WBSPI.CreateMultiple

BAPI_BUS2054_CHANGE_MULTI WBSPI.ChangeMultiple

BAPI_BUS2054_DELETE_MULTI WBSPI.DeleteMultiple

BAPI_BUS2001_SET_STATUS WBSPI.SetStatus

BAPI_BUS2002_CREATE NetworkPI.CreateFromData

BAPI_BUS2002_CHANGE NetworkPI.Change

BAPI_BUS2002_DELETE NetworkPI.Delete

BAPI_BUS2002_ACT_CREATE_MULTI NetworkPI.ActCreateMultiple

BAPI_BUS2002_ACT_CHANGE_MULTI NetworkPI.ActChangeMultiple

BAPI_BUS2002_ACT_DELETE_MULTI NetworkPI.ActDeleteMultiple

BAPI_BUS2002_ACTELEM_CREATE_M NetworkPI.ActElemCreateMultiple

BAPI_BUS2002_ACTELEM_CHANGE_M NetworkPI.ActElemChangeMultiple

BAPI_BUS2002_ACTELEM_DELETE_M NetworkPI.ActElemDeleteMultiple

BAPI_BUS2002_SET_STATUS NetworkPI.SetStatus

 

 

 

If an error has occurred in at least one individual BAPI and despite this you call BAPI "BAPI_PS_PRECOMMIT", this message is issued with message type I (information).

 

 

If an error has occurred in at least one individual BAPI and in BAPI "BAPI_PS_PRECOMMIT", but despite this you carry out a COMMIT WORK (for example, using BAPI "BAPI_TRANSACTION_COMMIT"), the current program is terminated and this message is issued with message type X (exit).

 

 

This is necessary to ensure data consistency for all objects created, changed, and/or deleted in this LUW.

 

 

Note that the current LUW was not successfully closed and that no new LUW can be started in this status.

 

 

System Response

The precommit is not executed, or the COMMIT WORK leads to a termination.

 

 

Procedure

Change the calls of the individual BAPIs so that no errors occur during the individual checks or during the subsequent overall check.

Work Item Text is different value anot in container

$
0
0

Hi All,

 

I am passing ECO &_WI_OBJECT_ID.CHANGENUMBER& Rev &REVISION_NUMBER& From &WF_INITIATOR& to be Implemented

 

Checking container log :

 

 

originator.JPG

 

But When Item comes in my inbox in place of originator picking ChnageNumber:

 

WIT.JPG

 

This is wired issue for me and wasted two days without any luck.Please help me.

 

Thanks,

Saquib

Attaching Drawing

$
0
0

binding.pngDear Group,

 

This is a follow-up question from the creating Hot Spot question and regards attaching the drawing number.  The workflow is started from a simple ABAP program that loads the container elements with information.  One piece provided is the material drawing number and they would like this as an attachment so that when it is selected, it pulls up the drawing.

 

I've used the suggestions obtained so far to create a Generic Instantiate Task with binding above.  It allows the drawing number to be attached to the task as desired and starts cv03n (all good), but it uses 3 characters of the drawing number for the drawing type. 

 

The two main types of drawings used by our product designers are autocad or solidworks, but the user will not know which it is when starting the ABAP program.  Is it possible to pass the drawing type to it as spaces, and simply let the product design person select this manually when CV03n starts?  If so, could you give options for how?

 

Thanks for any help,

 

Al

Quality Notification to trigger Work item to Persons Responsible in Sequence.

$
0
0

Hi

We are Indian Public Sector Steel Plant, went live on SAP ECC 6.0 with all latest EHPs recently. Extended Quality Notification processing was configured  for taking various business approvals through a notification initiated (IQS1). The coordinator/initiator after creating the Notification, puts the user ID of next immediate approver in the 'Person Responsible" field and puts the notification "in process". This is generating the work item in the inbox of the recipient approver and he is able to access the Notification.  Until this, every thing is fine. The first approver puts his remarks and he selects next higher approver in the "Person Responsible" and saves the Notification. It is expected that the 2nd Approver also receives the Work item in his SAP inbox. But this is not happening. The workflow was getting terminated and red deletion flag is appearing in the SAP BWP workflow at the first approver level.

 

The Business requirement is, work item to be generated for all the approvers  in sequence and Notification should be accessible from SAP BWP instead of IQS2(inputting the Notification number). Also once the Notification was sent to next approver , it shouldn't be editable for the creator as long as it remains as the work item in next person's inbox. Creator/approver should be able to access only when it stays in his in-box.

 

Also the attachments to the notification made by the creator/approver  through the "Services for Objects' link should not be editable/removable by the other persons. Kindly let me know whether this scenario is achievable. Though I am not on Technical side, I would be happy to take, if a development (ABAP) is necessary.

BRGDS

KISHORE HARI

offline Workflow approval from outlook

$
0
0

Hi,

 

We want to implement offline workflow approval where user will approve/ reject from outlook.

 

1. Created Workflow with user decision.

2. In User Decision step implemented program exit with class, to send mail to outlook in HTML format with approve and reject link using BCS class.

3. Maintained inbound processing in SCOT with receiver mail address and class in exit name. and that class has methods create instance & process inbound.

 

Now user is  receiving mail in Outlook. When he click on Approve/Reject email should  be send to SAP.

We are not receiving mail in SAP which is send from outlook.

 

we are using sap receiver mail address as XYZ@ABC.XOM but In some threads I found that receiver mail address as XYZ@sandbox.abc.com

 

Please help what are the configurations required between outlook and SAP.

 

Please help


Urgent: Rejection Reason Dropdown Popup in Workflow User Decision

$
0
0

Hi Experts,

 

I am stuck! Need your expert advise here.

 

I need to provide user with the popup of Rejection Reasons (dropdown) when he clicks on Reject in User Decision step.

 

I know that standard user decision provides a popup where we can enter text, however, I need to provide a dropdown list to the user so that he can pick the reason from the list.

 

For this, I have developed a custom Popup FM which I can call in Methods (tab) of user decision. I cannot call it in activity step after the user decision (in Reject branch) because that will create a separate work item which we don't want. We want to present it as PopUp.

 

My question is:

 

"How to pass workitem ID into the methods which are defined in the methods tab of the user decision step? If I have the work item ID , I can read the user decision and if it is rejected then I can call the popup...

 

Basically I want the method to be called only when the user Rejects. Right now it would be called for Approve as well. "

 

Or if you have any other suggestion to accomplish this, please let me know .

 

Thanks in Advance.

Approval Workflow - aggregation logic for notification

$
0
0


Dear Experts,

 

we have put in place a workflow for the Purchase Requisition approval process that is currently notify with one e-mail for each purchase requisition to approve.

 

The client is requiring to optimize the mumber of emails sent through an aggregation logic leveraging on, for example, material group or vendor.

 

Is it possible to apply easily a similar logic? If yes what are the steps / objects to build?

 

Many thanks in advance for your suggestions.

 

John

CRM Workflow - Input required to find relevant steps

$
0
0

Hi Friends

 

I have one requirement in workflow, please check the below steps and advise

 

 

Workflow

image1.jpg

 

Step 1:

User will create chain activity in CRM and select “Additional Sell in By” in the parties involved and select user names from drop down list.

For example : In this case they selected two user id’s.

image2.jpg

 

Step 2: Next they will select save button

image3.jpg

 

Step 3: After saving the activity, the workflow will be triggered like this.

image4.jpg

 

Step 4: Next they will click publish button.

image5.jpg

 

Step 5: Once they click publish, it will trigger email to the users selected in step 1(In our case two users).

image6.jpg

After this step workflow log will  be like this.

image7.jpg

 

Step 7: Next user will execute the workflow task in his/her mail box.

image8.jpg

After this step (I don’t see any workflow log).I think workflow is getting closed after sending email to the users listed in step 1.

If anyone click execute button, it’s getting deleted from other users inbox.

Here I want to understand, once the user press execute button how it’s getting deleted from other users inbox, I don’t see any workflow step/log after this in workflow builder. Because workflow is designed to send the work items to users. There is no further steps next to it.

 

Please check advice how it might controlled from workflow or is there any programs involved in this?

Workflow overal diagram placed in top of this message.

 

Thanks

Gowrishankar

Workflow not re-triggering

$
0
0

Hi All,

 

I have a workflow e.g. PO workflow.

 

Currently workflow triggering when it got created. But not re-triggerring when it changed.

 

 

Workflow will trigger once PO create and the same workflow should wait until if any one change the PO. If any one change the PO, I have to perform checking of some conditions.

 

 

I used "Wait for Event" but it is not re-triggerring. Provided as below:

Container Element = ZBUS2012

BOR = BUS2012

Event = Changed

 

 

Do I needs to make any entries in SWE2? If yes, kindly let me know what entries I have to make.

 

Thanks.

VKM1,VKM3,VKM5 Workflow

$
0
0

Dears,

 

My client looking for workflow to approve whenever release/unblock happened against these transactions. VKM1,VKM3 and VKM5.

 

How workflow holds until approver approves those released/unblocked orders/customers. Kindly give me some clue.

 

Regards,

Nath.

Viewing all 1026 articles
Browse latest View live


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