SAP Reports / Programs

KE1_WU_CREATE SAP ABAP Report - Program KE1_WU_CREATE







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


Text pool values


Title: Program KE1_WU_CREATE
Text Symbol: 001 = Start
Text Symbol: 002 = Application
Text Symbol: 003 = End
Text Symbol: 106 = Data cannot be read completely


INCLUDES used within this REPORT KE1_WU_CREATE

INCLUDE KE1_WU_SELOPT_TYPES.
INCLUDE KE1_WU_RUNID_IMPORT.


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:

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

OBJECT_NUMBER_DETERMINE_VB CALL FUNCTION 'OBJECT_NUMBER_DETERMINE_VB' EXPORTING posnr = wa_vbak_vbap-posnr vbeln = wa_vbak_vbap-vbeln IMPORTING objnr = wa_vbak_vbap-objnr.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT





CALL FUNCTION 'DB_COMMIT'.

REMD_OBJECT_SELECT CALL FUNCTION 'REMD_OBJECT_SELECT' EXPORTING it_so_bukrs = s_bukrs[] it_so_swenr = s_be[] it_so_sgenr = s_build[] it_so_sgrnr = s_land[] it_so_smenr = s_ro[] * IT_SO_RECNNR_US = it_so_bukrs_gn = s_bukrs[] it_so_recnnr_gn = s_contr[] it_so_buksu = s_bukrs[] it_so_benosu = s_su_be[] it_so_scksu = s_su_scc[] it_so_sunosu = s_su[] id_validfrom = ls_ke1_wu_runid-ana_datum id_validto = ls_ke1_wu_runid-ana_datum if_selbe = p_be if_selpr = p_land if_selbu = p_build if_selro = p_ro if_selcnus = abap_false if_selcngn = p_con if_selsu = p_su if_selcc = abap_false IMPORTING et_bus_obj = lt_busobj * et_objnr = EXCEPTIONS error = 1 OTHERS = 2.

REMD_OBJECT_ACCOUNT CALL FUNCTION 'REMD_OBJECT_ACCOUNT' EXPORTING intreno = ls_busobj-intreno keydate = ls_ke1_wu_runid-ana_datum no_buffer = abap_true IMPORTING e_prctr = ls_reobj-prctr EXCEPTIONS input_error = 1 not_allowed = 2 not_found = 3 no_accounting_object = 4 no_gsber = 5 object_not_found = 6 wrong_gsber = 7 other_error = 8 OTHERS = 9.

REMD_DECODE_IMKEY CALL FUNCTION 'REMD_DECODE_IMKEY' EXPORTING i_mandt = sy-mandt i_intreno = ls_reobj-intreno i_flag_with_text = 'X' IMPORTING e_objtyp = wa_ke1_wu_im_item-obtyp e_viremaster = ls_vire e_text = wa_ke1_wu_im_item-text EXCEPTIONS object_does_not_exist = 1 object_key_inconsistent = 2 OTHERS = 3.

OBJECT_IDENTIFICATION_GET CALL FUNCTION 'OBJECT_IDENTIFICATION_GET' EXPORTING objnr = ls_reobj-objnr IMPORTING e_identification = wa_ke1_wu_im_item-objid ident_txt20 = wa_ke1_wu_im_item-obart_txt EXCEPTIONS obart_invalid = 1 OTHERS = 2.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.



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