/BOFU/CL_FBI_VIEW_MAPPER_EXT - Extended View Mapper

General Material Data   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Functionality

Extended View mapper class for FBI view which would cater to the needs of certain UI specific conversion.

Conversions that are supported by this mapper class are:

,,1) Code description Conversion ,,- Domain Texts are derived and displayed in UI specific field

,,2) Time Stamp Conversion ,,- Convert Time Stamp into Date & Time

,,3) Altkey Conversion ,,,,- Convert internal GUID field into external key

,,4) Identity Conversion ,,,,- Map a BO field to a UI field (which is not on the BO)

,,5) Time Stamp (location specific) conversion - Derive the Time zone based on the location and convert time ,, stamp accordingly

To achieve this funcitonality:

,,1) Create a sub class for the super class /BOFU/CL_FBI_VIEW_MAPPER_EXT

,,2) Redefine the method /BOFU/IF_FBI_VIEW_MAPPER~INIT

,,3) Add the relevant entries in the table MT_MAP_DATA_EXT (refer to the section 'FURTHER INFORMATION' ,, for more details)

,,4) Once the table is filled, call the method /BOFU/IF_FBI_VIEW_MAPPER~INIT of the super class /BOFU/CL_FBI_VIEW_MAPPER_EXT

,,5) For Time Stamp (location specific) conversion, the developer can write the logic to derive the zone based on ,, the location UUID.

Relationships

Example

Notes

Further information

1) Code description

,,Node field 1 ,,- Name of the field for which the code description is intended (mandatory)

,,UI field 1 ,,- Name of the UI field which holds the code description (mandatory)

2) Time Stamp

,,Node field 1 ,,- Name of the Time stamp field (mandatory)

,,Node field 2 ,,- Name of the Time zone field (optional)

,,UI field 1 ,,- Name of the Date field (mandatory)

,,UI field 2 ,,- Name of the Time field (optional)

,,UI field 3 ,,- Name of the Time zone field (optional)

3) Altkey conversion

,,Node field 1 ,,- Name of the field which holds the altkey GUID (mandatory)

,,UI field 1 ,,- Name of the field which holds the external key (mandatory)

,,Conf 1 ,,- BO key (mandatory)

,,Conf 2 ,,- Node key (mandatory)

,,Conf 3 ,,- Alternative key (mandatory)

4) Identity Conversion

,,Node field 1 ,,- Name of the field for which the value needs to be on a another field ,,,,,, ,,,, onUI(mandatory)

,,UI field 1 ,,- Name of the relevant UI field (mandatory)

5) Time Stamp (location specific) Conversion

,,Node field 1 - Name of the Time stamp field (mandatory)

,,Node field 2 - Name of the Location field (mandatory)

,,UI field 1 - Name of the Date field (mandatory)

,,UI field 2 - Name of the Time field (optional)

,,UI field 3 - Name of the Time zone field (mandatory)


rdisp/max_wprun_time - Maximum work process run time   Vendor Master (General Section)  
This documentation is copyright by SAP AG.


Length: 2938 Date: 20120526 Time: 053454     triton ( 95 ms )