WB2_FIX_WBGT_FOR_MD is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name WB2_FIX_WBGT_FOR_MD into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
WB2B_FIX_WBGT
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'WB2_FIX_WBGT_FOR_MD' "Correct WBGT for Material Documents
EXPORTING
it_mblnr = " wb2_material_key_stab Key for Material Documents
i_size = " i Package Size
i_display = " bval Display Log
i_test = 'X' " bval Test run only
i_with_bw = ' ' " bval mit BW-Versorgung
i_detail_log = 'X' " bval Detailed Display
IMPORTING
e_handle = " balloghndl Application Log: Log Handle
EXCEPTIONS
INTERNAL_ERROR = 1 " Internal Error
. " WB2_FIX_WBGT_FOR_MD
The ABAP code below is a full code listing to execute function module WB2_FIX_WBGT_FOR_MD including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).
| ld_e_handle | TYPE BALLOGHNDL . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_e_handle | TYPE BALLOGHNDL , |
| ld_it_mblnr | TYPE WB2_MATERIAL_KEY_STAB , |
| ld_i_size | TYPE I , |
| ld_i_display | TYPE BVAL , |
| ld_i_test | TYPE BVAL , |
| ld_i_with_bw | TYPE BVAL , |
| ld_i_detail_log | TYPE BVAL . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name WB2_FIX_WBGT_FOR_MD or its description.
WB2_FIX_WBGT_FOR_MD - Correct WBGT for Material Documents WB2_FIX_WBGT_FOR_IV - Correct WBGT for Invoice Verification Documents WB2_FIX_WBGT_FOR_DL - Correct WBGT for Deliveries WB2_FIRST_PROCESS_REASSO_DATA2 - N2M: Initial Processing of Association Partner Data (Locks, Etc.) WB2_FIRST_PROCESS_REASSO_DATA - N2M: Initial Processing of Association Data for Reassociation WB2_FIRST_PROCESS_CUMUL_DATA_2 - N2M: Initial Processing of Cumulation Data after Reading from the DB