SAP Reports / Programs | Logistics - General | Logistics Basic Data | Promotion(LO-MD-PR) SAP LO

ASTVPF50 SAP ABAP INCLUDE - Bundle Output







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


Text pool values


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


INCLUDES used within this REPORT ASTVPF50

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:

ENQUEUE_EWWALE CALL FUNCTION 'ENQUEUE_EWWALE' EXPORTING AKTNR = L_AKTNR KUNNR = L_KUNNR EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2 OTHERS = 2.

RV_MESSAGES_UPDATE CALL FUNCTION 'RV_MESSAGES_UPDATE' EXPORTING MSG_KAPPL = P_KAPPLE MSG_NO_UPDATE_TASK = 'X'.

RV_MESSAGES_INSERT CALL FUNCTION 'RV_MESSAGES_INSERT' TABLES TAB_XNAST = HELP_ITAB_GRUPPEN_NAST.

RV_MESSAGES_GET CALL FUNCTION 'RV_MESSAGES_GET' EXPORTING MSG_KAPPL = P_KAPPLG * MSG_OBJKY_FROM = ' ' * MSG_OBJKY_TO = ' ' TABLES TAB_XNAST = IT_GRUPPEN_VNAST TAB_YNAST = HELP_ITAB_GRUPPEN_NAST.

RV_MESSAGES_UPDATE CALL FUNCTION 'RV_MESSAGES_UPDATE' EXPORTING MSG_KAPPL = P_KAPPLG MSG_NO_UPDATE_TASK = 'X' * MSG_OBJKY = ' '.

RV_MESSAGES_REFRESH CALL FUNCTION 'RV_MESSAGES_REFRESH' * exporting * MSG_KAPPL = ' '.

RV_MESSAGES_REFRESH CALL FUNCTION 'RV_MESSAGES_REFRESH' EXPORTING MSG_KAPPL = UPI_T685-KAPPL * PI_OBJKY_FROM = * PI_OBJKY_TO = * TABLES * RI_OBJKY = .

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_VSTAT = L_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 = UPT_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 = L_SORT1 MSG_SORT2 = L_SORT2 " Werk/Kunde MSG_SORT3 = L_SORT3 " Aktionsnummer TABLES TAB_XNAST = UPT_IT_EN EXCEPTIONS RECORD_NOT_FOUND = 01.

WFMC_MESSAGE_SINGLE CALL FUNCTION 'WFMC_MESSAGE_SINGLE' EXPORTING PI_NAST = P_T_W1_NAST.

WFMC_PROTOCOL_LOAD CALL FUNCTION 'WFMC_PROTOCOL_LOAD' EXPORTING CPS_NAST = LS_RSNAST00_NAST.

WFMC_PROTOCOL_SHOW CALL FUNCTION 'WFMC_PROTOCOL_SHOW' EXPORTING CPS_KALSM = SPACE CPS_NAST = LS_RSNAST00_NAST NO_HEADER = 'X'.

RV_MESSAGES_REFRESH CALL FUNCTION 'RV_MESSAGES_REFRESH' EXPORTING MSG_KAPPL = P_T685_W1-KAPPL
* PI_OBJKY_FROM = * PI_OBJKY_TO = * TABLES * RI_OBJKY = .

RV_MESSAGES_SELECT CALL FUNCTION 'RV_MESSAGES_SELECT' EXPORTING * MSG_ERDAT = '00000000' * MSG_ERUHR = '000000' MSG_KAPPL = P_T685_W1-KAPPL * MSG_PARNR = ' ' MSG_VSDAT = P_VSDAT * msg_vstat = p_vstat * msg_vstat = l_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 = P_T685_W1-KAPPL * msg_objky_from = ' ' * msg_objky_to = ' ' TABLES * TAB_XNAST = P_T_W1_VNAST TAB_XNAST = L_T_VNAST TAB_YNAST = DUMMY_ITAB_EINZEL_NAST.



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