SAP Reports / Programs

RFUMSV45_R SAP ABAP Report - Tax Invoice List (South Korea)







RFUMSV45_R is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You use this report to prepare a tax invoice list as required in South Korea...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RFUMSV45_R 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 RFUMSV45_R. "Basic submit
SUBMIT RFUMSV45_R AND RETURN. "Return to original report after report execution complete
SUBMIT RFUMSV45_R 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: BP_HKONT = Clearing account
Selection Text: DOC_DATE = Reporting date
Selection Text: DOWNLOAD = D PC download
Selection Text: FILE = D File name
Selection Text: ISSU_FI = FI invoices
Selection Text: ISSU_TI = Tax invoices
Selection Text: MEDIUM = Output medium (D/T)
Selection Text: PAR_FILE = Create file
Selection Text: PAR_LIST = Create list
Selection Text: PAR_TMDT = Date of tax return
Selection Text: PAR_TMTI = Time of tax return
Selection Text: PAR_UDAT = Disregard tax already reported
Selection Text: PAR_XSAU = Output tax
Selection Text: PAR_XSVO = Input tax
Selection Text: PA_FI = Read FI documents
Selection Text: PA_FICA = Read FI-CA documents
Selection Text: SEL_BLDT = D Document date
Selection Text: SEL_ITKZ = Input tax code
Selection Text: SEL_OTKZ = Output tax code
Selection Text: SO_BELNR = D Document number
Selection Text: SO_BUPLA = D Business place
Selection Text: SO_GPART = Business partner
Selection Text: SO_OPBEL = Document number
Selection Text: TIART = Tax invoice document type
Title: Tax Invoice List (South Korea)
Text Symbol: O36 = |Transact. |(9) |(10)|(11)Base amount |(12)Tax amount |Comment |
Text Symbol: O35 = |No. trans.| | | | | |
Text Symbol: O34 = |ID | | | | | |
Text Symbol: O33 = |No. trans.| | | | | |
Text Symbol: O32 = |VAT | | | | | |
Text Symbol: O31 = |Total | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Text Symbol: O27 = (8)Report.data
Text Symbol: O26 = (7)Transaction
Text Symbol: O25 = (6)Type of ind.
Text Symbol: O24 = (5)Type of bus.
Text Symbol: O23 = (4)Location
Text Symbol: O22 = (3)Rep.
Text Symbol: O21 = (2)Co. name





Text Symbol: O20 = ------------------------------------------------------------------------------------------------
Text Symbol: O37 = | |Cust|Cur.| | | |
Text Symbol: O38 = | |Amnt| | Tr TeHm HuTt Th On|Tr TeHm HuTt Th On| |
Text Symbol: O39 = -----------------------------------------------------------------------------------------------|
Text Symbol: O41 = |(13) |(14) |(15)Customer |(16)Type of ind. |(17)Type of business |
Text Symbol: O42 = |Seq. |VAT no. | | | |
Text Symbol: O43 = |No. |--------------------------------------------------------------------|-------------------|
Text Symbol: O44 = | |(18) |(19) |(20)Base amount |(21)Tax amount |Comment |
Text Symbol: O45 = | |Docs |Empty | | | |
Text Symbol: O46 = | |Amount| | Tr TeHm HuTt Th On|Tr TeHm HuTt Th On| |
Text Symbol: O50 = | | - - | | | |
Text Symbol: O51 = | |--------------------------------------------------------------------|-------------------|
Text Symbol: O52 = | | | | | | |
Text Symbol: R01 = Repeat runs only
Text Symbol: T03 = YY MM DD ~ YY MM DD
Text Symbol: T04 = YY MM DD
Text Symbol: I22 = -------------------------------------------------------------------------------------------------|
Text Symbol: I21 = |(1)VAT no. | - - |(2)Company name | |
Text Symbol: I20 = --------------------------------------------------------------------------------------------------
Text Symbol: I10 = |(1)VAT no. | - - |(2)Company name | |
Text Symbol: I09 = |Cons. no. | - | |
Text Symbol: I08 = --------------------------------------------------------------------------------------------------
Text Symbol: I07 = |-------------------------- |
Text Symbol: I06 = | ( Ye Pe ) |
Text Symbol: I05 = | |
Text Symbol: I04 = Tax invoice list sorted by vendor (B)
Text Symbol: I03 = | Tax invoice list sorted by vendor (A) |
Text Symbol: I02 = --------------------------------------------------------------------------------------------------
Text Symbol: I01 = [An annex. 36No.(1)] (95. 3.31 New )
Text Symbol: 901 = FI-CA documents
Text Symbol: 900 = FI documents
Text Symbol: 057 = No VAT registration / Social ID number > maintain master data
Text Symbol: 056 = Transaction unknown - fill out reference field with ID or VAT number
Text Symbol: 055 = (PrivPag.)
Text Symbol: 054 = Incorrect tax code used.
Text Symbol: 053 = ID transaction -> Add ID no. to master record data.
Text Symbol: 052 = VAT transaction -> Add VAT no. to master record data.
Text Symbol: 051 = Acct type Number Name Doc. no. User action
Text Symbol: 050 = Error list





