SAP Reports / Programs | Cross-Application Components | General Application Functions | Commodity Pricing Engine(CA-GTF-CPE) SAP CA

INCL_CPE_OW_TEST SAP ABAP INCLUDE - Include INCL_CPE_OW_TEST







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


Text pool values


Title: Include INCL_CPE_OW_TEST


INCLUDES used within this REPORT INCL_CPE_OW_TEST

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:

CPE_TERM_ALL_FIELDNAMES_OW CALL FUNCTION 'CPE_TERM_ALL_FIELDNAMES_OW' EXPORTING iv_application = gs_document_com-application iv_termtype = gv_termtype IMPORTING et_input_fieldnames = lt_input_fieldnames.

CPE_DEFTERM_ALL_FIELDNAMES_OW CALL FUNCTION 'CPE_DEFTERM_ALL_FIELDNAMES_OW' EXPORTING iv_application = gs_document_com-application iv_termtype = gv_termtype IMPORTING et_input_fieldnames = lt_input_fieldnames.

CPE_FORMULA_ALL_READ_OW CALL FUNCTION 'CPE_FORMULA_ALL_READ_OW' EXPORTING is_formdoc_key = ls_formdoc_key iv_validfrom = gv_validfrom is_document_com = gs_document_com IMPORTING es_formula_com = ls_formula_com et_input_fieldnames = lt_input_fieldnames EXCEPTIONS error_occurred = 1 OTHERS = 2.

CPE_FORMCONVIN_READ_MULTI_OW CALL FUNCTION 'CPE_FORMCONVIN_READ_MULTI_OW' EXPORTING is_formdoc_key = ls_formdoc_key is_document_com = gs_document_com iv_validfrom = gv_validfrom IMPORTING et_formconvin_com = lt_formconvin_com et_input_fieldnames = lt_input_fieldnames EXCEPTIONS nothing_found = 1 error_occurred = 2 OTHERS = 3.

CPE_FORMROUNDIN_READ_MULTI_OW CALL FUNCTION 'CPE_FORMROUNDIN_READ_MULTI_OW' EXPORTING is_formdoc_key = ls_formdoc_key is_document_com = gs_document_com iv_validfrom = gv_validfrom IMPORTING et_formroundin_com = lt_formroundin_com et_input_fieldnames = lt_input_fieldnames EXCEPTIONS nothing_found = 1 error_occurred = 2 OTHERS = 3.

CPE_FORMCONVOUT_READ_MULTI_OW CALL FUNCTION 'CPE_FORMCONVOUT_READ_MULTI_OW' EXPORTING is_formdoc_key = ls_formdoc_key is_document_com = gs_document_com IMPORTING et_formconvout_com = lt_formconvout_com EXCEPTIONS error_occurred = 1 OTHERS = 2.

CPE_FORMINPUT_READ_OW CALL FUNCTION 'CPE_FORMINPUT_READ_OW' EXPORTING is_forminput_key = ls_forminput_key is_document_com = gs_document_com IMPORTING es_forminput = ls_forminput et_input_fieldnames = lt_input_fieldnames EXCEPTIONS entry_does_not_exist = 1 OTHERS = 2.

CPE_TERM_ALL_READ_MULTI_OW CALL FUNCTION 'CPE_TERM_ALL_READ_MULTI_OW' EXPORTING iv_docitem_guid = gs_formdoc-docitem_guid iv_cond_type = gs_formdoc-cond_type iv_validfrom = gv_validfrom is_document_com = gs_document_com IMPORTING et_term_com = lt_term_com et_input_fieldnames = lt_input_fieldnames EXCEPTIONS error_occurred = 1 OTHERS = 2.

CPE_TERMCONVIN_READ_MULTI_OW CALL FUNCTION 'CPE_TERMCONVIN_READ_MULTI_OW' EXPORTING iv_docitem_guid = gs_formdoc-docitem_guid iv_cond_type = gs_formdoc-cond_type iv_termno = -termno iv_validfrom = gv_validfrom is_document_com = gs_document_com IMPORTING et_termconvin_com = lt_termconvin_com et_input_fieldnames = lt_input_fieldnames EXCEPTIONS nothing_found = 1 error_occurred = 2 OTHERS = 3.

