cancel
Showing results for 
Search instead for 
Did you mean: 

MAS_AUTH_CUST custom extract rule

MauricioMiao
Contributor
0 Kudos

Hi all,

I am newby in SAP CRM Sales 2.1 Mobile App, I am working in a project to implement it.

The project will use the same Netweaver Mobile and SUP server for different countries.

We have different document types for each country and my user want to be able to create the Lead, Opportunity, etc only for those document types of their countries to restrict mistakes.

As far I understood to achive this I need to customize the distribution model DM_FOR_AUTH_CUST,right now it has only 2 rules, one is Bulk and another based on language but that is not enough as all countries are Spanish.

I read a document from telling that the best way is to copy the complete distribution model to another one and then customize it, but this leads to problem during upgrades as the changes in standard will not be reflected in my copy, is it right?

The document is

Do I need to copy the complete model just to change some rules? Is this really the best way to go or depends on how much changes I am going to perform? If I copy it what are the impacts over it when I upgrade my system, I mean only the DM that I changed are impacted or the complete model?

Am I in the right way or there are another paths to follow?

Regards,

Mauricio

Accepted Solutions (1)

Accepted Solutions (1)

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

A simple workaround is changing the transaction type text. like

US: Lead

DE: Lead

or

If you can logically map the transaction type to country based transaction type, you can use create_start method of  BADI.

Create UI "LEAD" -> create_start method maps the transaction type "LEAD" to "USLEAD" or "DELEAD".

Answers (1)

Answers (1)

MauricioMiao
Contributor
0 Kudos

My option was to copy the entire Distribution Model to a custom model and change the distrubution rule.

I read that in NW Mobile 7.03 there is a good option where we can extend an standard distribution model instead of copying it, but unfortunatelly my system is not in that version.

Regards,

Mauricio

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

FYI. Here is a reference document for copying the distribution model.

http://scn.sap.com/docs/DOC-27527