Text Symbol: 024 = Help
Text Symbol: 006 = )Pag.
Text Symbol: 003 = Documents
Text Symbol: 002 = Output
Text Symbol: O08 = (1)VAT no.
Text Symbol: O07 = ------------------------------------------------------------------------------------------------
Text Symbol: O06 = Sequence no.
Text Symbol: O05 = ( Ye Pe )
Text Symbol: O04 = Tax invoice list sorted by customer (B)
Text Symbol: O03 = Tax invoice list sorted by customer (A)
Text Symbol: O02 = ------------------------------------------------------------------------------------------------
Text Symbol: O01 = [To annex. 33No.(1)] (95. 3.31 New )
Text Symbol: N51 = User actions
Text Symbol: I52 = | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Text Symbol: I51 = | |----------------------------------------------------------------------------------------|
Text Symbol: I50 = | | - - | | | |
Text Symbol: I46 = | |Amount| | Tr TeHm HuTt Th On|Tr TeHm HuTt Th On| |
Text Symbol: I45 = | |Docs |Empty | | | |
Text Symbol: I44 = | |(18) |(19) |(20)Base amount |(21)Tax amount |Comment |
Text Symbol: I43 = |Nr. |----------------------------------------------------------------------------------------|
Text Symbol: I42 = |Seq. |VAT no. | | | |
Text Symbol: I41 = |(13) |(14) |(15)Vendor |(16)Type of bus. |(17)Type of industry |
Text Symbol: I35 = |Total | | | | | | | | | | | | | | | | | | | | | | | | | |2|0|0|0| |
Text Symbol: I34 = -----------------------------------------------------------------------------|-------------------|
Text Symbol: I33 = | |Amount| | Tr TeHm HuTt Th On|Tr TeHm HuTt Th On| |
Text Symbol: I32 = | |Vend |Curr.| | | |
Text Symbol: I31 = |Transact.|(9) |(10) |(11)Base amount |(12)Tax amount |Comment |
Text Symbol: I29 = |(7)Transaction | YY MM DD - YY MM DD |(8)Rept date| YY MM DD |
Text Symbol: I27 = |(5)Type of bus. | |(6)Type of ind. | |
Text Symbol: I25 = |(4)Business place| |
Text Symbol: I23 = |(3)Representative| |


INCLUDES used within this REPORT RFUMSV45_R

INCLUDE RFUMSV45_I01.


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:

DDIF_STATE_GET * CALL FUNCTION 'DDIF_STATE_GET' * EXPORTING * TYPE = 'TABL' * NAME = 'DFKKREP06' * IMPORTING * GOTSTATE = LD_STATE * EXCEPTIONS * ILLEGAL_INPUT = 1.

FKK_ADDON_COMPONENT_INSTALLED CALL FUNCTION 'FKK_ADDON_COMPONENT_INSTALLED' CHANGING XFICA_ACTIVE = ISU_CCS.

POPUP_DISPLAY_TEXT



CALL FUNCTION 'POPUP_DISPLAY_TEXT' EXPORTING * LANGUAGE = SY-LANGU POPUP_TITLE = TEXT-024 * START_COLUMN = 10 * START_ROW = 3 TEXT_OBJECT = 'KR_RFUMS_TI_45' * HELP_MODAL = 'X' * IMPORTING * CANCELLED = EXCEPTIONS TEXT_NOT_FOUND = 1 OTHERS = 2.

POPUP_DISPLAY_TEXT CALL FUNCTION 'POPUP_DISPLAY_TEXT' EXPORTING POPUP_TITLE = TEXT-024 TEXT_OBJECT = 'KR_RFUMS_FI_45' EXCEPTIONS TEXT_NOT_FOUND = 1 OTHERS = 2.

