Organisation Assignment Questions

Hi ALL,
Currently, I am developing an application which allows BP to assign themselves assigned to the position with relationship “Owner” under an organization unit.just like how you work in transaction: PPOSA_CRM
When create this relationship, I have found two function modules which are from different function groups
RHOM_MAINTAIN_RELATION_BUFF
This function module is for Organization Management.
2.     RH_Relation_maintain
This is like for Personal Development.
Here come my questions:
·     When I used “RHOM_MAINTAIN_RELATION_BUFF” to create the relationship, the relationship can be created in the buffer, however, when I call function Module “RHOM_WRITE_BUFFER_TO_DB” to update database afterwards, the database update doesn’t work.
Anybody have any idea about it?
·     Since I failed to update database, I tried to create relationship between Position and BP by FM “RH_Relation_maintain”, However, I have got an exception that saying “B270”(relationship type-Owner) is not allowed between Position(object type-s ) and Business Partner (object type BP), check table T777E.
I checked the table, this relationship doesn’t exit in T777E between “S” and “BP”, however, when I checked table T77AW, there “b270” exist for BP and position.
Can I use this Function module “RH_Relation_maintain” to create relationship between BP and position? How to use this relationshi type in this FM?
Many Many Thanks,
Heather

Hi Heather,
i'm using following function modules to maintain infotype 1000. They should also
work for it 1001:
  CALL FUNCTION 'RH_CUT_OBJECT'
    EXPORTING
*   LOAD                     = 'X'
      gdate                    = l_newendda
      histo                    = ' '
      gstat                    = '1'
*   INVERT                   = 'X'
      vtask                    = 'B'
*   ORDER_FLG                = 'X'
    commit_flg               = ' '
    authy                    = ' '
*   PPPAR_IMP                =
*   CUT_DEPENDENTS           = 'X'
*   KEEP_LUPD                =
*   WORKF_ACTV               = 'X'
    TABLES
      i1000                    = ltbl_p1000_abg
*   ILFCODE                  =
   EXCEPTIONS
     error_during_cut         = 1
     no_authorization         = 2
     gdate_before_begda       = 3
     corr_exit                = 4
     OTHERS                   = 5
      CALL FUNCTION 'RH_INSERT_INFTY'
        EXPORTING
*   FCODE                     = 'INSE'
          vtask                     = 'B'
*   ORDER_FLG                 = 'X'
      commit_flg                = ' '
      authy                     = ' '
*   PPPAR_IMP                 =
*   OLD_TABNR                 = ' '
*   REPID                     = ' '
*   FORM                      = ' '
*   KEEP_LUPD                 =
*   WORKF_ACTV                = 'X'
        TABLES
          innnn                     = ltbl_p1000_upd
*   ILFCODE                   =
   EXCEPTIONS
     no_authorization          = 1
     error_during_insert       = 2
     repid_form_initial        = 3
     corr_exit                 = 4
     begda_greater_endda       = 5
     OTHERS                    = 6
      CALL FUNCTION 'RH_UPDATE_INFTY'
        EXPORTING
          vtask                     = 'B'
*         ORDER_FLG                 = 'X'
         commit_flg                = ' '
         authy                     = ' '
*         PPPAR_IMP                 =
*         OLD_TABNR_NEW_LANGU       = ' '
*         REPID                     = ' '
*         FORM                      = ' '
*         KEEP_LUPD                 =
*         WORKF_ACTV                = 'X'
        TABLES
          innnn                     = ltbl_p1000_upd
*         ILFCODE                   =
       EXCEPTIONS
         error_during_update       = 1
         no_authorization          = 2
         repid_form_initial        = 3
         corr_exit                 = 4
         OTHERS                    = 5
    CALL FUNCTION 'RH_UPDATE_DATABASE'
      EXPORTING
        vtask              = 'D'
*     BUFFER_UPD         = ' '
*     ORDER_FLG          = 'X'
*     COMMIT_FLG         = 'X'
*     CLEAR_BUFFER       = 'X'
*     KEEP_LUPD          =
*     WORKF_ACTV         = 'X'
     EXCEPTIONS
       corr_exit          = 1
       OTHERS             = 2
Regards
Bernd

