SAP Reports / Programs | Production Planning and Control | Production Planning for Process Industries | Process Data Documentation(PP-PI-PDO) SAP PP

PPPI_WRITE_MESSA_F01 SAP ABAP INCLUDE - PPPIWRITEMESSAF01







PPPI_WRITE_MESSA_F01 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 PPPI_WRITE_MESSA_F01 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 PPPI_WRITE_MESSA_F01. "Basic submit
SUBMIT PPPI_WRITE_MESSA_F01 AND RETURN. "Return to original report after report execution complete
SUBMIT PPPI_WRITE_MESSA_F01 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 PPPI_WRITE_MESSA_F01

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:

VB_CP_HEADER_DATA CALL FUNCTION 'VB_CP_HEADER_DATA' EXPORTING i_aufnr = aufnr IMPORTING e_caufvd = caufvd e_afpod = afpod e_psfc_head = psfc_head e_tco09 = tco09 EXCEPTIONS order_not_found = 1 OTHERS = 2.

COC1_FEATURE_CHECK CALL FUNCTION 'COC1_FEATURE_CHECK' EXPORTING feature_id = comer-atinn language = sy-langu IMPORTING feature_name = cabnt-atbez feature_neutral_name = cabn-atnam internal_unit_of_measure = cabn-msehi object_id = cawn-atidn title1 = cabnt-atue1 title2 = cabnt-atue2 value_assignment_with_longtext = cocc-txtrf EXCEPTIONS invalid_class_type = 1 missing_feature_information = 2 no_feature_found = 3 no_feature_valid = 4 no_language = 5 OTHERS = 6.

COC1_CONV_VALUES_FOR_OUTPUT CALL FUNCTION 'COC1_CONV_VALUES_FOR_OUTPUT' EXPORTING characteristic_value = comer-atwrt characteristic_value_float = comer-atflv format = comer-atfor characteristic_id = comer-atinn IMPORTING value_for_output = comer-atwrt EXCEPTIONS format_not_valid = 1 characteristic_id_not_valid = 2 OTHERS = 3.

COMH_GET_MESSAGE_TEXT_NAME CALL FUNCTION 'COMH_GET_MESSAGE_TEXT_NAME' EXPORTING ms_element = comer IMPORTING tdname = thead-tdname tdobject = thead-tdobject tdid = thead-tdid tdspras = thead-tdspras EXCEPTIONS no_name_found = 1.

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING client = sy-mandt id = thead-tdid language = thead-tdspras name = thead-tdname object = thead-tdobject IMPORTING header = texth TABLES lines = textl EXCEPTIONS not_found = 01.

APPL_LOG_READ_DB CALL FUNCTION 'APPL_LOG_READ_DB' EXPORTING object = c_ms_object subobject = ' ' external_number = external_number date_from = icomhr-sedat date_to = sy-datlo time_from = icomhr-seuzt time_to = sy-timlo log_class = '4' program_name = '*' transaction_code = '*' user_id = ' ' mode = '+' IMPORTING number_of_logs = number_of_logs TABLES header_data = ibalhdr header_parameters = header_parameters messages = ibalm message_parameters = message_parameters.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING element = p_element function = 'SET' type = 'BODY' window = 'MAIN' EXCEPTIONS element = 1 function = 2 type = 3 unopened = 4 unstarted = 5 window = 6 bad_pageformat_for_print = 7 OTHERS = 8.



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