Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
jahnavi_venati
Explorer

For embedding the ABAP function modules into BRF+ we can use the procedure call.

Step 1.Choose any ABAP function module

Sample function module: CONVERSION_EXIT_ISOLA_INPUT

Let’s see the functionality of this function module.

This function module is used to convert for example if the language code (DE), then it is converted to corresponding Language key (D).

Step 2. Check the importing parameters and exporting parameters in function module.

So that we can avoid the type compatibility issues while using this function module in SAP BRF+ easily.

Step 3. Create a function as shown below

  • Give the function name and text and click on create and navigate to object.

  • Select the mode for function, let’s use the functional mode.

  • Now we create the two data objects lv_input and lv_output as per the function module in ABAP. As these data objects need to be the input and output for the function in its signature. Click on add new data object as shown below.

  • Choose element and click on create and navigate to object.

  • Provide the details for input as shown below and click on ok.

  • Activate the data element lv_input. By clicking on activate button.
  • Now we create the output data element lv_output for the function as shown below.

  • Choose element and click on create and navigate to object.

  • Provide the details as shown below.

  • Activate the data element lv_output. By clicking on activate button.
  • We have the input and output for the function as shown in below screenshot.

Step 4.Now we create an expression for function call in top expression of function.

   

  • Choose as shown below.

  • Provide the details as shown below.

  • Choose the call type as function module in procedure call .

  • And give the function module name CONVERSION_EXIT_ISOLA_INPUT and click enter .



  • If you want you can ignore the exception just click on Ignore exception. Then your ignored exception will be shown like this.

  • Now we have to map the BRF+ function parameters to the ABAP function module parameters. For that click on add parameters. Add the input and output which are the importing and exporting parameters of CONVERSION_EXIT_ISOLA_INPUT.

  • We get the input and output as shown below.

  • Click on the input and do the same for output we get this screen shown below.

  • Click on the select context parameter for input mapping.

  • Click on the select context parameter for output mapping.

  • After mapping we get the following screen.

  • Now activate the expression exp_pc_call and the function FU_PC_CALL .Our procedure call is in top expression in function.

Step 5.Lets test the function with procedure call.

  • Click on the simulation in function.

Provide the input as DE and click execute.

  • We get the output as shown below.

4 Comments
Labels in this area