Sunteți pe pagina 1din 13

1.

Call transaction BRFAPL01 to create application class

2. Go to transaction BRF and create BRF object as follows

Press enter key

Click on Create
Click on Save
3. Go to transaction SE38 and execute report BRF_COPY_IMPL_CLASSES

Now execute the report


4. Copy function module BRF_DEMO_RAISE_EVENT_SAMPLE to a test function
module.
5. Go to transaction BRF
6. Expand All Groups folder, select the Events folder and create new event as shown
below

Enter short text and click on Save button


7. Make following setting in SPRO as shown below

8. Define additional setting for application class using following configuration path

9. On the initial screen on transaction BRF go to Utilities menu Contexts and


maintain entries as shown below

10. Create data sources (if want to fetch data from database tables) by clicking on
Utilities menu Data Source from the initial screen on BRF transaction.
Click on New entries and provide input as below

Note: dont enter Application class manually, select it from the search help
11. Go to transaction BRF and create expression as shown below

Press F4 on Impl. Class

From the search help select Constant (this is required when you want to select table
entries based on a particular value)
Now click on continue button.

Click Yes on above screenshot.


Enter values as below

Now save the changes


Now create one more expression as below

Enter parameters and build the query for expression2 as below

Here the query is to select all account where account class (KTOKL) = RES.
You will get an error for Return Type, but you can proceed and click the Save
button.

Creating Context
12. Go to transaction BRFIMC03

13. Create new Action with name 1CONTEXT (you can provide anything) in transaction
BRF.

14. The important part out here is to provide implementation class as 0FLCALN001,
which we have implemented using transaction BRFIMC03 in previous step.
15. Double click on 1CONTEXT action as shown below to provide parameters

Create Expression
1. Create expression using transaction BRFEXP01.
2.

S-ar putea să vă placă și