SAP Reports / Programs | Materials Management | Consumption-Based Planning (See Also PP-MRP)(MM-CBP) SAP MM

PL011F01 SAP ABAP INCLUDE - FORM Routines







PL011F01 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 PL011F01 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 PL011F01. "Basic submit
SUBMIT PL011F01 AND RETURN. "Return to original report after report execution complete
SUBMIT PL011F01 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: FORM Routines


INCLUDES used within this REPORT PL011F01

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:

RPL_FACTORS_MCAT_CALC CALL FUNCTION 'RPL_FACTORS_MCAT_CALC' EXPORTING pi_matkl = pi_merch_cats-matkl pi_matnr_list = pi_art pi_kunnr_list = pi_cust IMPORTING pe_factors = pe_factors pe_average = profile-average EXCEPTIONS OTHERS = 1.

RPL_FACTORS_ARTICLE_GET CALL FUNCTION 'RPL_FACTORS_ARTICLE_GET' EXPORTING pi_matnr = pi_articles-matnr pi_kunnr_list = pi_cust IMPORTING pe_factors = pe_factors pe_average = profile-average EXCEPTIONS OTHERS = 1.

CUA_PARAMETER_READ CALL FUNCTION 'CUA_PARAMETER_READ' EXPORTING programm = t185f-agidv bildgruppe = t185-bldgr bild = t185-panel typ = t185f-trtyp IMPORTING cua_status = t185v-status cua_titel = t185v-ctitel cua_para1 = t185v-para1 cua_para2 = t185v-para2 cua_para3 = t185v-para3 cua_para4 = t185v-para4.

LOCATION_EXTRACT CALL FUNCTION 'LOCATION_EXTRACT' IMPORTING bild = t185v-panel.

FUNCTION_EXECUTE CALL FUNCTION 'FUNCTION_EXECUTE' EXPORTING programm = t180-agidv kopfgruppe = dummy_kopgr positionsgruppe = dummy_posgr funktion = fcode IMPORTING cua_status = t185v-status cua_titel = t185v-ctitel cua_para1 = t185v-para1 cua_para2 = t185v-para2 cua_para3 = t185v-para3 cua_para4 = t185v-para4 folgefunktion = fcode dunkel = t185-dunkel leave = fa_flag_leave leave_screen = fa_flag_leave_screen.

SCREEN_SEQUENCE_CONTROL CALL FUNCTION 'SCREEN_SEQUENCE_CONTROL' EXPORTING programm = t180-agidv kopfgruppe = dummy_kopgr positionsgruppe = dummy_posgr funktion = fcode IMPORTING cua_status = t185v-status cua_titel = t185v-ctitel cua_para1 = t185v-para1 cua_para2 = t185v-para2 cua_para3 = t185v-para3 cua_para4 = t185v-para4 folgefunktion = fcode dunkel = t185-dunkel leave = fb_flag_leave.

RPL_FACTORS_GET_NEW * CALL FUNCTION 'RPL_FACTORS_GET_NEW' * EXPORTING * PI_MATKL = G_MERCH_CATS-MATKL * PI_MATNR_LIST = G_ART[] * PI_KUNNR_LIST = G_CUST[] * IMPORTING * PE_FACTORS = F * PE_AVERAGE = AVERAGE * EXCEPTIONS * OTHERS = 1.

POPUP_TO_CONFIRM_LOSS_OF_DATA CALL FUNCTION 'POPUP_TO_CONFIRM_LOSS_OF_DATA' EXPORTING textline1 = 'Sollen die bestehenden Faktoren'(001) textline2 = 'überschrieben werden?'(002) titel = 'Faktoren neu berechnen'(003) IMPORTING answer = answer EXCEPTIONS OTHERS = 1.

RPL_FACTORS_MCAT_CALC CALL FUNCTION 'RPL_FACTORS_MCAT_CALC' EXPORTING pi_matkl = g_merch_cats-matkl pi_matnr_list = g_art[] pi_kunnr_list = g_cust[] IMPORTING pe_factors = g_factors[] pe_average = g_profiles-average EXCEPTIONS OTHERS = 1.

