GEN_ALLG_FKT 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 GEN_ALLG_FKT 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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
WALL_GET_MATERIALS_OF_MC CALL FUNCTION 'WALL_GET_MATERIALS_OF_MC' EXPORTING im_fill_matnr_rt = 'X' im_fill_matnr_table = ' ' TABLES im_mc_class_rt = mg_class_rt ex_matnr_rt = t_matnr * ex_t_matnr = EXCEPTIONS empty_range = 1 nothing_get = 2 nothing_to_do = 3 OTHERS = 4.
WAUF_T621_LESEN CALL FUNCTION 'WAUF_T621_LESEN' EXPORTING im_apstp = postab-apstp IMPORTING ex_t621 = t621.
WGEN_DETERMINE_T161W_BSART CALL FUNCTION 'WGEN_DETERMINE_T161W_BSART' EXPORTING im_lieferant = postab-lifnr im_betrieb = postab-vzwrk IMPORTING ex_bsart = h_bsart ex_reswk = h_vzwrk EXCEPTIONS parameter_error = 1 no_record_found = 2 OTHERS = 3.
WGEN_DETERMINE_PO_BSART CALL FUNCTION 'WGEN_DETERMINE_PO_BSART' EXPORTING IM_FB_TYP = FB_TYP-LIEF_BESTELLUNG IM_BSART = p_bsart IM_BSART_AUS_T621 = p_bsart IM_ABELN = postab-ABELN IM_ABELP = postab-ABELP IM_VZ = postab-VZWRK IM_VZ_BUKRS = POSTAB-VZBUK IM_BETRIEB = postab-fIWRK IM_BETRIEB_BUKRS = POSTAB-BUKRS IM_LIEFERANT = postab-LIFNR IM_KEINE_MSG_AUSGEBEN = KREUZ IMPORTING EX_BSART = h_BSART EXCEPTIONS NO_VALID_BSART_FOUND = 1 OTHERS = 2.
WGEN_DETERMINE_T161W_BSART CALL FUNCTION 'WGEN_DETERMINE_T161W_BSART' EXPORTING im_lieferant = postab-lifnr im_betrieb = postab-fiwrk IMPORTING ex_bsart = h_bsart ex_reswk = h_vzwrk EXCEPTIONS parameter_error = 1 no_record_found = 2 OTHERS = 3.
WGEN_DETERMINE_PO_BSART CALL FUNCTION 'WGEN_DETERMINE_PO_BSART' EXPORTING IM_FB_TYP = FB_TYP-LIEF_BESTELLUNG IM_BSART = p_bsart IM_BSART_AUS_T621 = p_bsart IM_ABELN = postab-ABELN IM_ABELP = postab-ABELP IM_VZ = postab-VZWRK IM_VZ_BUKRS = POSTAB-VZBUK IM_BETRIEB = postab-fIWRK IM_BETRIEB_BUKRS = POSTAB-BUKRS IM_LIEFERANT = postab-LIFNR IM_KEINE_MSG_AUSGEBEN = KREUZ IMPORTING EX_BSART = h_BSART EXCEPTIONS NO_VALID_BSART_FOUND = 1 OTHERS = 2.
WGEN_DETERMINE_T161W_BSART CALL FUNCTION 'WGEN_DETERMINE_T161W_BSART' EXPORTING im_vz = postab-vzwrk im_betrieb = postab-fiwrk IMPORTING ex_bsart = h_bsart EXCEPTIONS parameter_error = 1 no_record_found = 2 OTHERS = 3.
WGEN_DETERMINE_PO_BSART CALL FUNCTION 'WGEN_DETERMINE_PO_BSART' EXPORTING IM_FB_TYP = FB_TYP-LAGER_BESTELLUNG IM_BSART = p_bsart IM_BSART_AUS_T621 = p_bsart IM_ABELN = postab-ABELN IM_ABELP = postab-ABELP IM_VZ = postab-VZWRK IM_VZ_BUKRS = POSTAB-VZBUK IM_BETRIEB = postab-FIWRK IM_BETRIEB_BUKRS = POSTAB-BUKRS IM_KEINE_MSG_AUSGEBEN = KREUZ IMPORTING EX_BSART = h_bsart EXCEPTIONS NO_VALID_BSART_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.