Authorization on BP based on Sales Area Data

Hi,
We want to control the authorization on a BP based on its Sales Area data attached to it.
I have done following steps for this:
1. create a new authorization object in su21. Class = AAAB, fields  = ACTVT, SALES_ORG
2. regenerate SAP_ALL
3. Assign authorization object to BP Transaction (SU22 and SU24), with attribute = check/maintain.
4. Create a new profile in PFCG, and assign this to a user.
But this is not working, as the user is still able to see those BP's to whom a different sales area is assigned as mentioned in user profile.
I did run a trace with ST01 and it shows that this authorization object is never checked during transaction call.
Could somebody please help.
Regards,
Saurabh

Hi Saurabh
When you create your own Authorization object, it needs to be added to the CRM object through Authority –Check statement call at relevant place..
Class CL_BUPA_USER is used to determine the relationship/authorities for a user on a BUPA Object. Add modifications as described.
Change the method “can_display_partner” of class “CL_BUPA_USER”.
Added statement “Authority-Check” at the end.
Hope it works out.
Regards
Vishal Mani

Similar Messages

  • Credit management....sales area data

    hi gurus,,
    I have some doubts in Credit Management>
    1. In my development Server....Customer Master data > Sales Area Data > Billing Tab Page>CREDIT CONTROL AREA...is not reflecting.
    using version 4.7... why is was not reflecting... any configaration settings is required??.
    Anybody having configuration material of CREDIT MANAGEMENT and FREE GOODS DETERMINATION..
    MAIL ID:::  [email protected]

    Hi ravi, 
      Notes on Credit mangement
    SAP SD Credit Management
    All business have their own credit management needs, SAP allows you to specify your own automatic credit checks based on a variety of criteria.  You can also specify at which critical points in the sales and distribution cycle the system carries out these checks.
    SM30 - Table/View
    V_TVTW - Define Distribution Channel
    V_TVTA_KKB - Assign sales area to credit control area
    V_T014 - FI - Define Credit Control Area
    T001CM - FI - Assign Permitted Credit Control Area to company code
    OVXG - Set up Sales Areas
    e.g.  Sales Organization
                      Distribution Channel
                                  Division
                      Distribution Channel
                                  Division
    FD32 - Customer Credit Management
    OVAK - Define credit limit check by sales document type
    Check Credit
    A - Credit limit check and warning message
    B - Credit limit check and error message (no sales order can be created)
    C - Credit limit check and delivery block (block delivery if hit credit limit)
    Options B and C -> used for checking open order values (when you create/change the sales order)
    D - Automatic credit control with open order values
    More control in transaction OVA8 - Automatic credit control
    You check for open orders and deliveries, or just open deliveries.
    or open order values with other options
    Credit group
    Allows you to combine different sales document types for the credit limit check
    VKM1 - Blocked SD Documents - Finance have to released the delivery block
    OVAD - Define credit limit check by delivery order
    whether the automatic credit check occurs at the time of delivery creation and/or goods issue
    OVA7 - Define credit limit check by item category
    Set whether to include/exclude item category for credit limit check
    OVA6 - Define credit group. You can groups together different business transactions which should be dealt with in the same manner with regard to the credit check.
    You enter the credit groups when you configure the sales document types for credit management and define the (D - automatic credit check).
    SAP default credit groups
    01 - credit group for sales order
    02 - credit group for delivery
    03 - credit group for goods issue
    OVA8 - Automatic credit control - Double click on the line items
    You can have the followings credit limit check :-
    Static
    Depends on the customer total value of open orders, deliveries, billing documents and open items.
    Open items
    No of days open
    Overdue open items checks is based on the ratio of open items that are overdue by a certain number of days.
    Max open items %
    The customer balance must not exceed a certain percentage.
    Oldest open items
    If you don't want to deliver to the customer at all when even only 1 invoice is overdue.
    Tick the Check for Oldest Open Item and Set the field Days oldest item = 1.
    Days oldest item
    No of days allowed for overdue or payment terms.
    Use of the credit check Oldest Open Item. If a user attempts to alter the order quantity of a released sales document
    that was previously blocked, it would be reblocked again by the system.  The system only reblocks the sales document if the new order quantity is above a certain % amount.
    Released documents are still unchecked
    The preset % is whatever you want to set it as when configuring your automatic credit processing. You enter a deviation % and number of days,eg, you can set it so that an order can be changed by up to 10% within 30 days of original order entry date without it going back on credit block.
    Next Review Date
    If a customer has a credit limit of 1000 USD, and you would like to restrict this credit limit only to be available in current month (say March). If the document day is in April then the credit limit is zero.
    You can use the "NextReview date" and "Number of days" fields and combined it with the "Last int.review" field in customer credit master "Status" view (FD32).
    VOKR - Display of work list for credit management (configure the display variant)
    Free goods determination
    Free Goods Determination in Sales Order
    Free goods has the following limitations:
    - Free goods can only be supported on a 1:1 ratio. This means that an order item can lead to a free goods item. Agreements in the following form are not supported: ‘With material 1, material 2 and material 3 are free of charge‘ or ‘If material 1 and material 2 are ordered at the same time, then material 3 is free of charge‘.
    - Free goods are not supported in combinations with material structures (for example, product selection, BOM, variants with BOM explosion).
    - Free goods are only supported for sales orders with document category C (for example, not quotations).
    - Free goods are not supported for deliveries without reference to a sales order.
    - Free goods cannot be used in make-to-order production, third-party order processing and scheduling agreements.
    - If you defined a free goods for variants in a generic article (only SAP Retail), you can only process the variants in the purchase order and goods receipt individually (as single articles). In other words, you cannot process them using the generic article matrix.
    4.6x
    Not all Sales Order can be used for free goods determination.  You have to check the SD document category if it does not work.  Only category 'C' are supported.  Check transaction VOV8.
    Assume that you want to configure an inclusive FREE goods routine.  Customers must order a minumum quantity of 5 before any free goods can be assign.  For every quantity of 3, the customer will be given 1 free goods.
    WC07 - Maintain Number Range Intervals
    e.g.
    No   From number       To number
    01    0000010000         0000099999
    IMG -> Sales and Distribution -> Basic Functions -> Free Goods ->
    Maintain Access Sequences
    New Entries
    Acsq
    NA00
    Save
    Maintain Condition Types
    New Entries
    Ctyp   Name             AcSq
    FREE  Free Goods    NA00
    Save
    Maintain Pricing Procedures
    Procedures
    New Entries
    Procedure   Description
    FREE           Free Goods
    Select Procedure FREE then click Control data
    Step   Cntr   Ctyp
    10       10      FREE
    V/N6 - Activate Free Goods Determination
    Assign Order Type OR with Document Procedure A with Procedure FREE
    VBN1 - Create free goods determination
    e.g.  FREE inclusive
    Material  Min qty   From   are free good   Calc Rule   Free Goods
                           5           3                1                      1                1
    In this example, if you create a Sales Order for a quantity of 10, SAP will prompt you 7 as the customer order qty and 3 will be free.  Customer only pay for the 7 quantity.
    Reward points if it helpful

  • Customer sales area data not replicated to CRM

    Hello,
    I'm setting up the data replication model for master data based on configuration guide C03.
    We have the following customer master situation:
    existing customers with nr range 500000 - 599999 and account group A are created in ERP and replicated to CRM.
    new customers with nr range 600000 - 699999 and account group B are created in CRM and replicated to ERP.
    PIDE settings are fine.
    The initial download of CUSTOMER_MAIN en CUSTOMER_REL went well. I've set a filter in CUSTOMER_MAIN on field KUNNR: value between 500000 - 699999. Everytime a sold-to business partner is created in CRM or a customer is created in ERP, the data gets replicated to the other system.
    So far so good.
    But here comes the problem: when I assign a sales area to a customer created in CRM (nr range 600000-699999) in ERP, the sales area data is NOT replicated back to CRM. When I assign a sales are to customer created in ERP (nr range 500000-599999) in ERP, the sales area is replicated back to CRM.
    Do I have to run BUPA_MAIN? I don't think so, because sold-to business partner are already replicated to ERP.
    Is the filter in CUSTOMER_MAIN not good? Should I split the nr ranges into 2 rows: 500000-599999 and 600000-699999 instead of 500000-699999
    System environment:
    CRM 7 EnhP2 (CRM RDS)
    ERP 6 EnhP6
    Kind regards,
    Koen

    Hello,
    I found the problem. The PIDE was not set up completely: I only set the account group for ERP customer in the 'R3-->CRM' dialog structure. I've added the account group for CRM customers as well, and now customer data of CRM customers added in ERP, is replicated to CRM.
    Cheers

  • For XD01, Sales area data tab greyed out

    Hi,
    User has XD01,XD02,XD05,XD06,XD07,XD99.when user tries to use XD01 with parameters customer,sales org, dist channel and division when go to customer : sales area data screen,sales area data tab is greyed out.It shouldnot be greyed out.what is the cause of it.user has proper authorization for SD.

    Hi,
    Try with OBD2 tcode...
    Also, make sure that while creating customer, you enter sales org., dis channel, & division....
    Regards
    Edited by: SAP2020 on Jan 27, 2010 11:08 AM

  • Deletion of assigned sales area data

    Hi *,
    I am looking for a possibility to delete sales area data that were wrongly assigned to business partners. In our case the BPs were not uploaded to ECC yet.
    Any ideas?
    Kind regards
    Thomas

    Hi Thomas,
    There's no easy way to do it. You have to adapt report from note 725857 to allow deletion of sales area for specific BP. You can get also more information on notes 1955713, 1906379.
    Kind regards,
    Bruno

  • CRM BP type Sold-to-party Sales Area Data button not displayed

    Hi Gurus,
    Currently we are in the system preparation stage, but there's a problem in BP maintenance. For the BP type Sold to Party, the sales area data button is not showing up in the button bar with the General data. I only can see General data and Relationships here.
    The sales area has been maintained in the system already and can be displayed in the reference bp. Not sure any config will affect.
    Appreciate if anyone can give me a clue.
    Rgs, Michelle

    Hi,
    If you have chosen the role, and the button is not coming up following could be the possibilities:
    1. It might sound funny but it is a possibility that You might ALREADY be in the Sales Area data screens. Check if the "General Data" button is active. if it IS active then you ARE in the Sales area data.
    2. If not 1, above, then check the authorisation for the id to create BP for Sold to party and / or Sales area.
    3. Still No, then check if the screen config for creating BP is std or its a customised one wherein maybe the button has been rendered inactive. You can check by taking an existing BP who might already be a sold to part for a sales area. If this is your first case for a Sold to party then you might look at the screen config for sure.
    Do write back if you still need help.
    Regards,
    Tariq

  • User Exit for XD02 in Sales area data in Sales tab

    Hi Sap Gurus,
    I have a problem . I need help .
    The requirement is
    In XD01 transaction , In Sales area data, In Sales tab i need to add a Check box which i already have added.This check box refers to KNVV table-Zflag
    In VA01 transaction , In menu goto -> header -> Sales , In Additional data B .
    I have another Check box.  This check box refers to Vbaktable-Zflag .
    <b>I need the code and exact locations where to put this to get my issue resolved which is given below in Functional Description</b>.
    Functional Description where you can understand better.
       Our custom logic will be initiated once the Sold-to Party (VBAK-KUNNR) is entered for any order type.  When the sold-to party is entered the user exit program will check table KNVV for the custom field ZFLAG that corresponds to the “Print Prices on Delivery Note” flag (hereafter referred to as the Pricing Flag) and populate the same setting of the flag into the ZFLAG that will be on the “Additional data B” tab on a sales order at the header.  The user can manually change VBAK-ZFLAG Pricing Flag setting to something different than what is populated for the customer master level.
    If the user happens to change the sold-to party for any reason then the user exit program should take the following approach when populating the ZFLAG Pricing Flag in a sales order:
    -     Recheck the ZFLAG Pricing Flag setting in the customer master for the sold-to party that the user has newly selected.
    The user will still have the option to manually ZFLAG Pricing Flag on a sales order after the user exit program defaults it.

    Transaction Code - XD02                     Change Customer (Centrally)
    Exit Name           Description
    SAPMF02D            User exits: Customer master data
    No of Exits:          1
    USER EXIT
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    http://www.sap-img.com/ab038.htm
    http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
    Rewards if useful.........
    Minal

  • Extend Sales area data of a BP via copy

    Hi,
    Is there any functionality in SAP CRM 2007 to extend the Sales area data for a BP via copying.
    Example: BP 'A' has been created for Sales area 'AB' and the relevant fields have been populated. Later on the BP 'A' needs to be extended to Sales area 'CD', 'EF' and 'GH'. Since only a few fields differ in the different Sales areas a copy of Sales area 'AB' to 'CD', 'EF' and 'GH' is requested. Is that possible?
    In ECC this is possible but I cannot find the similar functionality in CRM.
    Thanks for your help!
    BR,
    //Anders

    You can use AET to extend the sales area data of BP.  However, it wont add the fields automatically in GUI, But the generated fields are available in the relevant DB tables.
    BP GUI transaction is no more supported . Im not sure why you want to work on GUI.
    Regards,
    Shaik

  • Sales Area Data of BP unavoidable?

    Hi
    i'm workin in a CRM system that has been permanently disconnected from the ERP because of a spind off/management buy out
    I wanted to make standard transaction type CMIC (individual contract) in CRM usable, very very basic, without pricing functionality and any extras, just a manual amount of money to be edited in a product position and that's it.
    I get the error message that the currency is not there and that the sales area data of the BP is not accessable. I get these messages before providing an item oder material number. Just after providing the sold-to-party and pressing enter. No difference if i work in WebUI or in SAP GUI  CRMD_ORDER
    A check shows of the BP in role CRM000 sold-to-prty shows that indeed there is no sales area maintained and no sales area data accessible / all the fields are greyed out
    A check in the customizing shows one distribution channel and even a division but i think the data is corrupt, the sales area choosing fields in the BP are white without content, the BPs dont have any sales area data, all fields are greyed out. So there is no way to write any sales area data into the BP, it would be needed for hundreds of BPs anyway so this is not the way.
    Now the system insists on the currency in the transaction type CMIC. The currency is copied from the sales area data from the BP. It cannot be provided manually. I will have to find a way to achieve this. I just saw, that it is the same with transaction type TA, so i guess all the sales transactions will have that problem in common
    What can i do? I checked the org units in the transaction. They do have an attribute 'Currency' that is filled 'EUR' but the system doesn't care
    The weird thing is that opportunities (with the same BPs and the same product) can be created without errors - and there EUR is provided as currency in the item by default...?
    Any ideas
    Thx

    If you are a functional consultant
    Once the transaction's org determination is done, you can always check the information from the Header Organization tab. This is you know already. If you want to know the Sales Areas a Business Partner (sold-to) is maintained, then go the BP maintenance (Transactio BP ), select the appropriate role - in your case sold-to role of the BP. If you are already not in the Sales Area then click the Sales Area Data button in the toolbar. Then click Choose sales area button in the Sales Area section.Inthe popup, if you click the Maintained Sales Areas, you will see the actual Sales areas the customer has been extended to.
    I am sure you know the above facts too. Well,
    If you are a technical consultant
    The Sales Org details of the transaction can be erad using the function module CRM_ORGMAN_READ-xxx There are more than one FM to read depending upon where you want to read that from - like from the order buffer (good in BAdIs when creating / chaning the order) or fromthe DB. Pick one you want.
    To read the Sales area of a sold to BP, the data is available in the table CRMM_BUT_FRG0080 You can get the maintained sales area information for a given BP.  You can also use the function module CRM_BUPA_FRG0080_READ
    If this is not what you wanted, then you must rephrase your question for me to understand.
    Easwar Ram
    http://www.parxlns.com

  • BP Creation in Web UI - How to enable Sales Area data?

    Hello Gurus
    We are using CRM 2007 and create BPs in CRM and then have them replicate to OLTP. This works as desired if I launch Transaction BP and maintain the record.
    But in Web UI, I dont see many of the fields that are necessary for replication such as Account group for R/3 customer acct group. Nor do I see a tab for sales area data maintenance. I am logging on to Web UI with SALESPRO profile. How do I enable enter of key information in Web UI BP maintenance, so that I could see the replication from CRM to OLTP R/3.
    Please advice.
    Thanks
    Jai

    Hi Jai,
    I am glad that the answer was helpful for you.
    In the create mode just the details view is available, as this is the way the component BP_HEAD is implemented.
    To understand this please open the component workbench, component BP_HEAD. Go to the runtime repository and compare the window CorpAccountNew(this is for the create mode) with the default window named MainWindow. In the first one just a sole view is offered.
    But after you change from the create mode to edit mode (push the save button and then the edit one) you will actually see all the assignment blocks. Maybe this helps. But if you still see the need of the sales area assginment block it can easily be made available via a customer UI enhancement.
    Good luck and best regards,
    Erika

  • How to find a materail based on Sales Area ??

    Dear All,
    How to find a materail based on Sales Area ??
    please let me know ..
    Thanks
    Venkat

    Hi Venkat
    Its actually the other way round- you extend a material to a sales area
    The quickest way to find all the sales areas to which a material is extended,  is to go to  transaction SE16 and give table MVKE and then give the relevant parameters.
    Please reward points if this helps you

  • Tables in CRM- Sales Area Data

    Hi,
    We have downloaded the Customer Master from R/3 to CRM system. Initial Load was successful and delta is also working fine. We are getting the R/3 sales area data in CRM system when we open a BP.
    But here our issue is, we could not locate the sales area data in any of these below CRM tables -
    CRMD_ORGMAN
    CRMM_BUT_FRG0081
    CRMM_BUT_FRG0080
    This data we require for BW purpose, Can anyone help me where I can get this data?
    The Bdocs coming from R/3 to CRM contains complete sales area data.
    Thanks&regards,
    kalyan

    It depends on the tab you have maintained for sales area.
    CRMM_BUT_LNK0011 holds the sales area data for the sales tab on the screen.
    CRMM_BUT_LNK0021 holds the sales area data if the shipping tab is maintained.
    Similarly if the billing tab is maintained, you ll find the data within the CRMM_BUT_LNK0031 table.
    I hope this helps.
    Regards,
    Gaurav Gera

  • Business Partner creation - Sales Area Data retrieves blank divisions

    During business partner creation, the sales area data assignment block will retrieve a list of all relevant sales organizations, distribution channels, and divisions that are replicated from ECC. This is working fine. However, it also adds to this list with the sales organizations, distribution channels, and blank divisions. Blank divisions do not exist in either ECC or CRM. It appears to be using the dummy division settings, but I have attempted to configure with the indicator "CRM Header Div. Active" as both active and inactive, to no effect. The only time I have been able to condense this list into a single line has been when I actually activated dummy divisions -- to which CRM would now retrieve only sales organizations, distribution channels, and blank divisions. This is not an ideal solution either.
    How do I get the system to remove the blank divisions from being displayed? It is very confusing to the users, not to mention polluting the screen.
    Example (both are being displayed, I only want the one with an actual value to be displayed):
    Sales Org = 1000, Dist Chan = 10, Division = blank
    Sales Org = 1000, Dist Chan = 10, Division = 10

    any insight woudl be much appreciated. thanks.

  • About Business Partner Marketing, Sales Area Data tables

    Hi,
    I want the table names where Business Partner sales area data and Marketing Attributes are stored.
    Thanks in advance.
    Regards,
    Dhanraj.

    Hi Natarajan,
    Thanks for your help.
    But There is no data inside this CRM_MKTPL_ATTR table.
    I want the Sales Organisation,Distribution Channel, Division data and Marketing Attributes of Every Business Partner.
    I found table CRMM_BUT_FRG0080 contains data, but when I created a new Business Partner and maintain the Sales Area Data, the saved data does not reflect in the CRMM_BUT_FRG0080 table.
    Regards,
    Dhanraj.

  • Importance of Sales Area Data for BP

    Please give me the various reasons for having or maintaining Sales Area for a Business Partner:
    _Explanation:_  What is the importance of maintaining Sales Area Data for BP.Please list out several points.
    As we know Sales Area is composed of : Sales Organisation, Distribution channel, & Division.
    Thanks & Regards,

    These are off the top of my head. I can reply a bit later to add some more.
    1) The pricing procedure (entered in the Billing Tab) which affects the LEAD, OPPT, AG, QCTR, and TA documents. Without the pricing of the product, the transactions cannot be executed and the total product value cannot be determined. Without a total dollar value, a TA doesn't make sense.                                    
    2) The S.O defines the legal terms for the product and if the BP wants to return the product they ordered, they have that information.                                   
    BB

