Skip to Content
author's profile photo Former Member
Former Member

Default value (App/Rej/Resub) in Collective Approval or Working Times

Hi all

I have a question regarding the Approve Time Sheet Data application in MSS 1.51 (based on WD ABAP):

http://help.sap.com/erp2005_ehp_05/helpdata/en/cd/49a4fc8e13473b9c29a79388d05cf2/frameset.htm

The question is very simple. The collective approval screen in the Approve Time Sheet Data application starts out with all values set to "Approve". This is - in most cases - not ideal.

If a manager for example enters the Approve Time Sheet Data application and immediately changes the view, he will be prompted to "save the data". If he clicks yes, he will approve all the registrations because the default setting is "Approve".

Or if the manager enters the application just to approve a few of his employees' time registrations, he will have to change all the other collective registrations from "Approve" to "Resubmit" before he can click "Save".

The question is thus if it is possible to change the default value in the dropdown of the collective approval screen? I have tried to add the parameter DEFAULT_APPROVAL=3 to the Application Parameters but that parameter turns the drop down in the collective approval view (not individual) to a readonly field.

Does anyone have a solution to this?

Best regards,

Martin Søgaard

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 13, 2012 at 01:27 PM
    Hi, I created an implicit enhancement in class CL_HRMSS_AS_CATS_APPROVAL, method INITIALIZE, at the end of the method. The default value is now "Resubmit all". ENHANCEMENT 1 ZCL_HRMSS_AS_CATS_APPROVAL. "active version FIELD-SYMBOLS:
    <zzfs_dyn_table> TYPE STANDARD TABLE,
    <zzfs_dyn> TYPE any,
    <zzfs_field> TYPE any.
    ASSIGN dyn_table->* TO <zzfs_dyn_table>.
    LOOP AT <zzfs_dyn_table> ASSIGNING <zzfs_dyn>.
    ASSIGN COMPONENT 'DD_APPROVE' OF STRUCTURE <zzfs_dyn> TO <zzfs_field>.
    IF sy-subrc EQ 0.
    <zzfs_field> = 'KEEP'. "KEEP=Resubmit all "APPR = Approve all
    ENDIF.
    ENDLOOP.
    UNASSIGN <zzfs_dyn_table>.
    ENDENHANCEMENT.

    BR, Roland

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 22, 2011 at 03:41 PM

    in EHp5 there is no dropdown and it doesnt default approve or reject or resubmit as MSS in JAVA used to do

    rather here we have the three buttons on top like approve all, reject all and process individually

    The button "Process Individually" is meant to open the approval

    application in a new window, from where the manager can further drill

    down into individual recorded times.

    if you need to do changes, Please do here

    HRMSS_A_CATS_APPROVAL

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.