POPUP_DISPLAY_TEXT CALL FUNCTION 'POPUP_DISPLAY_TEXT' EXPORTING POPUP_TITLE = TEXT-024 TEXT_OBJECT = 'KR_RFUMS_EX' EXCEPTIONS TEXT_NOT_FOUND = 1 OTHERS = 2.

POPUP_DISPLAY_TEXT CALL FUNCTION 'POPUP_DISPLAY_TEXT' EXPORTING POPUP_TITLE = TEXT-024 TEXT_OBJECT = 'KR_RFUMS_GL_45' EXCEPTIONS TEXT_NOT_FOUND = 1 OTHERS = 2.

F4_FILENAME CALL FUNCTION 'F4_FILENAME' EXPORTING PROGRAM_NAME = SYST-CPROG DYNPRO_NUMBER = SYST-DYNNR FIELD_NAME = 'FILE' IMPORTING FILE_NAME = FILE.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' "<< Note #1794446 EXPORTING logical_filename = 'FI-CA-DTA-NAME' CHANGING physical_filename = FILE EXCEPTIONS logical_filename_not_found = 1 validation_failed = 2 OTHERS = 3.

WS_DOWNLOAD * CALL FUNCTION 'WS_DOWNLOAD' * EXPORTING * FILENAME = FILE * FILETYPE = 'ASC' * TABLES * DATA_TAB = DOWNTAB * EXCEPTIONS * FILE_OPEN_ERROR = 1 * FILE_WRITE_ERROR = 2 * INVALID_FILESIZE = 3 * INVALID_TABLE_WIDTH = 4 * INVALID_TYPE = 5 * NO_BATCH = 6 * UNKNOWN_ERROR = 7 * OTHERS = 8.

GUI_DOWNLOAD call function 'GUI_DOWNLOAD' exporting * BIN_FILESIZE = FILENAME = gui_file FILETYPE = 'ASC' * APPEND = ' ' * WRITE_FIELD_SEPARATOR = ' ' * HEADER = '00' * TRUNC_TRAILING_BLANKS = ' ' * WRITE_LF = 'X' * COL_SELECT = ' ' * COL_SELECT_MASK = ' ' * IMPORTING * FILELENGTH = TABLES DATA_TAB = downtab EXCEPTIONS FILE_WRITE_ERROR = 1 NO_BATCH = 2 GUI_REFUSE_FILETRANSFER = 3 INVALID_TYPE = 4 NO_AUTHORITY = 5 UNKNOWN_ERROR = 6 HEADER_NOT_ALLOWED = 7 SEPARATOR_NOT_ALLOWED = 8 FILESIZE_NOT_ALLOWED = 9 HEADER_TOO_LONG = 10 DP_ERROR_CREATE = 11 DP_ERROR_SEND = 12 DP_ERROR_WRITE = 13 UNKNOWN_DP_ERROR = 14 ACCESS_DENIED = 15 DP_OUT_OF_MEMORY = 16 DISK_FULL = 17 DP_TIMEOUT = 18 FILE_NOT_FOUND = 19 DATAPROVIDER_EXCEPTION = 20 CONTROL_FLUSH_ERROR = 21 OTHERS = 22 .

STRING_CONCATENATE CALL FUNCTION 'STRING_CONCATENATE' EXPORTING STRING1 = LOW_DATE STRING2 = HIGH_DATE IMPORTING STRING = PERIOD.

GET_BUPLA_ADDRESS CALL FUNCTION 'GET_BUPLA_ADDRESS' EXPORTING BUKRS = BUKRS BUPLA = TXJCD IMPORTING ADRESSE = ADDR1.

GET_BUPLA_ADDRESS CALL FUNCTION 'GET_BUPLA_ADDRESS' EXPORTING BUKRS = BUKRS BUPLA = BUPLA IMPORTING ADRESSE = ADDR1.

GET_BUPLA_ADDRESS CALL FUNCTION 'GET_BUPLA_ADDRESS' EXPORTING BUKRS = BUKRS BUPLA = BUPLA IMPORTING ADRESSE = ADDR1.

CUT_2BYTES_STRINGS * CALL FUNCTION 'CUT_2BYTES_STRINGS' * EXPORTING * I_STR = P_RNAME * I_LEN = P_LEN * IMPORTING * O_STR = P_DEPNAME.



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