cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos
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

Answers (1)

Answers (1)

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

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

Former Member
0 Kudos

Hi Siddharth

I am not talking about MSS in JAVA, I am talking about one of the "further iviews" in EHP5/MSS 1.51 which is based on WD ABAP. Unfortunately, I do not see any of the buttons you refer to like "the three buttons on top like approve all, reject all and process individually". These buttons are placed after each employee in the collective approval screen.

Can it be that you talk about the MSS Add-On 1.0?

Or can it be that there has been delivered a change in on of the latest service packs for EHP5?

Best regards,

Martin Søgaard

siddharthrajora
Product and Topic Expert
0 Kudos

this is the new inbox in EHP5, Ie POWL< and is available in MSS ADD ON

But can be used using OBN without this ADD ON. PLease check it

Former Member
0 Kudos

Hi Siddharth

Thank you for sharing your knowledge.

I created a WD ABAP iview pointint to the WD ABAP application IBO_WDA_INBOX:

http://help.sap.com/erp2005_ehp_05/helpdata/en/30/7b6e7958e54314bdedc04990f52caa/frameset.htm

I am able to see the overview part of the application, but I get the following error when I try to process the time registrations individually:

There is no iView available for system "SAP_ERP_HumanResources": object "employee". For more information, contact your administrator.

I do not see that this missing iview is part of the MSS 1.51 Manager role. Can you please assist on where to find it and how to add it? And which version of the iview will work on SAP NetWeaver Portal 7.3?

Best regards

Martin Søgaard

siddharthrajora
Product and Topic Expert
0 Kudos

process individually is possible only in MSS add on 1.0.

Former Member
0 Kudos

Hi Siddharth

Can this really be true?

Even though the application is shipped with EHP5 and there is documentation telling how to use the application within NWBC?

If Process Individually works within NWBC, it must be possible to achieve the same functionality within SAP Portal?

Best regards,

Martin Søgaard

siddharthrajora
Product and Topic Expert
0 Kudos

Yes I guess you are right, But i couldnt make it work without the following, Please can you confirm this are you using as ssaid

Can you check your LPD_cust ie MSS NAV

what is the customisation there?

Changed the OBN Navigation mode to 'User Set of Roles'

ie Go to Extras -> General Settings and change to u2018User Set of Rolesu2019. Save your changes

Former Member
0 Kudos

Hi Siddharth

Since the 1.51 MSS role is not implemented as a launchpad, we are still using the normal role-workset-page structure in the portal. So I guess the parameters in the MSS/NAV launchpad should not have any effect (I did try to change it, and it did not have any effect).

So what I have is the following:

I have created a "Manager Worklist" which is a WD ABAP iview based on Application Name = IBO_WDA_INBOX, Configuration Name = MANAGER_MSS_WDAC_POWL_INBOX according to the documentation for the POWL for NWBC.

In the Object-Based Navigation section of the iview settings, I have entered the following three Business Objects in "Application as OBN Target":

Employee/Approve Leave Request/SAP_ERP_HumanResources

Employee/Approve Working Time/SAP_ERP_HumanResources

Employee/Display/SAP_ERP_HumanResources

I am by the way unable to remove these "Applications as OBN Targets". When I mark an application and clicks remove, I get the message "Parameter mapping changed successfully" and the error "Could not remove operation".

When I check the MSS role for navigation targets (I click on the Navigation Targets in SAP Portal 7.3), I can see the Approve Time Sheet as navigation target. If I open that page and take a look at the objectbasednavigation.implementedoperations, I have the following entry there:

BOTechnicalName=employee&Operation=approveworkingtime1&BOSystemAlias=SAP_ERP_HumanResources

Siddharth, do you have any idea of what could be wrong here?

Best regards,

Martin Søgaard

siddharthrajora
Product and Topic Expert
0 Kudos

Please can you update what error you get? you dont see the workitems etc?

You would need to ensure the task visulation is done in SWFVISU