Q
Problem solve Get help with specific problems with your technologies, process and projects.

PT60- change default schema

We have a customized schema to run Time Evaluation through transaction PT60. When the initial screen in PT60 is...

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'.

This was last published in April 2004

Dig Deeper on SAP ABAP

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close