SAP Reports / Programs | Sales and Distribution | Foreign Trade(SD-FT) SAP SD

/SAPSLL/CUS_INV_CREATE_FOR SAP ABAP INCLUDE - /SAPSLL/CUSINVCREATEFOR







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

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:

/SAPSLL/PROFORMA_DTYPES_GET CALL FUNCTION '/SAPSLL/PROFORMA_DTYPES_GET' IMPORTING et_tvfk = lt_tvfk et_tvfkt = lt_tvfkt EXCEPTIONS no_entries_found = 1 OTHERS = 2.

VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = 'P_FKART' values = ct_values EXCEPTIONS id_illegal_name = 1 OTHERS = 2.

/SAPSLL/SHIPMENT_DATA_SELECT CALL FUNCTION '/SAPSLL/SHIPMENT_DATA_SELECT' EXPORTING is_crit = ls_crit_cus_inv IMPORTING et_cus_inv = ct_cus_inv EXCEPTIONS no_data = 1 OTHERS = 2.

/SAPSLL/SHIPMENT_CON_DATA_GET CALL FUNCTION '/SAPSLL/SHIPMENT_CON_DATA_GET' CHANGING ct_cus_inv = ct_cus_inv.

/SAPSLL/CUS_INV_IFACE_BUILD CALL FUNCTION '/SAPSLL/CUS_INV_IFACE_BUILD' EXPORTING it_cus_inv = it_cus_inv IMPORTING et_cus_inv_disp = ct_cus_inv_disp et_cus_inv_all = ct_cus_inv_all.

/SAPSLL/CUS_INV_DISPLAY CALL FUNCTION '/SAPSLL/CUS_INV_DISPLAY' EXPORTING it_cus_inv_disp = it_cus_inv_disp it_cus_inv_all = it_cus_inv_all iv_fkart = iv_fkart iv_fkdat = iv_fkdat iv_report = iv_report iv_dvariant_handle = iv_dvariant_handle iv_dvariant = iv_dvariant.

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = 'A' CHANGING cs_variant = cs_variant EXCEPTIONS not_found = 4.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = cs_variant i_save = 'A' IMPORTING e_exit = lv_exit es_variant = cs_variant EXCEPTIONS not_found = 2.

REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING i_save = 'A' CHANGING cs_variant = ls_variant EXCEPTIONS wrong_input = 1 not_found = 2 program_error = 3 OTHERS = 4.

/SAPSLL/SHIPMENT_INV_CREATE CALL FUNCTION '/SAPSLL/SHIPMENT_INV_CREATE' EXPORTING it_cus_inv = it_cus_inv iv_fkart = iv_fkart iv_fkdat = iv_fkdat IMPORTING et_vbfs = lt_vbfs et_vbss = lt_vbss.

/SAPSLL/CUS_INV_LOG_TABL_BUILD CALL FUNCTION '/SAPSLL/CUS_INV_LOG_TABL_BUILD' EXPORTING it_vbfs = lt_vbfs it_vbss = lt_vbss it_cus_inv = it_cus_inv IMPORTING et_cus_inv_log = lt_cus_inv_log.

/SAPSLL/CUS_INV_LOG_DISPLAY CALL FUNCTION '/SAPSLL/CUS_INV_LOG_DISPLAY' EXPORTING it_cus_inv_log = lt_cus_inv_log iv_fkart = iv_fkart.



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 /SAPSLL/CUS_INV_CREATE_FOR or its description.