Change Employee team to another using DI

Hi There,
I have a request from customer are they want to change Employee from team to another, i'm using SAP B1 8.81 and i was try to find all property in Object Team, i just founnd property to add employee to Team by
            Dim RetVal As Long
            Dim oTeam As SAPbobsCOM.Teams
            oTeam = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oTeams)
            oTeam.GetByKey(2)
            oTeam.TeamMembers.EmployeeID = EmpID
            oTeam.TeamMembers.RoleInTeam = SAPbobsCOM.BoRoleInTeam.borit_Member
            oTeam.TeamMembers.Add()
            oTeam.Update()
Any suggestion to remove employee from old team and move them another team by using DI, Pls help
Thanks and Best Regard.

Hi,
Please repost above discussion in http://scn.sap.com/community/business-one-sdk to get quick response.
Close this thread by marking helpful answer.
Thanks & Regards,
Nagarajan

Similar Messages

  • How do i change my iPhone to another iPhone using the same sim but keep all my photos ands everything?

    How do i change my iphone to another iphone using the same sim but keep all my photos and everything?

    Old Phone to New Phone
    http://support.apple.com/kb/HT2109

  • What can I do if I have a new iTunes card, but still money left on an iTunes card from another country? The money I have left isn't enough to buy anything and iTunes won't let me change country until I have used all the money!

    What can I do if I have got a new iTunes card, but still have got money left on an iTunes card from another country?
    The money I have got left isn't enough to buy anything, but iTunes won't let me change country until I have used all the money!
    Please help!!!!

    Contact iTunes Customer Service and request assistance...
    Apple - Support - iTunes Store - Contact Us

  • How to change employee responsible for open campaigns.

    Hi,
    I want to find out open campaigns and marketing attributes based on partner function i.e., employee responsible and these open documents I need assign to another employee responsible. Which function module I need to read the details and which fm is to change employee responsible.  Please guide me which fm i need to use how I can change to another employee responsible partner function.
    divya

    Hi Divya,
    If you are comfortable with the bol queries, you can execute the bol query services to get relevant data..
    here is the sample code to get marketing attributes for a bp.. here you can read additonal attribute "partner function" to filter the data as per your req.
    Marketing Attributes
      DATA : lr_mktattr_coll TYPE REF TO if_bol_entity_col,
             lt_mktattr TYPE TABLE OF crmt_mktbp_attribute,
             ls_mktattr TYPE crmt_mktbp_attribute.
      IF lr_buil_entity IS BOUND.
        TRY.
            CALL METHOD lr_buil_entity->get_related_entities
              EXPORTING
                iv_relation_name = 'BuilMktAttributeRel'
              RECEIVING
                rv_result        = lr_mktattr_coll.
          CATCH cx_crm_genil_model_error .
        ENDTRY.
        CLEAR lr_entity.
        IF lr_mktattr_coll IS BOUND AND lr_mktattr_coll->size( ) GT 0.
          lr_entity ?= lr_mktattr_coll->get_first( ).
          WHILE lr_entity IS BOUND.
            CALL METHOD lr_entity->get_properties
              IMPORTING
                es_attributes = ls_mktattr.
            IF ls_mktattr IS NOT INITIAL.
              APPEND ls_mktattr  TO lt_mktattr .
            ENDIF.
            lr_entity ?= lr_mktattr_coll->get_next( ).
          ENDWHILE.
        ENDIF.
      ENDIF.

  • I want to change my password, somebody is using my ID,i follow the rules but unfortunatly i forgot the answer of safety question what can i do

    i want to change my password, somebody is using my ID,i follow the rules but unfortunatly i forgot the answer of safety question what can i do?
    i recieve a mail form apple team showing reset password link but its not opening

    I rang Apple and they could noy help me.
    They are often pretty impatient with these questions.
    You will need to contact iTunes Support for this. Be prepared to supply the answers that you do know, plus some additional personal information that only you will know.
    Start here: https://expresslane.apple.com/
    Click iTunes > iTunes Store > Other iTunes topics and questions. Eventually you get to a point at which you can compose a thoughtfully worded email. Apple will respond via email within a day. Be sure to check your spam folder for this reply.
    Normal business hours apply, so you may have to wait until Monday. They will ask you for more personal information, and then you will have to wait for another reply which will provide instructions for resetting your password as well as answers to the security questions. Good luck!

  • How to change one iView to another in portal page by clicking the third one

    Hi all!
    I have created four iViews: two speedometers with web application designer and two iViews with visual composer. I added the speedometers and a visual composer iView #1 to a portal page (default view). The requirement is that by clicking the speedometer #2, the visual composer iView #2 would replace visual composer iView #1 on the portal page. If the user then would select the speedometer #1 again by clicking it, visual composer iView #2 would replace #1 again and so on.
    I have read article http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50b65a5d-f397-2910-a78a-f5544f21c33b?QuickLink=index&overridelayout=true, but it is more about filtering VC iView values with BI web items. I don't need to filter anything, just to change one iView to another in a portal view by clicking a third one.
    I have thought of placing two VC iView to a same portal page area and defining one of the to be visible and another hidden (by clicking speedometers these properties would change), but I haven't found the way how that could be done in portal. Is there a way to define some OnClick-method to change visibility parameters or url-address of another iView?
    One solution might be¨on the other hand to transfer any value to VC by clicking a speedometer and to change the visibility of the VC iViews according to that value (the speedometer #1 should in that case transfer other value to VC than speedometer #2). I don't know if that is possible with speedometers - you can't reference any characteristics or variables with it.
    If you have an idea, what would be the best way to accomplish this requirement, I would be very glad to hear about it! We are in VC 7.0.
    Points garanteed!
    Regards
    Sari

    Hi,
    In the portal, create a page and place the iView having the three input fields on top. Place the second iView below. Keep differing the second iView for every page. In this way you can make the iView with 3 input fields only in the desired pages. You can use EPCF to invoke / navigate to another iView.
    Regards
    Srinivasan T

  • Updated my iphone4 with ios6.1 software. App store is not working. Tried rebooting, restoring, changing date, signing with another apple id etc. but no luck. can someone please help?

    Updated my iphone4 with ios6.1 software. App store is not working. Tried rebooting, restoring, changing date, signing with another apple id etc. but no luck. can someone please help?

    I guess I will wrap this up. I have abandoned iPhoto and viewing my Photo Streams using it and moved to Adobe products (Bridge + PS). So that's that.

  • Change employee reconciliation account

    Dear Sapgurus,
    There is a need to change one employees Reconciliation account from 21100000  to 21101000,  Kindly understand 21100000 is Vendor Reconciliation account and 21101000 is employee reconciliation account.   By anychance my Client was using 21100000 in one employees master data,  now I want to change it from 21100000 to 21101000.
    In FK02/XK02  recon account field is greyed not allowing to change though there is no balance in Employees account
    Please SAPGurus  give me the complete process of doing this, the answers will be rewarded.
    thanks

    Dear SAP Consultant
    If you want to change employee reconciliation account from vendor master data and it is shown grayed you can use transaction in SPRO -> Financial accounting->Accounts Receivable and Accounts Payable ->Vendor Accounts->Master Data -> Preparations for Creating Vendor Master Data ->Define Screen Layout per Activity (Vendors)
    And change the status of reconciliation account to be ready for input (Optional entry). then try to use fk02 or xk02 as you change in the previous screen.
    I hope that will help you
    Thanks

  • I try to open iphoto and it comes up with You have made changes to your photo library using a newer version of iPhoto. Please quit and use the latest version of iPhoto. I have downloaded photo manager and it's telling me to update but it wont update...

    I try to open iphoto and it comes up with You have made changes to your photo library using a newer version of iPhoto. Please quit and use the latest version of iPhoto. I have downloaded photo manager and it's telling me to update but it wont update...

    iPhoto is Apple's included program to manage your photo's and pictures.
    It receives updates over time with Software updates and new machine or iLife purchases.
    When iPhoto gets updated or a newer version is used, it may alter iPhoto support files, but newer iPhoto versions usually always compatible with older files which it then updates.
    If you used a newer iPhoto on your iPhoto support files, then they got altered to the newer format, older iPhoto versions can't read the older format.
    Somewhere along the line you somehow got a older version of iPhoto on your computer, you need to fine the newer version of iPhoto (not this photo manager, sounds like another program)
    Or somewhere along the line you used a newer iPhoto version (like on another Mac) and it altered the iPhoto support files on your older version of iPhoto.
    So the key here is to find the newest version of iPhoto and use that to access your iPhoto support files.
    If you didn't access your iPhoto support files from another Mac, then you should have the newer iPhoto version on your computer.
    Once you find it, and get it in the Dock, you should remove the older iPhoto version from your computer to prevent this from happening again.
    Lastly, if the newer version of iPhoto is somehow gone off your computer, you should be able to get a copy off the latest OS X install disk or iLife using a free program called Pacifist.
    http://www.charlessoft.com/
    Then you need to check for updates for iPhoto in the program itself, the current version is 9.1.2

  • HT1918 How do i change my username to another when they both have accts with itunes one is on my computer and one is on my ipad? Two different e-mail address that are both mine....so how do i make one acct for both?

    How do i change my username to another when they both have accts with itunes one is on my computer and one is on my ipad? Two different e-mail address that are both mine....so how do i make one acct for both?

    If you selected open a new Apple ID account, go back a step and enter use existing Apple ID.
    You will have to set up a separate iCloud account or your iPads will mirror each other.

  • Problem in passing data from 1 screen to another using BBP_DOC_CHANGE_BADI.

    Hi Experts,
    i am new to the SRM, i am facing problem in passing data from one screen to another.
    my requirement is that when we select one shopping cart and press the PROPOSE SOURCES OF SUPPLY button, we will fetch all the contracts that are attached to the shopping cart.
    we have implemented a BADI implementation of BBP_SOS_BADI (method BBP_SOS_CHECK) for passing some changed values to the contracts of the shopping cart into the popup screen that is displayed when we press PROPOSE SOURCES OF SUPPLY button and when we select any contract and press ASSIGN ONLY button in the popup screen the badi BBP_DOC_CHANGE_BADI is triggered.
    i have implemented another BADI implementation of BBP_DOC_CHANGE_BADI for fetching the selected contract and pass the values to another screen, but the problem is that when we select one contract and press the assign only button we are fetching the wrong contract number ( that is in the BADI method BB_SC_CHANGE parameter IT_ITEM we are fetching the wrong contract), if we again do the same procedure for the second time we are getting the correct contract.
    i am unable to understand why we are getting the wrong contract in the first time( that is we are getting contract other than the selected one).
    as per my understanding i think when we are passing data to the popup screen using BBP_DOC_CHANGE_BADI we are not updating the shopping cart with the changed data.
    can anyone tell me how we can update the SHOPPING CART with the changed contracts data, i have used BBP_PD_SC_UPDATE, BBP_PD_SC_SAVE and other shopping cart FM but nothing is happening.
    Thanks
    Tanveer

    Hello,
    What version of SRM are you on?  Have you check for OSS Notes?  I have had trouble with BBP_DOC_CHANGE_BADI but it was because of other issues.  The BADI works pretty well and it is called almost every time something happens to the shopping cart.
    I have noticed that sometimes that values are not changed til the second calling of the BADI.  I have yet understand why but I think it has to do with prompt processing. Usually, we train our requisitioners to click the 'Check'  button to flush things out.
    I don't know if I was helpful.... another thought.... could there be an error caught by BBP_DOC_CHECK_BADI that is preventing change in BBP_DOC_CHANGE_BADI?
    Regards, Dean.

  • When opening the latest version of Iphoto an error message appears that says; You can't open your current iphoto library using this version of Iphoto. You have made changes to your photo library using a newer version of iphoto. Please quit and use the lat

    When opening the version of Iphoto i have an error message appears that says; You can't open your current iphoto library using this version of Iphoto. You have made changes to your photo library using a newer version of iphoto. Please quit and use the latest version of iphoto. What? If I can't open the current library using the latest version of iphoto, and I am asked to make changes the the newest version!!! I'm asked to run in circles chasing my tail...I had a new hard drive installed about 6 weeks ago. I am running MAC OS 10.5.8

    What version of iPhoto do you have? If you're on 10.5 then you're not running the latest iPhoto
    Any chance that the library was opened with another version?
    Simplest solution will be to just restore from your back up.

  • Is it possible to monitor State change of a .CSV file using powershell scripting ?

    Hi All,
    I just would like to know Is it possible to monitor State change of a .CSV file using powershell scripting ? We have SCOM tool which has that capability but there are some drawbacks in that for which we are not able to utilise that. So i would like
    to know is this possible using powershell.
    So if there is any number above 303 in the .CSV file then i need a email alert / notification for the same.
    Gautam.75801

    Hi Jrv,
    Thank you very much. I modified the above and it worked.
    Import-Csv C:\SCOM_Tasks\GCC2010Capacitymanagement\CapacityMgntData.csv | ?{$_.Mailboxes -gt 303} | Export-csv -path C:\SCOM_Tasks\Mbx_Above303.csv;
    Send-MailMessage -Attachments "C:\SCOM_Tasks\Mbx_Above303.csv" -To “[email protected]" -From “abc@xyz" -SMTPServer [email protected] -Subject “Mailboxex are above 303 in Exchange databases” -Body “Mailboxex are above 303 in Exchange databases" 
    Mailboxex - is the line which i want to monitor if the values there are above 303. And it will extract the lines with all above 303 to another CSV file and 2nd is a mail script to email me the same with the attachment of the 2nd extract.
    Gautam.75801

  • Change Employee Responsible based on user who last changed.

    CRM 5.0
    Partner procedure has IC Agent & Employee Responsible. Both use partner access sequence 0008 which brings in the person that created the document.
    We would like to automatically change the Employee Responsible based on the last employee BP that changed the document.  This would be useful in warm transfers via CTI instead of the user manually changing the record.  The IC Agent can always be the person that created the record.
    I don't see any actions that can set this, is there any standard functionality to do what I want? or is this an enhancement.

    Try this BadI, COM_PARTNER_BADI.
    Cheers,
    cady.

  • Change employee sub group code in configuration

    Hello Fellows,
    I have requirement to change employee sub group code in configuration. For example there are existing code starting AA text1, AB text2 and so on. I want to change it with 10 text1, 11 text 2.  System is allowing to change text only (i.e text1,text2). is there any way to change code (i.e AA,AB) ?
    Regards,
    Muhammad Umer

    Hi ,
    You can use t-code 'EC12' to which suits your requirement.
    In your case if you copy from AA to 10, and AB to 11 all ESG group related tables get updated.
    Later you can change the text as well
    After copying ,,Employees ESG wherever maintained will not update automatically.
    You can make use of Org reassignment to change ESG for employees with LSMW for PA40.
    If any PCR or Customization like User exit/BAdi,Custom tables if any where the old (AA) was maintained you need to replace/delimit with new one.
    use the copy button as shown in below screen shot.
    regards,
    Narendra

Maybe you are looking for

  • I began to down loading most recent iPhoto update but get an error message and it won't finish the update. So I am not able to open my photo library. What do I do?

    I updated my iMac to maverick   When I did the up date for iPhoto it give me a error an will not complete the update, now I can't open iPhoto and cannot access  my library

  • 5 messages always in Adapter Engine

    Hi All, There is 5 messages' status is Delivering. I have tried to resend it but failure. How to handle the Delivering messages ? need to restar XI J2EE Engine?

  • Uninstalling things

    I have recently stopped my navigator and I want to get it off my phone.  I have a storm 1 phone and what i'm wondering is since it is similar to a computer in some ways, do I need to uninstall the navigator (and other programs) to get rid of it or ju

  • Pdf conversion limitation in Adobe X

    Is there option to use an earlier version? After downloading Adobe X (described as "free") found that it only permits 5 pdf conversions.  $9.99 per month thereafter. My usage is limited but could exceed 5 conversions. While Adobe X is great, I don't

  • SAP Start/Stop

    Hello All,                We are using HP-UNIX & Oracle 10.2 for our ECC 6.0 System.Our Database team has scheduled offline backup daily at 8 pm but we stop/start ECC 6.0 only on every Tuesday by crontab Scripts to stop/restart sap system before/afte