How to Default sales office and group in Organisation tab of crmd_order

Hi Experts,
In crmd_order transaction when user enters sold-to-party, then organisational determination takes place which brings sales area,distribution channel and division automatically under organisation tab.
My requirement is to fetch the correspoding value of sales office and sales group for that Org unit and display them in the organisation tab.
My logic goes like this:
1) I have to fetch the sales office and sales group from the master data of ship to party ( i.e. bp with ship to party role).
2) Then Give the sales area key( org unit, distribution, division) to fetch/filter and display the sales office and sales group.
Which function modules to use to make the above 2 steps work. What code to write to make the above two steps work.
I did not find any FM that takes bp with ship to party role and gives back the org unit data alongwith sales office and sales group.
Then, how to link BP with role ship to party with Organisation Unit and then take the org key to read the org data.
Which tables and FMs should I consider for this. I am thinking of using the merge method of CRM_ORGMAN_BADI.
Thanks in advance,
Sangeeta.

Hi Sangeeta,
As per your statement, my understanding is that the Organization Attributes are not maintained in the Customization. If all the values are properly maintained then based on the Organization Data determination, the system would have picked up the data. You can first check the Organization Structure and see all the attributes are properly maintained or not and then check whether the Object Permitted in determination checkbox is checked. Then create a Transaction and see that all the Organization data are getting filled properly.
Have a look at the following link for a complete guide to the Organization data determination customization.
http://help.sap.com/saphelp_crm70/helpdata/en/6d/5c1738453fde16e10000009b38f8cf/frameset.htm
If the Organization data customization is not meeting your requirements then you can have a second look at the development approach. Then we can have a look at the available Objects to get the desired functionality.
Hope this helps.
Thanks,
Samantak.

