SAP CBGL_LB51_SERIAL_OPEN Function Module for NOTRANSL: EHS: Öffnen des Seriennummern Dialogs









CBGL_LB51_SERIAL_OPEN is a standard cbgl lb51 serial open SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: EHS: Öffnen des Seriennummern Dialogs processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for cbgl lb51 serial open FM, simply by entering the name CBGL_LB51_SERIAL_OPEN into the relevant SAP transaction such as SE37 or SE38.

Function Group: CBGL_LB51
Program Name: SAPLCBGL_LB51
Main Program: SAPLCBGL_LB51
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function CBGL_LB51_SERIAL_OPEN pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'CBGL_LB51_SERIAL_OPEN'"NOTRANSL: EHS: Öffnen des Seriennummern Dialogs
EXPORTING
* I_VALDAT = SY-DATUM "Date and Time, Current (Application Server) Date
I_DOCKEY = "DDS: DMS Document Key
* I_NUM_LBL_APPLY = "Number of Labels
* I_ACT_LABEL = "EHS: Structure for Displaying Label Tree

TABLES
I_PARAM_TAB = "EHS: Parameter Values for Report Shipping

EXCEPTIONS
ERROR_SYMBOL_DETERM = 1
.



IMPORTING Parameters details for CBGL_LB51_SERIAL_OPEN

I_VALDAT - Date and Time, Current (Application Server) Date

Data type: SY-DATUM
Default: SY-DATUM
Optional: Yes
Call by Reference: Yes

I_DOCKEY - DDS: DMS Document Key

Data type: CVDDOCKEY
Optional: No
Call by Reference: Yes

I_NUM_LBL_APPLY - Number of Labels

Data type: CCGLS_MPD_LABELS-NUM_LBL_APPLY
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ACT_LABEL - EHS: Structure for Displaying Label Tree

Data type: CCGLS_MPD_LABELS
Optional: Yes
Call by Reference: Yes

TABLES Parameters details for CBGL_LB51_SERIAL_OPEN

I_PARAM_TAB - EHS: Parameter Values for Report Shipping

Data type: CVDDP
Optional: No
Call by Reference: Yes

EXCEPTIONS details

ERROR_SYMBOL_DETERM -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for CBGL_LB51_SERIAL_OPEN Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.

DATA:
lv_i_valdat  TYPE SY-DATUM, "   SY-DATUM
lt_i_param_tab  TYPE STANDARD TABLE OF CVDDP, "   
lv_error_symbol_determ  TYPE CVDDP, "   
lv_i_dockey  TYPE CVDDOCKEY, "   
lv_i_num_lbl_apply  TYPE CCGLS_MPD_LABELS-NUM_LBL_APPLY, "   
lv_i_act_label  TYPE CCGLS_MPD_LABELS. "   

  CALL FUNCTION 'CBGL_LB51_SERIAL_OPEN'  "NOTRANSL: EHS: Öffnen des Seriennummern Dialogs
    EXPORTING
         I_VALDAT = lv_i_valdat
         I_DOCKEY = lv_i_dockey
         I_NUM_LBL_APPLY = lv_i_num_lbl_apply
         I_ACT_LABEL = lv_i_act_label
    TABLES
         I_PARAM_TAB = lt_i_param_tab
    EXCEPTIONS
        ERROR_SYMBOL_DETERM = 1
. " CBGL_LB51_SERIAL_OPEN




ABAP code using 7.40 inline data declarations to call FM CBGL_LB51_SERIAL_OPEN

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

"SELECT single DATUM FROM SY INTO @DATA(ld_i_valdat).
DATA(ld_i_valdat) = SY-DATUM.
 
 
 
 
"SELECT single NUM_LBL_APPLY FROM CCGLS_MPD_LABELS INTO @DATA(ld_i_num_lbl_apply).
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!