SAP Reports / Programs

RSNAST01 SAP ABAP Report - Selection Program for Issuing Output with bundling







RSNAST01 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 RSNAST01 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 RSNAST01. "Basic submit
SUBMIT RSNAST01 AND RETURN. "Return to original report after report execution complete
SUBMIT RSNAST01 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: P_AGAIN = Send again
Selection Text: P_PRINT = Printer default
Selection Text: P_SORT = Sort
Selection Text: P_SUFF2 = Spool: Suffix 2
Selection Text: S_KAPPL = Output application
Selection Text: S_KSCHL = Output type
Selection Text: S_NACHA = Transmission medium
Selection Text: S_OBJKY = Object key
Title: Selection Program for Issuing Output with bundling
Text Symbol: 001 = Selection parameter
Text Symbol: 002 = Parameter for calling up the processing programs


INCLUDES used within this REPORT RSNAST01

INCLUDE RSEF4HLP.
INCLUDE RSNASTZZ.


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:

FP_JOB_CLOSE CALL FUNCTION 'FP_JOB_CLOSE' EXCEPTIONS USAGE_ERROR = 1 SYSTEM_ERROR = 2 INTERNAL_ERROR = 3 OTHERS = 4.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL' * EXPORTING * _SYNCHRON = ' ' .

WFMC_PROTOCOL_GET_UNSTORED CALL FUNCTION 'WFMC_PROTOCOL_GET_UNSTORED' EXCEPTIONS OTHERS = 0.

WFMC_PROTOCOL_LOAD CALL FUNCTION 'WFMC_PROTOCOL_LOAD' EXPORTING CPS_NAST = NAST.

FP_JOB_CLOSE CALL FUNCTION 'FP_JOB_CLOSE' EXCEPTIONS USAGE_ERROR = 1 SYSTEM_ERROR = 2 INTERNAL_ERROR = 3 OTHERS = 4.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL' * EXPORTING * _SYNCHRON = ' ' .

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

WFMC_GET_ARCHIVE_OBJECT_TYPE CALL FUNCTION 'WFMC_GET_ARCHIVE_OBJECT_TYPE' EXPORTING PI_KAPPL = NAST-KAPPL PI_OBJTYPE = NAST-OBJTYPE IMPORTING PE_OBJECT_TYPE = XOJ_NAME CHANGING PC_OBJKY = XOBJKY.

NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING NR_RANGE_NR = '01' OBJECT = 'NA_OPT_ARC' IMPORTING NUMBER = NAST-OPTARCNR.

NAST_PROTOCOL_INITIALIZE CALL FUNCTION 'NAST_PROTOCOL_INITIALIZE'.

NAST_PROTOCOL_UPDATE CALL FUNCTION 'NAST_PROTOCOL_UPDATE' EXPORTING MSG_ARBGB = SY-MSGID MSG_NR = SY-MSGNO MSG_TY = SY-MSGTY MSG_V1 = SY-MSGV1 MSG_V2 = SY-MSGV2 EXCEPTIONS OTHERS = 0.

RV_PRICE_PRINT_GET_BUFFER CALL FUNCTION 'RV_PRICE_PRINT_GET_BUFFER' EXPORTING I_PRINT_FROM_BUFFER = 'A'.

RV_PRICE_PRINT_GET_BUFFER CALL FUNCTION 'RV_PRICE_PRINT_GET_BUFFER' EXPORTING I_PRINT_FROM_BUFFER = SPACE.

NAST_PROTOCOL_UPDATE CALL FUNCTION 'NAST_PROTOCOL_UPDATE' EXPORTING MSG_ARBGB = SYST-MSGID MSG_NR = SYST-MSGNO MSG_TY = SYST-MSGTY MSG_V1 = SYST-MSGV1 MSG_V2 = SYST-MSGV2 EXCEPTIONS OTHERS = 0.

NAST_PROTOCOL_STORE CALL FUNCTION 'NAST_PROTOCOL_STORE' IMPORTING MSG_CMFPNR = L_NAST_CMFPNR EXCEPTIONS NO_PROTOCOL_UPDATE = 01.

FP_FUNCTION_MODULE_NAME CALL FUNCTION 'FP_FUNCTION_MODULE_NAME' EXPORTING I_NAME = P_TNAPR-SFORM IMPORTING * E_FUNCNAME = E_INTERFACE_TYPE = LV_INTERFACE_TYPE .

NAST_PROTOCOL_UPDATE CALL FUNCTION 'NAST_PROTOCOL_UPDATE' EXPORTING MSG_ARBGB = SY-MSGID MSG_NR = SY-MSGNO MSG_TY = SY-MSGTY MSG_V1 = SY-MSGV1 MSG_V2 = SY-MSGV2 MSG_V3 = SY-MSGV3 MSG_V4 = SY-MSGV4 EXCEPTIONS OTHERS = 0.

FP_JOB_CLOSE CALL FUNCTION 'FP_JOB_CLOSE' EXCEPTIONS USAGE_ERROR = 1 SYSTEM_ERROR = 2 INTERNAL_ERROR = 3 OTHERS = 4.

NAST_PROTOCOL_UPDATE





CALL FUNCTION 'NAST_PROTOCOL_UPDATE' EXPORTING MSG_ARBGB = SY-MSGID MSG_NR = SY-MSGNO MSG_TY = SY-MSGTY MSG_V1 = SY-MSGV1 MSG_V2 = SY-MSGV2 MSG_V3 = SY-MSGV3 MSG_V4 = SY-MSGV4 EXCEPTIONS OTHERS = 0.

FP_JOB_OPEN CALL FUNCTION 'FP_JOB_OPEN' CHANGING IE_OUTPUTPARAMS = LS_OUTPUTPARAMS EXCEPTIONS CANCEL = 1 USAGE_ERROR = 2 SYSTEM_ERROR = 3 INTERNAL_ERROR = 4 OTHERS = 5.

NAST_PROTOCOL_UPDATE CALL FUNCTION 'NAST_PROTOCOL_UPDATE' EXPORTING MSG_ARBGB = SY-MSGID MSG_NR = SY-MSGNO MSG_TY = SY-MSGTY MSG_V1 = SY-MSGV1 MSG_V2 = SY-MSGV2 MSG_V3 = SY-MSGV3 MSG_V4 = SY-MSGV4 EXCEPTIONS OTHERS = 0.

FP_JOB_CLOSE CALL FUNCTION 'FP_JOB_CLOSE' EXCEPTIONS USAGE_ERROR = 1 SYSTEM_ERROR = 2 INTERNAL_ERROR = 3 OTHERS = 4.

NAST_PROTOCOL_UPDATE CALL FUNCTION 'NAST_PROTOCOL_UPDATE' EXPORTING MSG_ARBGB = SY-MSGID MSG_NR = SY-MSGNO MSG_TY = SY-MSGTY MSG_V1 = SY-MSGV1 MSG_V2 = SY-MSGV2 MSG_V3 = SY-MSGV3 MSG_V4 = SY-MSGV4 EXCEPTIONS OTHERS = 0.

CM_F_STORE CALL FUNCTION 'CM_F_STORE' EXPORTING APLID = 'WFMC' IN_UPDATE_TASK = 'X' * I_CMF_NR = 0 IMPORTING E_CMF_NR = P_CMFPNR EXCEPTIONS NOT_ACTIVE = 1 STORE_AND_LOAD_NOT_ACTIV = 2 .



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