PSI Bulk Project update on Custom Field lookup tables.

Using PSI Is it possible to update project custom filed which has a lookup table. I tried but it throws the following exception
An unhandled exception of type 'System.Web.Services.Protocols.SoapException' occurred in System.Web.Services.dll
Additional information: ProjectServerError(s) LastError=CICOCheckedOutInOtherSession Instructions: Pass this into PSClientError constructor to access all error information
Any Idea on this.
VIKRAM

Hello,
If you are trying to update the lookup table values, see this PowerShell example:
https://gallery.technet.microsoft.com/Update-Server-Lookup-table-bb1ae14f
Paul
Paul Mather | Twitter |
http://pwmather.wordpress.com | CPS |
MVP | Downloads

Similar Messages

  • Updating custom field in table EKKO within user exit when PO is saved

    I am trying to update a custom field in table EKKO when a PO is saved.  I am using FM EXIT_SAPMM06E_013, within enhancement MM06E005.  Since EKKO is not a table that can be updated with this user exit, I am using a technic that I read about on SDN where I assign a field symbol to the calling program variable and then am able to access data within EKKO table.  But when I pass this data back into the field symbol, for some reason this field is not getting saved when the PO is saved.  In debug mode, it looks like this field is getting updated, but when I look in the table after the PO is saved, it is not there.  My code sample is below.  What I am doing wrong?
    data:
      CHAR(50) VALUE '(SAPLMEPO)EKKO-ZHDRCSTCENTER',
      g_zhdrcstcenter like ekko-zhdrcstcenter,
      FIELD-SYMBOLS <F1> type any.
    if i_ekko-ekorg = '5401'.
      ASSIGN (char) to <F1>.
      g_zhdrcstcenter = <F1>.
      move '0000113322' to g_zhdrcstcenter.
      <F1> = g_zhdrcstcenter.
    endif.
    Thanks!
    Sarah Smyth.

    Firstly, have you investigated using EXIT_SAPMM06E_008 to set any custom fields you have added in the EKKO_CI / CI_EKKODB structure?.. that might work more easily.
    In terms of doing an assign back into a calling program's memory, it can work but it's probably worth setting a break point in your code then stepping through watching the values in EKKO - sometimes you can find subsequent code that re-writes an earlier copy of values back into the structure, thereby preventing you doing your change...  SAP does warn this method is for "internal use".  Also check in your debugger that it's SAPLMEPO and not SAPMM06E you need.

  • BADI or User exit  for FB50 to update custom field in table COEP

    Hi all,
    i have added one custom field in table COEP through include CI_COBL .
    when i do posting through sales order(VA02) or purchase order(ME22n) that custom fields in COEP get updated with controlling document
    and through BADI AC_DOCUMENT i m updating that custom field in COEP.
    but when i do manual posting through FB50 controlling document is generated in COEP but i m not able to update that custom field
    because in this case BADI AC_DOCUMENT  is not get triggered.
    is there any BADI or User exit or enhancement spot for FB50 through which i can update that custom field in table COEP

    Hi Sandy,
    Thanks for u r reply,
    RFAVIS01 is not getting triggered through FB50
    and F180A001 ( EXIT_SAPLF048_001) is getting triggered but it doesnt contain COEP field in its parameter
    import - F180A_DOC_HEAD_TAB
                 F180A_DOC_ITEM_TAB
    changing - RELATION_TAB

  • How to update a custom field of MARC table using BAPI_MATERIAL_SAVEREPLICA

    Hi,
    I want to update a custom field (Appended field) of MARC table using  BAPI_MATERIAL_SAVEREPLICA. Please help me in this issue. I cannot use BAPI_MATERIAL_SAVEDATA as this updated the MARC table record by record. I have to update bulk records at a time.
    Thanks
    Rahul.

    Hi,
    Use the Documentation given for struture in BAPI docuemntation...
    For loading data into custom fields of MARC use the structure - BAPI_TE_MARC.
    First, structures BAPI_TE_<NAME> (<NAME> = MARA, MARC, MARD, MBEW, MLGN, MLGT, MVKE, MARM, MAKT) and the appropriate check structures BAPI_TE_<NAME> (<NAME> = MARAX, for example) have to be extended by the customer to include the required fields. The structures that are delivered as standard only contain the relevant key fields. When new fields are added to this structure, you should ensure that a field has the same name as the field in the database table. Furthermore, the fields in the structures BAPI_TE_<NAME> can only be CHARACTER fields. Data element BAPIUPDATE is to be used for the fields in the check structure (exception to this: key fields.)
    Parameters EXTENSIONIN and EXTENSIONINX are used for transferring data to the method. Field STRUCTURE contains the name of the structure (for example, BAPI_TE_MARA or BAPI_TE_MARAX). This names is used to identify the work area (for example,  WA_BAPI_TE_MARA or WA_BAPI_TE_MARAX) to which the data is transferred. The remaining fields in parameters EXTENSIONIN or EXTENSIONINX contain data for the key fields (for example, the material number) and the data for customer-specific fields. The number of characters reserved in both parameters for the contents of the customer-specific fields must match the number of characters for the relevant field in the work area. If the number of required characters is less, the remaining characters are left blank. Only when all characters have been filled can the contact for an additional field be transferred. Bear in mind that only data for which an appropriate indicator has been set in the work area can be updated to the database.
    Regards,
    Bhargava

  • How to find Project Level Text Custom Fields in Project Server 2010 databases?

    Hello,
    We are using Project Server 2010 SP2 in SEM Mode. We are planning to use Project Level Local Custom fields and we want to pull them in reports using SSRS, so I am wondering which table these "Local" (non enterprise) custom fields are stored in
    database.
    Any suggestions?
    Regards,
    Kishore Dodda
    Kishore Dodda

    Hi,
    Please see this
    similar thread about reading local custom fields though the PSI.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • How to update a custom field in declarative workflow with VS 2013

    Hello,
    How to update a custom field in declarative workflow with VS 2013
    any help would be appreciated!!!!!
    Thanks regards, Vignesh.

    Dear all,
    I'm using 4.6C right now, i already implement BADI MEREQ001, but this only valid
    for creating PR via ME51N.
    I found an EXIT_SAPLEBND_001 and tried to implement it,
    but i got another difficulties since how i transfer CEBAN structure to EBAN structure.
    thanks very much.
    Regards,
    Billy

  • How to update the Customer field value of PO Item under the Delivery Address Tab?

    Hi Friends,
         i tried to update the Customer field Using Bapi_PO_change.I passed the PO Order no,POADDRDELIVERY data with Item no,Adrees no,Customer no.But i am getting no data changed message from return table.I attached the screen shots.So please suggest me the helpful information for resoving this issue.
    Thanks,
    Dinesh

    Thank you friends,
                My Problem was resolved.In my case i have passed the customer value in BAPI_PO_CHANGE POITEM Table with updated customer value.
    Thanks,
    Dinesh

  • Update Equipment Custom fields

    Hi Experts,
    I have a custom fields ZZOUTDT(Start date) in table EQUI.
    I want to update this custom field for Equipment.
    Is there any Bapi where I can pass this field value to update in Equipment?
    Please suggets.
    Helpful answers will be rewarded.
    Thanks
    Anukool

    hi,
    generally any standard programa will not contain the custom fields.
    did u create tht field in any transaction.
    if not then u have to write a program to update tht table.
    or u identify the exits which trigger for that table and try to populate that fields using that exit.

  • Updating a custom field in ItemCheckingIn event of pages library of publishing portal.

    I have Pages Library of publishing web. In this pages library I have a content type that has a  few custom fields.
    When ever a page is created and checked in in this library I want to send out  an update email to users.  The function that sends the email returns an Id to track the mails sent.
    I want to store this id to the one of the custom  fields of the content type attached to this pages library. 
    If I use item checkingIn event then list item is available but when i update it gives  error probably due to the fact that in synchronous item the item is not yet created.
    If i use  CheckedIn  event then it executes after the file is checked in , in that case it  gives error asking me to check  out the file first and the update the custom field.
    Please  suggest the best way to update a  field in document library in synchronous event handlers or in asynchronous event handlers in the simplest of ways.
    I do not want to check out the file in asynchronous event programatically for just one field and then re check it in.

     
    Hi,
    According to your post, my understanding is that you want to update list item in ItemCheckedIn method in Event Receiver.
    The following code snippet for your reference:
    /// <summary>
    /// List Item Events
    /// </summary>
    public class EventReceiver1 : SPItemEventReceiver
    /// <summary>
    /// An item was checked in.
    /// </summary>
    public override void ItemCheckedIn(SPItemEventProperties properties)
    SPListItem item = properties.ListItem;
    item["Title"] = "Test1";
    item.Update();
    If the issue still exists, I suggest you debug your code or provide your code for further research.
    http://sharepoint-kings.blogspot.com/2013/02/debugging-event-receivers-in-sharepoint.html
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • Updating Custom field in Table BUT000 using BAPI 'BAPI_ISUPARTNER_CHANGE'.

    Hi,
    I have added a new custom field in table BUT000. Now i want to update that field with 'X' and i have used EXTENSIONIN parameter in the BAPI 'BAPI_ISUPARTNER_CHANGE'. i have populated the field name(Custom field name) and value 'X' to that structure and passed to BAPI. But that field value was not getting updated. So can any one help me how to resolve this issue.
    Thanks,
    Sushma

    Hi Ravi,
    Thanks for your response.
    I have passed the Structure name  in parameter EXTENSIONIN, but still i am facing the same problem.
    Thanks,
    Sushma

  • Need to create Enterprise field, LookUp Table and PDPs programmatically

    Hi,
    Please suggest how i can create Enterprise field, LookUp Table and PDPs, Workflow Stages, Phases programmatically for Project Server 2013. Any resource / blog link will be really be helpful.
    I searched google but most of them are for PS 2010
    Regards,
    Ankit G

    By Enterprise field i am assuming you mean Custom Field.
    The Google/Bing results for PS 2010 is referring to the PSI model. This model can still be used for Project Server 2013 OnPremise installations, but not for Project Online.
    The question is how do you want to create them/which technology do you want to use. you can program Agains the Project server through the PSI API, the CSOM API, the REST interface, Javascript and VBA code.
    I am gussing you want to create an application that uses C# therefore i will suggest to use the PSI or CSOM API.
    PSI is the old model, but is still supported in PS2013.
    The CSOM is the new model and only Works in PS2013 and comming versions.
    A great reference you should download is the Project Server 2013 SDK:
    http://www.microsoft.com/en-us/download/details.aspx?id=30435
    I am guessing you are new to Project Server programming so i will suggest you go with PSI as it has the most documentation.
    PSI:
    Getting started:
    http://msdn.microsoft.com/en-us/library/office/ff843379(v=office.14).aspx
    http://msdn.microsoft.com/en-us/library/office/ee767707(v=office.15).aspx
    Create Custom field:
    http://msdn.microsoft.com/en-us/library/office/websvccustomfields.customfielddataset.customfieldsdatatable.newcustomfieldsrow_di_pj14mref(v=office.15).aspx
    http://msdn.microsoft.com/en-us/library/office/gg217970.aspx
    Setting custom field values:
    http://blogs.msdn.com/b/brismith/archive/2007/12/06/setting-custom-field-values-using-the-psi.aspx
    http://msdn.microsoft.com/en-US/library/office/microsoft.office.project.server.library.customfield_di_pj14mref
    Lookuptables are the same procedure:
    http://msdn.microsoft.com/en-us/library/office/websvclookuptable_di_pj14mref(v=office.15).aspx
    Workflow phases/stages:
    http://msdn.microsoft.com/en-us/library/office/websvcworkflow_di_pj14mref(v=office.15).aspx
    PDP's:
    PDP's have to be created through the SharePoint interface as Web Part Pages. I havn't tried this.
    I think you want to do this in a backup/restore scenario. In this case you might consider the free tool Playbooks:
    http://technet.microsoft.com/en-us/library/gg128952(v=office.14).aspx

  • Adding custom fields to table view assignment block

    Hi All,
      I want to add two news fields to 'Service Contract Item Level' in 'Object List' assignment block. How can i add these two custom fields to table view assignment block using AET. I have tried to add new fields using AET but there is no business object supports to my requirement.
    Thanks & Regards
    Nitish

    Hi Nitish,
    As naveen sadid use Cutomer_i object . I guess it will be more appropriate.
    And following link will be helpful for AET creation.
    CRM 7.0 How to --4 Adding Custom Fields With The New Application Enhancement Tool (AET)
    Regards
    Loks

  • Creating Change Document for Custom Field in Table PROJ

    Hi,
    We have a few Custom Fields in Table PROJ.
    What needs to be done so that every time a particular custom field  is changed, change document in table CDHDR and CDPOS are created.
    Regards,
    Tarun Bahal

    Hi Tarun,
    Please refer [Link1|https://help.sap.com/saphelp_nwmobile71/helpdata/en/2a/fa018f493111d182b70000e829fbfe/content.htm] & [Link2|http://help.sap.com/saphelp_erp2005/helpdata/en/db/7a2a40ce93185de10000000a1550b0/content.htm]
    Hope this helps!
    Regards
    Shital

  • Extracting MS Project Custom Field Lookup "Description" data

    I'm using MS Project 2010 Professional and
    I have created a Custom Field which is called "Responsible Person" which is linked to Text2 field
    On it Under Custom Attributes> Lookup I have  Under "Value" column ---->Responsible Person Names and Under "Description" Column ----> I have entered email addresses for each person.
    For each project tasks , under Text2 I have selected from the dropdown the Responsible person Name ( which is the Value Column)
    My Question is there a way to read using VBA, the Lookup "Description" column data which i have entered as email address.
    If some one have done it in MS Project 2010 using VBA please guide me how to do this.
    Thanks a lot.

    Hi,
    I have never done before for a text field. But the following works for OutlineCodes, I renamed OutlineCode2 a "xx". Perhaps you can also use an Outlinecode? Or can use this a basis to get it work with text fields.
    Sub ReadDescription()
    Dim oc As OutlineCode
    Dim lt As LookupTable
    Dim lte As LookupTableEntry
    Dim tsk As Task
    Set oc = ActiveProject.OutlineCodes("xx")
    Set lt = oc.LookupTable
    For Each tsk In ActiveProject.Tasks
    If Not tsk Is Nothing Then
    For i = 1 To lt.Count
    Set lte = lt.Item(i)
    If lte.Name = tsk.GetField(Application.FieldNameToFieldConstant("xx", pjTask)) Then
    tsk.Text30 = lte.Description
    End If
    Next
    End If
    Next
    End Sub
    Hope that helps!
    Barbara
    To increase the value of this forum, please mark the replies that helped to solve your issue as answer. If you find answers to questions from other forum participants to be helpful, please mark them as helpful. Your participation will help others to find
    an appropriate solution faster. Thanks for your support!

  • Bulk Edit for Metadata Group, Field, Lookup, Responses and Subscriptions

    Hello,
    Has anyone been able to bulk edit custom configurations in FCSrv Administration window (of course not IN administration window, but as it was editing there).
    In other words: Let say that I have a custom configuration of Metadata Groups, Fields, Lookups, Subscriptions and Responses and I want to implement that in lots of FCSrv systems.
    Another situation: I`ll upgrade my hardware and want to re-install FCSrv but I don`t want to loose all my configurations.
    I`ll have to manually input each configuration? It`s possible to update just a file(s)?
    I know that the backup from FCsvr does this, but its used for DB Backup and not Preferences. I do not want to restore or backup the DB.
    Replacing this files (or some of them): com.apple.FinalCutServer.profile.plist and postgresql.conf do the trick?
    Regards

    As is usual with the world of programing the answer turned out to be ridiculously simple! In the Elements.xml file for the button the javascript that launches the dialog with SP.UI.ModalDialog.showModalDialog was always using the top level site to get the
    custom ASPX page. Doh! Adding the _spPageContextInfo.webServerRelativeUrl in front of the path to my custom ASPX page did the trick. None of this was noticeable to me since the code was loading fine in debugger and I could see that it had the correct SPWeb
    because I was passing in the webURL as a parameter in the URL for opening the dialog. But when the ASPX was loaded I just got the labels.
    var url = webUrl + '/_layouts/15/Generic.BulkEdit/BulkEdit.aspx?selectedItems=' + selectedItemIds + '&amp;ListId=' + listId + '&amp;WebURL=' + webUrl;

Maybe you are looking for

  • Ipod touch playlists out of order

    I have many playlists, several of which are smart playlists for specific albums.  The tracks used to play in order of the album, but now cannot get them to stay in order.  When I synch, I see the songs go back to their original order for a split seco

  • CS4 About installing the `Optional Plugins' 64 or 32 bit

    Can anyone tell me from experience if when installing the `Optional Plugins' found in the `goodies' directory of install discs or from online sources by adobe, does it matter which  photoshop `plugins' directory you use, or do you need to drop them i

  • Subquery with ORDER BY

    AFAIK, subquery can have ORDER BY clause in 9iR2. But why I got this error: SQL> SELECT student_id FROM student 2 WHERE zip =any (SELECT zip 3 FROM zipcode 4 WHERE rownum<=5 ORDER BY zip) 5 SQL> / WHERE rownum<=5 ORDER BY zip) ERROR at line 4: ORA-00

  • Mail with exchange

    I am trying to use the new mail 5 with an Exchange server. It has no problem  synchronizing half of the messages on the server. For the other half, nothing seems to happen, though I keep pressing the synchronize menu command. Activity shows a stand s

  • Emac for editing video

    Hi I have a 800 MHz PowerPC G4 emac computer 1G MEMORY. I would like to know if this is good for editing video using final cut pro, and if I will don't ha problems like render or other?