on 10-30-2012 6:23 PM
hi,
This is a question about how employee data is pushed onto devices for Sales mobile 2.0 app.
We have issues where users want to see employees other than what they see on the ipads. I am trying to figure out how the employee data is pushed onto the device so that can be picked for employee responsible/owner partner function in the transaction. Does it come down based on how organization structure is designed? If yes how? If not then is there a way we can customize to make sure we make it avaialable based on client requirements?
Thank you,
Aparna
Hi,
Please try this.
Issue: User can not select an Employee Responsible when creating document in the device.
Solution: This is the standard behavior. You can change the restriction logic key by BADI.
Standard behavior:
Application has restriction logic for selecting employee based on Partner Function customizing.
If Account has only 1 Employee Responsible, user does not get Employee Responsible selection when selecting + icon for Employee Responsible. This is standard behavior.
If Account has many Employee Responsibles, user gets Employee Responsible selection.
For Partner Function 00000014 Employee Responsible case, following customizing values are in DOE.
MAS_CUSTOMIZATION. ET_CUST_PARTNER_FUNC-BP_ROLE_CAT = blank
MAS_CUSTOMIZATION. ET_CUST_PARTNER_FUNC-REL_TYPE = CRMH06
Custom Enhancement:
If customer requirement does not match with standard behavior, customer can enhance partner function customizing by BADI.
Enchancement Spot : /MSA/CRM_MOBILE_SALES
Interface : /MSA/BADI_CUST_MD
Method : GETDETAIL
-----------------------------
method /MSA/IF_CE_CUST_MD~GETDETAIL.
DATA ls_cust_partner_func TYPE /msa/s_cust_md_partner_fct.
LOOP AT ct_cust_partner_func INTO ls_cust_partner_func.
IF ls_cust_partner_func-function = '00000014' OR ls_cust_partner_func-function = 'Z0000014'.
CLEAR ls_cust_partner_func-rel_type.
ls_cust_partner_func-bp_role_cat = 'BUP003'.
MODIFY ct_cust_partner_func FROM ls_cust_partner_func.
ENDIF.
ENDLOOP.
endmethod.
---------------------------
Result will be:
MAS_CUSTOMIZATION. ET_CUST_PARTNER_FUNC-BP_ROLE_CAT = BUP003
MAS_CUSTOMIZATION. ET_CUST_PARTNER_FUNC-REL_TYPE = blank
In this BADI interface parameter you will find a table CT_CUST_PARTNER_FUNC .
This table CT_CUST_PARTNER_FUNC will have one records per partner function. Example: Employee responsible 00000014 will have an entry.
This BADI logic clears the REL_TYPE type for employee responsible eg: "00000014" and also set the BUPA_ROLE_CAT to "BUP003" for Employee.
Note: The Values REL_TYPE and BUP_ROL_CAT can be customer created value also ,so check in your customer system what are the values used. normally they have a Z-prefix example Z0000014 for customer create partner type.
After you have implemented the BADI you must perform a load from DOE using sdoe_load for the data object MAS_CUSTOMIZATION.
This logic is applicated for any Partner function and is controlled by the values in CT_CUST_PARTNER_FUNC .
Regards,
Masa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Masayuki for your quick reply.
and how does it work for Activities and tasks where you do not select an account? How would you be able to see a list of employees for Attendees or owners there? My question is how does the out of box functioanlity get this information from ?
Regards,
Aparna
1. CRM backend has Business Partner initial transfer program. BP is transferred to the NetWeaver Mobile based on your selection parameters.
2. MAS_PARTNER data object has distribution rule. BP is transferred to device, based on the entry in the ET_BUPA_EMPLOYEE
3. App has logic for listing entries based on Partner Function customizing
MAS_CUSTOMIZATION. ET_CUST_PARTNER_FUNC-BP_ROLE_CAT
MAS_CUSTOMIZATION. ET_CUST_PARTNER_FUNC-REL_TYPE
My previous post was for 3. Changing Partner Function customizing by BADI.
User | Count |
---|---|
85 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.