SAP Reports / Programs | Financial Accounting | Travel Management(FI-TV) SAP FI

RPRAPA00 SAP ABAP Report - Create/Change/Block Vendor Master Records from HR Master Records







RPRAPA00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for From the HR master data, this program generates a batch input session for maintaining person-related vendor master records...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 RPRAPA00 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

PRAA - Automatic Vendor Maintenance


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 RPRAPA00. "Basic submit
SUBMIT RPRAPA00 AND RETURN. "Return to original report after report execution complete
SUBMIT RPRAPA00 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: ACTMODE = Update run
Selection Text: AEDAT = ... with last change since
Selection Text: BACK_JOB = Run as background job
Selection Text: CHA_A_P = Change acc.to HR master record
Selection Text: CRE_A_P = Initial setup
Selection Text: DAILY = Change acc. to HR Master Rec..
Selection Text: DEL_A_P = Lock
Selection Text: FILEONLY = Create work file only
Selection Text: FILE_O = File name
Selection Text: FILE_PR = File in list form
Selection Text: JOBNAME = ... Name of job
Selection Text: MANDANT = ... Client in work file
Selection Text: M_NAME = ...Name of batch input session
Selection Text: NO_DEL = No Deleted Vendors
Selection Text: NO_LOCK = No Blocked Vendors
Selection Text: P_SUBTY6 = Subtype Address
Selection Text: P_SUBTY9 = Subtype Bank Details
Selection Text: REF_A_P = Update
Selection Text: TEMP_A_P = Vendor
Selection Text: TESTRUN = Test run
Selection Text: UNAME = ... User in work file
Title: Create/Change/Block Vendor Master Records from HR Master Records
Text Symbol: S15 = Vendor master record
Text Symbol: S14 = Personnel numbers without
Text Symbol: S07 = of which..
Text Symbol: S06 = blocked personnel numbers
Text Symbol: S05 = Vendor master record
Text Symbol: S04 = Personnel numbers with already existing
Text Symbol: S03 = Personnel numbers with missing master data
Text Symbol: S02 = Personnel numbers in work file
Text Symbol: S01 = Selected Personnel Numbers
Text Symbol: P21 = Company Code Segment
Text Symbol: P20 = Vendor
Text Symbol: P12 = -> TRVHB
Text Symbol: S24 = Personnel numbers without changes since
Text Symbol: S25 = Personnel Numbers without Changes Valid As Of Today
Text Symbol: U00 = Process mode
Text Symbol: U01 = Reference vendor master record





Text Symbol: U02 = Work file
Text Symbol: U03 = Vendor master records
Text Symbol: U04 = National peculiarities
Text Symbol: U05 = Maintenance mode
Text Symbol: U06 = Subtype Infotype 0006 (Addresses)
Text Symbol: U07 = Subtype Infotype 0009 (Bank Details)
Text Symbol: U08 = Select Subtypes
Text Symbol: US0 = An inconsistent user name/client
Text Symbol: US1 = is only allowed for "Create work file only"
Text Symbol: P11 = House bank
Text Symbol: H21 = Change vendor master records according to HR master records
Text Symbol: H20 = Create vendor master records according to HR master records
Text Symbol: H10 = List of rejected employees
Text Symbol: H04 = Missing master data on key selection date
Text Symbol: H03 = includes following employees
Text Symbol: H02 = Work file
Text Symbol: H01 = Key selection date:
Text Symbol: F14 = Incomplete
Text Symbol: F04 = not active
Text Symbol: F03 = must not be used!
Text Symbol: F02 = Work file
Text Symbol: F01 = Missing
Text Symbol: E14 = Update Run:
Text Symbol: E13 = Test Run:
Text Symbol: E12 = Background processing terminated
Text Symbol: E11 = Read the error log in the spool file
Text Symbol: E10 = Error while processing the data
Text Symbol: E02 = the argument is missing
Text Symbol: E01 = In the table
Text Symbol: 004 = Change/Update Also When Employees Are Inactive
Text Symbol: 003 = ... only changes that become valid today
Text Symbol: 002 = Create new company code segment for existing vendor master records
Text Symbol: 001 = ...
Text Symbol: H22 = Block vendor master records for requested employees
Text Symbol: P10 = details
Text Symbol: P09 = Bank
Text Symbol: P08 = residence
Text Symbol: P07 = Perm.
Text Symbol: P06 = Person





