Sales ORG Attribute

HI,
Can anyone tell me how to get the sales ORG from the sales org attribute value. I was able to get the value using RHGA_FIND_ATTRIBUTES for non-range values but since postal code is maintained as a value range, I was unable to find the sales org for a particular zipcode.
Any help is appreciated
thanks

Hi Sujay,
If i understood ur query properly then the table HRP1028 should solve the problem.
Regards
Sidd

Similar Messages

  • FM to read sales org attributes with scenario SALES

    HI,
    My requirement is to read the Sales org attribute for scenario SALES. My input would be the sales org number.
    Is there any FM with this requirement or how can i find the table link for the same.

    Hi,
      You can use the FM RHGA_READ_ATTRIBUTES for this. Say, you want to read an attribute "COUNTRY" for the scenario 'SALE',
    Data: lt_attrib TYPE hrtb_attrib,
            lt_attr_val TYPE hrtb_attvalrt,
            ls_attrib LIKE LINE OF lt_attrib.
          ls_attrib = 'COUNTRY'.
          INSERT ls_attrib INTO TABLE lt_attrib.
          CALL FUNCTION 'RHGA_READ_ATTRIBUTES'
            EXPORTING
              scenario                = 'SALE'
              otype                   = 'O '  "for organization
              realo                   =  '<give Org ID>'
              attributes              = lt_attrib
    *       CHECK_AUTHORITY         = ' '
    *        PPOMA_MODE              = 'X'
    *        NO_CHECKS               = 'X'
    *       NO_INH_RESOLUTION       = ' '
    *       RECURSION               = ' '
           IMPORTING
             attrib_ext              = lt_attr_val
           EXCEPTIONS
             internal_error          = 1
             invalid_object          = 2
             invalid_scenario        = 3
             invalid_attribute       = 4
             no_authority            = 5
             OTHERS                  = 6
          IF sy-subrc <> 0.
          ENDIF.
    *Check the lt_attr_val table for attribute values
    Regards,
    Arun Prakash

  • Error : Sales Org.Unit does not have these attributes -- Urgent

    Hi, Team,
    I am unable to create a service order with serivce material ( Only installation visit charges ) for w/o warranty product .
    I am getting error : " Sales Org.Unit does not have these attributes "
    I had checked the related Org data of respective sales org , already the sales area combination is also maintained from R/3 with required attributes "
    Pls revert with possible solution .
    Regards,
    VCS

    PePe :
    Thanks for reversion !!
    Basically it is a product Service Material (Servicing Charges), where in I had checked in the transaction ,   Though the required sales area  is well maintained in the R/3 System and is being replicated to the CRM . 
    When I checked the product Service material , the required comination is missing and could find other sales area combinations .
    Pls guide , how to go to get this resolved .
    Regards,
    VCS

  • Org unit and a sales Org

    Hello,
    Does any Org unit must be assigend to a sale Org and why
    thanks,
    Iris

    Hi Iris,
    Organizational Units form the basis of an organizational plan, Organizational units are functional units of a company. Depending on how a company is organized, organizational units can consist of departments, groups or project teams.
    There are three different areas basically in SAP CRM Sales, Marketing and Service. An org unit can be assigned to different areas, for example an organization unit can be a sales organization in the Sales Scenario and service org in the service scenario.If your organization wants to be a sales organization, then you need to maintain the same on the Function tab of the org model. All the attributes relevant to the same, can also be maintained in the attributes tab page.
    Hope this was useful to you.
    regards
    Srikantan

  • Sales org missing

    Hi,
    In our test system suddenly the sales org info is missing for all the materials in COMMPRO01 transaction.
    We have checked the transports,jobs and there was nothing abnormal any one have any idea how to bring the sales org information back
    thanks
    raj

    hi
    yeah you got to run this buffer update
    hbrc1_attributes_buffer_update
    sometimes the buffer din get refresh and previous assignments ,deletion get stuck which may cause probs ,so you need to update the buffer at regular intervals.
    also just check the BP role assignment too it may also cause the info missing in ORG as a simple check on BP role may get some info to be missed from ORG.
    one last thing is check the attributes which you are using in ORG in
    table to77mattr in SM30
    make those attributes visible else you wont have ur info in ORG
    best regards
    ashish

  • Creating New Sales ORG

    Hi
    We created a new Sales ORG in R/3.
    TO replicte the changes in CRM I replicated the new Sales org in PPOMA_CRM and linked it to the R/3 Sales ORG.
    But even then when we are creatign an Oppurtunity we are not able to see the newly created Sales ORG.
    DO I need to do other steps so that we can seethe Sales org in the Activities transaction.

    Hello Zack,
    The problem may be due to following causes:
    1. The structure of the organization is missing in the CRM system.
    2. The CRM organizational unit is not assigned to the R/3 organizational unit.
    3. The division is not active in the CRM system, however, the R/3 substitute division is not maintained.
    4. The program buffer in the CRM system is outdated.
    So what you could do was the following -
    1. You can use Transaction PPOMA_CRM to check the structure of your organization.To create the structure, read the documentation in the IMG ('Customer Relationship Management -> Master Data -> Organizational Management -> Organizational plan'). As of CRM Release 2.0C, you can generate the data from the R/3 system automatically. For this, use Transaction CRMC_R3_ORG_GENERATE.
    2.In Transaction PPOM_CRM, each R/3 organizational unit has to be assigned to a CRM organizational unit.This assignment occurs in Transaction PPOMA_CRM.You find the corresponding fields in the 'Type' tab. You can maintain distribution channel and division on the 'Attributes' tab.
    3. If you do not want to use a division in the CRM system, you have to make the corresponding Customizing in the IMG ('Customer Relationship Management -> Master Data -> Organizational Management').
    4. The organizational structure is buffered to increase the performance.Up to CRM Release 2.0B, this buffer is only updated once every day.
    If you change the organizational structure and transfer the master data based on the changes from the R/3 system on the same day, error messages may occur. Run the attached report ZCRM_ORGMAN_VTAREA_GET to resetup the buffer.
    Hope this helps.
    Thanks
    Sumit

  • Sales Org from Acivity change

    Will appreciate help to the following question:
    We do not want Org. Data to be pulled automatically but have an option to select Sales Org. from a Selection List/Screen.
    Please advise how can this be achieved?
    Thanking you all,

    Hi Chitkara,
    Your org might be pulled automatically because the org data profile you must have assigned in your Activity transaction settings must be selecting only a single org based on the selection criteria at runtime.
    If you want to select the org, you need to define the criteria in such a manner that when you key in the values in your activity, org data profile assigned to your transaction should select more than one value.
    e.g in org attributes you have country as one of the attributes and you have keyed in IN as the country.
    Now if you key in BP with country IN then all the org with country IN would be selected and you wil be give a selection box.
    Best Regards,
    Pratik Patel
    <b>Reward with Points!</b>

  • Sales Org determination based on Employee responsible for Opportunity

    Hi,
    How can i do the sales org determination based on the Employee reponsible for opportunity.   Currently it is happend on employee responsible but when i change the employee responsible the organization data is not getting changed.
    Please help me in this regard.
    Thanks
    Naveen

    Hi,
    The sysytem wont accept ur procedure,
    The system determines the process as
    When u enter a prospect, the syetem determines the organisation based on attributes ,which in turn pick up the employee responsible from that particular organisation.
    Hope ur solution is solved if so reward me.

  • Default Sales Org Data based on User parameters

    Hello,
    I wonder if it was possible to have the Sales org data beeing filled in automatically based on the user parameters. In ERP you can set this up in the user settings "Own data". In CRM you also have this option but I'm not sure if the WEB GUI uses this data in order to default the values.
    What I would want is that when a user creates a prospect, the sales are data is automatically filled based on the user's parameters.
    would this be possible?
    Kind regards

    Hi Tom,
    You can attach the user to a BP which in turn is assigned with org attributes.
    Also the determination should be enabled.
    Regards,
    Leon

  • Classification by role sales org  (prospect, customer, competitor).URGENT!!

    Hi All,
    Could someone please help me in customizing the Classification by
    Classification customizing:
    - Role by sales organization (prospect, customer, competitor)
    - Ranking by country (gold, silver, normal, problematic)
    This can be done in the IMG>Master Data>BP--> define classification.
    The criteria should be role as Sales Org and ranking as Country with their respective attributes as mentioned above.
    Please help me guys!!!
    U can also mail me at  [email protected]
    thanks in advance ....

    Hi Chin,
    You need to maintain the sales organization field in transaction code O7F1.  Then, this field is available for open item selection on incoming payment.
    In the same screen, you can rearrange and bring this field on the first few fields of selection.
    Also, you can update the same field on O7F3, this will be useful for making search for selection of open items.
    Hope this helps.  Let me know if you have any questions.
    Rgds,
    Sreeni

  • Two sales org in One company code

    Hi all,
    I know u can assign two or more sales org to one company code.
    But if i have one common customer i.e one Customer No for both the Sales org's  how do I differentiate which open items belong to which sales org when running my open item report in FI. The Sales org data is not transfered to the FI Posting. Is a user Exit and diff numer ranges in SD the only possibility? is there no sap Standard for this.
    Thanks
    dave

    HI,
    Are Business areas/Division of this customer same?
    Reference number and allocation numbers are transferred to accounting documents.In customizing for copy control in billing,you can define which numbers will be copied as reference or allocation numbers.
    Like - Sales order number,delivery number and Billing documents etc...
    From sales order number you can know sales organization.
    The reference number is in the header of the accounting document and is used for clearing.
    The allocation number is in the customer line item and is used for sorting line numbers.
    Vrajesh

  • FBL5N Cleared items not having the Sales org

    Hi Guys,
    In FBL5n open items having the Sales org (XREF1), when we are clearing the Documents, Sales org (XREF1) not coming to the cleared items.
    Is any user exit or BADI to populate the value to Cleared items also?
    Thanks
    Gourisankar.

    Hi
    Cleared and open items should be the same, i.e open item are cleared item before clearing it.
    So I suppose u mean the items of clearing document?
    If it's so u should check your FI customizing because it should be a clearing rule, so perhaps it shlould be better to ask it to your FI consultant
    Max

  • Mass change - Move existing sales orders from Sales org A to Sales org B

    Good morning dear network,
    am seeking for your guidance on one specific matter.
    We are in the process of making changes to our billing / organisational structure (new sales orgs)
    One of the challenges is that we need to move existing open sales orders from one sales org to another (new) sales org.
    If all master records exist in the new sales org, is there a (technical) way of moving the existing sales orders from the current sales org into the new sales org, without having to replace each order individually ?
    would welcome any suggestions.
    Many thanks

    I would recommend to close the existing open sale orders by assigning Reason for Rejection and create new sale orders in the newly created sales organisation.
    This is due to the fact that you need to ensure each and field in the existing sale orders to match with the newly created sales organisation and it is bit time consuming.
    Still if you prefer to what you had indicated, LSMW is the better option
    thanks
    G. Lakshmipathi

  • How to extend Sales org for a material being Changed

    Hi Experts,
    i need to extend sales org , distribution Channel for a material .
    my table look like this and having 6 fields shown below
      1             2         3               4            5                     6
    Sales org | Des | Distn Chnl | desc |  Copy from So | Copy from Dstn Chnl
    If the user enters the existing value in Copy From SO and Copy Fron Distn Chnl  .  Then i need to copy all the values corresponding to the Existing SO and Distrn Chnl to the Newly entered Sales Org . 
    the table im displaying in ALV , if user perss F4 in copy From SO and Copy From Distn  , i need to show the existing values for the material being changed , this is working fine and i am able to get the existing values.
    After user selects one of the existing value for SO and Distrn channel  , i need to copy all the values to newly created So and distrn Chnl  .
    i dont know how to proceed . Please help me to solve this problem.
    Thanks,
    Shrikanth

    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

  • Free Goods determination -acess sequence sales org/ plant/material

    Hi
    I am trying to determine the free goods by choosing the key combination as Sales org/plant/material.
    The system is not determineing the free qty ,instead when i maintain the condition record with customer/Material key combination ,then the system is determineing the free qty.
    I also tried to put acess Sequence Sales org/plant/material above the Acess sequence customer/Material,but still the system not detrmineing the free qty in the order.
    can any one pl gide me how to solve this issue.
    regards
    shashi

    Hi
    Go to the access sequence where Sales org/Plant/Material are maintained as condition table.
    Now select the condition table and then click the node "Fields" on the left hand side of the screen.
    It may give a warning message that "Fields are not yet generated". Just ignore this and Enter once again.
    Do this until it takes you to a screen where you can see fields like KOMK-VKORG, KOMK-WERKS and KOMP-MATNR
    Now create the condition records and check in transaction by creating sales order. It shoudl work.
    Hope this helps.
    You can reward if it helps you

Maybe you are looking for