CL_BDT_AMOUNT - BDT Amount
rdisp/max_wprun_time - Maximum work process run time General Material DataDiese Dokumentation steht unter dem Copyright der SAP AG.
Funktionalität
Diese Klasse repräsentiert den Business Data Type Amount.
Beziehungen
Erbe von
Der BDT Amount enthält als Supplementary Component CurrencyCode den BDT
Beispiel
REPORT bdt_Format_Test.
data:
bdt_Amount type ref to if_Bdt,
bdt_Container_Amount type if_Bdt_Types=>ty_S_Container_Amount,
formatting_Options type ref to if_Bdt_Formatting_Options,
formatted_Value type string.
bdt_Container_Amount-content = '1200'.
bdt_Container_Amount-currencyCode-content = 'EUR'.
formatting_Options = cl_Bdt_Formatting_Options=>create( ).
formatting_Options->set_Option(
i_Key = if_Bdt_Constants=>co_Curr_Presentation_mode
i_Value = if_Bdt_Constants=>co_S_Curr_Presentation_mode-code ).
bdt_Amount = cl_Bdt_Factory=>create( if_Bdt_Constants=>co_Bdt_Amount ).
formatted_Value = bdt_Amount->format_Single(
i_Container = bdt_Container_Amount
i_Formatting_Options = formatting_Options ).
write formatted_Value.
Hinweise
Formatting Options: currencyPresentationMode
Formatting Option Values: none, code, displayOnlyCode, displayOnlyDescription
Weiterführende Informationen
Container-Definition:
PERFORM Short Reference General Data in Customer Master
Diese Dokumentation steht unter dem Copyright der SAP AG.
Length: 2138 Date: 20120527 Time: 123443 triton ( 42 ms )






