Title HR-GB: Infotype(SMP/SAP/SPP GB) 0088 Conversion report Purpose This conversion report is requiered for the introduction of subtypes oninfotype(SMP/SAP/SPP GB) 88. Standard_variants The report executes the following task: ,,For each record on the infotype(SMP/SAP/SPP GB) 88 the report checkswhich value has the field 'SUBTYPE'.
- If the field is empty, then it has to be filled with the value 'SMP'.
- If the field contains the value 'SAP', 'SMP', 'SPPA' or 'SPPB', nothing
has to be done.
- If the field contains other values, then it will be overwritten with
'SMP'. Note: >In the case that the last action might not be correct inyour situation, then it is recommended to delete the according recordon the infotype and to create a new one with the appropriate subtype inthe master data maintenance.Output After the execution the report displays statistics containing followingnumbers: Selected person Person provided with infotype(SMP/SAP/SPP GB) 88 records Records having been converted during the current run Records having been converted before the current run Records having invalid subtype values The records belonging to the last three points can also be displayed asan ALV list, by following the menu path: Goto --> Corrected records> to see the records having beenconverted during the current run. Goto --> Already converted> to see the records having beenconverted before the current run. Goto --> Invalid >records to see the records havinginvalid subtype values. This functions are also executable with the according buttons.Activities In oder to process a single employee you have to do the folowing:
- In the Include 'rpcp88gd' replace the line(39) ' >RANGES:
EMPLOYEE FOR PERNR-PERNR.' > by the line '*RANGES:EMPLOYEE FOR PERNR-PERNR.' .
- In the Include 'rpcs88gs' replace the lines
' *selection-screen begin ofblock block_1 with frame title text-001. ' ' * select-options: employeefor pernr-pernr. ' ' *selection-screen end ofblock block_1. ' ' *selection-screen begin ofblock block_3 with frame title text-005. ' ' * parameters: test ascheckbox. ' ' *selection-screen end ofblock block_3. ' by the lines ' selection-screen begin of blockblock_1 with frame title text-001. ' ' select-options: employeefor pernr-pernr. ' ' selection-screen end ofblock block_1. ' ' selection-screen begin ofblock block_3 with frame title text-005. ' ' parameters: test ascheckbox. ' ' selection-screen end ofblock block_3. '
- In the main program replace the lines (39-42)
' * IF test NE true. ' ' * Save the changes to the database. ' ' PERFORM save_records TABLES p0088_corr p0088_invalidp0088_del. ' ' * ENDIF. ' by the lines ' IF test NE true. ' ' * Save the changes to the database. ' ' PERFORM save_records TABLES p0088_corr p0088_invalidp0088_del. ' ' ENDIF. '
- Save all changes, check and activate the report.
|