on 05-05-2015 6:50 PM
Hi.
I need to display the number or name of the personnel responsible of a work order, but looks that this information is not coming from the backend on the standard app, there's any config or something I can do to get it or i will need to create a new bapi or something to get it?
Thank you.
Manuel.
Work Manager is designed to download the work assigned to you, the technician, so the information would normally just be that users information and redundant since they are the ones using the device.
--Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Because managers want to know the work orders that are in their team, so, technicians are downloading by personnel responsible (their own orders), and managers are downloading by Work Center (technicians under his/her management and own orders).
We deployed 2 apps, one for managers by Work Center, and one for technicians by personnel responsible.
Now, to give more information to the managers, we need to add who is the responsible of a particular order when the app is configured by Work Center. With that information there, we will maybe add a filter too, so they can filter and know who have pending orders or things like that.
Hi,
(I have been checking this in the customer service extension of the work manager. I would expect it to be the same for the work manager as well.)
If you need USER2, you can go to the config panel / Mobile Data Object Configuration / DO / ???_WORKORDER_GENERIC / ResultSet Field Selection. There you can search for field USER2. By default it should be unchecked; you need to enable it. Use SE37 to verify that this gives you the information you need.
Next steps are:
Regards, Daniel
MainObject->UserProfile should have the Personel Number of current User and ctPersResp.. Complex Table has a list of Personnel IDs so that you can transfer WO to them. The CT should have name also so you can display current user name and other user names.
There is no need to change Java or ABAP.
thx
Chandra
Ok, I'm using type 6 or i can use 8 too. The idea is that i need to get all the orders inside a work center.
Anyway, that information is very useful. I will put your answer as correct, but if you have any about using type 1 - 4 and getting orders for my user and someone's else, should be good.
I will test some options anyway and I post if I find something, thank you!
Hi,
I have the ctpersresp populated for WO assignment type 8. I may have to do with filter options for CT - ???_HR_EMPLOYEE_LIST.
You should be aware that the UserProfile is populated with values for the current user (i.e. the manager). You will not have information about who is the person responsible for individual WOs.
Regards, Daniel
First let us be clear of data source
The User Profile Object contains info of Current User. It will only have Personnel Number not name - so if you want name you have to look up in ctPersResp table.
ctPersResp - contains all Personnel Numbers and data based on filters configured in config panel.
The ctUser table contains data for current user and cannot be used here. ctUser contains info that you have in User Profile.
Display of Name
1) Can you please clarify if the Person Responsible filed of WO is populated? If so you can use that number to look up in the ctPersResp table.
2) Now if the Person Responsible is blank and you want to use the Work Center at Operation/Header to figure out Users it is assigned to as User Parameter then you have create a new table and query SAP Table USR05 to download data for all Users (you need to figure out a filter criteria).
It appears that you are trying to support (manual) scheduling from Work Manager Mobile App. Have you considered MRS for scheduling? SAP GUI or backend is usually ideal for scheduling.
Thanks,
Chandra
Manuel,
is your original requirement still the same?
I need to display the number or name of the personnel responsible of a work order
If so, I would advise you to check if USER2 contains the correct "person responsible" (as described in my initial comment... no coding required for this step)
You might want to use the ctpersresp to retrieve a readable name/description for the USER2 value as a second step.
Btw. if you have not written Java extensions for the Work Manager so far, this is the perfect opportunity to broaden your horizon - it will not get simpler than this...
Regards,
Daniel
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.