Similar Messages

  • Missing information in infotype organisational assignment.

    Hi,
    Working in personal administration. For a particular employee,a particular info is absent in the infotype organisational assignment when we run it but when infotype actions is being run,it is present. The requirement is to bring the missing info in the infoytype organisation assignment.
    Any guidance would be helpful.
    Thanks and Reagrds.

    Which field you are facing issue ?

  • Sales organisation assignement with plant

    Hello guys,
    Happy new year to all,
    We created a new plant ,maintain all necessary settings related to SD enterprise structure.
    But when we see it in T001w table for enterprise structure,it is not showing
    1)sales org.
    2)dist channel
    3)shipping point
    Can you help me out here...
    I am not a SD guy so please help me in this issue...
    Enjoy SAP...

    Hiiii
    Table T001W is the master table of Plant. that show the all plants created in your system if it is not showing in the table that means plant not created.  Now if you are getting the issue of plant during Sales order processing  please ensure following
    Whether the Sales organisation assign to Company Code (company code Which is assigned to your plant)
    Whether Plant is assigned to Company code ( company code Which is assigned to sales Organisation)
    Make proper assignment with Sales Organisation -- Distribution Channel -- Plant (this assignment make it delivering plant)
    hope it will solve the problem.  If not please let me know the exact error message
    Regards
    Shambhu Sarkar

  • Purchase Organisation assignment

    hi friends,
    i have 3 company codes..each company code have 4 plants..and only one purchase organisation..
    this pur.org is handling all purchases..(standard,subcontracting, Sto)
    where can i assign this pur. org...????
    what is Standard pur. org ???
    what is reference pur .org??
    what is central pur. org???
    thanks
    raj

    HI
    For the assignment follw the below path.
    Go to SPRO> EnterPRise Structure>Assignment>Logistic general>Assign plant to company code
    Check in this ,to chich COmpany code the Plant is attached to .
    Know go to
    Go to SPRO> EnterPRise Structure>Assignment>Material Management>Assign Purchase org to company code
    Know check that the Plant and Purchase Org should be to same company code
    if they are so yes then only we can link this Purchase org to the PLant as below
    Go to SPRO> EnterPRise Structure>Assignment>Material Management>Assign Purchase org to Plant
    Know comming to your questions.
    Standard Purchase org.
    If in the above config if we have defined Multiple Purchase org to one Plant.
    then in some transaction for automatic flow it always required to have one Purchase org standard one
    so for acheiving the same we will maintain this config at
    SPRO> Enterprise Structure>Assignment>Material Management>Assign Standard Purchase org to plant
    Reference Purchase Org.
    IN some cases if in a company ywo Purchasing Deparent working for two purchassing Org want some data in common like the Pricing Procedures or conditions maintained.
    to make this flexible and easy
    we define one Master Purchase org as the refrence Purchae org ,which acts as reference to all purchase orgs and it has all conditions maitained in it .
    Central Purchase org. Sorry to say that  i dont /heard abt one.
    let me know the path where i could fine the same.so that i would try to help you .
    regards
    Anjanna

  • Many Purchasing Organisation assigned to 1 Plant?

    Hi all
    This is going to be an easy question for all the expert here.
    While I did some reference for Purchasing Organisation and Plant assignment, I realise that PLANT and P.Org has this M:N relationship.
    I interpretate M:N as
    (a) 1 PLANT to many P.Org or
    (b) 1 P.Org to many PLANT
    Questions
    1. Does my Intepreation of M:N as above correct?
    2. I do not think  PLANT and P.Org has this M:N means Many to Many relationship as we cannot do so in SPRO. Please comment.
    3. I have been seeing this 1 P.Org to many PLANT in the reference book but there is no actual business examples given to explain and also, I cannot find any such possible assignment in Enterprise Structure -> Assignment -> Materials Management -< Assign P.Org to Plant. Please advise the actual business example of this case and the SPRO path for this.
    Thanks.
    Edited by: Daimos on Sep 26, 2011 8:31 AM
    Edited by: Daimos on Sep 26, 2011 8:32 AM

    Hi Krishna
    Thanks for clearing it up. Centralised P. Org is at the Company Level instead of the Company Code Level:
    [http://help.sap.com/saphelp_470/helpdata/en/75/ee0a9555c811d189900000e8322d00/Image191.gif]
    Here is the summary:
    1. Centralised P. Org = 1 single P. Org responsible for the purchasing of several CoCd. It can be seen in Cross-CoCd-P.Org
        scenario. No assignment between CoCd and P.Org is required but the value of CoCd will be prompted for input during the 
        procurement activity.
    2. Cross Plant P.Org (terms used in SAP Certification) is also known as Company-specific P.Org.
    Questions:
    1. I found out in the SAP Certification Material for the scenario of Plant Specific P. Org assignment with 2 Plants under 2 P. Org respectively, we are asked to "Assign just one plant of the company code to this purchasing organization under Assignment u2192 Materials Management u2192 Assign purchasing organization to plant."
    Can't we assign all the plants used (under 1 Company Code) to the individual pairing P.Org 1 by 1? Is this SAP standard config feature to ease consultant?
    Edited by: Daimos on Sep 26, 2011 11:08 AM
    Edited by: Daimos on Sep 26, 2011 11:10 AM

  • Link between Rules and Organisation assigned in Rule Modeler

    Hi,
    Go to Transaction CRMC_BSP_ANALYZE,
    Give Application Name: CRMM_ERM_RULES
    It will go to Rule Modeler:
    In this just click GO button. You will get the Policies. Click on the Policy you will get different rules.
    When We drill down the rules and select a rule you can view ACTIONS tab.
    In ACTIONS tab you can see Organisation Object and Outgoing E-Mail Address assigned to a selected Rule.
    Can you please let me know what is table names and link to get the Organisation Object and Outgoing E-Mail Address.
    Thanks a lot in advance.
    Best Regards,
    Azaz Ali.

    Hi Azaz
    To find the Organizational Object go to Transaction PPOMA_CRM the details you need are under field "ID"
    The Outgoing Email address can be found under transaction CRMC_IC_FROMGRP.
    Hope this helps
    Regards
    Arden

  • Controller Assignment Question

    Hello, i was wondering if anyone could steer my in the right direction on this problem I have with controller assignments. See, i want to use Logic 7.1 on my Powerbook in a live situation with some midi controller knobs. The question is, how can i set up controller assignments so that i can have different assignments per song ( which has totally different tracks and plugins) ? I broke out the manual and read something about modes and zones, but cannot figure this out for the life of me, or know if this is the right direction to go in.
    I create the controller assignments for one song, then when i open up the next song, they seem to be interfering with each other. I suppose the controller function isnt particularly meant for this, but is there any way i can get around this problem?
    Thank you for taking the time to read this! I really appreciate any help.
    Leech.
    http:/www.myspace.com/leechernowetz
    Powerbook g4   Mac OS X (10.4.6)   Logic 7.1 , Evolution X-Session MIDI Interface

    When you use the "Learn mode", you bypass the Enviornment all together and Logic directly maps the controller info to the AU plug-in (or other control parameter).
    A quick and dirty way to (maybe) resolve this would be to make your midi controller send different channels on for each song. Therefore, song 1 would respond to assigned midi key commands on channel 1, song 2 would listen for channel 2, etc...I don't have Logic in front of me, but I think this might work. It's not the most elegant solution, but it might work. Another similar idea would be to put a transformer and shift all your CC different values (e.g. song 1, CC#1 would be CC#21 for song 2, CC#2 on song 1 would be CC#22 on song 2). And if you want to contol the same parameter from song to song, don't transform the CC (this is obvious, but I want to point it out).
    To reiterate, this is not the most elegant solution and I could be completely wrong, but this might be a quick fix.
    The best way (in my opinion) is wire cables (with transformers) in the environment to the audio object that you want to control. I haven't been able to get that idea to completely work and I am still working on it.
    good luck.
    Dual 1.8Ghz G5 PB G4 1Ghz LP7.1.1 RME FF800   Mac OS X (10.4.6)   Reaktor 5.1 Reason 3.0.4 Live 5.0.2 Battery 2.1.1 Recycle 2.1 DFH 1.5.3

  • Error  while performing Organisational Assignment

    Hi ,
          Administrators -  Rec, Pay, Tim have been created in the group Spb.
    While performing  the action - organisational assignments rec(personnel admin), Tim (time), pay(payr admin)  of the group spb have been assigned to subarea - 225, Business area-224 and  payroll area-46
    The error is found to be 225rec does not exist in T526 entry.
    Thanks
    Gracy

    hi Gracy,
    Maintain the adminstror 225 in the table T526 through sm30-maintain.
    If any let us know.
    Regards,
    sai.

  • External DL DVD Burner Assignment Question

    Hi, I have an external LaCie Dual Layer DVD burner and an internal (Sony) SuperDrive that is NOT a DL drive. Using the LaCie patch I can use the LaCie DL burner with iDVD, but I can't control which drive iDVD will choose on any given project. One time when I go to burn the project iDVD chooses the DL drive and sometimes it chooses the internal drive.
    My question is, how can I assign iDVD to use a particular drive, and then if I can assign it to use the DL external drive, then will it let me burn a project that is over 2 hours? I question this because it still sees a single layer SuperDrive in the G5.
    Can anyone provide me with some guidance please? Yes, I've already tried PatchBurn with no luck.
    Thanks in advance. --Jim

    Hi Jim,
    My question is, how can I assign iDVD to use a particular drive, and then if I can assign it to use the DL external drive, then will it let me burn a project that is over 2 hours? I question this because it still sees a single layer SuperDrive in the G5.iDVD does not support selection of DVD burners, you cannot assign which DVD burner to use. In order to use your 'non-Apple' DL burner for DL project. You need a French Patch, there are several threads on this subject:
    Topic: iDVD & external drive dual layer
    Topic: double layer dvd
    Topic: Dual-Layer Disc Image
    Topic: Double Layer?
    Power Mac G4 (QuickSilver)   Mac OS X (10.4.3)  

  • ArrayStack --- Assignment question

    Hi guys,
    Ive been given a question, where i have to have the user enter a sentence into the application. And then displays the reverse of the sentence within the console... Any ideas what way i have to go about doing this?..
    T.I.A
    Stefan

    - Learn the fundamentals of Java. In particular, arrays and method calls.
    - Study up on recursion or whatever CS concept you were supposed to have learned that this assignment is testing and reinforcing.
    - Figure out the steps to solve this problem using that CS concept, but without regard to Java. Write those steps down in English and/or pseudocode.
    - Read this: http://home.earthlink.net/~patricia_shanahan/beginner.html

  • PD appraisal assignment Question

    Hi All,
    I have question in PD-
    1.how can we assign to the created appraisal models to the all employees or employees groups?
    2.Can we assign the Appraisal models to the Org Units?
    Thanks!
    Seema

    when i tried to create templet-Goto OOAM -> Right Click Personnel Appraisals -> Create Category then Right Click the Category -> Create Template
    But when i goto ooam i got appraisal catalog/model details not personnel appraisal details?
    how to create appraisal templet in this situation?
    can u explain in brief?

  • Organisation Assignment Function Module

    Hi Folks,
    Do you know any function module can assign a Business Partner to a position of organisation unit?
    I have tried "RHOM_MAINTAIN_RELATION_BUFF", Seem it doesn't work well for me, though I add a bp to the org unit,I can't see any change in TC: PPOSA_CRM.
    Do I need to  call some function module to execute commit?
    Thanks, heather

    Hi Rob,
    Thank you for your help.
    However, i found my problem that data is not changed is because I didn't save the data from buff to DB, now I found a function module
    RHOM_WRITE_BUFFER_TO_DB, there is still some problem.
    Do you have any idea to save the relationship created to the DB?
    Thanks,
    Heather

  • Threaded Sudoku solver - Assignment question (NOT LOOKING FOR ANSWERS  )

    Hi All,
    I'm going to be upfront and point out this is an assignment that i'm currently working on and i'm not receiving much in the way of feedback from the class forums.
    This is currently a 4th year OO assignment for UNSW Australia.
    What I am having trouble doing is figuring out where my program is deadlocking or dying. There have been a number of requirements set out by the assignment, basically no synchronization, no locking. We are able to use volatile, atomic, immutable and thread-local objects. The task is to find all solution for a given N x N sudoku problem using X number of threads. I have successfully built the solver (X = 0) without too much trouble and I thought i had managed to modify the recursive algorithm to suit but unfortunately I think I have come unstuck.
    Any generalized tips would be appreciated when implementing threads that utilise checking flags to determine when the thread is finished processing.
    Kind Regards,
    Chris Gibbs

    Honestly, I think that recursion (as you stated) would be the easiest way to have solved this problem. But as you stated, threads must be used to solve this problem as a requirement of the project...
    You could easily launch a Thread each time instead of calling your recursive method... that could possibly result in a crap load of threads, but the idea would work.
    Definitely take a look at the SwingWorker class here if you're able to use J2SE 6: [http://java.sun.com/javase/6/docs/api/javax/swing/SwingWorker.html|http://java.sun.com/javase/6/docs/api/javax/swing/SwingWorker.html]
    I currently use it while gathering data from several websites at the same time. What I did was create and execute() X number of MySwingWorker objects to collect the data, while they are not complete (i.e. MySwingWorker.isDone() is false) I just Thread.sleep(...).
    Give it a try. It may suit your needs.

  • Dynamic Channel Assignment Question

    I have a WLC 4400, and I have discovered that some areas, the access points are on the same channel. For example the floor have four access points, and the access points are working in this channels:
    AP01=channel 01
    AP02=channel 11
    AP03=channel 11
    AP04=channel 11
    If Dynamic Channel Assignment is enable in the controller, Why the access points are on the same channel?
    The access points are near each other.
    WLC4400 System version 6.0
    Any suggestion?
    Is better manual configuration?

    Hi Nicolas I have this situation:
    AP Name.......................................... AP22
    MAC Address...................................... 00:1d:a1:zz:yy:xx
      Radio Type..................................... RADIO_TYPE_80211b/g
      Radar Information
          Recommended Best Channel..................... 1
      Nearby APs
        AP AP53 slot 0..................  -67 dBm on   1 ()
        AP AP12 slot 0..................  -57 dBm on   6 ()
    The AP22 is working in the channel 1. ButI have another AP, in the same channel 1, this is normal operation?
    When a Nerby AP is considered away? when the dbm is -70, -71, -72 or -75, -74, -73 ??
    Thanks

  • Account assignment question (for subcontracting item category)

    Hello
    Is it possible to have a account assignment category with a consumption posting indicator V work with a subcontracting item category L?
    Our scenario is that a SD item category TAB auto generates a Subcontracting PO with account assignment M and item category L.
    The problem with account assignment M is that it references sales order, and does not propose BOM component material/quantity, like a standalone subcontracting movement (541 reference to PO)
    We want to issue components to the subcontractor referencing a PO, and maintain visibility thru ME2O (Which account assignment M wont allow).
    Is this possible ?
    I tried tweaking the account assignment category M by changing the consumption posting indicator to V.
    This allowed me to do the subcontracting issue 541 movement referencing a PO.
    However, I got 2 accounting errors at MIGO.
    No direct postings possible to G/L account 03-010
    I then changed the FS00 settings to allow direct postings, but got the next error and was stuck. I guess if these accounts are postable, my problem is solved but I don’t know how to do that!
    Acct. 03-010 for trans./event key BSX, postable directly
    If anyone is knowledgeable on account assignments or knows how I can solve these, I would greatly appreciate your input.
    Regards
    Ken

    Thanks for replying again, Gopala.
    Let me clarify, the SAP error I am receiving is at MIGO, following the successful transfer posting at MB1B (mtype 541 referencing the PO number. If I can get the proper account postings at MIGO (as in a standalone MM subcon scenario) here, my problem is resolved.
    When I hit post at MIGO (Finished Product mov type +101/Component reduction is -543 O) I receive the error "Acct. 03-010 for trans./event key BSX, postable directly " I then goto FS00 (G/L accounts) and uncheck the 'post automatically only' box. But then when I goto re-post at MIGO, I get the message
    "No direct postings possible to G/L account 03-010"
    So I am stuck in this circular error.
    Is this correctable?
    Thanks Again
    Ken

Maybe you are looking for

  • Texture problem with alpha channel

    [code] on createMySphere sr= p3d.newModelResource("mySphere01", #sphere) s = p3d.newModel("s", sr) s.transform.position = vector (0,0,0) s.shader = p3d.newShader("sShdr2", #standard) txS= p3d.newTexture("txS", #fromcastmember, member("image")) s.shad

  • Do's and Dont's of ABAP Programming

    Can anybody give me the list of Do's and Dont's of ABAP programmings

  • SQL Server Replication with MYSQL DB on web

    Hi Friends, I want to inquire that using sqlserver 2012 we can configure transactional replication between MYSQL DB on web to sqlserver 2012. Tables will be residing on MYSQL DB web to SQLSERVER 2012. using sqlserver replication as option (publisher

  • How do I avoid .bin attachments with SmtpClient.Send(MailMessage)?

    I'm hitting the problem described here. However, I don't see any way with MailMessage to set the ordering of the content of the email. How can I fix this? MailMessage mail = new MailMessage(new MailAddress(emailTempKeysFrom, "Windward Studios"), new

  • Grey shadow left after titles appear in Flash slideshow

    Hi, the producers of the Flash slideshow product i am using do not know the reason for this problem. When the slideshow runs, titles we composed using the product dashboard (as a Dreamweaver plugin in Dreamweaver CC) appear. The titles are dynamic an