We have a customized schema to run Time Evaluation through transaction PT60. When the initial screen in PT60 is...
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
brought up, it shows default schema as TM00. This is causing lots of erroneous runs if somebody forgets to change it to the custom schema. How can we change this default to our custom schema so that PT60 shows up with that schema? There are 2 ways to handle this issue.
1- Create a custom transaction, transaction 'SE93', calling your Time Evaluation program (RPTIMEPS, RPTIME01, or RPTIME00) with a default variant in the 'Start with variant' field, RSSTCD-REPO_VARI.
2 - You need to customize the code. This customization requires modification of SAP program code. In US payroll, transaction PT60 calls program RPT_TIME_EVAL_START. It is a standard SAP program, so you would need to get an access key to make the modifications. Within the program there are several SUBMIT statements. Each call a different program, i.e. RPTIMEPS –'Preselection for Time Evaluation for Concurrent Employment', RPTIME01 –'Time Evaluation for Concurrent Employment', or RPTIME00 – 'HR TIME: Time Evaluation'.
For each of the submit calls, no variant or 'SELECTION-SET' is defined. If you always want your own default variant immediately displayed upon entering the transaction PT60, you need to add the 'USING SELECTION-SET' addition with your respective variant for each program.
The following is a bit of sample code: SUBMIT RPTIME00 VIA SELECTION-SCREEN USING SELECTION-SET 'VARIANT1'.
Dig Deeper on SAP ABAP
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.