[General Journal Entry Workflow] How to set up app...
Enterprise Resource Planning Blog Posts by SAP
Get insights and updates about cloud ERP and RISE with SAP, SAP S/4HANA and SAP S/4HANA Cloud, and more enterprise management capabilities with SAP blog posts.
Nowadays, more and more customers get benefit from the S/4 HANA flexible workflow. Specially for the General Journal Entries Workflow, user could set up dynamic workflow(s). For example, set up multi-level workflow based on certain amount or different cost centers. If you also want to take advantage, you just need to do 2-step settings, so that system will learn,‘
When to trigger workflow - Using Fiori App 'Manage Workflows for General Journal Entry Verification'
Who to approve - Using Fiori app 'Manage Teams and Responsibilities (General Journal Entry Verification)'
In SAP Help Portal - Verify General Journal Entries,there is complete explanation about ‘Enabling and Extending Workflows’. It is strongly recommended that you go through all the example settings mentioned above, better to play around in some test system. Practice makes perfect!
In this blog, I would like to show you how to enhance the 'Who to approve' part by illustration one typical use case - set up workflow approve based on submitter
What it looks like?
Step1: Logon with GL_ACCOUNTANT role and open Fiori APP ‘Manage Teams and Responsibilities (General Journal Entries Verification)’
Step2: Create a new team with Type FI General Journal Entry Verification Default Team (FGLVG) for General Journal Entry workflow
Step3: Then you could see the custom responsibility definition is also show in the section. Now you could set a value for the submit by and define a processor for this person.
How to? ( Configuration)
Step1 - Open Configuration Item Define Customer Responsibility Definitions’ (SSCUI ID 102159)
option 1: customer with 2 System landscape
Select ‘Manage Your solution’ app, in order to navigate to the Configuration screen. Within this app, Click the task ‘Configure your solution’ which will give you the possibility to maintain certain processes.
Select configuration item ‘Responsibility definition’. The application Area is Application Platform and Infrastructure and the sub application area is Responsibility Management
Choose configuration step ‘Define Customer Responsibility Definitions’ (SSCUI ID 102159)
Option 2: customer with 3-system landscape
Login in CBC system, Configure Your Business Processes -> General Settings -> Further Settings Responsibility Management -> Responsibility Management -> Define Custom Responsibility Definitions (102159)
Step 2: Create a new 'Customer Responsibility Definition' with an existing CDS field/view
2.1 Within this SSCUI, first click the ‘New entries’ button to create a new entry 2.2 Then input the resp. def. name as you need. for example, Z_SUBMITBY 2.3 Select CDS view 'I_BusinessUserVH ’, CDS field ‘USERID’.
2.4 Input the resp. def. ext. name as you need. for example, Z_SUBMITBY 2.5 Save and Exit
Customer’s admin must add the authorization for the following authorization objects (as can be seen in the DCL of I_BusinessUserVH) to the user (i.e. Business Process Specialist who wants to maintain teams) to search for Business Users.
B_BUPA_GRP: Business Partner: Authorization Groups (preferably with ACTVT = F4)
B_BUPA_RLT: Business Partner: BP Roles (preferably with ACTVT = F4)
B_BUP_DCPD : Business Partner Processing
B_BUP_PCPT: Business Partner: Purpose Completed
Step3: Back to worklist and Choose configuration item ‘Responsibility definition’. Select configure step 'Assign Custom Responsibility Definition to CDS View’ (SSCUI ID 102163)
Within this SSCUI, first click the ‘New entries’ button to create a new entry
Then input the newly created Customer Responsibility Definition, the one you created in step2
Select the CDS VIEW name ‘C_GLJRNLENTRYTOBEVERIFIED’ and input the CDS field name 'PARKEDBYUSER'. (for General Journal Entry Workflow )
Save and Exit. Step4: Select configure ‘Assign Custom Responsibility Definitions to Standard Team Category’ (SSCUI ID 102160)
Within this SSCUI, first click the ‘New entries’ button to create a new entry
Select standard team category ‘FGJEV (G/L Journal Entry Verification)’
Then input the newly created Customer Responsibility Definition, the one you created in step4.
Save and Exit
Example - User Case
Different processors are needed in the following cases:
Manager X’s approval is needed when general journal entry is submitted by Employee A or B
Manager Y’s approval is needed when general journal entry is submitted by Employee C
Submit General Journal Entries by
Approve by
Employee A or B
Manager X
Employee C
Manager Y
Settings in Managing Teams and Responsibilities You need to create two team entries in the app for Manager X and Manager Y, and configure the settings as below:
Team Entry 1
Team Entry 2
Responsibility Definitions
User Name = Employee A, B
User Name = Employee C
Team Members
Business partner = Manager X
Business partner = Manager Y
Function = Group 1 for Verifying G/L Journal Entries
Function = Group 1 for Verifying G/L Journal Entries
So far, you've set up different approvals based on submitters. (known issue: the description is always blank ) If you would like to extend more other dimensions to extend the 'Who to approve' part, you could just change corresponding fields in Configuration step 3 and 4. After that, you will could realize a more suitable approval.
Important Note: As guided by SAP product engineering team, using of code list / customizing to define the custom responsibility definitions is more recommended. This typically don’t use DCLs and have less number of entries in the F4 resulting in good performance and user experience.
Due to low performance and user experience, SAP discourages use of master data / transactional data to define the custom responsibility definitions. If customer is accept above issue, appropriate authorization (preferably with ACTVT = F4) corresponding to the DCL of the CDS for the custom responsibility definition must been configured.
Hope you found this blog useful and feel free to share with anyone else who might could benefit from it.
In case of any doubts about this blog, please leave comments down below.
Liling J Thank you so much for the blog to explain about the custom responsibility definitions in Responsibility Management and how it extends the standard workflow agent determination without any modification to existing code.
Although SAP User (e.g. CBXXXXXXXXXX) or Business User or Business Partner or Material Number are technically allowed as custom responsibility definitions, you should consider custom responsibility definitions which are based on characteristics (e.g. Salary Group with values like Average Salary Group, High Salary Group or Material Type with values like Perishable goods and Non-perishable goods) which are non-personal and which have same value in Quality and Production. The advantage of that approach is that even if Person A is replaced by Person B in an organization/department or Material 123 is replaced by Material 456, the team definition doesn't need to change. Using in-app extensibility and custom logic, such characteristics can be maintained and even populated automatically from other data like salary of a person.
I have followed the process and created the additional field. I have then created 2 Teams in Manage Teams and responsibilities and have created 2 workflows in Manage Workflows for General Journal Verification Entries.
The issue I am having is that when people submitted journals, all the journals are going to the approver of the workflow that is number 1 in the order of workflows. It is ignoring the Submitted by rule created.
tapillay16 then would you please check the precondition of the first workflow rule and the others? if it is unlimited, then it will fall into that workflow.
tapillay16 thanks for the screen shot. then you could need to check what is the company code you are using. if you are using this mentioned company code, by design it will fall into this workflow. unless you make additional restriction to make it not match.
After implementing above solution , we were trying to assign users in responsibility definition (Z_SUBMITBY)in teams and responsibility app . But user list is empty . I double checked in system as there quite number of users who has GL_Accountant role . Did any one faced similar issue ?
1. 'users' here are those 'submitter'. which means, only those users who have submitted a journal entry would be listed in the value list. thus, at the begining, the value list is empty.
2. don't worry. at same time system allow you to input the users who has gl_accountant role.
We also faced a similar issue - so the list will not show any names when trying to search for a user, unless they have submitted a journal via the verify app. You can also enter their "CB - user ID" in the custom field added and that should work.
1. Usually, the search help of the new created custom responsibility definitions will take long time to get result for the first time. Please wait few minutes.
2. Also you can directly input the correct user ID( CBXXXXXXXX) without using search help. It also works.
In this SSCUI , you need to define a new responsibility definition name which should start with Z. Also, you need to maintain a CDS view and one field that belongs to this CDS view. This CDS view that maintained here will be used as search help of the newly created responsibility definitions.
Actually it is not a good solution that uses CDS view C_GLJRNLENTRYTOBEVERIFIED here. It will cause the issue that pointed out by tpillay -->User can be selected only after he/she submitted JE by verify app.
Please try to use view I_BusinessUser and field USERID.
Do you know the steps to configure the agent determination for 'Teams & Responsibility' Application for customized flexible workflow created without taking reference of any other standard workflow in S/4 HANA 1909 On premise version?
Thank you for the response Jia. I might not have been clear in my earlier question. Let me elaborate it further.
For example, Consider sales order flexible workflow WS02000006. When you configure this workflow using 'Manage sales order workflow' application, you get an option to add multiple steps to the workflow and to define the recipients based on roles or users. When you select the roles option, you get certain set of roles such as workflow initiator, manage of workflow initiator etc. If we want to have additional roles in the recipient section of the workflow step, we can configure the functions in 'Teams & Responsibility' Application and then can utilize those functions as roles in recipient section of workflow steps in 'Manage sales order workflow' application.
Now, when I define the custom flexible workflow in the system, I can always define the recipients based on traditional agent determination approaches such as defining a custom agent determination rule, security roles, HR job positions etc. However, if I want to define the recipients based on functions(approval-level 1 in below screenshot ) in 'Teams & Responsibilities' application, then how can I add them in 'Manage Workflow' application for customized flexible workflow.
Thank you for the wonderful share. I tried the same for sales order workflow, I was not able to get the standard CDS view hence created the custom one. But I am getting the following error:
this definitely address one of the requirements to have specific approver depending on who submitted the entry. However, other requirements is having 2-level workflow and 3-level workflow depending on who submitted the entry and thresholds. And for each 2-level and 3-level workflow there are 2 workflows with the corresponding conditions, one workflow contains condition that has specific document type and company code and the other workflow contains condition with only company code.
to give you an example, user A submits an entry with document type and it is expected to go through only 2-level workflow created which is assigned as order number 2 but since the same document type is also defined in a 3-level workflow created where the order number is 1 the workflow that is triggered is the 3-level workflow which makes it incorrect when user A submitted the entry. And if I make the 2-level workflow order number be 1, it will also be incorrect if another user submits an entry with the same document type where it is expected to go through 3-level workflow.
is there any other way we can trigger the correct workflow based on these conditions?
Wanting some advice if anyone has set up the custom field for GL account? Based on the SAP help portal artical they mention setting up GL account as a custom field.
Having followed the guidence, on step 3, 'Assign Custom Responsibility Definition to CDS View’, what is the CDS view that you need to extend the field too? The CDS mentioned in the blog, C_GLJRNLENTRYTOBEVERIFIED, does not have GL Account. I have tried, C_GLJRNLENTRYITEMTOBEVERIFIED which has GL account by standard, however the assignment in the team set up does not appear to trigger the approver, ignores the GL account assignment in the team set up.
I have set up the 'parkedby' user with no issue, using CDS view C_GLJRNLENTRYTOBEVERIFIED, however not having same success for GL account.
Any advice much appreciated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.