Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 

FPM application can be adopted in various ways. Let's consider the business case that a single FPM application should view different screen elements according to country or according to different roles for different users .This can be done by using FPM_ADAPTABLE_OVP and adaptation schemas.

To define schema execute Tx- SM34 and provide view cluster name as :  FPM_VC_ADAPT_SCHEMA

4

A new schema can be defined. This post makes use of the schema TEST_FPM.

5

The schema TEST_FPM contains two dimensions as COUNTRY & ROLE.

6

The post creates a list uibb and then adopts it to different countries. Create a list uibb feeder class.

1

2

Populate the data from SPFLI table and activate the feeder class.

3

Execute Tx- FPM_WB and select the option Wizard for creating empty FPM Applications.

7

Provide the application name and choose floorplan as Overview Page . Now here we can see the Adaptation Options section.

8

Let's select the Create Adaptable Configuration and the configuration name appears automatically. We have to select the adaptable schema.

9

From drop down select TEST_FPM.

10

Choose Next.

11

Select SAVE.

12

Select Edit Configuration.

13

Provide page title and choose list uibb and provide a configuration name and then select Configure UIBB to create a new list uibb configuration.

20

Select YES to continue.

21

Select OK to continue.

22

Save in local object.

23

Provide feeder class name and select Edit Parameters.

24

Select OK.

25

Select ADD Columns and add all the columns.

26

Save the configuration.

27

Test the application.

28

Till now no adaptable configuration created. All fields appear in the list uibb.

29

Now select ADD to create adaptations.

30

From the schema the dimensions appear on the popup screen. Deselect the Country - Applies to all countries.

31

Provide a country name as IN and select OK.

32

Save in local object.

33

Now we are in country IN adaptation level. Automatically all columns copied from main to this adaptation.

34

According to the requirement remove few fields if that is relevant for that country. Here as a demo we removed many columns and only 4 field carrid, connid, countryfrom and countryto.

35

Let's create another adaptation for another country. Select the Basic Configuration and Select ADD.

36

Provide country as DE and select Ok.

37

Save in local object.

38

Keep the required columns here as per requirement. As a demo we removed many fields and keep only carrid, connid, cityfrom and cityto.

39

40

Save and test the application.

41

Here we have all the fields.

42

Now in the URL add '&country=IN' and execute or refresh and now it calls adaptation configuration where country = IN.

43

Now change in the URL as '&country=DE' and execute or refresh and now it calls adaptation configuration where country = DE.44


If you open the application in SE80 and check the parameters.

45

The adaptation schema dimensions are added as a part of the application parameter.

46


1 Comment