SAP Function RV_ADDRESSFILE_CREATE - Triggers the building of an address list (online, batch)

Parameter Reference Type Length Default Optional Text
FADR_LIST_NUMBER_RANGE INRI-NRRANGENR C 2 ADR_LIST_NUMBER_RANGE X Number range number
FADR_LIST_OBJECT INRI-OBJECT C 10 ADR_LIST_OBJECT X Number range object
FJOBCOUNT TBTCO-JOBCOUNT C 8 SPACE X ID number of batch job
FJOBNAME TBTCO-JOBNAME C 32 SPACE X Name of batch job that creates address list
FJOBPREFIX 0 JOBPREFIX X Prefix of job (Char10)
FLISTNR VBKA-VBELN C 10 SPACE X Number of address list
FMODUS 0 'D' X Dialog or batch processing
FREPORT SYST-REPID C 40 'RVSELADR' X Name of address selection reports
FSPART TVTA-SPART C 2 SPACE X
FTARGET_TABLE DIP02-TABNAME C 30 'INDX' X Data base where addresses are stored
FVARIANTE RVARC-VARIANT C 14 SPACE X Name of selection variant
FVBELN VBKA-VBELN C 10 SPACE X Sales activity number
FVKORG TVKO-VKORG C 4 SPACE X
FVTWEG TVKOV-VTWEG C 2 SPACE X

Parameter Reference Type Length Text
FJOBCOUNT TBTCO-JOBCOUNT C 8 ID number of batch job
FJOBNAME TBTCO-JOBNAME C 32 Name of batch job that creates address list
FLISTNR VBKA-VBELN C 10 Number of address list
FRETCODE SYST-SUBRC I 4 Return code

Exception Text
JOB_NOT_EXIST Job does not exist
REPORT_NOT_FOUND Report does not exist
VARIANT_NOT_FOUND Variant does not exist


If the parameter is initial during IMPORT, the function modulegenerates a new list number. This list number will be returned duringEXPORT.
If the parameter is not initial during IMPORT, the specified addresslist will be overwritten.
If no job name is entered, a name will be generated.
= __
If the parameter is initial during IMPORT, the function modulegenerates a new list number. This list number will be returned duringEXPORT.
If the parameter is not initial during IMPORT, the specified addresslist will be overwritten.
You can set up an address list both in dialog and in batch processing.
'D' --> dialog
'B' --> batchThis parameter is not supported at present ('INDX')For batch processing, a variant is absolutely necessary
In case of batch processing (mode = 'B'), a job name is generated. Ifno job name is entered, it will be generated from the name root <(>
<<)>JOBPREFIX>, the number of the sales activity and the list number.