Maybe you are looking for

  • [Solved] Non-root user cannot access mounted ntfs filesystem

    Hi -, i have a dualboot system (arch/xfce + win7) and i use a ntfs partition /dev/sda2 to store files i use with both operating systems. I added the partition to fstab and it gets mounted, but i cannot access it with my non-root user. With root it wo

  • Why can't I make a phone call after updating to iOS7?

    Since updating, anytime I try to make a phone call it appears that the phone connects but I cannot hear anybody on the other end.  All I hear is my own echo? Has anybody else had this experience? Any ideas? Help!!!!

  • Updating databae password in Business view manager and CMC

    Hi All , We are carrying out a step of changing the database password on which the Infoview reports run.Currently the solution i know is to log on to Business View manager and change the password manually for each promopt. similarly i have to log on

  • Reg: Can I code in standard implementation of a BADI "WCM_DECOUPLING"

    Hi all, I'm trying to use a  BADI (WCM_DECOUPLING) for transaction IW32. But when I tried to create an implementation for this BADI in SE19, it is throwing the following error "BADI definition WCM_DECOUPLING is only provided for SAP internal use". Th

  • Configuring Webcenter Worklist with Oracle SOA Suite 10.1.3.4

    Hi, I have installed Oracle SOA Suite 10.1.3.4 on weblogic server 9.2. I want to configure Webcenter 11g worklist service with this SOA Server. I would like to know if this is possible at all? Webcenter Suite 11g talks about configuring Webcenter wor