SAP Reports / Programs | Personnel Management | Personnel Administration(PA-PA) SAP PA

RPU45AANSVH SAP ABAP Report - Conversion of work contracts (ANSVH)







RPU45AANSVH is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for There will be a new entity table (T542A) as of release 4...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 RPU45AANSVH 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 RPU45AANSVH. "Basic submit
SUBMIT RPU45AANSVH AND RETURN. "Return to original report after report execution complete
SUBMIT RPU45AANSVH 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: TEST = Test
Selection Text: MANDT = Client
Selection Text: DELSPACE = Clean up T542A/T542T
Selection Text: DBUPD = Carry out database changes
Title: Conversion of work contracts (ANSVH)
Text Symbol: UPD = There will be database changes. Do you want this?
Text Symbol: UNI = The assignment of the old ANSVH values to the new ones is not unique. Do you still want to carry out the conversion?
Text Symbol: TST = Test mode
Text Symbol: SUC = successful
Text Symbol: STP = Leave conversion report? No changes will be carried out!
Text Symbol: STA = Report status:
Text Symbol: SEL = Selected entries will be converted
Text Symbol: SE2 = Not selected:
Text Symbol: SE1 = Selected:
Text Symbol: SE0 = Conversion of selected entries
Text Symbol: PRD = Productive
Text Symbol: POP = No data changes are made in this client. Do you really want this?
Text Symbol: PER = Pers.no.
Text Symbol: NOO = No entries/changes
Text Symbol: MOL = MOLGA
Text Symbol: MIS = Entries have been selected without a new ANSVH having been entered. Do you really want to assign them to the initial value?
Text Symbol: MDT = MANDT
Text Symbol: MAN = Conversion for client:
Text Symbol: IT1 = Data changes in infotype 0001
Text Symbol: HAS = Previous assignment of ANSVH to country gr.(MOLGA) from IT0001
Text Symbol: EXB = Entry already exists:
Text Symbol: ERR = Error!
Text Symbol: ENT = New entries in table
Text Symbol: END = ENDDA
Text Symbol: E5T = Error during insertion in table T542T!
Text Symbol: E5A = Error during insertion in table T542A!
Text Symbol: DEL = The table entries for MOLGA=SPACE (T542A/T542T) should only be deleted after successful conversion. Do you want to delete?
Text Symbol: BEG = BEGDA
Text Symbol: ANS = ANSVH
Text Symbol: ANO = Old value
Text Symbol: ANN = New value
Text Symbol: 004 = Back
Text Symbol: 003 = Continue





Text Symbol: 002 = No
Text Symbol: 001 = Yes


INCLUDES used within this REPORT RPU45AANSVH

No INCLUDES are used within this REPORT code!


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:

POPUP_TO_CONFIRM * CALL FUNCTION 'POPUP_TO_CONFIRM' * EXPORTING * text_question = text-upd * text_button_1 = 'Ja'(001) * icon_button_1 = 'ICON_OKAY' * text_button_2 = 'Nein'(002) * icon_button_2 = 'ICON_CANCEL' * default_button = '2' * display_cancel_button = ' ' * IMPORTING * answer = popup_answer_1 * EXCEPTIONS * text_not_found = 1 * OTHERS = 2.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = text-del text_button_1 = 'Ja'(001) icon_button_1 = 'ICON_OKAY' text_button_2 = 'Nein'(002) icon_button_2 = 'ICON_CANCEL' default_button = '2' display_cancel_button = ' ' IMPORTING answer = popup_answer_1 EXCEPTIONS text_not_found = 1 OTHERS = 2.

TR_APPEND_LOG CALL FUNCTION 'TR_APPEND_LOG' EXPORTING accept_not_init = 'X' TABLES xmsg = mess_tab.

TR_FLUSH_LOG CALL FUNCTION 'TR_FLUSH_LOG'.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = text-stp text_button_1 = 'Ja'(001) icon_button_1 = 'ICON_OKAY' text_button_2 = 'Nein'(002) icon_button_2 = 'ICON_CANCEL' default_button = '1' display_cancel_button = ' ' IMPORTING answer = popup_answer_1 EXCEPTIONS text_not_found = 1 OTHERS = 2.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = text-pop text_button_1 = 'Ja'(001) icon_button_1 = 'ICON_OKAY' text_button_2 = 'Nein'(002) icon_button_2 = 'ICON_CANCEL' default_button = '1' display_cancel_button = ' ' IMPORTING answer = popup_answer_1 EXCEPTIONS text_not_found = 1 OTHERS = 2.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = text-uni text_button_1 = 'Ja'(001) icon_button_1 = 'ICON_OKAY' text_button_2 = 'Nein'(002) icon_button_2 = 'ICON_CANCEL' default_button = '2' display_cancel_button = ' ' IMPORTING answer = popup_answer_2 EXCEPTIONS text_not_found = 1 OTHERS = 2.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = text-mis text_button_1 = 'Ja'(001) icon_button_1 = 'ICON_OKAY' text_button_2 = 'Nein'(002) icon_button_2 = 'ICON_CANCEL' default_button = '2' display_cancel_button = ' ' IMPORTING answer = popup_answer_1 EXCEPTIONS text_not_found = 1 OTHERS = 2.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING textline1 = text1 textline2 = text2 titel = text-se0 cancel_display = 'X' IMPORTING answer = popup_answer_1.



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