SAP Function RV_ADDRESSFILE_MAINTAIN - Processing an address extract

Parameter Reference Type Length Default Optional Text
ADDRESSLIST VBKA-VBELN C 10 SPACE X Number of address list to be processed
FBLKNR SADMINDATA-BLKNR C 6 SPACE X Number of address range to be processed
FDISPLAY_ONLY 0 SPACE X CALL mode of function module
FKAPPL NAST-KAPPL C 2 'K1' X Application for print output
FKSCHL NAST-KSCHL C 4 SPACE X Message for print output
FMODE 0 'L' X Off-state
FNACHA NAST-NACHA C 1 '1' X
FOBJKY NAST-OBJKY C 30 SPACE X Document number for print output
FREPORT SYST-REPID C 40 'RVADRSEL' X Selection report for additional selection
FSPART TVTA-SPART C 2 SPACE X Division for which addresses are added if necessary
FSPRAS NAST-SPRAS C 1 SY-LANGU X Language for print output
FT185V T185V u 326 SPACE X
FVKORG TVKO-VKORG C 4 SPACE X Sales organization for which addresses are added if necessary
FVTWEG TVKOV-VTWEG C 2 SPACE X Distribution channel for which addresses are added if necessary
REFERENCE_ADDRESSLIST VBKA-VBELN C 10 SPACE X Number of reference address list
SOURCE_TABLE DIP02-TABNAME C 30 'INDX' X
TARGET_TABLE DIP02-TABNAME C 30 'INDX' X

Parameter Reference Type Length Text
FADR_CNT SYST-TABIX I 4 Total number of addresses in address file
FFCODE T185F-FCODE C 20 Function code
FT185V T185V u 326
FUPDA_KZ 0 Update indicator

Exception Text
ADDRESSLIST_NOT_FOUND The address list does not exist
AUTHORIZATION_FAILED Missing authorization for processing list
FOREIGN_LOCK_ADMIN FOREIGN_LOCK: address management data
FOREIGN_LOCK_BLOCK FOREIGN_LOCK: address interval
REF_ADDRESSLIST_NOT_FOUND Reference address list does not exist
SYSTEM_FAILURE_ADMIN SYSTEM_FAILURE: address management data
SYSTEM_FAILURE_BLOCK SYSTEM_FAILURE: address interval


This function module supports the processing of an address list.
The COMMIT WORK is carried out by the calling program.
If the module is called up with 'B' mode, the calling program first hasto block the address management data before carrying out COMMIT WORK,i.e. the calling program must call up the ADDRESS_ENQUEUE functionmodule using 'A' mode.
This total number includes the changes that have been planned but notposted yet (that means, an address to be deleted reduces the totalnumber by 1).

Description
During address processing a function is requested that must be treatedby the program calling address processing. This function is returned tothe calling program in FFCODE.
The following characteristic values apply to the FUPDA_KZ parameter:

  • 1: the address list was changed

  • 2: the address list was deleted

  • Characteristic 'X' ==> display function only
    ' ' ==> otherwise
    You can use the following values in the FMODE parameter:
    • L: the whole address list is to be processed and is being
    • blocked accordingly
      • B: only one address interval is to be processed and blocked

      • E: the address list has already been blocked by the calling
      • program and therefore is not blocked by the function module anymore