cancel
Showing results for 
Search instead for 
Did you mean: 

Employee master data against Trip data while perfroming PRRW

Former Member
0 Kudos

Hi Experts,

We will be reassigning company code of employees into a new code (basically changes in company coding only).

My question is, will the new code be read automatically by PRRW.

My scenarios is:

1) New company code starts 01.05.2010 onwards i.e. Organizational Assignment of the employees will have the new company code from this date.

2) Trip expense are submitted earlier prior to new company code starts for expense made 15.04.2010. i.e. Trip expense are already in the system when the Organizational Assignment is updated with the new company code

I read somewhere in Travel documentation that says " .. The FI posting process analyzes the T&E master data of the employee. Should a user be accessing the master data at the same time as the process, it will cause an error to occur..."

Does this means that in my scenario above, the PRRW will pick up the new company code. Ideally this is what we need the system to do but not sure if this is the case. And I do not have system to play around. Based on experience, does anyone know?

Thanks in advance

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello,

Your question is very valid.

Yes in case of cost assignment it also works with same config. But you will have to be careful in case of credit card entries.

As i believe in case of credit card entries system search the config based on tripu2019s end date. To make enable system find the correct company code for credit card receipts too, you will have to take use of above mentioned BAdi.

Your logic should be something like below.

Read the Receipt date if its there go ahead.

Import the receipt date from cluster PCL1. And get the receipt number.

Get the date on receipt and find the users cost centre depends on that.

Change the cost centre, company cod and business area though code on receipt.

Hope this helps you.

Thanks,

Vaibhav

Former Member
0 Kudos

Thanks again for your helpful insight.

Former Member
0 Kudos

Hello,

Yes new code will be read automatically by PRRW. It all depends on how the configuration has been done.

Please check the path Travel Expenses-> Dialog and Travel Expenses Control-> Travel Expenses Control-> Travel Expenses Control (Expert View)

And check the second column entry. System fetches the details of master data based on these settings.

Ideally we should go with entry 2 u2018Read exact Dateu2019 because if trips created after the company code changes and have the receipt entries with date previous to company code change. It should pick the old company code for that entry and for other entries it should fetch the new company code.

There is a BAdi where we can make play around. Please check the BAdi TRIP_POST_FI u2013 Method EX_ZWEP_COMPLETE

Hope this help you!

Thanks,

Vaibhav

Former Member
0 Kudos

Thank you. You have answered my query.

Thanks for the path too.. (Travel Expense is new to me so appreciate your assistance)

I think the exception to this is IF the expense is charged to a different cost center than the person's cost center i.e. via cost assignment upon submitting. Based on the business process document, cost assignment is allowed.

Does the Settlement Process also look at the new company code of the cost center based on the same config setting, in case of Cost Assignment?

Thanks again.