NASTVF50 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 NASTVF50 into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: TXT20 = TXT20
Selection Text: USNAM = Changed by
Selection Text: VKONT = From account
Selection Text: VKORG = Sales organization
Selection Text: VONKONTO = Account number
Selection Text: VTWEG = ?...(VTWEG)
Selection Text: XAUTH_NO = ?...(XAUTH_NO
Selection Text: _AUF_GE = Mark-up % rate >=#SS_AUF_LE
Selection Text: a CnDv = CC Dunning area#I128
Title: Bundle Output
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ENQUEUE_MWAUKOE CALL FUNCTION 'ENQUEUE_MWAUKOE' EXPORTING mandt = sy-mandt abeln = h_abeln _scope = '3' _wait = ' ' EXCEPTIONS foreign_lock = 01 system_failure = 02.
DEQUEUE_MWAUKOE CALL FUNCTION 'DEQUEUE_MWAUKOE' EXPORTING mandt = sy-mandt abeln = upi_abeln _scope = '3'.
RV_MESSAGES_UPDATE CALL FUNCTION 'RV_MESSAGES_UPDATE' EXPORTING msg_kappl = wavi_applikation msg_no_update_task = 'X' * MSG_OBJKY = ' '.
RV_MESSAGES_INSERT CALL FUNCTION 'RV_MESSAGES_INSERT' TABLES tab_xnast = help_itab_gruppen_nast.
RV_MESSAGES_UPDATE CALL FUNCTION 'RV_MESSAGES_UPDATE' EXPORTING msg_kappl = wavi_applikation_gruppe msg_no_update_task = 'X' * MSG_OBJKY = ' '.
DEQUEUE_MWAUKOE CALL FUNCTION 'DEQUEUE_MWAUKOE' EXPORTING mandt = sy-mandt abeln = upi_abeln _scope = '3'.
RV_MESSAGES_REFRESH CALL FUNCTION 'RV_MESSAGES_REFRESH' * exporting * MSG_KAPPL = ' '.
RV_MESSAGES_SELECT CALL FUNCTION 'RV_MESSAGES_SELECT' EXPORTING * MSG_ERDAT = '00000000' * MSG_ERUHR = '000000' msg_kappl = upi_t685-kappl * MSG_PARNR = ' ' msg_vsdat = p_vsdat msg_vstat = p_vstat msg_vsura = p_vsura msg_vsztp = p_vsztp TABLES s_kschl = range_tab_kschl s_nacha = range_tab_nacha s_objky = range_tab_objky.
RV_MESSAGES_GET CALL FUNCTION 'RV_MESSAGES_GET' EXPORTING msg_kappl = upi_t685-kappl * msg_objky_from = ' ' * msg_objky_to = ' ' TABLES tab_xnast = h_itab_einzel_nast tab_ynast = dummy_itab_einzel_nast.
NAST_GET_NEXT_SORTNUMBER CALL FUNCTION 'NAST_GET_NEXT_SORTNUMBER' IMPORTING sortnr = upo_sort_nr EXCEPTIONS interval_not_found = 01 number_range_not_intern = 02 object_not_found = 03.
RV_MESSAGES_SET_SORT_CRITERIA CALL FUNCTION 'RV_MESSAGES_SET_SORT_CRITERIA' EXPORTING msg_sort1 = upi_sort_nr_1 msg_sort2 = h_sort_nr_2 msg_sort3 = h_sort_nr_3 TABLES tab_xnast = upt_it_en EXCEPTIONS record_not_found = 01.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = g_repid is_layout = ls_layout it_fieldcat = lt_fieldcat i_save = gc_save it_events = lt_eventtab TABLES t_outtab = gt_output_alv EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_repid i_structure_name = gc_structure CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = gc_list_type_0 IMPORTING et_events = xt_eventtab.
REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_commentary.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.