CPE_TERMROUNDIN_READ_MULTI_OW CALL FUNCTION 'CPE_TERMROUNDIN_READ_MULTI_OW' EXPORTING iv_docitem_guid = gs_formdoc-docitem_guid iv_cond_type = gs_formdoc-cond_type iv_termno = -termno iv_validfrom = gv_validfrom is_document_com = gs_document_com IMPORTING et_termroundin_com = lt_termroundin_com et_input_fieldnames = lt_input_fieldnames EXCEPTIONS nothing_found = 1 error_occurred = 2 OTHERS = 3.

CPE_TERMCONVOUT_READ_MULTI_OW CALL FUNCTION 'CPE_TERMCONVOUT_READ_MULTI_OW' EXPORTING iv_docitem_guid = gs_formdoc-docitem_guid iv_cond_type = gs_formdoc-cond_type iv_termno = -termno is_document_com = gs_document_com IMPORTING et_termconvout_com = lt_termconvout_com EXCEPTIONS nothing_found = 1 error_occurred = 2 OTHERS = 3.

CPE_TERMINPUT_READ_OW CALL FUNCTION 'CPE_TERMINPUT_READ_OW' EXPORTING is_terminput_key = ls_terminput_key is_document_com = gs_document_com IMPORTING es_terminput = ls_terminput et_input_fieldnames = lt_input_fieldnames EXCEPTIONS entry_does_not_exist = 1 OTHERS = 2.

CPE_PERIODDTIN_READ_OW CALL FUNCTION 'CPE_PERIODDTIN_READ_OW' EXPORTING iv_docitem_guid = gs_formdoc-docitem_guid iv_cond_type = gs_formdoc-cond_type iv_termno = -termno iv_type = 'Q' iv_validfrom = gv_validfrom is_document_com = gs_document_com IMPORTING es_perioddet_com = ls_perioddet_com et_input_fieldnames = lt_input_fieldnames EXCEPTIONS error_occurred = 1 OTHERS = 2.

CPE_PERIODDTIN_READ_OW CALL FUNCTION 'CPE_PERIODDTIN_READ_OW' EXPORTING iv_docitem_guid = gs_formdoc-docitem_guid iv_cond_type = gs_formdoc-cond_type iv_termno = -termno iv_type = 'C' iv_validfrom = gv_validfrom is_document_com = gs_document_com IMPORTING es_perioddet_com = ls_perioddet_com et_input_fieldnames = lt_input_fieldnames EXCEPTIONS error_occurred = 1 OTHERS = 2.

CPE_SURCHARGERULE_READ_OW CALL FUNCTION 'CPE_SURCHARGERULE_READ_OW' EXPORTING iv_docitem_guid = gs_formdoc-docitem_guid iv_cond_type = gs_formdoc-cond_type iv_termno = -termno iv_validfrom = gv_validfrom is_document_com = gs_document_com IMPORTING es_surcharge_com = ls_surcharge_com et_input_fieldnames = lt_input_fieldnames EXCEPTIONS error_occurred = 1 OTHERS = 2.

CPE_CALCULATIONRULE_READ_OW CALL FUNCTION 'CPE_CALCULATIONRULE_READ_OW' EXPORTING iv_docitem_guid = gs_formdoc-docitem_guid iv_cond_type = gs_formdoc-cond_type iv_termno = -termno iv_validfrom = gv_validfrom is_document_com = gs_document_com IMPORTING es_calcrule_com = ls_calcrule_com et_input_fieldnames = lt_input_fieldnames EXCEPTIONS error_occurred = 1 OTHERS = 2.

CPE_DEFFORMULA_ALL_READ_OW CALL FUNCTION 'CPE_DEFFORMULA_ALL_READ_OW' EXPORTING is_defformdoc_key = ls_defformdoc_key iv_validfrom = gv_validfrom is_document_com = gs_document_com IMPORTING es_defformula_com = ls_defformula_com EXCEPTIONS error_occurred = 1 OTHERS = 2.

CPE_DEFFORMCONVIN_READ_MULT_OW CALL FUNCTION 'CPE_DEFFORMCONVIN_READ_MULT_OW' EXPORTING iv_formconvin_guid = ls_defformula_com-formconvin_guid is_defformdoc_key = ls_defformdoc_key iv_validfrom = gv_validfrom is_document_com = gs_document_com IMPORTING et_defformconvin_com = lt_defformconvin_com EXCEPTIONS nothing_found = 1 error_occurred = 2 OTHERS = 3.

CPE_DEFFORMROUNDIN_READ_MUL_OW





