SAP Business Workflow

Workflow Trading Contract

  During an implementation project on S4H, our team used the GTM (Global Trade Management) solution. This solution is very usefull, it allows to manage in one place the selling and buying part. But I am not going to talk about this solution, but rather the part I worked on the workflow for the trading contract approval. It is my very first workflow on trading contract and I wanted to …

Read More »

Workflow Basics & More! A handy guide

Hello SAPians,   Below are some handy function modules (along with sample code), transactions, programs & macros used in SAP Business Workflows. Also some important points to remember which I put together from my experience. So here we go!!! Function Modules Trigger Workflow FM – SAP_WAPI_CREATE_EVENT CALL FUNCTION ‘SAP_WAPI_CREATE_EVENT’ EXPORTING object_type     = ‘XXXX’ object_key      = lv_objkey event           = ‘RELEASED’ IMPORTING return_code     = lv_ret_code TABLES input_container = lt_container. Mandatory parameters has to be passed via container   Complete Workitem FM – SAP_WAPI_WORKITEM_COMPLETE CALL FUNCTION ‘SAP_WAPI_WORKITEM_COMPLETE’ …

Read More »

SAP Business Workflow Tips (I): Calling a Workflow from an ABAP Class.

Sometimes we need to call a workflow process from our SAP ABAP programs and implementations in an easy form with Object Oriented Programming capabilities, but many times we found SAP business workflow implementations are Business Object Oriented and this way is too tricky and old fashioned for us. Good news! SAP Business Workflow allows to be called through our own Event-Class with our own parameters without create a Business Object Repository. …

Read More »

Pseudo-Thread prioritization in mass event processing systems

In workflow heavy systems that handle multiple events and workflow triggers, events are processed in the same local destination by default. In this article, we will look at fine tuning this approach for better resource utilization and parallelism.   By default, all workflows and events are processed in a single queue by the outbound scheduler (SMQ2). The default setup with outbound destinations might look as below In a workflow / event heavy …

Read More »

SRM workflow troubleshooting

In SAP consulting I have always faced issues with Workflow which may sometimes be sporadic and really don’t have an answer as to why they occurred . The only easy solution is to get the workflow restarted for me this has worked most of the times . I am not considering the issues where there is a code logic in the workflow which obviously needs to be fixed . I …

Read More »

Seismic changes in SAP Business Workflow for S/4

Fiori has radically transformed the Business Suite. It has confirmed that SAP can massively simplify the user interaction for a business user and by doing so paves the way to empowering the business user to achieve much more without the need for extra training or documentation. To do so requires completely rethinking the “what can be achieved”,  “how it can be achieved”, and “what to sacrifice” in order to make something …

Read More »

Embellishing your Approvals Without Coding (My Inbox)

Update 4th September to mention specific SAP custom attributes. Here’s a really useful way to spruce up your approvals that involves no coding. It applies not just to approvals but to any type of workflow task. Prerequisite: Your users are already using the My Inbox Fiori app to access their approvals. They are not alone, because its usage is rocketing up, thanks to the spectacular simplification and beautification of the user interface …

Read More »

Reminder in SAP Workflow

Prior: – I had requirement to send Reminder mail at regular interval to user for approval from mail. If user didn’t respond within time Workflow instance will be inevitably completed. Author: Parin Chahwala STEP 1: – Create General User Decision step to trigger MAIL for approve/Reject Workflow step. Here, we are triggering mail to approve/reject PR releases. Add User Decision step. Add required Decision Texts here Release approve/reject steps add as …

Read More »

Call for Speakers – ASUG Annual Conference

It’s that time of year again – no, not to finish off your Halloween candy, or to get ready for Thanksgiving and Christmas – it’s the Call for Presentations for the ASUG Annual Conference (conveniently co-located with a little event called SAPPHIRE NOW). This event will take place in Orlando, FL. May 16 – 18 2017. As an ASUG Volunteer for the Workflow and BPM Special Interest Group, I am …

Read More »

How to trigger workflow using BTE

When BTE is being used ? You have a scenario to trigger a workflow from a business transaction and you reach to conclusion (after viewing event trace in transaction SWEL) that no event is triggered when that transaction is executed. Now how would you trigger a workflow as there is no triggering event? Now the BTE is coming to picture. Live Scenario As per business requirement, it is required that …

Read More »