Making a field mandatory in additional data tab in sales area data in XD01/XD02

Hi,
Making fields in additional data tab in sales area data in XD01/XD02 as mandatory is not achievable through configuration. Also, user exit SAPMF02D was not helpful in achieving this. Kindly help me on this.

Is this a new field you are creating or an existing field you want to mark as mandatory? My impression from your original post was that it was the second. If so then you don't need to create an implementation of CUSTOMER_ADD_DATA as there must already be one, instead you should be looking for the implementation that manages data for the screen you are interested in. This might be why you don't see your BADI get activated  when you go to  "area data -> extras -> additional data" as it isn't the right implementation.
If you just want the field to be mandatory when the user goes into the additional data tab I would code this in the screen of the customer exit. If you want this field to be mandatory whether or not they enter other additional data then you should try the method of the badi Nabheet suggested but not in your own implementation.

Similar Messages

  • Taxes in billing document tab in sales area data in customer master record.

    Hi Gurus,
    I have a problem here. There is no country IN in the taxes in billing doc tab in sales area data. What is the settings for getting the same in customer master record?
    Please guide.
    Edited by: Chetan Barokar on Mar 17, 2008 3:56 PM

    Hi Chetan,
               Go to the transaction XD02 then enter your Customer Number which is giving problem then go to the Sales Area Data-->Billing Documents Tab,there you check whether you have entered the tax detailes or not,
    If not entered , enter the tax detailes.
    -->If the tax detailes not coming in the Customer master >Sales Area data> Billing Documents tab
    -->Also check the settings related to between Country (IN) and Tax Condition type (Tax Category) in the transaction OVK1
    -->If the Tax condition type not assigned to the country IN assign the tax type to the country IN in the transaction OVK1.
    -->Check OVK3 transaction also.
    I hope it will help you
    Regards,
    Murali.

  • FM/BAPI to add sales area data to a BP , FM to assign relationship to BP

    Friends of CRM world,
    I need your help in finding out BAPI or FM to
    add sales area data to an existing Business Partner (BP).
    Also I need to assign a relationship to this BP.
    Please help me with info on BAPIs or Function Modules for this if you can.
    Best Regards,
    Vivek

    Hi Vivek,
        You should use separate function modules for each tab in the sales area data. Please find the following code:
    For shipping data tab of sales area data
          CALL FUNCTION 'BAPI_BUPA_FRG0020_ADD'
            EXPORTING
              businesspartner = g_partner_no
              sales_area      = wa_sales_data
              data            = wa_ship_data
            TABLES
              return          = it_return.
    For billing data tab of Sales area data
          CALL FUNCTION 'BAPI_BUPA_FRG0030_ADD'
            EXPORTING
              businesspartner = g_partner_no
              sales_area      = wa_sales_data
              data            = wa_price_data
            TABLES
              return          = it_return.
    Use function module BAPI_BUPA_FRG0140_ADD - For organization data tab of Sales area data
          CALL FUNCTION 'BAPI_BUPA_FRG0140_ADD'
            EXPORTING
              businesspartner = g_partner_no
              sales_area      = wa_sales_data
              data            = wa_org_data
            TABLES
              return          = it_return.
    Thanks
    Swagatika

  • 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

  • Customer Master Screen Enhancement XD02 / XD03 / XD01 in sales area data

    Hi,
    My requirement is to add custom fields for customer master enhancement XD01/ XD02 / XD03 in sales area data.
    There are 5 tabs in sales area data. I want to add fields in sales tab after subscreen Agency business.
    subscreen similar to Agency Business should be added.
    I tried to create Screen group in SPRO and implemented BADI as explained in link below, even then my custom program is not displayed in customer master
    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=77005819
    Please help.

    Hi,
    Please don't mind but I want to know have you activated the implementation?
    regards,
    Sarbajit

  • How to Extend Sales Area data for a BP

    Hello Experts,
    I am working on CRM 7.0 and the requirement is to add a new new field in Complaints Tab in Sales Area Data screen of Business Partner in GUI as well as WebUI.
    Question-> Can we add the new field in WebUI using AET? Does it supports extension of relevant Assignment block(Sales Area data->Complaints and Returns)? If yes then how can we add the same field in GUI after that? If not then what is the alternate solution and Can we use BDT to fulfil this requirement?
    I assumed that EEWB does not supports extension of Sales Area data for a business partner. Please let me know if I have got it wrong.
    Regards,
    Amit

    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 view is not visible

    Hi All,
    the salea area data view  is not visible for  all BP roles in BP master data
    please help me how can i need to put in a visible

    hi
    sales area data tab is not visible for each and every BP role,
    it is visible for sold to party,ship to party roles,
    there is aview associated with this role that is CRM 000
    if you want to have sales area data tab visible in the role like BP general you have to assign this view to your role
    but i should make you one thing very clear that sales area data tab is meant for the customer who has purchased the order and final order has been given and within this tab you have each and every info regarding the sales office,sales group etc that where the order is to be delieverd or purchased from,
    once a final order is given it can be sold to party role,ship to party role or bill payable role ,u urself tell in the role of customer how can u see the sales info if the customer hasnt purchased the order ,
    likewise the consumer role also has sales data info so sales area data tab is visible in this role too
    hope it clears all your doubt,
    in case of any doubt do revert back
    best regards
    ashish

  • 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

  • CRM 5.0 Sales Area Data - Organization Tab

    Hi All,
    We have upgraded to CRM5.0 and as a result, under Sales Area Data a tab called 'Organization' has appeared and I cannot seem to remove it through field groupings even though all the fields available under field groupings are hidden.
    Under field groupings there are 3 fields for configuration:
    District
    Sales Group
    Sales Office
    These are all hidden. Yes on the Sales Area Organiation tab two greyed out buttons appear:
    Own Data (with create icon)
    Own Data (with delete icon)
    Also under sales area data there are other tabs such as 'Shipping' and 'Fact Sheet', all their fields are cojnfigured to be hidden and as a result their respective tabs (correctly) do not appear on the screen.
    Does anyone knowe if it is possible to remove these and what is the correct way to remove this tab from the screen?
    Many Thanks for any help/advice given.
    David

    Thank you, Gregor.
    I'm still confused by the following portion of the release notes "<i>The person and organization are saved with the target group."</i>
    It would be a problem for my company if organizations remained in the final target group.
    Thanks again, Matt

  • Add new tab under 'Sales Area view/Data' of Customer Master TransactionXD01

    Hi,
    I want to add a new tab under 'Sales Area view/Data' of Customer Master Transaction XD01.
    Is there any screen exit for XD01/XD02/XD03?
    Or will I have to go and change SAP screens?
    Thanks in advance.
    Srinivas P
    9663397476

    Hi,
    I want to add a new tab under 'Sales Area view/Data' of Customer Master Transaction XD01.
    Is there any screen exit for XD01/XD02/XD03?
    Or will I have to go and change SAP screens?
    Thanks in advance.
    Srinivas P
    9663397476

  • 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

  • Prospective Account Sales Area Data on CRM Online

    Hi Experts,
    I am using CRM2007 SP4, and i am trying to assign Sales Area Data to a Prospective Account on CRM Online. However, unlike a reqular Sold-to account (CRM000) there does not seem to be a Sales Area Data Button where the Sales Area can be maintained for a Prospective account.
    The BP Role for the Prospective account is BUP002.
    It only seems possible to maintain this through the Web Client. Is there anyway which the Sales Area can be assigned to a Prospective Account through CRM Online.
    Any assistance would be appreciated.
    Thanks,
    Jonathan

    Hi Sasha,
    I've been checking it in our system (CRM 6.0). The field Price group (cust) from ECC (KNVV-KONDA) gets standard replicated to field Price Group (Cust) on the billing tab of customer data (BP).
    No additional customizing or development is needed.
    The field is stored in: CRMM_BUT_SET0030-PRICE_GROUP
    regards,
    Wim

  • 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

  • Sales Area Data isnt replicating from CRM to ECC

    Hi Gurus,
    We are replicating some BPs of certain groupings from CRM to ECC.
    We performed all steps relevant for this task mentioned in Best Practice u201CMaster Data Replication C03u201D. After performing the
    steps results are as follows:
    u2022     BP General Data is replicating without any trouble.
    u2022     When registering sales area data in CRM and trying to get this replication to ECC we see that the BP Sales Area data isnu2019t replicated.
    Monitoring SMW01.
    The BDOC BUPA_MAIN ended with the following error:
    Messages for business partner 0007000362: Fill in all required entry fields
    Action already taken:
    After reading this message I have reviewed the mandatory fields per Account Group in ECC and mapped them with the CRM ones. Even this changes I still can get sales area data in the ECC BPs replicated.
    Is there something I am missing here.
    Thanks for your help.

    Hi,
    Regarding debugging from CRM to R3. Please follow the below steps.
    There are 2 methods to debug the Business Partner (BP).
    First Method:
    1)     In CRM, Go to SM59 -> ABAP Connections => The ECC client -> See if the saved user (in logon details) that is used to connect to ECC from CRM is a Dialog user.
    2)     You can use transaction code SU01 to check User Type of User.
    3)     Deregister the Queue through SMQS.
    4)     Make changes to BP.
    5)     Go to SMQ1, Select the Queue name Double Click 2 times then select the Tool bar (Debug LUW).
    Second Method:
    1)     Put a break point in Function Module SMW3_MFLOW_UPDATETASKBDOC.
    2)     Create a BP and before save, type /h to activate debug, Mark update debugging option.
    3)     When stops in Function Module u201CSMW3_MFLOW_UPDATETASKBDOCu201D you must be sure to set header-dbgmode = 'X' this will make the BDoc stay stopped in SMW01.
    4)     Go to SMW01 and type /h and process the BDoc.
    5)     Put a breakpoint in Function Module u201CCRM_UPLOAD_AFTER_MAP_HANDLERu201D and be sure to change LV_SYNCHRON = 'X' this will allow you to connect in ECC.
    If the variable LV_SYNCHRON does not have any value, then it will work as background task, if the value is filled with the value u2018Xu2019, then it will allow debugging in R3.
    And another point to be noted here is, the user type of the R3 should be Dialog User. If the user is not dialog, then it will not connect with R3.

  • 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

Maybe you are looking for