SAP Reports / Programs | Media Product Sales and Distribution | SAP Media | Media Product Sales and Distribution(IS-M-SD-MS) SAP IS

FORM SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

ISM_SD_SELECT_CONTRACTS CALL FUNCTION 'ISM_SD_SELECT_CONTRACTS' EXPORTING in_valid_from = in_p_datefr in_valid_until = in_p_dateto in_xmaraexist = space TABLES in_doc_type_contract = in_s_auart in_product = lt_range_product out_contract2 = lt_contract.

ENQUEUE_EJKSDQFASCON CALL FUNCTION 'ENQUEUE_EJKSDQFASCON' * EXPORTING * MODE_JKSDQFASCON = 'E' * MANDT = SY-MANDT * AREA = * SEGMENT = * VBELN = * POSNR = * X_AREA = ' ' * X_SEGMENT = ' ' * X_VBELN = ' ' * X_POSNR = ' ' * _SCOPE = '2' * _WAIT = ' ' * _COLLECT = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3 .

DEQUEUE_EJKSDQFASCON CALL FUNCTION 'DEQUEUE_EJKSDQFASCON' * EXPORTING * MODE_JKSDQFASCON = 'E' * MANDT = SY-MANDT * AREA = * SEGMENT = * VBELN = * POSNR = * X_AREA = ' ' * X_SEGMENT = ' ' * X_VBELN = ' ' * X_POSNR = ' ' * _SCOPE = '3' * _SYNCHRON = ' ' * _COLLECT = ' ' .

ISM_SD_SELECT_CONTRACTS CALL FUNCTION 'ISM_SD_SELECT_CONTRACTS' EXPORTING in_valid_from = l_date_from in_valid_until = l_date_to in_xmaraexist = space TABLES in_doc_type_contract = in_s_auart in_product = pt_product_range out_contract2 = pt_contract.

ISM_SD_CACHE_PARTNER_TO_ORDER CALL FUNCTION 'ISM_SD_CACHE_PARTNER_TO_ORDER' EXPORTING in_order_tab = lt_order.

ISM_MAP_CONTRACT_GP_ROLE CALL FUNCTION 'ISM_MAP_CONTRACT_GP_ROLE' EXPORTING in_t_contract_source = lt_contract in_t_contract_target = lt_refcontract in_t_role_range = in_s_role in_no_lines_check = 'X' IMPORTING out_t_mapcontract = lt_mapcontract.

TPAR_SINGLE_READ CALL FUNCTION 'TPAR_SINGLE_READ' EXPORTING i_parvw = ls_role-low EXCEPTIONS not_found = 1 parameter_error = 2 OTHERS = 3.



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