SAP Reports / Programs | Payroll | USA(PY-US) SAP PY

RPCNBLUA SAP ABAP Report - Include For NBT Data transfers







RPCNBLUA 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 RPCNBLUA 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 RPCNBLUA. "Basic submit
SUBMIT RPCNBLUA AND RETURN. "Return to original report after report execution complete
SUBMIT RPCNBLUA 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 NBT Data transfers
Text Symbol: 001 = .
Text Symbol: 002 = Date:
Text Symbol: 003 = Number of records in file:
Text Symbol: 004 = Total Amount in file:
Text Symbol: 005 = Record Layout
Text Symbol: 006 = Field Position Length
Text Symbol: 007 = SSN 1 9
Text Symbol: 008 = First Name 11 25
Text Symbol: 009 = Last Name 37 25
Text Symbol: 010 = Date of Deduction 63 10
Text Symbol: 011 = Amount Deducted 74 16
Text Symbol: 012 = File:
Text Symbol: 013 = Use different names for Exp. File & Add. Exp. File.
Text Symbol: 015 = ################
Text Symbol: 017 = Enter a valid name for EXPORT FILE.
Text Symbol: 019 = Enter a valid name for ADDITIONAL EXPORT FILE 1.


INCLUDES used within this REPORT RPCNBLUA

INCLUDE RPCNBLU1.


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:

RSTS_CLOSE CALL FUNCTION 'RSTS_CLOSE' EXPORTING FBHANDLE = HANDLE1 EXCEPTIONS OTHERS = 9.

RSTS_OPEN_RLC CALL FUNCTION 'RSTS_OPEN_RLC' EXPORTING NAME = INFILE OWN_FBHANDLE = 'X' IMPORTING FBHANDLE = HANDLE1 EXCEPTIONS OTHERS = 1.

RSTS_CLOSE CALL FUNCTION 'RSTS_CLOSE' EXPORTING FBHANDLE = HANDLE2 EXCEPTIONS OTHERS = 9.

RSTS_REMOVE_OBJECT CALL FUNCTION 'RSTS_REMOVE_OBJECT' EXPORTING NAME = RPT_FILE.

RP_TS_CREATE_OBJECT CALL FUNCTION 'RP_TS_CREATE_OBJECT' EXPORTING OBJKN = 'PINTFF' OBJNR = RPT_NAME EMPFG = ' ' OWNNR = '1' IMPORTING OBJHD = HANDLE2 EXCEPTIONS OTHERS = 1.

RSTS_READ CALL FUNCTION 'RSTS_READ' EXPORTING FBHANDLE = HANDLE1 TABLES DATATAB = MAIN_TEMSE .

RSTS_CLOSE CALL FUNCTION 'RSTS_CLOSE' EXPORTING FBHANDLE = HANDLE2 EXCEPTIONS OTHERS = 9.

RSTS_CLOSE CALL FUNCTION 'RSTS_CLOSE' EXPORTING FBHANDLE = HANDLE1 EXCEPTIONS OTHERS = 9.

RSTS_WRITE CALL FUNCTION 'RSTS_WRITE' EXPORTING FBHANDLE = P_HANDLE2 TABLES DATATAB = RECORD.



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