SAP Reports / Programs | Logistics - General | Merchandise Distribution | Allocation(LO-MDS-AL) SAP LO

GEN_ALLG_FKT SAP ABAP INCLUDE - GENALLGFKT







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


ABAP code to call this SAP report using the submit statement

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.






SUBMIT GEN_ALLG_FKT. "Basic submit
SUBMIT GEN_ALLG_FKT AND RETURN. "Return to original report after report execution complete
SUBMIT GEN_ALLG_FKT VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT GEN_ALLG_FKT

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

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.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name GEN_ALLG_FKT or its description.