RPUP0001 SAP Report - Adjust Fields acc. to Org. Assignment
RPUP0001 is a standard ABAP report available within your SAP system (depending on your version and release level). Below is the standard documentation available for this report and a few details of other objects it interacts with such as tables, function modules, includes etc. If you would like to see the full code listing simply enter RPUP0001 into the relevant SAP transaction such as SE38 or SE80
Although this basic information may have limited use other that for reference, within the comments section below there is also an opportunity for anyone to add useful hints, information and links to existing content specific to this abap report. This page will therfore over time start to contain a useful amount of information that can be found quickly, simply by searching on the object name, RPUP0001.
SAP Documentation for program RPUP0001
Transaction Code: N/A
DESCRIPTION
You can use this report to change various fields of infotype 0001
Org.assignment>.
Under Compare>, you can specify the fields that should be changed:
Company code>
The assignment between company code and personnel area is regulated by
table T500P Personnel Areas>. Possible changes can be made with
this report.
Controlling area>
The controlling area field is a sum calculated from the Company code
> (BUKRS) and the Business area> (GSBER) fields.
Names>
The fields P0001-ENAME and P0001-SNAME are structured according to table
HR Name Format> (T522N).
The formatted version of the employee's name from infotype 0002,
Personal Data> is stored in infotype 0001 Org.Assignment>.
The name format corresponds to the entries in table T522N, format 00
> for SNAME> and 01> for ENAME>. When you change
table T522N, you must update the records in infotype 0001 Org.
Assignment>. For language-dependent name elements (such as form of
address), you can specify the format language using the Language for
Name Compare> parameter.
Legal person>
You can not change the Legal person> (JUPER) field of infotype
0001 Org. Assignment> using transactions PA30>, PA40
>, etc. The Legal person> field is derived from the Company
code> (BUKRS), Personnel area> (WERKS), and Personnel
subarea> (BTRTL) fields. Values are taken from table T001P
Personnel Areas/Subareas>. If changes are made to the JUPER field
in T001P, you can change this field using this report.
Administrator groups>
The administrator group (SBMOD) assignment is controlled by the feature
PINCH>.
As this report updates the database, you must enter your user name as
the password.
It is possible to start the report in the test mode. If you want to do
this, flag the Test run> indicator.
For more information on Selections from>, Matchcodes> and
Multiple selection>, refer to the R/3 Library under HR
Management -> PA-Personnel Management -> PA-Personnel Administration ->
Procedures in Personnel Management -> Master Data and Reporting -> The
Report Selection Screen in HR Management System -> The Multiple
Selection Function on the Report Selection Screen>.
OUTPUT
The report results are output in list form. A separate line is created
for every employee, containing the personnel number, the employee's name
, and the fields that were changed.
Documentation extract taken from SAP system, Copyright (c) SAP AG
Includes used within report:
No INCLUDES are used within this report code!
Tables used within report and the associated select statement:
T001P
SELECT SINGLE * FROM T001P WHERE WERKS EQ P0001-WERKS
AND BTRTL EQ P0001-BTRTL.
T500P
SELECT SINGLE * FROM T500P WHERE PERSA EQ P0001-WERKS.
Function Modules used within report and the associated call statement:
RP_EDIT_NAME
CALL FUNCTION 'RP_EDIT_NAME'
EXPORTING
PP0002 = P0002
MOLGA = T500P-MOLGA
* LANGU = SPACE "XDVN610514
LANGU = sy-langu "XDVN610514
FORMAT = FORMAT
IMPORTING
EDIT_NAME = CNO_SNAME " Sortiername
RETCODE = CNO_RCODE.
RP_EDIT_NAME
CALL FUNCTION 'RP_EDIT_NAME'
EXPORTING
PP0002 = P0002
MOLGA = T500P-MOLGA
LANGU = langu
FORMAT = FORMAT
IMPORTING
EDIT_NAME = CNO_SNAME " Sortiername
RETCODE = CNO_RCODE.
RP_EDIT_NAME
CALL FUNCTION 'RP_EDIT_NAME'
EXPORTING
PP0002 = P0002
MOLGA = T500P-MOLGA
* LANGU = SPACE "XDVN610514
LANGU = sy-langu "XDVN610514
FORMAT = FORMAT
IMPORTING
EDIT_NAME = CNO_ENAME " aufbereiteter Name
RETCODE = CNO_RCODE.
RP_EDIT_NAME
CALL FUNCTION 'RP_EDIT_NAME'
EXPORTING
PP0002 = P0002
MOLGA = T500P-MOLGA
LANGU = LANGU
FORMAT = FORMAT
IMPORTING
EDIT_NAME = CNO_ENAME " aufbereiteter Name
RETCODE = CNO_RCODE.
HRCA_CONTROLLINGAREA_FIND
CALL FUNCTION 'HRCA_CONTROLLINGAREA_FIND'
EXPORTING
COMPANYCODE = P0001-BUKRS
BUSINESSAREA = P0001-GSBER
IMPORTING
CONTRLAREA = RK_KOKRS
EXCEPTIONS
NOT_FOUND = 1
OTHERS = 2.
HR_FEATURE_BACKFIELD
CALL FUNCTION 'HR_FEATURE_BACKFIELD' "QICAL0K017088
EXPORTING "QICAL0K017088
FEATURE = 'PINCH' "QICAL0K017088
STRUC_CONTENT = PME17 "QICAL0K017088
KIND_OF_ERROR = ' ' "QICAL0K017088
IMPORTING "QICAL0K017088
BACK = SBMOD "QICAL0K017088
CHANGING "QICAL0K017088
STATUS = RET_CODE "QICAL0K017088
EXCEPTIONS "QICAL0K017088
* DUMMY = 1 "QICAL0K017088
* ERROR_OPERATION = 2 "QICAL0K017088
* NO_BACKVALUE = 3 "QICAL0K017088
* FEATURE_NOT_GENERATED = 4 "QICAL0K017088
* INVALID_SIGN_IN_FUNID = 5 "QICAL0K017088
* FIELD_IN_REPORT_TAB_IN_PE03 = 6 "QICAL0K017088
OTHERS = 8. "QICAL0K017088
Text pool values
Adjust acc. to Fields of Organizational Assignment
Selection Text: LANGU = Language for Name Format
Selection Text: PASSWORD = Password
Selection Text: TEST = Test run
Title: Adjust Fields acc. to Org. Assignment
Text Symbol: 020 = Company code
Text Symbol: 018 = be determined
Text Symbol: 017 = Features for administrator group could not
Text Symbol: 016 = controlling area found for company code
Text Symbol: 015 = No valid
Text Symbol: 014 = or personnel subarea
Text Symbol: 013 = is not defined
Text Symbol: 012 = Personnel area
Text Symbol: 011 = Choose an adjustment
Text Symbol: 010 = No object chosen
Text Symbol: 009 = Records to be changed
Text Symbol: 008 = Record to be changed
Text Symbol: 007 = Records changed
Text Symbol: 006 = One record changed
Text Symbol: 005 = could not be edited
Text Symbol: 002 = Password
Text Symbol: 001 = Test run
Text Symbol: 021 = Legal person
Text Symbol: 056 = Name Compare
Text Symbol: 055 = Compare
Text Symbol: 037 = Administrator grp
Text Symbol: 036 = Controlling area
Text Symbol: 035 = Company code
Text Symbol: 034 = Legal person
Text Symbol: 033 = Sort name
Text Symbol: 032 = new :
Text Symbol: 031 = old :
Text Symbol: 030 = Formatted name
Text Symbol: 024 = Administrator group
Text Symbol: 023 = Names
Text Symbol: 022 = Controlling area
001 Pers.no. Name
|