Supply Chain Management Blogs by Members
Learn about SAP SCM software from firsthand experiences of community members. Share your own post and join the conversation about supply chain management.
cancel
Showing results for 
Search instead for 
Did you mean: 
Prasanta
Explorer
In this blog I shall explain you to design SAP FSM business rule to trigger actions based on events. We can automate different business processes through FSM business Rule such as Absence Request, Master data creation, approval process for expenses etc.

Use Case:

In FSM, employee can submit their time off or absence through Work Time function. System is not triggering any automated notification to supervisor. With help of give example, we will write a simple one step business rule to trigger email notification.

Step 1: Configure Different Absence Type through Setting & Configuration.

  • Click on Time slot types in Planning and Dispatching menu





  • Add Absence Type “Paid Leave” and Click on Save button.




New Absence Type Added into FSM


Step 2: Design Business Rule to Trigger mail notification.


Create New Business Rule



Define Trigger Logic



Define Action


Step 3: Create Absence Request through FSM Mobile/Windows App and provide Leave Type, Date & Time. And then press on Save button from your mobile or windows application.


FSM Mobile App


Step 4: Business Rule Triggered Email Notification.


With help of FSM business Rule, we can also send notification to supervisor's mobile phone. Hope this blog helps you to understand process to design business rules based on your requirements.

 

Thanks,

Prasanta Ghosh
4 Comments
Karthic
Participant

Very good blog about Business Rule. A different use case. Thanks for explaining in detail.

0 Kudos
mrghosh thankss is  awesome

 

i have a some inquierires is posssible How can I generate a business rule that captures the latitude and longitude to identify the route where the technician passed?

 

is possible ?
Prasanta
Explorer
0 Kudos
You can fetch latitude and longitude from Address object.

Query API Sample:

select a from Address a limit 1

Hope this help you to design your business rule.
0 Kudos
SAP FSM do not store the route through which the technician has travelled.

But on some objects like ServiceAssignmentStatus lat long are captured. And you can get those by querying

Select a.location.latitude,a.location.longitude from ServiceAssignmentStatus a join Activity b on a.object=b.id where a.name='Accept' and b.code='1234'

 

If you want to store these in some UDFs or send a mail with these values, you need to define a BR on create of SAS object and define relevant variables and condition and Actions.
Labels in this area