RPL_FACTORS_ARTICLE_GET CALL FUNCTION 'RPL_FACTORS_ARTICLE_GET' EXPORTING pi_matnr = g_articles-matnr pi_kunnr_list = g_cust[] IMPORTING pe_factors = g_factors[] pe_average = g_profiles-average EXCEPTIONS OTHERS = 1.

MARA_SINGLE_READ CALL FUNCTION 'MARA_SINGLE_READ' EXPORTING matnr = pi_matnr * SPERRMODUS = ' ' * STD_SPERRMODUS = ' ' IMPORTING wmara = mara_item EXCEPTIONS lock_on_material = 1 lock_system_error = 2 wrong_call = 3 not_found = 4 OTHERS = 5.

NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING nr_range_nr = c_number_range_wfwfactors object = 'WFWFACTORS' IMPORTING number = pe_number * returncode = EXCEPTIONS interval_not_found = 1 number_range_not_intern = 2 object_not_found = 3 quantity_is_0 = 4 quantity_is_not_1 = 5 interval_overflow = 6 OTHERS = 7.

RPL_MATERIAL_TEXT_GET CALL FUNCTION 'RPL_MATERIAL_TEXT_GET' EXPORTING pi_matnr = pi_matnr IMPORTING pe_maktx = pe_maktx EXCEPTIONS OTHERS = 1.

T023T_SINGLE_READ CALL FUNCTION 'T023T_SINGLE_READ' EXPORTING t023t_spras = sy-langu t023t_matkl = pi_matkl IMPORTING wt023t = t023t EXCEPTIONS not_found = 1 OTHERS = 2.

RS_TREE_CONSTRUCT CALL FUNCTION 'RS_TREE_CONSTRUCT' * exporting * INSERT_ID = '000000' * RELATIONSHIP = ' ' TABLES nodetab = tree EXCEPTIONS tree_failure = 1 id_not_found = 2 wrong_relationship = 3 OTHERS = 4.

RPL_MATERIAL_TEXT_GET * CALL FUNCTION 'RPL_MATERIAL_TEXT_GET' * EXPORTING * PI_MATNR = PI_PL_OBJECT-CREAT * IMPORTING * PE_MAKTX = TEXT * EXCEPTIONS * OTHERS = 1.

RPL_CUSTOMER_NAME_GET CALL FUNCTION 'RPL_CUSTOMER_NAME_GET' EXPORTING pi_kunnr = pi_pl_object-kunag IMPORTING pe_name1 = name EXCEPTIONS OTHERS = 1.

RS_TREE_LIST_DISPLAY CALL FUNCTION 'RS_TREE_LIST_DISPLAY' EXPORTING callback_program = 'RWRPL011' callback_user_command = 'TREE_COMMANDS' * CALLBACK_TEXT_DISPLAY = ' ' * CALLBACK_COLOR_DISPLAY = ' ' * CALLBACK_TOP_OF_PAGE = ' ' status = 'OWN' * CHECK_DUPLICATE_NAME = '1' * COLOR_OF_LINK = '1' * COLOR_OF_NODE = '4' * COLOR_OF_MARK = '3' * LOWER_CASE_SENSITIVE = ' ' * MODIFICATION_LOG = ' ' * NODE_LENGTH = 30 * TEXT_LENGTH = 75 * TEXT_LENGTH1 = 0 * TEXT_LENGTH2 = 0 * RETURN_MARKED_SUBTREE = ' ' * SCREEN_START_COLUMN = 0 * SCREEN_START_LINE = 0 * SCREEN_END_COLUMN = 0 * SCREEN_END_LINE = 0 * SUPPRESS_NODE_OUTPUT = ' ' * importing * f15 = EXCEPTIONS OTHERS = 1.

POPUP_TO_CONFIRM_LOSS_OF_DATA





CALL FUNCTION 'POPUP_TO_CONFIRM_LOSS_OF_DATA' EXPORTING textline1 = 'Bereits bestehende Gewichtungen'(006) textline2 = 'überschreiben?'(007) titel = 'Prognosegewichtungen generieren'(005) * START_COLUMN = 25 * START_ROW = 6 IMPORTING answer = answer EXCEPTIONS OTHERS = 1.



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 PL011F01 or its description.