Text Symbol: P05 = Data on
Text Symbol: P04 = Action
Text Symbol: P03 = OrgAssignm/
Text Symbol: P02 = Name
Text Symbol: P01 = PerNo.
Text Symbol: L12 = Employees for whom no vendor master record
Text Symbol: L04 = Personnel number missing in company code segment!
Text Symbol: L03 = exists
Text Symbol: L02 = Employees for whom a vendor master record already
Text Symbol: L01 = Blocked personnel numbers:
Text Symbol: K02 = was created
Text Symbol: K01 = No vendor master record
Text Symbol: J12 = The job could not be created
Text Symbol: J11 = must be started later manually
Text Symbol: J10 = Job
Text Symbol: J02 = was started
Text Symbol: J01 = The job
Text Symbol: H23 = Update vendor master records according to HR master records


INCLUDES used within this REPORT RPRAPA00

INCLUDE RPRAPADE_ALV.
INCLUDE RPRAPAFO_ALV.
INCLUDE RPUMKC00.
INCLUDE RPRAPAEX.
INCLUDE RPRAPAEX_001. "QIZK082452
INCLUDE TSKHINCL. "QIZK010807


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:

HR_MAPNAME_VERIFY CALL FUNCTION 'HR_MAPNAME_VERIFY' EXPORTING mapname = m_name reportname = repname IMPORTING mapname = m_name.

HR_MAPNAME_VERIFY CALL FUNCTION 'HR_MAPNAME_VERIFY' EXPORTING mapname = m_name reportname = repname IMPORTING mapname = m_name.

TH_SERVER_LIST CALL FUNCTION 'TH_SERVER_LIST' "QIZK010807 EXPORTING "QIZK010807 services = ms_btc "QIZK010807 TABLES "QIZK010807 list = server_list. "QIZK010807

RSBATCH_GET_SERVER_AND_GROUP CALL FUNCTION 'RSBATCH_GET_SERVER_AND_GROUP' EXPORTING i_group = sap_default_btc IMPORTING e_t_servers = default_btc_servers.

FUNCTION_EXISTS CALL FUNCTION 'FUNCTION_EXISTS' EXPORTING funcname = 'FM_PSO43_PSOSD_READ' EXCEPTIONS function_not_exist = 1 OTHERS = 2.

FM_PSO43_PSOSD_READ CALL FUNCTION 'FM_PSO43_PSOSD_READ' "#EC * IMPORTING "#EC * e_active = ps_master_data_active. "#EC *

FILE_VALIDATE_NAME



CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_fname CHANGING physical_filename = file_o EXCEPTIONS logical_filename_not_found = 1 validation_failed = 2 OTHERS = 3.

HR_READ_INFOTYPE_AUTHC_DISABLE CALL FUNCTION 'HR_READ_INFOTYPE_AUTHC_DISABLE'.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' "WKUK039334 EXPORTING "WKUK039334 tclas = 'A' "WKUK039334 pernr = pernr-pernr "WKUK039334 infty = '0017' "WKUK039334 begda = pn-begda "WKUK039334 endda = pn-endda "WKUK039334 IMPORTING "WKUK039334 subrc = subrc_inftyp "WKUK039334 TABLES "WKUK039334 infty_tab = p0017_help "WKUK039334 EXCEPTIONS "WKUK039334 infty_not_found = 1 "WKUK039334 OTHERS = 2. "WKUK039334

TRAVEL_EXISTS * CALL FUNCTION 'TRAVEL_EXISTS' "QIZK001223 "WKUK065240 * EXCEPTIONS "QIZK001223 "WKUK065240 * travel_not_existing = 1 "QIZK001223 "WKUK065240 * others = 2. "QIZK001223 "WKUK065240



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