Append New Item with BAPI_RESERVATION_CHANGE

Good Day Gurus,
      I was able to modify Material Reservation Items with BAPI_Reservation_Change, but appending a new item causes a bapi message of "Not possible to add and update at the same process"
what's causing this error? or is there any other work around to achieve my goal?

Hello,
Check this standard function module IDOC_INPUT_MATERIALRESERVATION A. Inside this this BAPI has been called. So, go through it and see anything you have missed.
Also, check the function module documentation available.
Thanks,
Abhijit

Similar Messages

  • Appending New item to drop down .. drop down data comes from R3

    Hi,
    We have deployed ESS 1.0 BP. In leave request application we select the leave request type(PL, CL, SL) from drop down menu.
    Here privelige Leave is by default selected... but we need to remove PL from default and add hipen(-) so that user has to compulsory select the leave type from drop Down,
    Now the problem is as this list comes from R3 .. so how can we add new item to this drop down menu. Whether its needed to be done R3 side or do i need to modify Leave request Application. If i need to modify this leave request application than h0w can append hipen to the already list coming in drop down menu...
    Can any person specify in detail from where this configuration is needed to be done..?
    Regards,
    Jigar OZa

    Hi,
    For example the leave types are coming in the below model node from R/3.
    LeavesModelNode - Model Node
             LeaveType - Model Context Attribute
    And the data in this model node is
    - Privlige Leave
    - Casual Leave
    - Sick Leave
    Now create one Value node with the same structure as below in the Component Controller.
    LeavesValueNode - Value Node
             LeaveType - Context Attribute
    Populate your extra value here
    IPublicTestComp.ILeavesValueNodeElement element=wdContext.createLeavesValueNodeElement();
    element.setLeaveType(" - ");
    wdContext.LeavesValueNode ().addElement(element);
    Now Populate the values from model node to value node as below
    for(int i=0;i<wdContext.nodeLeavesModelNode.size();i++)
    IPublicTestComp.ILeavesValueNodeElement element=wdContext.createLeavesValueNodeElement();
    element.setLeaveType(wdContext.nodeLeavesModelNode().nodeLeavesModelNodeElementAt(i).getLeaveType());
    wdContext.LeavesValueNode ().addElement(element);
    Now map this LeavesValueNode to your View Controller and bind to your dropdown list also.
    Regards,
    Charan

  • Create new item with javascript

    Hi,
    I wrote javascript with a new item I created.
    I would like asking how I can call this javascript from the HTMLDB form that I created.
    Thanks,
    Sheli

    In the form you have an item. Go to that property in Form element attribute you can call that function.
    by giving javascript:"function_name()"; in Form Element Attribute
    Regards
    Chandra

  • Append new data with existing one.

    Hi,
    In sql * loader if i want to append the existing data with new one what can be done?
    Shall i use external tables to get the data or is there something i can use.
    plz do suggest me.
    thanks,
    Mandar.

    Thanks for your reply.
    let me elaborate my problem.
    1)load data 2)append 3)into table STATUS_FILE
    me using this syntax.
    I want to add values which are already from other file and just append into this status_file(status_file table doesnt have these fields) what should be done..
    thst why i wrote external tables and i got this hint.
    The EXTERNAL_TABLE=EXECUTE qualifier tells SQL*Loader to create an external table that can be used to load data and then execute the INSERT statement to load the data.
    is it the way to append the already existing data with the new in table status_file.
    Thanks,
    Mandar.

  • Edit Add New Item link in certain view of list in SharePoint Programmtically

    this is my requirements
    i have one list called List 1 and two content types on it
    CT 1 and
    CT 2 and create two views on the list
    View 1 to display items of CT 1 
    View 2 to display items of CT 2 
    the creation of list and views is done via XML 
    now i need to change the URL of add new item link in every view to open its content type, i.e. when i was on view 1 i click on add new item, it will open new item form of CT 1 and hen i was on view 2 and click on add new item, it will open new item form
    of CT 2 
    i do a lot of search on the internet but get the following code but it doesn't work for me, i already wrote it in event receiver
    SPSecurity.RunWithElevatedPrivileges(delegate()
    SPWeb web = properties.Feature.Parent as SPWeb;
    web.AllowUnsafeUpdates = true;
    SPList contractList = web.Lists.TryGetList("Contract");
    SPLimitedWebPartManager webpartManager = web.GetLimitedWebPartManager("Lists/ContractList/SICET%202A%20Contract.aspx", PersonalizationScope.Shared);
    foreach (System.Web.UI.WebControls.WebParts.WebPart item in webpartManager.WebParts)
    if (item.GetType().Name == "XsltListViewWebPart")
    XsltListViewWebPart listViewWebPart = (XsltListViewWebPart)item;
    Guid guid = new Guid(listViewWebPart.ViewGuid); // get the view details which is applied to web part
    SPView sicet2AView = contractList.Views[guid];
    sicet2AView.GetType().InvokeMember("EnsureFullBlownXmlDocument",
    System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.InvokeMethod,
    null,sicet2AView,null);
    PropertyInfo nodeProp = sicet2AView.GetType().GetProperty("Node", BindingFlags.NonPublic | BindingFlags.Instance);
    XmlNode node = nodeProp.GetValue(sicet2AView, null) as XmlNode;
    XmlNode toolbarNode = node.SelectSingleNode("Toolbar");
    //sicet2AView.ViewFields.DeleteAll();
    if (toolbarNode != null)
    string toolbarType = toolbarNode.Attributes["Type"].Value;
    string linkText = "abdeen";
    toolbarNode.Attributes["Type"].Value = "Freeform";
    XmlAttribute positionNode = toolbarNode.OwnerDocument.CreateAttribute("Position");
    positionNode.Value = "After";
    toolbarNode.Attributes.Append(positionNode);
    //toolbarNode.InnerXml = @"<IfHasRights><RightsChoices><RightsGroup PermAddListItems=""required"" /></RightsChoices><Then><HTML><![CDATA[ <table width=100% cellpadding=0 cellspacing=0 border=0 > <tr> <td colspan=""2"" class=""ms-partline""><IMG src=""/_layouts/images/blank.gif"" width=1 height=1 alt=""""></td> </tr> <tr> <td class=""ms-addnew"" style=""padding-bottom: 3px""> <img src=""/_layouts/images/rect.gif"" alt="""">&nbsp;<a class=""ms-addnew"" ID=""idAddNewItem"" href=""www.facebook.com""]]></HTML><URL Cmd=""New"" /><HTML><![CDATA["" ONCLICK=""javascript:NewItem(']]></HTML><URL Cmd=""New"" /><HTML><![CDATA[', true);javascript:return false;"" target=""_self"">]]></HTML><HTML>" + linkText + @"</HTML><HTML><![CDATA[</a> </td> </tr> <tr><td><IMG src=""/_layouts/images/blank.gif"" width=1 height=5 alt=""""></td></tr> </table>]]></HTML></Then></IfHasRights>";
    toolbarNode.InnerXml = @"<IfHasRights><RightsChoices><RightsGroup PermAddListItems=""required"" /></RightsChoices><Then><HTML><a class=""ms-addnew"" ID=""idAddNewItem"" href=""www.facebook.com"">Test</a></HTML></Then></IfHasRights>";
    sicet2AView.Update();
    //listViewWebPart.ViewGuid = sicet2AView.ID.ToString("B").ToUpper();
    //listViewWebPart.Visible = true;
    webpartManager.SaveChanges(listViewWebPart);
    web.Update();
    but it doesn't work, my first trail is changing the text of the link then go to change the link any help plz
    Mohamed Abdeen

    Hi,
    The “Add new item” button will redirect users to add new item with the default Content Type of the current list.
    So a workaround can be like this: We can change the default Content Type of this list every time when users open this list view page, then the “Add new item” button will work
    as you expected.
    Here is a link with code demo about how to programmatically set a content type as default content type in a SharePoint 2013 List:
    http://www.ashokraja.me/tips/How-to-programmatically-set-a-content-type-as-default-content-type-in-a-SharePoint-2013-List
    We can put the code into a Visual Web Part and add it into your two views, then when users open a list view page, the code will be executed to change the default Content Type
    of the current list.
    To develop a custom web part, you can take a look at the links below with steps in detail for a start:
    Creating Web Parts for SharePoint
    http://msdn.microsoft.com/en-us/library/ee231579.aspx
    SharePoint 2013 Create a Visual Web Part
    http://raquelalineblog.wordpress.com/2013/04/25/sharepoint-2013-create-a-visual-web-part/
    Thanks
    Patrick Liang
    Forum 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]
    Patrick Liang
    TechNet Community Support

  • Problem while creating new item in the sale order  in case of  Thirdparty

    Dear Gurus
    The following error is coming
    while adding the new item with quantity  in the sale order in case of third party  .
    Error Info...   00 671: ABAP/4 processor: SAPSQL_ARRAY_INSERT_DUPREC
    Update key...   482ACBD89C7D0067E10080000A8C681C
    Can give any idea abt this.
    Rgds
    Surya

    Hi
    This error comes up due to number range problem in the
    tables.
    As you have said this is a third party Sales order, just check if this is relevant to the PR being generated or the Sales order getting created.
    Check the Current number of the PR document type in the EBAN table & check if it is the same for the Number ranges in customizingin OMH7.
    If they are not the same... & the current number in OMH7 is smaller than the Number in the table EBAN , you need to change the current number  equal to the EBAN table.
    If this is the case fior sales orders similarly check for Sales order table & sales order number range object.
    reward points if useful
    Thanks & Regards
    Kishore

  • Incorrect Focus when Changing Item with Mouse

    Dear Colleague,
    Quite often, when the user navigates to a new item with the mouse and not with the keyboard (e.g. Tab key) or explicitly via the toolbar item (next item), then the cursor ends up in the item of interest, but when the user proceeds to, for example, activate the associated LOV, then the cursor focus switches back to the original, i.e. previous item.
    Is this a known bug? I would appreciate any tips here.
    My forms are running within Oracle AS 10g.
    Best regards,
    Randy

    Dear Wilfred,
    In the meantime, I did in fact find something in MetaLink, namely:
    Note: 292045.1
    Subject: Cursor Focus Is Lost After Using Alt+W To Switch Between Windows in Oracle Forms
    Cause: The problem is caused by a forms bug:
    The bug is fixed in OracleAS 10g / Oracle Developer Suite 10g Rel 2 (not due for release until March / April 2005)
    There is no backport one off fixes available for Forms 6i, 9i or 10g (Rel 1). For these releases, the user must work-around by manually clicking in the window / field in order for cursor focus to be returned, and keyboard input to be accepted again.
    References: Bug 3788158 - Cursor Focus Lost When Moving Between Forms Using Window Menu
    Wilfred,
    Does this mean that no bugfix is planned for Releases prior to 10g (Rel 2)? Which ultimately requires an upgrade to this release, if one wants to avoid this?
    I would appreciate your interpretation on this.
    Thanks,
    Randy

  • Unit Price in Issue for Production for Item with wrong UoM

    Dear All,
                In issue for production the item cost being picked does not match either our Last Purchase Price or Price List1. In some cases the price considered is an average:
    Eg:- For Item A with Purchase UoM in Nos. and Inventroy UoM in Gms, we had not enetred the conversion factor i.e 1 No=100g. Thus GRN was made for 25 Nos. @ Rs.450/Unit. But actual stock was 2500g. Hence to rectify the stock we made an OB entry for 2475 as on GRN date with zero Price. Thus total stock was 2500 and Value 25*450=RS.11250
    When we did an Issue for Production for this item: Qty:400g, the unit price considered was Rs.28.125 when the actual price to be considered is Rs.450[Unit Cost]/100 [UoM Conversion]=Rs4.5. We had entered Rs.4.5 in Price List1 and had selected this price list in the BoM as we had not entered a conversion factor in the Item Master Data and SAP does not allow alterations to this tab once the Item is involved in transactions.
    I think the system calculated the price as follows: (25450+14750)/400=Rs.28.175
    How do we avoid/correct this in the future?

    If you need the stock price correct, the only option might be creating a new item with correct information in the first place.  Once you have error data to start with, there is no way to corrected as you wish.
    Thanks,
    Gordon

  • Showing all News items in webpart

    HI,
    I am trying to create a webpart which shows all the news items with the News title and date followed by a paging.
    Currently, I have the below in publishing site:
    1) Subsite for storing news
    2) Page layout which has a category as "News", On Adding page layout, I am providing a Title, description followed by CEWP.
    The users create the News pages by selecting the above way.
    I would like to show all the News so far created in a webpart with paging added to it.
    How to show all the News items in a webpart with pager functionality?
    Thanks

    Hi Venkatzeus,
    If you want to custom list view web part, and show the paging like 1 2 3…Last, I would suggest you to customize the XSLT of the view web part, the following sample contains steps to do this:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/ec69f84c-c7de-4322-8395-dcbeb8b89958/customize-paging-for-an-xslt-listview-web-part?forum=sharepointgeneralprevious
    If you want to use programming that customize a web part, it is similar with .NET project, just first retrieve the list items, then generate it in your expected control, like gridview, then adding paging method to it, more information,
    Paging data retrieved from SharePoint list using PagedDataSource object:
    http://waelmohamed.wordpress.com/2010/04/06/paging-data-retrieved-from-sharepoint-list-using-pageddatasource-object/
    How to implement paging and sorting in asp.net GridView control:
    http://www.dotnetgallery.com/kb/resource12-How-to-implement-paging-and-sorting-in-aspnet-Gridview-control.aspx.aspx
    Thanks,
    Qiao Wei
    TechNet Community Support

  • Remove-Item followed by New-Item puts back same file

    My script saves an empty file on a share to denote an event occurred on a server.   If the event occurs again, the file is replaced with a new one with the current creation time.   The problem is after a Remove-Item, then New-Item
    with the same file name the new file is really the old file with the LastWriteTime updated.   The below code snippet will demonstrate the issue. 
    $path="D:\temp\myfile.txt"
    New-Item -Path $path -ItemType file
    Get-ChildItem -Path | Select name,creationtime,lastwritetime
    Start-Sleep -seconds 5
    Remove-Item $path -force
    Get-ChildItem -Path | Select name,creationtime,lastwritetime
    Start-Sleep -Seconds 5
    New-Item -Path $path -ItemType file
    Get-ChildItem -Path | Select name,creationtime,lastwritetime
    How can I get the file deleted, and a new one to replace the old file?

    Not a scripting question, but this feature has been around for a long time.
    The apocryphal history of file system tunnelling
    Windows NT Contains File System Tunneling Capabilities (KB article 172190)
    Bill

  • Content Types "New Item"

    I am working on a list in Sharepoint 2013 and I have created several content types with this lists.  I want customers to be able to create a new object and get a different FORM based on the type of object they create.
    The challenge I found is that when they click on "NEW ITEM" they get the default content type and are not allow to select which one they want. However, if they go to edit the item after creating it then they can change the content type from a drop
    down menu in the ribbon.
    I have noticed that this feature is active in a Document library however not in list webparts.
    I was wondering if there is any way to activate the Content Type drop down on a list as they click "NEW ITEM"?

    Hi Niklas,
    You are correct, while click to "New Item", SP will open a page to add new item with default content type.
    Workaround of this problem, not to use the "New Item" link, use the Ribbon menu to create an item. See screenshot below
    Vivek Jagga
    My Blog

  • New item addition with Characteristic Values - BAPI_SALESORDER_CHANGE

    Hi,
    I need to add new item in existing sales order. The new item to be added is a configurable material, with Characteristic values to be filled. Iam using 'BAPI_SALESORDER_CHANGE' to insert new item. Iam able to insert normal item. The problem is, iam not able to insert the configurable item. BAPI returns a message 'No changes made'.
    Code is attached.
      WA_HDRX-UPDATEFLAG = 'U'.
      SELECT MAX( POSNR ) FROM VBAP CLIENT SPECIFIED
      INTO MAX_POSNR
      WHERE MANDT = SY-MANDT AND
            VBELN = I_SORDER.
      TMP_POSNR = MAX_POSNR + 10.
      WA_ITEM-ITM_NUMBER = TMP_POSNR.
      WA_ITEM-MATERIAL   = 'LEFTEYE'.
      WA_ITEM-PLANT      = I_STORE.
      WA_ITEM-SHIP_POINT = I_STORE.
      WA_ITEM-CONFIG_ID  = 'LEFT'.
      WA_ITEM-INST_ID    = 'LEFTEYE'.
      APPEND WA_ITEM TO IT_ITEM.
      WA_ITEMX-ITM_NUMBER = TMP_POSNR.
      WA_ITEMX-UPDATEFLAG = 'I'.
      WA_ITEMX-MATERIAL   = 'X'.
      WA_ITEMX-PLANT      = 'X'.
      WA_ITEMX-SHIP_POINT = 'X'.
      WA_ITEMX-CONFIG_ID  = 'X'.
      WA_ITEMX-INST_ID    = 'X'.
      wa_itemx-ITEM_CATEG = 'X'.
      APPEND WA_ITEMX TO IT_ITEMX.
    Schedule lines
      WA_SCHD-ITM_NUMBER = TMP_POSNR.
      WA_SCHD-SCHED_LINE = TMP_POSNR.
      WA_SCHD-REQ_DATE   = SY-DATUM.
      WA_SCHD-REQ_QTY    = 1.
      WA_SCHD-SCHED_TYPE = 'CN'.
      APPEND WA_SCHD TO IT_SCHD.
      WA_SCHDX-ITM_NUMBER = TMP_POSNR.
      WA_SCHDX-SCHED_LINE = TMP_POSNR.
      WA_SCHDX-REQ_DATE   = 'X'.
      WA_SCHDX-REQ_QTY    = 'X'.
      WA_SCHDX-SCHED_TYPE = 'X'.
      APPEND WA_SCHDX TO IT_SCHDX.
    characteristic values
      WA_VALUE-CONFIG_ID = 'LEFT'.
      WA_VALUE-INST_ID   = 'LEFTEYE'.
      WA_VALUE-CHARC     = 'PRES_DIST_SPH'.
      WA_VALUE-VALUE     = '3.2'.
      APPEND WA_VALUE TO IT_VALUE.
      WA_INST-CONFIG_ID = 'LEFT'.
      WA_INST-INST_ID   = 'LEFTEYE'.
      WA_INST-OBJ_TYPE  = 'MARA'.
      WA_INST-CLASS_TYPE = '300'.
      WA_INST-OBJ_KEY   = 'LEFTEYE'.
      WA_INST-QUANTITY  = 1.
      APPEND WA_INST TO IT_INST.
      CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
        EXPORTING
          SALESDOCUMENT    = SALES_DOC
          ORDER_HEADER_INX = WA_HDRX
          LOGIC_SWITCH     = LS_LOGIC
        TABLES
          RETURN           = IT_RET
          ORDER_ITEM_IN    = IT_ITEM
          ORDER_ITEM_INX   = IT_ITEMX
          SCHEDULE_LINES   = IT_SCHD
          SCHEDULE_LINESX  = IT_SCHDX
          ORDER_CFGS_INST  = IT_INST
          ORDER_CFGS_VALUE = IT_VALUE.
    Where iam missing ?
    Any input would be helpfull.
    regards,
    Nagarajan.J

    Hi,
    Iam now able to insert configurable item in existing sales order. But the characteristic values are not getting stored.
    Latest code is attached. What else is missing for storing characteristic values ?
    select maximum item number in sales order
      SELECT MAX( POSNR ) FROM VBAP CLIENT SPECIFIED
      INTO MAX_POSNR
      WHERE MANDT = SY-MANDT AND
            VBELN = I_SORDER.
    calc next item number
      TMP_POSNR = MAX_POSNR + 10.
    header data
      WA_HDRX-UPDATEFLAG = 'U'.          "update
      SALES_DOC          = I_SORDER.
    item data
      WA_ITEM-ITM_NUMBER = TMP_POSNR.
      WA_ITEM-MATERIAL   = 'LEFTEYE'.
      WA_ITEM-PLANT      = I_STORE.
      WA_ITEM-SHIP_POINT = I_STORE.
      APPEND WA_ITEM TO IT_ITEM.
      WA_ITEMX-ITM_NUMBER = TMP_POSNR.
      WA_ITEMX-UPDATEFLAG = 'I'.          "add
      WA_ITEMX-MATERIAL   = 'X'.
      WA_ITEMX-PLANT      = 'X'.
      WA_ITEMX-SHIP_POINT = 'X'.
      APPEND WA_ITEMX TO IT_ITEMX.
    Schedule lines
      WA_SCHD-ITM_NUMBER = TMP_POSNR.
      WA_SCHD-SCHED_LINE = TMP_POSNR.
      WA_SCHD-REQ_DATE   = SY-DATUM.
      WA_SCHD-REQ_QTY    = 1.
      WA_SCHD-SCHED_TYPE = 'CN'.
      APPEND WA_SCHD TO IT_SCHD.
      WA_SCHDX-ITM_NUMBER = TMP_POSNR.
      WA_SCHDX-SCHED_LINE = TMP_POSNR.
      WA_SCHDX-REQ_DATE   = 'X'.
      WA_SCHDX-REQ_QTY    = 'X'.
      WA_SCHDX-SCHED_TYPE = 'X'.
      APPEND WA_SCHDX TO IT_SCHDX.
    config & characteristic values
      WA_VALUE-CONFIG_ID = '000001'.
      WA_VALUE-INST_ID   = '00000001'.
      WA_VALUE-CHARC     = 'PRES_DIST_SPH'.
      WA_VALUE-VALUE     = '3.2'.
      APPEND WA_VALUE TO IT_VALUE.
      WA_INST-CONFIG_ID     = '000001'.
      WA_INST-INST_ID       = '00000001'.
      WA_INST-OBJ_TYPE      = 'MARA'.
      WA_INST-CLASS_TYPE    = '300'.
      WA_INST-OBJ_KEY       = 'LEFTEYE'.
      WA_INST-QUANTITY      = 1.
      WA_INST-QUANTITY_UNIT = 'NO'.
      APPEND WA_INST TO IT_INST.
      WA_REF-POSEX     = TMP_POSNR.
      WA_REF-CONFIG_ID = '000001'.
      WA_REF-ROOT_ID   = '00000001'.
      APPEND WA_REF TO IT_REF.
      WA_PART-CONFIG_ID  = '000001'.
      WA_PART-PARENT_ID  = '00000001'.
      WA_PART-INST_ID    = '00000001'.
      WA_PART-OBJ_TYPE   = 'MARA'.
      WA_PART-CLASS_TYPE = '300'.
      WA_PART-OBJ_KEY    = 'LEFTEYE'.
      APPEND WA_PART TO IT_PART.
      CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
        EXPORTING
          SALESDOCUMENT      = SALES_DOC
          ORDER_HEADER_INX   = WA_HDRX
        TABLES
          RETURN             = IT_RET
          ORDER_ITEM_IN      = IT_ITEM
          ORDER_ITEM_INX     = IT_ITEMX
          ORDER_CFGS_REF     = IT_REF
          ORDER_CFGS_PART_OF = IT_PART
          ORDER_CFGS_INST    = IT_INST
          ORDER_CFGS_VALUE   = IT_VALUE
          SCHEDULE_LINES     = IT_SCHD
          SCHEDULE_LINESX    = IT_SCHDX.
      READ TABLE IT_RET INTO WA_RET WITH KEY TYPE = 'E'.
      IF SY-SUBRC = 0.
        CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
      ELSE.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
      ENDIF.
    I get the following messages from BAPI.
    ORDER_HEADER_IN has been processed successfully.
    ITEM_IN has been processed successfully
    The sales document is not yet complete: Edit data
    TIL-Direct Sales TINDC01372 has been saved
    What else is missing ?  Any help is appreciated.
    thanks,
    Nagarajan.J

  • SharePoint Designer 2013 (2010 Platform Workflow) - How can I create a new list item with a SPECIFIC content type?

    In SharePoint 2010 I created workflows that used the 'Create list Item' Action, which then set the Content Type ID (so I could create documents of various types in a document library). 
    We just switched to the SharePoint 2013 platform, and now the drop down for Content Type ID is blank in all of the workflows that are still using the SharePoint 2010 platform.  Is there any way to create a list item with specific content
    type?  Even if I could just input a string into that field instead of using this blank drop-down.  Please help! 

    Hi Sarah,
    According to your description, my understanding is that you cannot create a new list item with a specific content type using SharePoint 2010 Platform Workflow.
    I tested the same scenario in my environment, and the Create List Item worked fine with the specific content type.
    How did you create the content type?
    Please check if the content type is added to the list/library the workflow associated with.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Update Document line with a new Item Code...

    Hi.
    This is all done using the DI Server.
    I am updating a sales order with two lines - it looks like this:
    ItemCode____Qty
    651_________10
    00028________5
    I update line 2 so the sales order now looks like this to this:
    651_________10
    651__________8
    All I pass in is the two values 651 and 10 (and a taxcode etc)
    Now... if I take a look at the sales orders GL - before and after the update - It looks like this
    (before)
    ItemCode_____Qty______GL Account
    651___________10_____ _SYS00000000235
    00028__________5_____ _SYS00000000237
    (after)
    651___________10_____ _SYS00000000235
    651____________8_____ _SYS00000000237
    So it does not change the GL Account to fit the new Item... It looks like I need to find the GL Revenue Account for the new item myself. How do I find this?
    Method or SQL is more than welcome...
    Regards,
    Allan C. E. Rasmussen

    Hi Allan,
    your Stored Procedure is good for GLMethod = 'L' but if GLMethod of Item is 'W' or is 'C' your code is not good.
    Case is "W"
    SELECT RevenuesAc FROM OWHS Where WhsCode = @WhsCode
    Case is "C"
    SELECT OITB.RevenuesAc FROM OITM INNER JOIN OITB ON OITM.ItmsGrpCod = dbo.OITB.ItmsGrpCod Where OITM.ItemCode = @ItemCode
    Regards,
    Claudio

  • BCS New Item creation - Column with Name 'ID' does not exist.

    Hello All
    I´m creating a BCS and i´m getting a strange error. I have created all the operations and created a list based on the external contente type. In my table the column ID is the primary key with identity.
    When I use the new item form I get the following error. But the new item is created.
    [ArgumentException: Column with Name 'ID' does not exist.]
       Microsoft.SharePoint.BusinessData.Infrastructure.GenericAdapterObject.get_Item(String key) +19563585
       Microsoft.SharePoint.BusinessData.Infrastructure.RuleInterpretingTypeReflector.Get(ITypeDescriptor typeDescriptor, ITypeDescriptor instanceRootTypeDescriptor, Object instance) +59
       Microsoft.SharePoint.BusinessData.Infrastructure.CompositeIdentifier.GetIdentity() +668
       Microsoft.SharePoint.BusinessData.Runtime.EntityRuntime.Create(IEntity thisEntity, IFieldValueDictionary fieldValues, Identity identity, AssociationEntityInstancesDictionary associationInfo, ILobSystemInstance lobSystemInstance) +2386
       Microsoft.SharePoint.BusinessData.MetadataModel.Static.Entity.Create(IFieldValueDictionary fieldValues, ILobSystemInstance lsi) +82
       Microsoft.SharePoint.SPListDataSource.InsertItem(SPListItem itemToInsert, IDictionary dictValues) +1671
    [SPException: Failed to create a list item for this external list based on the Entity (External Content Type) '...' in EntityNamespace '....'. Details: Column with Name 'ID' does not exist.]
       Microsoft.SharePoint.WebPartPages.DataFormWebPart.InsertCallback(Int32 affectedRecords, Exception ex) +23989128
       System.Web.UI.DataSourceView.Insert(IDictionary values, DataSourceViewOperationCallback callback) +4064980
       Microsoft.SharePoint.WebPartPages.DataFormWebPart.FlatCommit() +378
       Microsoft.SharePoint.WebPartPages.DataFormWebPart.HandleOnSave(Object sender, EventArgs e) +24
       Microsoft.SharePoint.WebControls.SaveButton.OnBubbleEvent(Object source, EventArgs e) +691
       System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +70
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +29
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2981
    Thanks for the help,
    Regards,
    André

    Hello All,
    I already found the problem and it was an error in a trigger in the database.
    Thanks.
    Regards,
    André

Maybe you are looking for

  • How to download the Upgrade Adobe Presenter 10 and get Serial?

    I purchased an upgrade of Adobe Presenter 10 but have not received any email from them. Any idea how to go about getting my serial number and download link. I have been struggling for 3 days to get in touch with adobe for this. Does anyone know of an

  • Error message when running Transaction Code = ME84

    hi, i am getting an error message when running Transaction Code = ME84 Error is 'No processing (error message P5 017), No data for chosen selection' can someone please guide me on this ?

  • CRM On Premise / AD Authentication

    Why would CRM be prompting for credentials if it is on the domain?  Shouldn't it be using AD authentication?

  • Populating Fields from Database

    Hi everyone, Need some help from the experts.  I have a PDF form that is already connected to a Progress/OpenEdge database through ODBC connection.  Here's what I want to happen: Just as an example, in the database suppose the 'Job' table contained 3

  • How can I attend the Driver Replacement Program in Vietnam?

    I bought my Macbook Air 20 December 2012 (Flash driver is 128GB). I ran a firmware which update MacBook Air Flash Storage Firmware Update 1.1. It recommended me that I should attend the Macbook Air  Flash Storage Drive Replacement Program (MAFSRP). I