CALL FUNCTION 'CPE_DEFFORMROUNDIN_READ_MUL_OW' EXPORTING iv_formroundin_guid = ls_defformula_com-formroundin_guid is_defformdoc_key = ls_defformdoc_key iv_validfrom = gv_validfrom is_document_com = gs_document_com IMPORTING et_defformroundin_com = lt_defformroundin_com EXCEPTIONS nothing_found = 1 error_occurred = 2 OTHERS = 3.

CPE_FORMINPUT_READ_OW CALL FUNCTION 'CPE_FORMINPUT_READ_OW' EXPORTING is_forminput_key = ls_forminput_key is_document_com = gs_document_com IMPORTING es_forminput = ls_forminput EXCEPTIONS entry_does_not_exist = 1 OTHERS = 2.

CPE_DEFTERM_ALL_READ_MULTI_OW CALL FUNCTION 'CPE_DEFTERM_ALL_READ_MULTI_OW' EXPORTING iv_doc_guid = gs_defformdoc-doc_guid iv_cond_type = gs_defformdoc-cond_type iv_validfrom = gv_validfrom is_document_com = gs_document_com IMPORTING et_defterm_com = lt_defterm_com EXCEPTIONS error_occurred = 1 OTHERS = 2.

CPE_DEFTERMCONVIN_READ_MULT_OW CALL FUNCTION 'CPE_DEFTERMCONVIN_READ_MULT_OW' EXPORTING iv_doc_guid = gs_defformdoc-doc_guid iv_cond_type = gs_defformdoc-cond_type iv_termno = -termno iv_validfrom = gv_validfrom is_document_com = gs_document_com IMPORTING et_deftermconvin_com = lt_deftermconvin_com EXCEPTIONS nothing_found = 1 error_occurred = 2 OTHERS = 3.

CPE_DEFTERMROUNDIN_READ_MUL_OW CALL FUNCTION 'CPE_DEFTERMROUNDIN_READ_MUL_OW' EXPORTING iv_doc_guid = gs_defformdoc-doc_guid iv_cond_type = gs_defformdoc-cond_type iv_termno = -termno iv_validfrom = gv_validfrom is_document_com = gs_document_com IMPORTING et_deftermroundin_com = lt_deftermroundin_com EXCEPTIONS nothing_found = 1 error_occurred = 2 OTHERS = 3.

CPE_TERMINPUT_READ_OW CALL FUNCTION 'CPE_TERMINPUT_READ_OW' EXPORTING is_terminput_key = ls_terminput_key is_document_com = gs_document_com IMPORTING es_terminput = ls_terminput EXCEPTIONS entry_does_not_exist = 1 OTHERS = 2.

CPE_DEFPERIODDET_READ_OW CALL FUNCTION 'CPE_DEFPERIODDET_READ_OW' EXPORTING iv_doc_guid = gs_defformdoc-doc_guid iv_cond_type = gs_defformdoc-cond_type iv_termno = -termno iv_type = 'Q' iv_validfrom = gv_validfrom is_document_com = gs_document_com IMPORTING es_defperioddet_com = ls_defperioddet_com EXCEPTIONS error_occurred = 1 OTHERS = 2.

CPE_DEFPERIODDET_READ_OW CALL FUNCTION 'CPE_DEFPERIODDET_READ_OW' EXPORTING iv_doc_guid = gs_defformdoc-doc_guid iv_cond_type = gs_defformdoc-cond_type iv_termno = -termno iv_type = 'C' iv_validfrom = gv_validfrom is_document_com = gs_document_com IMPORTING es_defperioddet_com = ls_defperioddet_com EXCEPTIONS error_occurred = 1 OTHERS = 2.

CPE_DEFSURCHARGE_READ_OW CALL FUNCTION 'CPE_DEFSURCHARGE_READ_OW' EXPORTING iv_doc_guid = gs_defformdoc-doc_guid iv_cond_type = gs_defformdoc-cond_type iv_termno = -termno iv_validfrom = gv_validfrom is_document_com = gs_document_com IMPORTING es_defsurcharge_com = ls_defsurcharge_com EXCEPTIONS error_occurred = 1 OTHERS = 2.

CPE_DEFCALCRULE_READ_OW CALL FUNCTION 'CPE_DEFCALCRULE_READ_OW' EXPORTING iv_doc_guid = gs_defformdoc-doc_guid iv_cond_type = gs_defformdoc-cond_type iv_termno = -termno iv_validfrom = gv_validfrom is_document_com = gs_document_com IMPORTING es_defcalcrule_com = ls_defcalcrule_com EXCEPTIONS error_occurred = 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 INCL_CPE_OW_TEST or its description.