CL_BDT_FACTORY - BDT Factory

Fill RESBD Structure from EBP Component Structure   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Functionality

This class generates instances of the individual business data types.

Relationships

The individual Business Data Types (BDT) have the following hierarchy:

CL_BDT_GENERIC
,,|
,,|--CL_BDT_ATTACHMENT
,,|
,,|--CL_BDT_BINARY_OBJECT
,,|,,|
,,|,,|--CL_BDT_GRAPHIC
,,|,,|
,,|,,|--CL_BDT_PICTURE
,,|,,|
,,|,,|--CL_BDT_SOUND
,,|,,|
,,|,,|--CL_BDT_VIDEO
,,|
,,|--CL_BDT_CODE
,,|
,,|--CL_BDT_DATE
,,|
,,|--CL_BDT_DATETIME
,,|,,|
,,|,,|--CL_BDT_DATE_TIME_GLOBAL
,,|,,|
,,|,,|--CL_BDT_DATE_TIME_IND
,,|,,|
,,|,,|--CL_BDT_DATE_TIME_LOCAL
,,|,,|
,,|,,|--CL_BDT_DATE_TIME_LOCAL_NORM
,,|
,,|--CL_BDT_DURATION_FULL
,,|,,|
,,|,,|--CL_BDT_DURATION_SINGLE_UNIT
,,|,,|
,,|,,|--CL_BDT_DURATION_TIME
,,|
,,|--CL_BDT_GENERIC_UNIT
,,|,,|
,,|,,|--CL_BDT_AMOUNT
,,|,,|
,,|,,|--CL_BDT_MEASURE
,,|,,|
,,|,,|--CL_BDT_QUANTITY
,,|
,,|--CL_BDT_IDENTIFIER
,,|
,,|--CL_BDT_INDICATOR
,,|
,,|--CL_BDT_LANGUAGE_DEP
,,|,,|
,,|,,|--CL_BDT_DESCRIPTION
,,|,,|
,,|,,|--CL_BDT_NAME
,,|,,|
,,|,,|--CL_BDT_NOTE
,,|,,|
,,|,,|--CL_BDT_TEXT
,,|
,,|--CL_BDT_NUMBER
,,|,,|
,,|,,|--CL_BDT_NUMERIC
,,|,,|
,,|,,|--CL_BDT_RATIO
,,|,,|
,,|,,|--CL_BDT_VALUE
,,|
,,|--CL_BDT_PERCENT
,,|
,,|--CL_BDT_TIME
,,|
,,|--CL_BDT_URI

Example

Generating a BDT of the category Amount:

data:bdt_Amount type ref to if_Bdt.

bdt_Amount = cl_Bdt_Factory=>create( if_Bdt_Constants=>co_Bdt_Amount ).

Notes

You can find the BDT category to be transferred to the factory in the interface IF_BDT_CONSTANTS.
The return value is an interface reference of the category IF_BDT. This interface is implemented by all BDT categories.

Further information



PERFORM Short Reference   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.


Length: 9794 Date: 20120526 Time: 090858     triton ( 188 ms )