BSELYFRM is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter BSELYFRM into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Title: General Form Routines
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
OBJECT_KEY_GET CALL FUNCTION 'OBJECT_KEY_GET' " ermittelt für die Objektnummern TABLES " den zugehörigen Objektkey ONR_TAB = YONR_TAB.
K_ORDER_READ CALL FUNCTION 'K_ORDER_READ' " ermittelt zur Auftragsnummer EXPORTING " den zugehörigen Auftrag AUFNR = R_ORDER-AUFNR IMPORTING KTEXT = R_ORDER-KTEXT AUTYP = R_ORDER-AUTYP AUART = R_ORDER-AUART KOKRS = R_ORDER-KOKRS BUKRS = R_ORDER-BUKRS WERKS = R_ORDER-WERKS OWAER = R_ORDER-OWAER EXCEPTIONS NOT_FOUND = 01.
K_KOKRS_READ call function 'K_KOKRS_READ' exporting kokrs = r_order-kokrs importing e_tka01 = l_tka01 exceptions not_found = 1 not_found_gjahr = 2 others = 3.
G_PERIOD_GET call function 'G_PERIOD_GET' exporting date = sy-datlo variant = l_tka01-lmona importing period = z_kkb_varian-vperio year = z_kkb_varian-vgjahr exceptions ledger_not_assigned_to_company = 1 period_not_defined = 2 variant_not_defined = 3 others = 4.
K_KKB_REPORT_AUTHORITY_CHECK CALL FUNCTION 'K_KKB_REPORT_AUTHORITY_CHECK' EXPORTING I_KKBC = LD_AKKBC * I_KKBU = * I_OBJ = * I_CKRCO = * I_ACTVT = EXCEPTIONS NO_AUTHORITY = 1 OTHERS = 2.
K_ORDER_CHECK_CUSTOMER CALL FUNCTION 'K_ORDER_CHECK_CUSTOMER' EXPORTING I_ACTVT = R_ACTVT I_AUFK = LD_AAUFK I_EXIT = '001'.
K_KKB_CKBOB_FILL CALL FUNCTION 'K_KKB_CKBOB_FILL' EXPORTING I_CKBOB_OUT = 'X' * I_KKBC_OUT = ' ' TABLES T_CKBOB = R_XCKBOB T_OBJLIST = YOBJLIST T_IKKBC = R_XKKBC * T_EKKBC = EXCEPTIONS OTHERS = 1.
KKBH_EXCEPTION_LIGHT_GET CALL FUNCTION 'KKBH_EXCEPTION_LIGHT_GET' EXPORTING * T_VERS_I = I_KOKRS = R_KOKRS I_TKKBH_RULE = R_RULE I_COSTS_INCL_REV = R_REVENUE "K_EXCEPTION IMPORTING T_LIGHTS_E = XAMPEL TABLES T_CKBOB_I = R_CKBOB EXCEPTIONS RULE_NOT_FOUND = 1 OTHERS = 2.
G_FIELD_READ CALL FUNCTION 'G_FIELD_READ' EXPORTING * ADD_FLAG = ' ' FIELDNAME = R_FNAM * LANGU = SY-LANGU * NO_GLX_OBJ_PROCESSING = ' ' * SHOW_ALIAS = ' ' TABLE = R_TABNAME TEXT_FLAG = 'X ' " Texte sind relevant * UTABLE = ' ' IMPORTING FIELD_ATTR = R_ADFIES * ORIGINAL_NAME = EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.