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: 
thanga_prakash
Active Contributor

This document will explain you on how to use the custom user defined functions in the decision step of the process chain.

IMPLEMENTATION OF BADI “RSAR_CONNECTOR”

Display the BADI “RSAR_CONNECTOR” in SE18

Create an implementation as explained below.

Save and activate the implementation, then the implementation will change to Active.

Go to the “Name of implementing class” and do the custom coding inside the method

“IF_EX_RSAR_CONNECTOR~GET”

Make sure that the new custom function should start with “C_”.

Create a class ZTEST_CL_DATE and method CHECK_DATE.

CREATION OF PROCESS CHAIN AND USE OF THE CUSTOM DEFINED FUNCTION

Now go to RSPC transaction and create a process chain as below, where we will use the custom defined function created in the decision step.

In the below chain we will create Start step -->  Decision step --> Program step

Decision step with condition on ‘Friday’

Now from the drop-down list select CUSTOM User defined functions and then add the custom and save the step.

Now do the check and activate the chain, then execute the chain.

After executing monitor it in ST13 and the result should be decision 1 should be executed and it ran as expected.

Kindly provide your feedback or any further points to be included.

14 Comments
Labels in this area