Similar Messages

  • Organization structure R/3 sales office and group assignment

    Hi,
    I have a general question about the organizational structure in CRM.
    When I try to assign an organization unit in the structure to the R/3 sales offices and sales groups in Function tab, the system is asking for a R/3 sales area together with sales office and group.
    In our case a user can create sales orders for different sales areas. In other words the sales office and group is assigned to more than one sales area in SD customizing.
    The problem is that if I assign any employees to an organization which is a sales group and which is assigned to a R/3 sales area + sales office + sales group, in this case the replicated document in SD can only be from one sales area, which is not applicable in our case.
    How can we proceed? Any ideas?
    Thanks

    has now been resolved

  • Function module for sales office and group of an organization

    Hi we are using enhanced organizational model in CRM 5.0.
    Is there any function module to find the assigned sales office and group of an organizational unit?
    Thanks a lot.

    Nigne,
    During transactional processing you can use the function module CRM_ORGMAN_READ_OW to read the selected organization unit on the business transaction, and it will contain data populated for these values.
    My only guess outside of transactional processing is using FM:
    CRM_ORGMAN_ATTRIB_READ or CRM_ORGMAN_SA_SE_ATTRIB_GET.
    Good luck,
    Stephen

  • How to add sales office and sales group code in Badi Order_Save?

    Hi,
    i have a requirement .
    the concept is like this ,we have S>D>G lay out.
    initially the sales office and sales group were fetching  values from "G".
    But my requirement is the sales office and sales group should fetch values from "D"..when the transacion is "ZGRW"..
    This is in CRM platform...So how shud i assign values of D to sales office and sales area??
    how to code this...
    help me out
    Edited by: VARUN VADNALA on Jun 25, 2009 1:35 PM

    Hi Sangeeta,
    As per your statement, my understanding is that the Organization Attributes are not maintained in the Customization. If all the values are properly maintained then based on the Organization Data determination, the system would have picked up the data. You can first check the Organization Structure and see all the attributes are properly maintained or not and then check whether the Object Permitted in determination checkbox is checked. Then create a Transaction and see that all the Organization data are getting filled properly.
    Have a look at the following link for a complete guide to the Organization data determination customization.
    http://help.sap.com/saphelp_crm70/helpdata/en/6d/5c1738453fde16e10000009b38f8cf/frameset.htm
    If the Organization data customization is not meeting your requirements then you can have a second look at the development approach. Then we can have a look at the available Objects to get the desired functionality.
    Hope this helps.
    Thanks,
    Samantak.

  • How to authorization sales office and sales group in VA21 and VA01 t-code

    I need to authorization sales office and sales group in va21,va22,va23 and va01, va02, va03 to control users access the sales order.
    I found some articles how to resolve this problem.I have created new authorization object Z_VBAK_ VKO, and add these fields to the object: VKORG: Sales Organization, VTWEG:Distribution Channel, SPART: Division, VKBUR:Sales Office, VKGRP: Sales Group, AUART:Sales Document Type, ACTVT:Activity
    I have add the object Z_VBAK_VKO to va01, va02, va03 in SU24 translation.
    I test the authorization , but fail, va01 and va02 do not check the authorization.
    Why? what can i do? please help me .
    thanks

    Dear Wu
    I think you are using the concept of Master Roles and Derived Roles.If ur using then create a master role and derived role for the authorisation group you want. And in the derived role assign the specifics to the respective logins ID. If you want to attach the authorisation to the T-Codes Va01 or VA21 etc then you have to use Exit.
    Correct me if i am wrong.
    Regards
    Jyotsana

  • How to restrict Sales office and Sales Group.

    Hi All,
    I want to restrict the users from changing the sales office and sales group in the sales order.
    Is there any standard way to achieve this or do we need to do with User exit??
    Please help.
    Thanks,
    Pavan.

    hi
    there is no standard settings for estrict the users from changing the sales office and sales group in the sales order
    so you have to write the logic in userexit
    DATA: lt_user_list   TYPE STANDARD TABLE OF tvarvc,
           lw_user_list   TYPE tvarvc,
           lr_user        TYPE RANGE OF syuname,
           lw_user        LIKE LINE OF lr_user.
    IF screen-name EQ ' VBAK-VKBUR' and   VBAK-VKGRP.
    * IF sy-tcode EQ 'VA02'.
    **Get list of users who are allowed to change SO - only they can change payment terms
         SELECT *
           FROM tvarvc
           INTO TABLE lt_user_list
          WHERE name = 'ZSD_VA02_ALLOWED'
            AND type = 'S'.
         IF sy-subrc = 0.
           LOOP AT lt_user_list INTO lw_user_list.
             lw_user-sign = lw_user_list-sign.
             lw_user-option = lw_user_list-opti.
             lw_user-low    = lw_user_list-low.
             lw_user-high   = lw_user_list-high.
             APPEND lw_user TO lr_user.
             CLEAR lw_user.
           ENDLOOP.
    **    If user is not in the users listed for change allowed
           IF sy-uname NOT IN lr_user.
             screen-input = 0.
           ELSE.
             screen-input = 1.
           ENDIF.
         ENDIF.
       ENDIF.
    ENDIF.
    go to STVARV t code here you check the NAME and give the user ids who need to change

  • How to include Sales Office and Sales Group into FI report?

    Hi,
    I have a requirement to add Customer characteristics u201CSales Groupu201D and u201CSales Officeu201D into a FI report which is based on the InfoCube 0COOM_C02. The values that needs to be presented is actual data (Customer Master Data; NOT transactional value.
    In the DataSource u201C0COORDER_ATTRu201D, fields Sales Organization and Sales Group are present and it is brought to BW from R3. But I am not able to find the way to get the field Sales Office into SAP BW.
    I checked the extraction program for the DataSource u201C0COORDER_ATTRu201D, the fields Sales Org and Sales Group are coming from a table u201CCE41000u201D but in this particular table there is no Sales Office present.
    So can anyone guide me out in getting the Sales Office to the DataSource u201C0COORDER_ATTRu201D, or is there any way of getting it in BW directly by reading some Master Data table.
    Thanks in advance
    Prasapbi

    Hi Sangeeta,
    As per your statement, my understanding is that the Organization Attributes are not maintained in the Customization. If all the values are properly maintained then based on the Organization Data determination, the system would have picked up the data. You can first check the Organization Structure and see all the attributes are properly maintained or not and then check whether the Object Permitted in determination checkbox is checked. Then create a Transaction and see that all the Organization data are getting filled properly.
    Have a look at the following link for a complete guide to the Organization data determination customization.
    http://help.sap.com/saphelp_crm70/helpdata/en/6d/5c1738453fde16e10000009b38f8cf/frameset.htm
    If the Organization data customization is not meeting your requirements then you can have a second look at the development approach. Then we can have a look at the available Objects to get the desired functionality.
    Hope this helps.
    Thanks,
    Samantak.

  • Display Sales Office and Sales Group

    Hello,
    for all customers we have a sales office and a sales group. In sales area data there are two fields for this values but they are always empty.
    What have we to do that these fields display the values of sales office and sales group?
    Please help me!
    Regards
    Philipp

    Hi Philip,
    If Sales Office and Sales Group are assigned to Multiple Sales Areas, then system do not determine the sales office and groups.
    If they are assigned to only one Sales Area then system shall determine the Sales Office and Groups.
    Ex: Sales Org. 1000
    Dist. Channel : Retail
    Divison : 01
    Sales office : SO01
    Sales Group : SG01
    Reward Points if Helpful.
    Srini.

  • Enter Sales Office and Sales Group for SM 2.5

    Hi Experts,
    When we are creating lead and saving it from our SM 2.5, it is giving us error as Enter Sales office and Group. Due to this reason it is not sync with Agentry server and we are not receiving back the Lead transaction ID on to Device.
    The Sales area we are able to put successfully in Client but not sales office and Group as those fields are not visible in our client.
    Please find the snap shot attached and help if any configurations we missed.

    As its a standard functionality to have the Sales Group & Sales Office from Quotation to Order. But in your case, check the Copy Control settings at Header Level .
    DataT 051 General header data       Copying requirements 001 Header-same customer
    DataT 101 Header business data
    DataT 001 Partner header
    In case , they are also same, then check if any Logic is added in the Existing Routine.
    Best Regards,
    Ankur

  • How to download ECC customers without Sales Office and Sales Group values

    Dear all,
    In SD Customer master record we enter Sales Office and Sales Group fields under Sales Area tab-->Sales Tab.
    While downloading customers form ECC to CRM, How can I exclude this Sales Office and Sales Group Data from the download.
    I want to download customers without this sales office and Sales group data...Kindly suggest me how can I do this.
    Your suggestions will be highly appreciated.
    Best regards
    Raghu ram

    Hi Chandrakanth,
    I have removed 'Object Permitted in determination' checkbox for all Sales Offices, but still the problem persist.
    I am getting following problem in SMW01 while downloading customers.
    "Sales office O 50000004 sales group O 50000057 not maintained for sales area O 50000001 C5 Z0
    Message no. CRM_BUPA_FRG0140204."
    This problem is coming for all customers, so I though of excluding Sales Office and Sales groups from downloading.
    Can we use Filters functionality for this, if so what sort of settings need to be maintained for Customer_Main object in R3AC1 transaction.
    Please suggest, your suggestions will be highly appreciated.
    Best regards
    Raghu ram

  • Sales office and sales group

    Hi Experts,
    I have a question here. When ever we try to edit the business partner data in Customer/Prospect role in CRM. We are getting error message " please fill the sales office and sales group data in sales area xxx. We  go to corresponding sales area and fill the data so that we avoid the error.
    My question is sales office and sales group fields are not mandatory fields in field group settings in Customizing but how  are we getting this error. How can we avoid this error permanently. Kindly help in this issue.
    Regards,

    Hi,
    Where r u seeing it is maintained as the mandatory field. I mean here:--
    Another thing You can go to SPRO-Cross-Application ComponentsSAP Business PartnerBusiness PartnerBasic SettingsField Groupings--Configure Field Attributes per Activity
    Then double click on change and double click on CRM Organization. There it will be maintained as required field. Change it to Opt. Entry.
    Or
    While pressing F2 in that particular field..
    Thanx
    Chinmaya

  • Sales office and sales group should greyed out..

    Hi All,
    I have a requirement here where the sales office and sales group in sales order should  greyed out once billing is done for the sales order.
    Kinldy suggest how can we achieve this.
    Thanks,
    Pavan.

    You can use program MV45AFZZ and USEREXIT_FIELD_MODIFICATION
    more information is here.
    https://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm

  • Canadian tax determination on basis of material group, Sales Office and...

    ...Customer region.
    Hi,
    We have a unique requirement for taxation in Canada. The constraints/requirements are:
    1. For all customer located in the province Quebec (KNA1-REGIO = QC), if:
    (a) the Sales Office on customer master (KNVV-VKBUR) not equal to QC (Quebec - user defined) and material group (MARA-MATKL) = 'X' or 'Y', we need the GST and QST to be charged
    (b) for all other material groups, if the Sales Office on customer master (KNVV-VKBUR) not equal to QC (Quebec - user defined) we need only the GST to be charged (not QST)
    How can this be achieved? We can explore the use of any other field too, apart from KNVV-VKBUR if it helps or even some kind of indicator on the customer master...
    Appreciate any clues...can the material pricing group be of any use here? If so, how?
    Thanks a lot.

    Thanks, Nageshwar, I certainly don't want to complicate it with 2 condition types and prefer a requirement. However, in the requirement, I see an issue - since the taxes are determined on the basis of the ship to party (and we do have customers with out of QC but with their ship tos in QC and vice versa), the partner determination at the time of applying the pricing (i..e. VA01) has not yet taken place - not stored in any table...how do I get the system to understand the REGIO from the address data for the P. fn = WE (or SH)? How will the requirement get triggered if the system can't determine what the REGIO is? We need it to be applicable only if the REGIO is QC, not for others. Sales office and the material group are not a problem to ascertain. The REGIO is not stored in VBAK or VBAP and the VBPA entries are not yet done (at the time of VA01)...I can think of getting it only from KNA1 but am not sure how to.....any ideas?
    Thanks!

  • VF04 combines documents by Sales Organ. -Sales Office and Sales Group

    Hi,
    How can i combines documents by Sales Organization < Sales Office < Sales Group please?
    When i use VF04, he combines documents with the same customer number, proposal billing type and sales organization. I need to add Sales Office and Sales Group, where can i do that ?
    Thanks for your help.
    Spawntae
    Edited by: Spawntae on May 19, 2009 5:04 PM

    Hello,
    You need new fields in LVKDFI structure, for example sales office.
    when you created news fields, them you implemented include VV05HFZ2, for example you can loop structure lvkdfi and select sales office from vbak or likp and write this in new fields.
    by

  • Changing of DC,Division, Sales Office and Sales Group

    Hi Gurus,
    We are creating Projects using Assembly Process in our system.
    In our system, profit center on Project would default from Sales Order (Substitution rules) which derived from Customer (USA and Non-USA), DC, Division, Sales office and Sales group.
    Due to business requirements, it was decided to change the profit center on Project. But It is not possible to change values against DC & Division fields since they are grayed out, we are retaining Customer as it is and no change. Note that we are planning to reverse billing and accounting documents which were created during billing to customer.
    Please do let me know is there any work around solution to update DC, Division, fields. Would appreciate your inputs and thanks in anticipation. Points would be rewarded for suitable solution.
    Regards,
    Sudhakar

    Hi,
    Please remove WBS element assignment in the sales order, create another sales order and map the same WBS there.  While creating new sales order you can use required Sorg, DC, division.  We do this in resource related billing for changing sales area in the S.O.
    Not sure if this helps you.  If not, only solution is to pre-close the existing project and create a new one.
    Regards,
    P Gomatheeswaran

Maybe you are looking for