on 09-15-2012 11:26 AM
Hi
Organisation has employees & contractors categorised in HR master data.
Creation & Approval of travel expense claims happens through enterprise portal.
We want to restrict certain expense types as per employee status (permanent/contractor)
One option is to restrict at expense type level (permissibility) based on emp grouping. Ruled out.
Another option - created a copy of existing trip schema & restricted expense type for both the schemas. Works fine while raising claims through PR05 as system asks to opt for a schema before raising a claim.
Is there anything else that needs to be done apart from creating the new schema?
Is it possible to restrict/default these schemas (say, P & C) to Permanent emp & contractors respectively using HR master data grouping? so that whenver a person raise a claim, schema is defaulted for him. How can this be achieved?
Can I use variable field control via TRVFD to address above issue?
Regards
Being a developer, I would use the approach via the BADI TRIP_WEB_CUSTOMIZING. There, you can manipulate the entire customizing settings passed to the WebDynpro applications programatically.
Read the employee status from runtime and manipulate TRIP_SCHEMAS --> job done
I can't tell you whether the approach with TRVFD would work, maybe somebody else can help you with that, in case you don't want to use the BADI for some reason.
Cheers, Lukas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.