cancel
Showing results for 
Search instead for 
Did you mean: 

Defaulting Trip Schema's to Employee group expense type

Former Member
0 Kudos

Hi experts,

We are creating multiple trip schemas and we want to default trip schema's to Employee group expense type as defaulting to employee groups does not give us proper solution. our requirement is when user raising expense claim a default trip schema should be used. started checking if it is available in sap configuration, Authorization and error message and whether enhancements are available. It will be appreciated if someone has expert opinion on this.

Thanks

Kevin

Accepted Solutions (1)

Accepted Solutions (1)

Lukas_Weigelt
Active Contributor
0 Kudos

Hi Kevin,

I'm not sure I understood completely right: You want to default to a specific trip schema dependent on certain parameters for a person in the WDA for travel expense claim, right?

I would suggest using the BADI "TRIP_WEB_CUSTOMIZING". Within the BADI you have the employee number and the value-help table for the schemas available. So, as an appraoch, you could do queries for the employee number, then define which schema would be appropriate, and delete all entries except for this one wanted schema from the internal table TRIP_SCHEMAS, so the employee can only choose this one schema you evaluated for him.

Cheers, Lukas

Former Member
0 Kudos

Thanks Lukas,

You are right we want to default trip schema for the employee's so that each employee when their raise their claim only default trip schema should be available, i will explore more about the said BADI. anything if you want to add you are welcome.

Thanks,

Kevin

Lukas_Weigelt
Active Contributor
0 Kudos

Nope, nothing to add to this approach. Do programming-queries on the employee number and restrict the values of TRIP_SCHEMAS so it will default to the only one left in the WDA.

It would be nice if you could get back here after you tried this, I'm always hoping for a short feedback

Cheers, Lukas

Former Member
0 Kudos

Thanks Lukas, this option of BADI "TRIP_WEB_CUSTOMIZING is very much useful and we have defaulted trip schema and it is working fine but my client still want Clone Iview option and inserting this in roles in portal. i will put ours as correct answer and after what option we implement i will update here

Answers (0)