4 avg. rating (80% score) - 5879 votes
Are you preparing for SAP Workflow interview? SAP Workflow is a tool from SAP family where the sequences of the particular flow is tracked and produced to the people at the right time. It provides automation on the process to follow instead of people doing it manually. SAP engineers use it for writing automation code to be used by developers. Currently, SAP Workflow is being used more and will increase in future. There is huge demand for this technology in the market. Opportunities are everywhere for this technology. Companies are hiring for onsite positions as well. Good knowledge on these concepts will fetch you the job. Wisdomjobs framed SAP Workflow interview questions and answers to make it easier for your interview preparation.
1. Possible Agents:
2. Responsible Agents:
The users to whom the work item needs to be sent.
This is set during Step definition. Note that Possible agents are defined during Task definition. (Org Unit, Position, User, Work Center, Role, Rule, Container Element)
Note: The work item recipients is determined by intersection of Possible Agents and Responsible Agents.
3. Actual Agents: Actual user who executed the dialog task.
4.Excluded Agents: Users who are not supposed to execute the dialog task (even if they are in possible agents)
1 Workflow Container:
2 Task Container:
Rule Container: For resolving rules
Database: Automatically gets populated by system code
Virtual: You determine the content and use SWC_SET_CONTAINER to populate
Methods: Can be created using FM, Transaction, Report, Dialog Module, Other
Synchronous: Finish execution before handling the control back to the task.
Asynchronous: Return the control back immediately. Cannot have export parameters. They depend on events to return results back to the calling program.
Dialog: Something to user
Background: Cannot have messages or exceptions.
BUS2012: Purchase Order,
Various status of BO
Modeled: Not accessible at runtime
Implemented: Not ready to be used, Internal use only
Released: For customer to use
Obsolete: Don’t use anymore
To change attribute values from methods of a BO
HR Tables: SWEHR2/3
ABAP Code user Exit: SWE_EVENT_CREATE
Change Document: SWEC
Event Linkage: SWE2
Subtype: Key field cannot be created. Methods and attributes can be created.
Delegate: If you want to change the functionality of a method, define a sub type, redefine the method, delegate the parent business object to child object.
Interface: Interface is a combination of Attributes, Methods and Events, to reduce the redundancy in definition.
IFSAP: Common interface for all BOs. It has following methods
Method: Existence Check
Requested Start: When this date is met, only then the work item will start execution, or available for taking action (dialog).
Latest Start: When a date mentioned here is met, it can send an email, or can be modeled to do something action.
Requested End: Same as Latest Start
Latest End: Same as Latest Start
SWWDHEX – For deadline monitoring
SWWERRE – For error Monitoring
SWEQSRV – For Event Queue Delivery
Function Module that creates workflow:
There are three ways a parallel processing can be implemented:
Dynamic parallel processing using a multi-line container element
Fork (3 out of 5) Work queue
In dynamic processing the type of each entry in the table have to be of same type.
Same task will be processed for each line of the multi-line container. It can be a dialog or background task. Deadline monitoring, binding, agent determination will be same for each work item generated To achieve, go to “Miscellaneous” in the activity, and enter the multi line container element.
Mark the priority as ‘1’ Express
Enable event queue. It will ensure that triggered events are received in a phased manner. This needs to be done while providing event linkages.
‘Process Control’ is used to manipulate another work item of the workflow during runtime.
‘Process Control’ is usually used to model the workflow when deadlines are reached. SAP offers 4 standard behaviors as part of process control.
Cancel Work item: Target WI is logically deleted. Subsequent tasks are not executed. Precondition is that Process control and the target WI have to be in different branches of the same fork.
Set Work item to obsolete: The target WI is set to complete, and processing continues in the branch processing obsolete.
Cancel Workflow: Current workflow is set to ‘Complete’. If this is the sub workflow, then the control goes to super-ordinate workflow.
Complete (terminate) Workflow: Same as above, but the branch of super-ordinate workflow which contains the current sub-workflow will not be continued.
Cancel Workflow including all callers: Same as above, but all callers also will be ‘COMPLETE’d.
Portal config file for UWL
Dialog Work item – W
Background work item
Workflow work item
Work queue work item
Missed deadline work item: When a deadline is missed a missed deadline workitem with the message appears in inbox.
A work item created as part of synchronous in locked until end of the method execution. But in asynchronous, work item is locked only until start of method execution.
At least one terminating event is required for a task using Asynchronous task.
EXTSRV –> PROCESS
If this indicator is set for an activity, workflow system checks if the processor of current task is also a recipient for next task. If yes, then the next task will be executed immediately.
The Main Transaction Code Involved in Performance Tuning is SE30-Run Time Analysis and ST05-SQL Tracer.
we can develop it by giving the code in PBO (process before output) giving table control line = 3. it will give only 3 lines and we can make 2 lines disable in screen painter options available in table control
Elementary search helps, Collective search help.
Elementary search helps defines a search path where we will define the table from which the data has to be read and the selection criteria. Through import and export parameters. Used when we gets the data rom a single table.
Collective search helps: Combination of elementary search helps. When we need to fetch data based on multiple selection criteria’s. More than one tables are Selection from multiple tables
Difference between Search Helps and Match Codes:
search help: adding f4 functionality is search help(adding help for any topic)
match code: adding search help for the input field is called as math code object.
Yes, if we have customised data to store in table , we create a table.
Tables which can be access by all user are client independent (no mandt field in table)
Tables which can be access by some specific user are client dependent (use mandt field in table)
At the time of creating table through, there is a check box for table maintenance allowed.So if you want to activate the table maintenance, just mark this box. Once table gets activated, u can change its contents through SM30 ot Through Table Maintenance.
The Default method of the object type is executed if a space is passed as the method parameter value. You can find the default method by viewing the applicable object using transaction SWO1 and going to menu option “Goto -> Basic Data” and clicking on the Defaults tab. The default method is located in the field “Method”.
SWETYPECOU – Type Linkage Table
SWEINSTCOU – Instance Linkage Table
Workflow provides numerous advantages to SAP users and consultants:
If started by an event:
If started directly (e.g. with function module SAP_WAPI_START_WORKFLOW; not recommended if it can be avoided):
A background work item (code B) represents tasks that do not require any user interaction.They are controlled and executed automatically by the workflow system, and do not appear in the Business Workplace. However, you may view them using the Work Item Selection Report.
No. What you can do is restart the workflow using SWUE. This will be the same as recreating the workflow because it will start at the point where it has logically been deleted.
You can accomplish this by setting up the work item priority to the highest level.
You may consider using deadline monitoring facilities.
Requested start, requested end; Latest start or latest end on tasks;
SAP Workflow Related Tutorials
|SAP CRM Tutorial||SAP ABAP Tutorial|
|SAP ABAP Web Dynpro Tutorial||SAP Crystal Reports Tutorial|
|SAP CCA Tutorial||SAP IDT Tutorial|
SAP Workflow Related Interview Questions
|SAP CRM Interview Questions||SAP CRM Functional Interview Questions|
|SAP ABAP Interview Questions||SAP ABAP Web Dynpro Interview Questions|
|SAP Crystal Reports Interview Questions||SAP CCA Interview Questions|
|SAP IDT Interview Questions||SAP ABAP Report Developer Interview Questions|
|SAP ABAP Data Dictionary Interview Questions||SAP ABAP ALV Reports Interview Questions|
All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.