(Org Model) Obtain Sales org's object id from position object id.

Hi All,
In the org model, I have the object id of a position and i want to find the object id of the sales org to which this position is assigned.
Is there any FM that does this..?
Thanks in Advance,
Raviraj

Hi Gun,
When i tried tu check out this FM, COM_OM_ORGUNITS_OF_MANAGER, it says "NOTHING_FOUND"
the params i passed are :
PLVAR                         
MGR_OTYPE     O
MGR_OBJID     50001049   => position id of the user
SELDATE       02/28/2006
NO_DIALOG     X
SEL_MULTIPLE  X
am i missing something ?
The hierarchy is :
SOME_SALES_ORG
        |
        |-- ASSIGNED_PERSON
I have the ID of this person and want the ID of the sales org
regards,
raviraj
Message was edited by: Raviraj Khare

Similar Messages

  • Org model for sales and service

    Hi,
    I have an issue while creating org model, I want to maintain  organization for sales and service differently under a org unit, but in service org element when I have selected service radio button and type also as service in Function tab, it is effecting for all units, even the first org unit is also changing automatically to service.
    Please clarify!
    Thanks and Best Regards,
    Abdul

    Hi Abdul,
    I tried replicating what you have mentioned in your message and it is behaving exactly the same as in your case. So I dont think it will have any impact on your root org unit.
    Dont tick mark any of the options i.e sales organization,Sales office or sales group for your root unit.Just create one org unit and leave as it is by saving.
    When creating sales Org: Double click the the root org unit and click on "Create". Create the required sales organization(by selecting the sales scenario(radio button) and tick mark the sales organization in the funtion tab page.
    Now you have created your sales organization.
    When creating service organization: again double click the root org unit and click on "Create". Create the required service organization by selecting the service scenario(radio button) and tick mark the service organization.
    Now you have created your service organization.
    So when you select your org unit created as sales organization and switch to service scenario(radio button) and select the root org you will see the root unit also in service scenario and also you will not see any tick mark for sales/service/marketingin the root org unit.
    Reward points if helpful.
    Shridhar

  • 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

  • Problem subclassing an object group from an object library

    Hi
    I've created an object group using Forms 6i (can't tell you the exact version just now) containing a number of objects, including a couple of alerts, a couple of data blocks, canvas, window, program units etc. I've saved the object group into an object library and used it successfully for some time. Now I've gone to a new job, I suspect that I'm using a subtly different version of Forms 6i (6.0.8.16.1), but I'm finding a strange behaviour when I try to add the object group to a form.
    Dragging the object group over, I get the 'Do you want to copy or subclass the object?' message. If I select 'Copy', everything gets copied across fine - the datablocks have all the items in them and the program units are fine. However, if I select 'Subclass', the items all appear in the object navigator, but are 'empty', so the data blocks contain no items and the program units are just 'begin' and 'end' statements with nothing in between.
    Funnily enough, if I 'copy' the object group into a form (so everything's present), then create another copy of the object group in the current version of Form Builder and save it in a (new) object library, the behaviour is still the same.
    Has anyone come across this situation before (I couldn't find anything exactly comparable on Metalink), and what workaround (if any) did you find?
    regards
    Andrew
    UK

    Hi again
    The answer to this strange behaviour became apparent when I found bug 2772326 on Metalink.
    Basically, either the OLB has to be on the FORMS60_PATH, or the option in Forms Builder under Tools->Preferences->Access->Subclassing Path has to be set to 'Keep' rather than 'Remove'. Doing either of these things solves the problem.
    regards
    Andrew

  • Calling object methods from other objects

    ok im trying to build a little windows application which shows a few thumbnails of pictures in a folder.
    I have a mainForm class that runs all the jFrame and menus, status bar etc, it has 2 jPanes, one with a jTree that browses the directories and the other is set blank and adds a few custom component objects depending on how many images are in the directory it does contains a few objects all from one custom component class that shows an image and a label below it.
    What i want to do is call the mainForm statusbar from within my custom component class. I have tried many things but cant seem to do it.
    How do i do this in java? or can anyone point me in the right direction for some reading material, websites etc?
    thanks

    if i have correctly understood what you are asking (big assumption)...
    you could just pass a reference to the main form into the custom class when you construct it (the custom class) - but this introduces unnessary coupling between the two classes and this approach will quickly get messy and hard to maintain.
    a better approach is to use the Mediuator pattern.
    have a look at
    www.mindspring.com/~mgrand/pattern_synopses.htm for example.

  • FM to simulate the org model determination - sales group and sales office

    Hi
    I am looking for a FM to get the organization profile details which on sales order Organization tab.
    I want to pass BP# and order type as input and get the sales group, sales office.
    I tried using 'CRM_ORDER_MAINTAIN'' but with no luck. (May be I am not using it correctly )
    Please suggest any a way to achieve this .
    Thanks in advance
    Swapnil

    Hi Swapnil,
    U can  Simulate  in the orgdata rule itself  from the following path mentioned below--
    SproCRM-Master Data-Organizational Management----Organizational Determination-
    Change rules and profiles.
    Enter the Rule -ORGMAN_14 and click on display-
    Click on simulate rule resolution icon next to Change icon
    mention the Partner number and click on execute test icon or F8. You will get the list of sales office and
    sales groups. you will also get the  FM details in the rule itself. Revert me for any other  clarifications.
    Regards
    Pavan.A

  • Obtaining complete text of RichTextEditor/TextArea from Automation object

    Hi,
    If there is "\n" or "\r" in the text of a RichTextEditor/TextArea then how do we obtain these special characters from the automationObject.
    If RichTextEditor/TextArea containts "I\rwas\rhere", then automationObject["text"] (equivalent to RichTextEditor.text/TextArea.text ) is giving "Iwashere" without the special characters.
    I want to verify that resultant input text = text that has been set (inclusive of special characters like ENTER).
    Is there any other API for this?
    Thanks and Regards,
    Pradeep.

    Hi,
    If there is "\n" or "\r" in the text of a RichTextEditor/TextArea then how do we obtain these special characters from the automationObject.
    If RichTextEditor/TextArea containts "I\rwas\rhere", then automationObject["text"] (equivalent to RichTextEditor.text/TextArea.text ) is giving "Iwashere" without the special characters.
    I want to verify that resultant input text = text that has been set (inclusive of special characters like ENTER).
    Is there any other API for this?
    Thanks and Regards,
    Pradeep.

  • Assigning position hierarchy within Org Model

    Hi,
    have maintained the org model with sales org and position in crm 5.0. This position is President sales and would like to maintain General Manager under this position as a subordinate. While doing so, I get the following message:
    <b>Before you select a function, select suitable entries in the structure.
        Message no. 5W707
    Diagnosis
        You have chosen a function for which a selection of  suitable entries in the structure is a prerequisite.
    Procedure
        Select one or more suitable functions in the structure and choose the function again. You can use the right mouse-button to display all the functions you can carry out for an entry.</b>
    What else am I missing here
    Thanks
    Kumar

    Hi Diana,
    Thanks for the inputs. I have rewarded points.
    As per your mail, we could maintain two positions under single organization unit one with the 'head of org unit' check and the other without that. Now they both appear under the same org unit but they appear as two positions (only difference is that the icons are different).
    What I am looking at is, Sales Org 1 should have a sub tree (arrow mark) with Mgr Director position, when I drop down this positions arrow mark, then I only I should be able to see the General Mgr's position (the GM's position should not appear parallel to the MD's position on the tree structure but should be within the MD's position)
    Can we assign any position to the head position by any standard means ?
    Hope you got my requirement clear, else let me know I can explain in more detail.
    Thanks
    Kumar

  • Tables which stores org model in CRM

    Hi All,
    Which tables stores the org model or the sales area in CRM.
    KRK

    Hi there,
    The tables that stores the organization model main information are HRP1000 and HRP1001.
    For working with information that relates the org.model with sales area, I normally use static methods of class CL_CRM_ORGMAN_SERVICES.
    Check if this class may help you a little more in your needs.
    Kind regards,
    Garcia

  • Java.lang.ClassCastException: org.model.Question

    I'm trying to typecast a list of question Objects to Object StudyQuestionPage. Im doing this becase i want to set the list of question to its boolean validate property to validate the return of validate. Im getting a typecast error:
    [ROOT] ERROR [http-8080-1] DispatcherUtils.serviceAction(237) | Could not execute action
    java.lang.ClassCastException: org.model.Question
    at org.webapp.action.DemogAction.saveQuesOrder(DemogAction.java:1147).
    Here is the code of what im doing:
    questionsList = demogManager.getQuestions(sqp);
    for(Object sqpTemp:questionsList){
         questionTemp = (StudyQuestionsPage)sqpTemp; <---- /* im getting the line error here*/
         questionTemp.setValidate(validate);
         studyPageManager.saveStudyPage(sqp);
    }

    shendel wrote:
    I'm trying to typecast a list of question Objects to Object StudyQuestionPage. Im doing this becase i want to set the list of question to its boolean validate property to validate the return of validate. Im getting a typecast error:
    [ROOT] ERROR [http-8080-1] DispatcherUtils.serviceAction(237) | Could not execute action
    java.lang.ClassCastException: org.model.Question
    at org.webapp.action.DemogAction.saveQuesOrder(DemogAction.java:1147).Okay so?
    You don't have a StudyQuestionPage you have an org.model.Question. If StudyQuestionPage extended org.model.Question then you could, but it doesn't so you can't.

  • No assignment to org model in PPOME possible

    Hello,
    When I try to assign in the org model/PPOME (ECC6.0) a person to a position, the system allows that for some persons u2013 for some not. If not, the message u201CNo entry found, 5W800u201C is issued. If I would try to create the relationship A/008 via PP02, the system issues u201CValidity period of record not within validity period of P 0000XXXX, Message no. 5A039u201D.
    Can anybody please explain me whatu2019s going on?
    T770S0 is maintained in the following way:
    PLOGI ORGA X    Integration Switch: Organizational Assignment
    PLOGI PLOGI 01  Integration Plan Version / Active Plan Version
    RHINTECHECK for personell no. 0000XXXX: all 12 (time-related) records of IT0001 are wrong (error) and the report suggests:
    a. Check whether the person is marked in open processes
    --> This seems not to be the case
    b. Check your organizational assignment, either in infotype 1 or in the organizational structure in the above mentioned period.
    --> I think this is also not the problem as org unit and position (PLANS, STELL) are both empty in PA0001.
    I am new to HR-module, please explain what is missing, Thanks,
    Angie

    Hi,
    thanks for your answer. Regarding the questions:
    > How did you get the employee records into PA0001?
    The employee records were transferred from another system into my system via ALE. In the source system the records were created via an interface (I assume). In the source system OM is not used.
    > What about the emplyees that you can assign to a position? Do they have a position in PA0001?
    No, they donu2019t. All records havenu2019t a position assigned in PA0001.
    > Can you find other differences between the employees that work and the ones that don't?
    There is only one difference for the employees who donu2019t work: In PA30 on IT "org. assignment" is field personnel area two times displayed with two different values, even that it is the same field:
    On the top of the screen:             P0001-WERKS, screen number 0100.
    Section enterprise structure:     P0001-WERKS, screen number 2000.
    From PA0001-table I can see that these employees have changed their personell area in the past (in the source system). Those records were transfered into my system via ALE, too.
    > Check dates to make sure that your employee is active within the dates you try to assign him.
    The employees are active in the related period.
    Please advise. Thanks,
    Angie
    Edited by: Angie012 on Feb 14, 2011 9:48 AM

  • Sales org to sales org transfar

    HI,
    Thre  is two sales orginizations  two companey codes both legal entitys are diffirent  now   ther is a transfar of goods from one sales org to other sales org my client is saying it is sale and purchase ,,  what it mean and how to map in sales what affect in fico

    Dear 
    First you have to confirm whether this is sale process or material transfer from one sales organization to another.
    If this is sales process then you will create purchase order from one sales organization to other and receive the stock against PO. Or you can create a standard sale order and account receivable will stand against other sales organization. Then you have to clear it in FI AR.
    if this is material transfer then there must be two separate plants and you have to transfer material plan to plant with movement type 301. for this you have to extend materials on both plants and sales organizations. But Purchase order is suggested for this scenario.

  • Internal sale between 2 sale org. in 1 Company code?

    Hi experts,
    I have situation: a branch in a company sell to another branch(Internal VAT). But FI team already create Company code for Company.
    My solution is create one branch as a dummy customer and assign a Internal receivables account and Internal revenue. But Im not so sure I can or can not implement this case.
    Plz help me!

    Hi,
    When two sales orgs are with one company code, there is no need to have separate receivables by creating invoice for one sales org by another sales org. This is not the actual process as the receivables anyway will be at the company code level and company code cannot bill itself and pay for itself.
    Hence the solution is to enable stock transfer order between the plants of the different sales organisations. By this the material valuation will be affected at plant level, without any change at the company code level. You can also discuss the same with MM guys to enable STO within the company between plants.
    Hope this helps

  • Reading from other object

    Hi Guys,
    I dont know whether am following the correct way , I have a scenerio where I have to show in the report Blocking reasons . I have a field from DS Payment Block Key which is 0PMNT_BLOCK in BI. I have 7 Blocking reasons in one table called BSEG and I have enhanced my 0FI_AP_4 DS to include this 7 fields and mapped to 7 BI Objects 0BLCKRSN_PR for price 0BLCKRSN_QL for quality....Now bringing these fileds from BSEG effecting performance as each time the exit is calling. I do have a Text data source (0PMNT_BLOCK_TEXT) which is having same data as I need...So in order to get this Blocking reasons in to my report without enahcing from BSEG table Iam trying to read it from master data . but its not allowing me to do that....When I say read from master data for one of the info object 0BLCKRSN_PR and press F4 its showing no info object available for reading of master data....Can any one tell me why its showing this error...I do have a Master data object 0PMNT_BLOCK which is having the values A B D H M P , so I want to read the above object 0BLCKRSN_PR from this Object ...as P is for Price and so on....
    Do I need to take the seven info objects as attributes of 0PMNT_BLOCK ?
    If so , I didnt find a DS for attributes in ECC , I have only Text DS 0PMNT_BLOCK_TEXT....
    Please advice me what I need to do for this...Also please shoot me a reply If you ahve any more questions....

    the join produces more rows then the sum of it's parts (e.g. 154). For example:
    select owner, name
    from all_source
    where upper(text) like '%BINARY_INTEGER%'
    633 rows selected.
    select owner, type
    from all_source
    where upper(text) like '%PLS_INTEGER%'
    926 rows selected.
    select ds1.owner, ds1.name, ds2.type
    from all_source ds1 inner join all_source ds2 on (ds1.owner = ds2.owner and ds1.name = ds2.name and ds1.type = ds2.type)
    where upper(ds1.text) like '%BINARY_INTEGER%'
    and upper(ds2.text) like '%PLS_INTEGER%'
    5710 rows selected.
    select owner, count(name) as name_cnt
    from all_source
    where upper(text) like '%BINARY_INTEGER%'
    group by owner
    OWNER NAME_CNT
    SYS 577
    WWW 56
    2 rows selected.
    select owner, count(type)
    from all_source
    where upper(text) like '%PLS_INTEGER%'
    group by owner
    OWNER COUNT(TYPE)
    SYS 909
    WWW 17
    2 rows selected.
    this could be a solution then:
    select ds1.owner, ds1.name_cnt, ds2.type_cnt
    from (select owner, count(name) as name_cnt
    from all_source
    where upper(text) like '%BINARY_INTEGER%'
    group by owner) ds1 inner join (select owner, count(type) as type_cnt
    from all_source
    where upper(text) like '%PLS_INTEGER%'
    group by owner) ds2 on (ds1.owner = ds2.owner)
    OWNER NAME_CNT TYPE_CNT
    SYS 577 909
    WWW 56 17
    2 rows selected.

  • Copy all properties from BOL Object to other, Help please

    Hello experts, Thanks for your time.
    I would like to copy all properties and object relations from BOL OBJECT To other.
    It's possible make it??
    I know to copy one by one properties with this code.
    lr_part->set_property( iv_attr_name = 'e_mailsmt' iv_value = ET_ADSMTP-E_MAIL ).
    But I would like to copy the relations and all properties.
    Could you write an example complete code??
    A lot of  Thanks

    Hi,
    I suppose by copying relations it is meant that a whole Business Object should be copied. Not just the part of BTAdminH but the PricingSet and the related Prices in there, the ItemsSet and all related entries in them and so on. Meaning a complete copy of all attributes in all objects.
    Judging from a mere technical point of view I see some problems with that:
    1. Abab does not offer a copy object method. Thus you would have to create a new object and use the SET_PROPERTIES( ) method on it.
    2. Though you will be able to do it for one object, lets say BTAdminH, it will be a huge load to do it for all related objects.
    3. Considering a piece of code that will run down the hierarchy and copy the objects for you will not work as the "hierarchy" contains circles and is not unique. For instance the BTPartnerSet on OneOrders contains various relations containing the same partners.
    In my opinion use the underlying API not the BOL to copy entries.
    cheers Carsten

Maybe you are looking for

  • Pages 5.2: two letters with accent (e.g. "éé") issue

    I use the Dutch version of Pages 5.2 with OS X 10.9.2. Whenever I type two vowels that both have accents (e.g. "één", "héél" or "dóór") my typing cursor disappears as soon as I enter the second accent. Normally (as in: in Pages '09), this would be th

  • I cannot seem to use yahoo games....does anyone know why and/or how to fix it?

    I cannot seem to use yahoo games......does anyone know why and/or how to fix that?

  • Cannot start EPMA FIle Generator

    I cannot get the EPMA file generator to run. I am running a Windows XP client system within a VM and have all other 11.1.2 clients running correctly. EPMA server is running and I can connect to it via Workspace. Whenever I start the EPMA File Generat

  • .jpg import color accuracy

    I need to preserve exact color accuracy when I import a simple line graphic. If I import a perfect .jpg or perfect .gif file image, with lines of perfect cyan in the image, when the image is displayed, the lines have been "smoothed out" at the edges

  • Language Territory Translation Issue

    Hi, I am testing XML Pulisher language translation functionality. I have only English Language Installed in my instance. I have created a template with language/territory Combination as English/united States and made it as translatable. I have create