SAP Reports / Programs | Logistics - General | Logistics Basic Data | Material Master(LO-MD-MM) SAP LO

WSTN10F01 SAP ABAP INCLUDE - Include for subroutines of program WSTN10A







WSTN10F01 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 WSTN10F01 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 WSTN10F01. "Basic submit
SUBMIT WSTN10F01 AND RETURN. "Return to original report after report execution complete
SUBMIT WSTN10F01 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 for subroutines of program WSTN10A


INCLUDES used within this REPORT WSTN10F01

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:

BAL_GLB_MEMORY_REFRESH CALL FUNCTION 'BAL_GLB_MEMORY_REFRESH' EXPORTING i_t_logs_to_be_refreshed = g_t_log_handle EXCEPTIONS not_authorized = 1 OTHERS = 2.

POPUP_TO_DECIDE_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_DECIDE_WITH_MESSAGE' EXPORTING diagnosetext1 = w_diagno_t1 textline1 = 'Do you want to complete your prepack first ?'(012) textline2 = 'Or do you want to put your data on hold without posting ?'(019) text_option1 = 'Complete'(020) text_option2 = 'Hold'(021) titel = 'Data incomplete'(013) IMPORTING answer = ex_action_to_take.

POPUP_TO_DECIDE_LIST CALL FUNCTION 'POPUP_TO_DECIDE_LIST' EXPORTING textline1 = w_diagno_t1 textline2 = 'Choose an option:'(022) titel = 'Data incomplete'(013) IMPORTING answer = ex_action_to_take TABLES t_spopli = t_spopli EXCEPTIONS not_enough_answers = 1 too_much_answers = 2 too_much_marks = 3 OTHERS = 4.

WSTN7_GENERIC_READ_ALL CALL FUNCTION 'WSTN7_GENERIC_READ_ALL' EXPORTING iv_gen_article = wstn10a-stylnr IMPORTING es_ctl_post = s_ctl_post.

WSTN3_CHECK_POSTING_DONE CALL FUNCTION 'WSTN3_CHECK_POSTING_DONE' EXPORTING im_stylnr = wstn10a-stylnr IMPORTING ex_process_completed = w_process_completed.

BAL_DB_LOAD CALL FUNCTION 'BAL_DB_LOAD' EXPORTING i_t_log_handle = g_t_log_handle * i_exception_if_already_loaded = 'X' i_exception_if_already_loaded = space EXCEPTIONS no_logs_specified = 1 log_not_found = 2 log_already_loaded = 3 OTHERS = 4.

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING diagnosetext1 = 'You are about to exit'(003) textline1 = 'Do you want to save your data first ?'(004) titel = 'Back'(005) IMPORTING answer = w_answer.

WSTN3_TMGW4_READ CALL FUNCTION 'WSTN3_TMGW4_READ' IMPORTING es_tmgw4 = g_s_tmgw4.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_presence info = 'View maintained'(001) IMPORTING RESULT = g_icon_tips_view_maintained EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_absence info = 'View not maintained'(002) IMPORTING RESULT = g_icon_tips_view_not_maint EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.

DD_DOMVALUES_GET CALL FUNCTION 'DD_DOMVALUES_GET' EXPORTING domname = co_rstam_domname text = co_marked langu = sy-langu TABLES dd07v_tab = t_dd07v EXCEPTIONS wrong_textflag = 1 OTHERS = 2.

WSTN6_DELV_PHASE_MAINTENANCE CALL FUNCTION 'WSTN6_DELV_PHASE_MAINTENANCE' EXPORTING im_display_only = g_display_only im_gui_title = w_gui_title im_delv_type = im_delv_type im_s_twsai = g_o_alloc_planning->g_s_twsai im_t_delv_phases = t_old_delv_phases IMPORTING ex_t_delv_phases = t_new_delv_phases EXCEPTIONS user_canceled = 1 OTHERS = 2.

WSTN7_POST_WRITE_ALL CALL FUNCTION 'WSTN7_POST_WRITE_ALL' EXPORTING is_ctl_post = s_ctl_post.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_display_more info = 'Further delivery dates exist'(006) IMPORTING RESULT = ex_icon_text EXCEPTIONS icon_not_found = 01 outputfield_too_short = 02.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_enter_more info = 'No further delivery dates exist'(007) IMPORTING RESULT = ex_icon_text EXCEPTIONS icon_not_found = 01 outputfield_too_short = 02.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING jobname = w_job_name IMPORTING jobcount = w_job_nr EXCEPTIONS cant_create_job = 1 invalid_job_data = 2 jobname_missing = 3 OTHERS = 4.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING jobcount = w_job_nr jobname = w_job_name strtimmed = co_marked EXCEPTIONS cant_start_immediate = 1 invalid_startdate = 2 jobname_missing = 3 job_close_failed = 4 job_nosteps = 5 job_notex = 6 lock_failed = 7 invalid_target = 8 OTHERS = 9.

POPUP_TO_CONFIRM_WITH_MESSAGE





CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING diagnosetext1 = 'You want to trigger the purchase order(s) creation'(016) diagnosetext2 = 'But your last modifications are not posted yet'(017) textline1 = 'Do you want to save your data first ?'(004) textline2 = 'After the save will be done, you should resubmit the PO generation'(018) titel = 'Purchase order(s) creation'(015) IMPORTING answer = w_answer.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

WSTN2_TRIGGER_CREATION_PO CALL FUNCTION 'WSTN2_TRIGGER_CREATION_PO' EXPORTING iv_abeln = g_o_alloc_planning->g_s_al_link-abeln.

BAL_DSP_PROFILE_STANDARD_GET CALL FUNCTION 'BAL_DSP_PROFILE_STANDARD_GET' IMPORTING e_s_display_profile = s_display_profile.

BAL_DSP_PROFILE_DETLEVEL_GET * CALL FUNCTION 'BAL_DSP_PROFILE_DETLEVEL_GET' * IMPORTING * e_s_display_profile = s_display_profile * EXCEPTIONS * OTHERS = 1.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_t_log_handle = g_t_log_handle i_s_display_profile = s_display_profile EXCEPTIONS profile_inconsistent = 1 internal_error = 2 no_data_available = 3 no_authority = 4 OTHERS = 5.



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