Delete HR PP01 relationship using FM

Hello,
Is there any function module to delete relationship maintained in PP01.
For eg - Assignment to Postion to Org unit or
            assignment between two org unit.
Thanks,
V

Thanks Srinivas .. RH_RELATION_MAINTAIN has worked for reletionship & for deletion of object RH_OBJECT_DELETE

Similar Messages

  • Is it possible to delete a relationship using sdk in SCSM ? if yes how ?

    Is it possible to delete a relationship using sdk in SCSM ? if yes how ?
    If the reply was helpful or informative, please remember to mark it as answer or vote as helpful. MCITP SHAREPOINT

    Yes, you can use the SDK to remove relationships. Use the EnterpriseManagementRelationshipObject class. You can use the EnterpriseManagementGroup.EntityObjects.GetRelationshipObject* methods to retrieve collections of relationships or individual relationships.
    Then you can use an IncrementalDiscoveryData object to remove the relationship objects.
    Another method is to use an EnterpriseManagementObjectProjection to remove relationships between objects.
    Here's a blog post with the basics:
    http://blogs.technet.com/b/servicemanager/archive/2010/10/04/using-the-sdk-to-create-and-edit-objects-and-relationships-using-type-projections.aspx
    Removing/Adding activities programatically is not as straight-forward as it might seem. Each activity has a "SequenceId" property. Activities MUST remain in sequence or the workflows will give you unexpected results. For instance, if you delete
    an activity, for each activity that follows you must decrement its sequence id property. Similarly, if you add an activity, you must make sure that it's sequence ID falls in the proper order with the other activities (incrementing other activities as needed).
    As a side note, BOVI Remy, the SDK is the primary entry point to the framework of Service Manager. The powershell cmdlets lay on top of the SDK. In other words, the cmdlets were created with the SDK. The cmdlets provide an abstraction layer to
    make many SDK calls simpler. Basically, anything you can do with Powershell cmdlets, you can do with the SDK. Plus, there's even more that the SDK can do that you can't do with the Powershell cmdlets (currently). :)

  • How to delete a Contact Relationship in BADI

    Hi,
    I have a requirement where I need to delete Contact Person's relationship -  BUR001 with the Account he is associated with. This should be done in a BADI implementation when the user changes the status of the Contact Person and clicks on SAVE on WebUI.
    Initially I tried to delete the Contact Person relationship using the FM: BAPI_BUPR_RELATIONSHIP_DELETE which actually resulted in a DUMP error on WebUI in runtime because that FM was trying to interrupt a COMMIT. So I tried to find few MAINTAIN FMs which can solve this issue , as COMMIT anyways happens later internally.
    I found this FM: BUB_BUPA_RELATION_MODIFY which takes BUT050 structure and the action as input. Below is the Code snippet of the FM i used:
    CALL FUNCTION 'BUB_BUPA_RELATION_MODIFY'
       EXPORTING
                 is_but050 = ls_but050
                 iv_aktyp   = '06'.            " 06 means delete action
    Now the Contact has been successfully saved but the Contact Relationship is not deleted.
    Please let me know if anyone has got a solution for this.
    Thanks,
    San

    Any idea on this query?

  • Modelling 1:N relationships using Master Data

    Hello All,
    I was trying to store the Bill of Material data in BW and was confused as to how model this as master data. The bill of material is basically a BOM number with a number of components in it. i.e. a 1:N relationship between the BOM and the components.
    I was thinking of modelling this by compounding the Component (which has quite a number of attributes) with the BOM.
    But practically the scenario is such that, today the BOM contains certain components, but someone can delete a component later in R3. I want this information to be reflected as well in BW, but i suppose BW will not take care of this in the above compounding technique.
    What is the best way to model such a scenario in BW. Is there a trick or is the only way to do this is do some checking in the update routines and then delete from the master data tables.
    Please let me know your opinions.
    Best Regards,
    Dabre

    Hello All,
    Does anyone have a similar kind of experience in modelling a 1:N kind of relationship using master data ? And where the N values could change or be deleted ?
    Please share your experiences.
    Best Regards,
    Dabre

  • Today I deleted a gmail account using my computer.  I also added a new work gmail  address.  Now I want to sync my phone and tablet with the new email address.  I've looked all over and can't find  out how to do it.

    Today I deleted a gmail account using my computer.  I also added a new work gmail  address.  Now I want to sync my phone and tablet with the new email address.  I've looked all over and can't find  out how to do it.
    Peg

        Hi there T&P63385!
    Look no further! I have the answer for you! You can add a new email account to your android device by following these steps: http://support.verizonwireless.com/clc/devices/knowledge_base.html?id=31401
    Now I do want to let you know that your phone has a "main" gmail account. If this "main" gmail account was the one you deleted it may be best that you reset your phone and activate it to your new gmail address.
    The reason I recommend doing this is all of your purchased application information is also tied to your gmail.
    Ensure your personal information is backed up (contacts, pictures, etc) and follow these steps to Hard Reset your phone:http://support.verizonwireless.com/clc/devices/knowledge_base.html?id=31308
    Let me know if you have any other questions!
    Thanks,
    MelissaM_VZW
    Follow us on Twitter @vzwsupport

  • Error deleting events in iCal using applescript

    Hi,
    I made a little applescript to insert and remove a roster in iCal for me and my collegues.
    While the script to remove a roster works fine on my computer, others are getting an error:
    see Link: [http://i359.photobucket.com/albums/oo31/Bronco_Dappe/Allerlei/Afbeelding1.png]
    [the error contains some strange characters but in general it says:
    "can not get class ... of event id ... of calendar id ..."]
    My applescript to delete the roster is:
    on run {CalendarName, Start, Eind, Prefix}
    -- Start and Eind format:
    -- int(day) int(month) int(year) int(hour) int(minutes)
    -- ===============================
    on run
    set CalendarName to "MP"
    set Start to "15 10 2009 00 00"
    set Eind to "17 10 2009 23 59"
    set Prefix to "MP:"
    -- Version 3.0
    -- ========
    -- Changed format of Start & Eind to be compatible with Snow Leopard
    -- convert DateStart
    set wordsplit to (words in Start)
    set DateStart to (current date)
    set year of DateStart to (item 3 of wordsplit)
    set time of DateStart to 0 -- reset time
    set day of DateStart to 1 -- prevent february 31
    set month of DateStart to (item 2 of wordsplit)
    set day of DateStart to (item 1 of wordsplit)
    set DateStart to DateStart + ((item 4 of wordsplit) * hours + (item 5 of wordsplit) * minutes) -- set time
    -- convert DateEind
    set wordsplit to (words in Eind)
    set DateEind to (current date)
    set year of DateEind to (item 3 of wordsplit)
    set time of DateEind to 0
    set day of DateEind to 1
    set month of DateEind to (item 2 of wordsplit)
    set day of DateEind to (item 1 of wordsplit)
    set DateEind to DateEind + ((item 4 of wordsplit) * hours + (item 5 of wordsplit) * minutes)
    tell application "iCal"
    set TargetCalendar to first calendar whose title is CalendarName
    set list2bDeleted to {}
    set list2bDeletedSum to {}
    set listEvents to every event of TargetCalendar
    repeat with singleEvent in listEvents
    if summary of singleEvent starts with Prefix then
    set eventstart to start date of singleEvent
    if eventstart ≥ DateStart and eventstart ≤ DateEind then
    if summary of singleEvent starts with Prefix then
    copy uid of singleEvent to end of list2bDeleted
    copy summary of singleEvent to end of list2bDeletedSum
    end if
    end if
    end if
    end repeat
    repeat with eventUID in list2bDeleted
    delete (every event of TargetCalendar whose uid is eventUID)
    end repeat
    end tell
    return list2bDeletedSum
    end run
    In general the script works like this:
    1. it goes over events in a specified calendar
    2. all events to be removed are added to a delete-list by id
    3. all events in the delete-list are removed using this id
    it seems step 3 creates a problem.
    any suggestions here?
    ghislain
    Message was edited by: ghis74

    Once I got access again to an apple with Leopard I solved the problem.
    The applescript was saved in Snow Leopard.
    When opened in Leopard 'uid' in 'copy uid of singleEvent to end of list2bDeleted' was changed into '<<class>>' : 'copy <<class>> of singleEvent...'.
    Quite strange - but correcting and saving the script in Leopard solved the problem.
    Thanks for your help.
    Ghislain

  • Creation of BP relationship using BAPI_BUPR_RELATIONSHIP_CREATE

    Hi,
    Needed  help.
    I am trying to create a Business Partner relationship using standard BAPI "BAPI_BUPR_RELATIONSHIP_CREATE" , but it is not updating the table BUT050 even after calling BAPI_TRANSACTION_COMMIT.
    can anybody help me out????
    Regards
    Bhanu.

    Hi Nanduri!
    I am also trying to create Business Partner Rel. with Bapi.
    Did it finaly work with BAPI BAPI_BUPR_RELATIONSHIP_CREATE ?
    Or did you find another BAPI??
    Best regards,
    Cristina

  • Enhancement of Business Partner (Relationships) using BDT -Bus Data Toolset

    Dear Experts,
    I have a requirement from my customer enhancing the Business Partner Relationships using BDT.
    I should add 2 fields namely salary, employer start date in the Business partner Relationships, it must be added in the characteristics of relationships as one employee can have multiple employers and vice versa.
    If I would like to add the fields in Business Relationships using BDT, are the steps same as adding fields in business partner? or do we need to perform any other steps? Did someone already did this type of modification, please provide your suggestions.
    After adding the fields is it possible to cusomize the fields for history of the changes? e.g. if salary field has been newly added and after creating a BP after some days I want to change the salary and for the changed salary I want to have a history.
    I would appreciate if you can help me with your suggestions.
    Many thanks and best regards,
    Afroz

    Solved the problem Using EEWB.

  • ITunes Match has stopped uploading - every file errors and says waiting - I have tried to delete the files and use other formats etc.  I have had the service since Day 1 and NEVER had an issue.  It didn't start until the Delete from Cloud switch to Hide

    iTunes Match has stopped uploading - every file errors and says waiting - I have tried to delete the files and use other formats etc.  I have had the service since Day 1 and NEVER had an issue.  It didn't start until the Delete from Cloud switch to Hide from cloud - the files that do not upload show grayed out on my other devices.

    Have you confirmed that you successfull purged iTunes Match by also looking on an iOS device?  If so, keep in mind that Apple's servers may be experiencing a heavy load right now.  They just added about 19 countries to the service and I've read a few accounts this morning that suggests all's not running perfectly right now.

  • How to output the outline parent-child relationship using a report script?

    I'd like to extract the outline's dimension members with it's parent-child relationship using a report script. Anybody can provide a sample script? Thanks.
    Example:
    DimensionX
    -----MemberX
    ----------ChildX
    Output:
    Dimension X MemberX
    MemberX ChildX
    Edited by: obelisk on Jan 11, 2010 5:16 PM

    Sorry a report script won't do it. You have two options
    1. Use at Essbase Outline API to walk the outline and get it for you
    2. Use the Outline extractor available from Applied Olap (it is a free download). It can be run interactively of as a bat file.
    Frankly, I would rather use 2 since I don't have to code it myself

  • Implement Parent child Relationship using SSIS

    Could you please suggest the best way which should not impact the performance of data loading, to implement parent child relationship using SSIS.
    We have a flat file RECON80.dat which need to be loaded into the database into 2 tables.
    Parent Table JobMaster  and Child Table RECON80 .
    In the flat file we have a fields Jobphase which will get inserted in JobMaster table and the remaning details like EIN, DATE etc will get inserted in RECON80 table.
    The Parent table JobMaster has JobId as an identity column which is the Pk of the table and it will get inserted into the child table i.e RECON80 JobId as FK of the child tale.
    Please suggest the best possible way to achieve it.

    Hi SubhadipRoy, I think you might need to create a procedure for this task.
    Because in SSIS, we cannot directly get the Identity ID.
    As my experience, there were serveral ways to do. But all are workaround.
    So, My suggestion is.
    In SSIS:
    1. Create a DataFlow
    2. Drag a flat source and load the data from dat file
    3. Create a procedure which receive the parameter from your data of each row.
    4. Drag a OLEDBCommand to the Panel and Invoke the Procedure also don't forget to pass all your rows to the Procedure in OLEDBCommand control.
    5. In Procedure, after insert 1 row you could get the Identity ID throuth SCOPE_IDENTITY()
    That's it, hope it works for you even this may not the efficency way.
    Althrough, I expect someone can give the best way if there is.

  • I was on facebook and deleted an icon by using the right-click menu but then all my pictures and all profile pictures, could no longer be seen. I was able to view them in Explorer so this is something I did in Firefox. How can I unblock a site?'

    '''I was on facebook and deleted an icon by using the right-click menu but then all my pictures and all profile pictures, could no longer be seen. I was able to view them in Explorer so this is something I did in Firefox. How can I unblock a site?'''

    If you select that right-click context menu entry then you block all images from that domain and not one specific image, so do not use that.
    * Check the exceptions in Tools > Options > Content: Load Images > Exceptions (e.g. sphotos.ak.fbcdn.net)
    You can use these steps to check if images are blocked:
    * Open the web page that has the images missing in a browser tab.
    * Click the website favicon ([[Site Identity Button]]) on the left end of the location bar.
    * Click the "More Information" button to open the "Page Info" window with the Security tab selected (also accessible via "Tools > Page Info").
    * Go to the <i>Media</i> tab of the "Tools > Page Info" window.
    * Select the first image link and scroll down through the list with the Down arrow key.
    * If an image in the list is grayed and there is a check-mark in the box "<i>Block Images from...</i>" then remove that mark to unblock the images from that domain.

  • How to delete a single message using iOS 8

    how can I delete a single message in iOS 8

    Hey Geezer4765,
    I have an article for you that can explain how to accomplish this:
    Manage conversations - iPhone
    http://help.apple.com/iphone/8/#/iphf2d85437
    Delete a message. Touch and hold a message or attachment, tap More, select additional items if desired, then tap .
    Delete a conversation. In the Messages list, swipe the conversation to the left, then tap Delete.
    Thanks for using the Apple Support Communities. Have a good one!
    -Braden

  • How to delete Hyperion Planning member using ODI

    Hi All,
    Anyone know how to delete Hyperion Planning member using ODI? And how to update account type on Hyperion Planning Using ODI?
    e.g.:
    I have a member with account type Saved Assumption, and I need to change to Revenue, but it cannot change. But if I change to Expense, it can. So what's wrong with the mapping?
    This is my csv file for update a member on Hyperion Planning.
    Parent,Account,Default Alias,Operation,Data Storage,Two Pass Calculation,Account Type,Time Balance,Skip Value,Data Type,Exchange Rate Type,Use 445,Variance Reporting,Source Plan Type,Aggregation,Member Formula
    Account,Statistics,,Update,,,,,,,,,,,,
    Account,Meal,,Update,Store,,Expense,,,,,,,,,
    Account,Test1,,Update,Never Share,,Saved Assumption,Average,None,Non-currency,none,,,Consol,~,
    Account,Test2,,Update,Never Share,,Revenue,Average,None,Non-currency,none,,,Consol,~,
    Account,Test3,,Update,Never Share,,Saved Assumption,Average,None,Non-currency,none,,,Consol,~,
    Thanks in advance.
    Regards,
    Sumardi
    Edited by: Sumardi Wijaya on Mar 31, 2009 10:57 PM

    Hi,
    To delete a member you use the Operation column, the following values can be used.
    Update – This is the default and is used if not populated, it Add, updates, moves the member being loaded.
    Delete Level 0 - Deletes the member being loaded if it has no children
    Delete Idescendants –Deletes the member being loaded and all of its descendants.
    Delete Descendants –Deletes the descendants of the member being loaded, but does not delete the member itself.
    Does the member you trying to change to Revenue have a variance reporting set to "Expense" as it will need to be set to "Non Expense"
    Also in your interface you can add logging options in the IKM, this maybe will give a clearer indication where your problem lies.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Unalbe to delete lock entry table using Dequeue function module

    Friends,
    I display a base ALV list with custom app. tool bar. When i click on a button, i submit another report which updates a z-table for that corresponding row. I create a lock object for this entry before submitting the report. After updating the table, I try to delete the lock object using dequeue function module in the called report, but though the subrc is 0, the lock entry is not getting deleted in SM12. The called report, after dequeue, again submits report 1 (the caller). So, when i try to do some operation for the same row which I first selected, it triggers Foreign_lock exception. When I completely go out of the base list, only then the entry is deleted. Can anyone tell me the reason? I have tried with parameters _SCOPE & _SYNCHRON, but same result.
    Regards,
    Sathish R

    Hi,
    The triggering of the dequeue is not in the proper position as it need to be placed.
    Thats the only problem as per u have described the issue.
    Place the deque as soon as the report is return the value.
    I hope it may work ur issue.

Maybe you are looking for

  • Merge to HDR Pro from LR5. After applying preset and during conversion of file, Iget an error message "Adobe Photoshop CC 2014 has stopped working" and closing PS

    In LR5 i do: Merge to HDR Pro. After I apply my preset and PS attempts to convert HDR file, I get an error message from PS: "Adobe Photoshop CC 2014 has stopped working". Then PS Closes. My source files are 5 NEF files of 28 MB. I select 16-bit, I al

  • Can't figure out URL's

    I am having difficulty understanding something... I set up a small application using Spring MVC. Here is what's in web.xml:       <servlet>             <servlet-name>MySpringServlet</servlet-name>             <servlet-class>org.springframework.web.se

  • Having trouble configuring xorg 1.6

    Hi all, I've started installing Arch today on my Laptop, using both the official install guide & beginners guide. However after installing the xf86-video-ati, and attempting to configure my xorg.conf file I have run into problems. No errors are displ

  • Help will not search for search term

    CS6, Windows XP. When accessing online help for CS6 applications, InDesign for example, InDesign Help / Help and Tutorials screen comes up. There is a box, Adobe Community Help with space for a search term and magnifying glass icon and the icon of th

  • Problems opening TIF larger than 500MB

    Hi all, I'm runing into some problems trying to open a TIF that is 600MB. I get the following error message: Could not complete the Open command because there is not enough memory (RAM). We are using Photoshop CS5 Extended 12.0.4 x64 on Mac OS X vers