Add the new item through the Bapi 'bapi_outb_delivery_change'

I want to add the new item to the existing outbound delivery.How to add the new item in the bapi 'bapi_outb_delivery_change'. Please provide me the code for the bapi 'BAPI_OUTB_DELIVERY_CHANGE' to add the new item.

Hi Kyndal,
I have a requirment to add new items in a delivery which will refer to the higher items in the  same delivery itself.
I am trying to use the BAPI BAPI_OUTB_DELIVERY_CHANGE for the purpose.
Could u pls give some clue on how to tried to do it?
I am constantly getting a error VL216.
Also I tried passing the reference document and item : same delivery number and the higher level item in the delivery
VBTYP_N = J

Similar Messages

  • Custom SharePoint 2010 designer page throws "The data source control failed to execute the insert command" exception while adding the new item after the August 13, 2013 CU has installed

    We have the SharePoint Server 2010 with SP1 environment on which the custom SP2010 designer pages were working as expected before the
    August 13, 2013 CU has installed. But, getting the below exception while trying to add the new item after the CU has installed.
    Error while executing web part: System.NullReferenceException: Object reference not set to an instance of an object.     at Microsoft.SharePoint.WebControls.SPDataSourceView.ExecuteInsert(IDictionary values)     at
    System.Web.UI.DataSourceView.Insert(IDictionary values, DataSourceViewOperationCallback callback) 3b64c3a0-48f3-4d4a-af54-d0a2fc4553cc
    06/19/2014 16:49:37.65  w3wp.exe (0x1240)                        0x1300 SharePoint Foundation        
     Runtime                        tkau Unexpected Microsoft.SharePoint.WebPartPages.DataFormWebPartException: The data source control
    failed to execute the insert command. 3b64c3a0-48f3-4d4a-af54-d0a2fc4553cc    at Microsoft.SharePoint.WebPartPages.DataFormWebPart.InsertCallback(Int32 affectedRecords, Exception ex)     at System.Web.UI.DataSourceView.Insert(IDictionary
    values, DataSourceViewOperationCallback callback)     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.FlatCommit()     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.HandleOnSave(Object sender, EventArgs e)    
    at Microsoft.SharePoint.WebPartPages.DataFormWebPart.RaisePostBackEvent(String eventArgument)     at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)     at System.Web.UI.Page.ProcessRequestMain(Boolean
    inclu... 3b64c3a0-48f3-4d4a-af54-d0a2fc4553cc
    06/19/2014 16:49:37.65* w3wp.exe (0x1240)                        0x1300 SharePoint Foundation        
     Runtime                        tkau Unexpected ...deStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 3b64c3a0-48f3-4d4a-af54-d0a2fc4553cc
    I have tried changing the "DataSourceMode" as below, now the insert command is working, but update command is not working.
    <SharePoint:SPDataSource runat="server" DataSourceMode="ListItem" />
    Also, the lookup dropdown fields are displaying the value as "<a href="Daughterhttp://cpsp10/sites/Employees/_layouts/listform.aspx?PageType=4&ListId={8F62F444-FB6A-4F03-9522-C4696B45DCD1}&ID=10&RootFolder=*">Daughter</a>"
    instead of only "Daughter".
    Please provide the solution to get rid of this issue.
    Thanks
    Ramasubbu

    Try below:
    http://social.technet.microsoft.com/Forums/en-US/ae910269-3a0c-4506-844b-e8bc89d95b71/data-source-control-failed-to-execute-the-insert-command
    http://blog.jussipalo.com/2012/01/sharepoint-2010-data-source-control.html
    While there can be many causes for this generic error message, in my case the first parameter or ddwrt:DataBind function inside the SharePoint:FormFields element was
    'i' and I was working with an Edit Form. Changing it to
    'u' as it was with every other FormField fixed the issue.
    <SharePoint:FormField runat="server" id="ff1{$Pos}" ControlMode="Edit" FieldName="Esittaja" __designer:bind="{ddwrt:DataBind('u',concat('ff1',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Esittaja')}"
    />
    Explanation:
    DataBind operation type parameters (the first parameter) are listed below:
    'i' stands for INSERT,
    'u' stands for UPDATE,
    'd' stands for DELETE.
    http://webcache.googleusercontent.com/search?q=cache:d9HHY4I7omgJ:thearkfloats.blogspot.com/2014/03/sharepoint-2010-data-source-control.html+&cd=4&hl=en&ct=clnk&gl=in
    If this helped you resolve your issue, please mark it Answered

  • Windows SBS 2011 - I can't add a new user through the SBS Console

    I have recently installed SBS 2011 and this is my first install of SBS since 2003.
    After the installation I went to the SBS Console to add a new user and when I select 'Add a new user account' and base it on the Standard User account i get a message saying 'Add a New User Account failed', when i view the details for this it says "The User
    Account cannot be added. Ensure that the Active Directory Domain Services service is running....
    I searched the web for this and found the following which was not applicable http://support.microsoft.com/kb/958890 
    I then resorted to adding the users via AD Users and Computers and the modifying the value in the ADSI for msSBSCreationState to 'Created' and then it appeared in the console, i then used the console to change the user role for this account to Standard User.
    But when i now click on the "Edit User Account Properties" action i get a pop up message from SBS Server saying "There is no such object on the server".
    Any ideas on ow to fix this broken console would be appreciated.
    Thanks,
    Simon

    Hi, using default names i AD will help. For everyone who lost original. grr... 
    http://i.techrepublic.com.com/blogs/february-2011-wstips-tip1-figa.jpg?tag=content;siu-container

  • Can you get a free download of the new Pages through the appstore if you already have an earlier version of iworks from a disk?

    I have loaded mountain lion on my iMac and have an old version of iWorks on my machine.  It appears that all my Pages documents won't open unless I get the new version of Pages off the App store.  Does anyone know if that is a free download if you already have purchased iWorks previously on disk?  Thanks.

    No. The iWork (no 's') apps are a separate purchase. You should not have to buy any of the '09 apps again to work in Mountain Lion, you just need to update them.
    iWork '09 installed from the retail disk or from the downloaded trial must be updated through Software Update. In Mountain Lion Software Update has been "rolled into" the Mac App Store. Choose Software Update from the Apple menu just like you always have & the Mac App Store will launch. Depending on what you have that needs updating you may see two sections in the MAS window.
    But, as always, if you're not running the latest versions of the iWork apps installed from a retail box or the downloaded trial & Software Update says your software is up to date, make sure the applications are where the installer initially put them. The updaters are very picky. If the location is not where the updater is programmed to look or if the folder doesn't have the name the updater looks for, it will not work. The applications cannot be renamed or moved. If you installed from the downloaded trial or the retail box, they must be in the iWork '09 folder in Applications. That iWork folder must be named iWork '09. If it doesn't have the '09 Software Update won't find them & the updaters won't work.
    Alternatively, you can download the standalone updater here.

  • Add a new item to the Fixed Asset Inquiry

    Hi,
    For Fixed Asset Inquiry we have web based form. We need to add Net Book Value to this form. Let us know how we have to do this for a web forms. It is not same as regular forms where we add a function or menu.
    Thanks,
    Prathima

    If i Create the check box using personalization below are the fields that are shown on the item update/create page
    Level Site
    Item Style Message Check Box
    Property Value
    *ID
    Access Key
    Additional Text
    Admin Personalization
    Attribute Set
    CSS Class
    Checked Value
    Comments
    Data Type
    Destination Function
    Disable Server Side Validation
    Disabled truefalse
    Export View Attribute
    Extends
    Initial Sort Sequence
    Initial Value
    Initially Checked
    Long Tip Region
    No Wrap truefalse
    Prompt
    Read Only truefalse
    Rendered truefalse
    Required yesnovalidater
    Scope
    Search Allowed truefalse
    Selective Search Criteria truefalse
    Sort Allowed yesnoascendingdescending
    Sort By View Attribute
    Tip Message Name
    Tip Type dateFormatlongMessageshortTipnone
    Unchecked Value
    User Personalization truefalse
    Vertical Aligment middletopbottom
    View Attribute
    View Instance
    Warn About Changes truefalse
    Now if i want to redirect the page on click of the check box how should I handle that event in my code ? Since there is no option here to put an event name .

  • Add a new item in dyn 0110 (Program SAPMFCJ0, T.Code FBCJ)

    Hi
    I would need to add a new item in the dyn 0110 (program SAPMFCJ0)
    I suppose that I would add an element in the ISCJ_E_POSTINGS structure.
    Is it enought add the new item to above structure and insert this new item in the dyn 0110 layout or I should do something else?
    Thanks in advance.
    Nicola

    HI,
    if it is a normal report program then you can directly create a Selection screen field.
    After the Type-pool you can use Parameters or Select-options to create the selection screen field..
    If it is a Modulpool program then you can create a selection scren field like
    SELECTION-SCREEN BEGIN OF SCREEN 1100 AS SUBSCREEN.
    PARAMETERS: p1(10) TYPE c.
    SELECTION-SCREEN END OF SCREEN 1100.
    defines a selection screens – 1100 – as subscreens.
    The next screen number of screen 100 is 100 (statically-defined).
    PROCESS BEFORE OUTPUT.
      MODULE status_0100.
      CALL SUBSCREEN area INCLUDING sy-repid number.
    PROCESS AFTER INPUT.
      MODULE cancel AT EXIT-COMMAND.
      CALL SUBSCREEN area.
      MODULE user_command_0100.
    look at the below link
    http://help.sap.com/saphelp_nw2004s/helpdata/en/e7/deb237b9a9a968e10000009b38f8cf/content.htm
    Regards
    Sudheer

  • Just uploaded iso7 , . . .hate it!  Can you change background colours?  How do you add a new item/activity to the schedule? In notes the font has changed, can I change it back and the link colour is now yellow instead of blue, can I change it?  Thanks

    Just uploaded iso7 , . . .hate it!  Can you change background colours?  How do you add a new item/activity to the schedule? In notes the font has changed, can I change it back and the link colour is now yellow instead of blue, can I change it?  Yellow on white is harder to read. Thanks

    Another question. How do you bookmark something.  It was so easy before, why did they change it?  Can I uninstall it?

  • Sharepoint Custom calendar – Hover over the date to add a new item is not working – Sharepoint 2010

    Hi,
    In my Sharepoint visual web part i am using default sharepoint calendar view. But Mouse hover over the date to add a new item is not working. Please see this image below i need the same add new item functionality. 
    

    Hi Sudhanthira,
    Couple of simmilar queries i can see from Madhu posted.
    Please follow this thread:-
    http://social.technet.microsoft.com/Forums/en-US/sharepoint2010programming/thread/b62f9b7e-2ce1-4efd-905c-9cc5471ad216
    To be or Not to Be..The question is this only......

  • New items in the Add-on Bar

    Suddenly a series appeared in the add-on bar: JS, J, F,SL, C ,I, A, CS and I don't know where they came from. What's going on? My other computer doesn't have them.
    I am using FF version 18.0.2

    I have tried several time to reply to your email with more info but it never gets to you. Here's what I sent:
    Subject: Re: iamjayakumars posted an answer to your question "New items in the Add-on Bar"
    Well, I ran two Anti-virus programs (Super Anti-Spyware & NOD32) on all files on drive C: and found only one Trojan which was removed.
    Also ran your RootKit program - nothing found.
    No change to FireFox. Here's what my Add-On Bar looks like:
    (see uploaded image.)
    Holding the cursor over each of the "newbies" I get:
    JS Enable/Disable JavaScript
    J Enable/Disable Java
    F Enable/Disable Flash
    SL Enable/Disable Silverlight
    C Enable/Disable Cookies
    I Autoload Images
    A Enable/Disable Animated Images
    CS Toggle Style
    These turn red when I click to disable.
    I haven't tested all but CS works and switches the screen to show the HTML of the screen.
    When I look in "Customize Toolbar" I see the same things except they are red. I can move these to the toolbar but cannot move the blue ones from the toolbar to the "Customize..".
    Now that I think about it, I think these may have appeared about the time I installed ReminderFox, but I'm not sure.
    I have looked at all the Extensions and Plugins but none look like they might relate to this.
    One other thing I notice different about my FF - on my wife's and my other computer the tabs have a small box on the right to click for a new tab. But that has been missing on my computer for a long time. Not a problem - Ctrl+T works fine. Once I removed FF but did not kill all the user stuff so reinstalling did not correct the situation.
    I am looking forward to your evaluation.
    [email protected]
    Trump

  • Equipment number and serial number to be carried over to the new item

    Hi Friends,
    I have an issue regarding the " Equipment number and serial number carried over to the new item " .
    AS Per my Business Process i want to reject the old line item and add same Material in that  order, while adding the new line item or substituted item , the new item has to pick the old serial number and Equipment number.
    For the same We are using BAPI & BDC,
    IN BAPI We do not have any function module and in BDC while rejecting the old line item serial number, BDC is not recording the same and default it is Picking Delete serial number as "NO".
    Kindly through a light on this issue.
    Helpful answer will be rewarded.
    Advance thanks
    Regards
    Naren
    Message was edited by:
            Naren Naren

    Hi
    I think you can achieve my making the serial and equipment synchronization  in the materiel master. Adjacent to where we specify the serial no profile we can make the setting. I am not in front of the system , kindly check
    Also you need to have the internal number range for equipment which should be same as serial number
    Regards
    thyagarajan

  • How to create new subsite while adding new item to the list by using javascript?

    hi,
    I hav a task ie, when I add item to the list then subsite will create with that list item title and description . So By using javascript, I have to create subsite while adding new item to the list.
    Help me to solve this.
    Thank you, 

    Is your item getting added through Javascript client object model ? If yes, you can write in the success delegate of your list creation method the logic to create the subsite.
    function CreateListItem()
    var clientContext = new SP.ClientContext.get_current();
    var oList = clientContext.get_web().get_lists().getByTitle('List Name');
    var itemCreateInfo = new SP.ListItemCreationInformation();
    this.oListItem = oList.addItem(itemCreateInfo);
    oListItem.set_item('Title', 'My New Item!');
    oListItem.set_item('Body', 'Hello World!');
    oListItem.update();
    clientContext.load(oListItem);
    clientContext.executeQueryAsync(Function.createDelegate(this, this.CreateListItemOnSuccess), Function.createDelegate(this, this.onQueryFailed));
    function CreateListItemOnSuccess() {
    var subsiteTitle = oListItem.get_item('Title');
    //Logic to create a subsite
    function onQueryFailed(sender, args) {
    I have added a sample flow for the above scenario. Have a look at the following lnk for how you can craete a subsite using ecmascript.
    http://ravisoftltd.wordpress.com/2013/03/06/sharepoint-2010-create-site-with-ecma-script-with/
    Geetanjali Arora | My blogs |

  • What Acrobat SDK Technology I need to build a plugin that creates a new item to the Right-Click context menu?

    I want to develop a plugin for Adobe Reader that will be invoked through a new item in the Right-Click menu.
    What is the right SDK Technology to build this new item? Javascript, Interapplication Communication or a C/C++ plugin?
    I would feel more comfortable with JS or C#, but I don't know if I must use the C++ API to be able to build such level of integration.
    Thank you very much.

    Plugins are written in C/C++ and especially something such as adding to the UI.
    To add this to Acrobat, no license or fee is required - you can do it today with just the SDK and Acrobat.
    However, to build a plugin for Reader, you will need to obtain a license from Adobe.  Details are in the SDK under "Reader Integration Key License Agreement" (RIKLA).

  • How to understand the "New Item" icon at the bottom of the Project window

    I'm trying to understand that small "New Item" box at the bottom of the project window better. I'm aware that when I bring video clips into my project, if I drag them to this box, PPCS5 will add them to the timeline. I partially understand the positive reasons for doing so, primarily that PPCS5 will correctly identify the type of video being brought into the project. I know that if I select all my clips and drag them to the new item box, that all my clips will be added to the timeline at the same time and all together on the timeline. There are many things I don't understand about it. If I add my clips one by one using the "New Item" icon, they will show up as separate sequences on the timeline. If you try to add another clip at a later time, can that clip not be added using the "New Item" box?  One other question is what would be the advantage in putting clips on the timeline as separate sequences? And one further question is do you drag other items to this box besides video clips? Like music, and still images?

    Dragging something to the New Item icon doesn't just add that something to a sequence.  It actually creates the correct sequence for the something to be added to.
    You do this once, when you need a new sequence.  Anything else you want to add to that sequence you do by other means.

  • How to Add a new fields in the selection screen of LDB.

    Hi All,
    I want to add a new fields in the selection screen of LDB & then i need to select the data for that fields.
    So could you please tell me for that where i need to add the code for selecting the data.
    Thanks
    Roli

    Hi
    welcome to SDN forum
    If you are designing your own LDB with your own tables you can define tree structure and then the selection screen for the tables
    if you wants to modify the std LDB of SAp means take the access key and to modify that code
    if you add the extra field you have to modify the where conditions in the code also
    see the doc
    A logical database is a special ABAP/4 program which combines the contents of certain database tables. You can link a logical database to an ABAP/4 report program as an attribute. The logical database then supplies the report program with a set of hierarchically structured table lines which can be taken from different database tables.
    LDB offers an easy-to-use selection screens. You can modify the pre-generated selection screen to your needs. It offers check functions to check whether user input is complete, correct, and plausible. It offers reasonable data selections. It contains central authorization checks for data base accesses. Enhancements such as improved performance immediately apply to all report programs that use the logical database.
    Less coding s required to retrieve data compared to normal internel tables.
    Tables used LDB are in hierarchial structure.
    Mainly we used LDBs in HR Abap Programming.
    Where all tables are highly inter related so LDBs can optimize the performance there.
    Check this Document. All abt LDB's
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.highlightedcontent?documenturi=%2flibrary%2fabap%2fabap-code-samples%2fldb+browser.doc
    GO THROUGH LINKS -
    http://www.sap-basis-abap.com/saptab.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9bfa35c111d1829f0000e829fbfe/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c6/8a15381b80436ce10000009b38f8cf/frameset.htm
    /people/srivijaya.gutala/blog/2007/03/05/why-not-logical-databases
    Re: **LDB**
    www.sapbrain.com/FAQs/TECHNICAL/SAP_ABAP_Logical_Database_FAQ.html
    www.sap-img.com/abap/abap-interview-question.htm
    www.sap-img.com/abap/quick-note-on-design-of-secondary-database-indexes-and-logical-databases.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db9bb935c111d1829f0000e829fbfe/content.htm
    Gothru the blog which provides info on LDB's:
    /people/srivijaya.gutala/blog/2007/03/05/why-not-logical-databases
    Sample code
    TABLES: SPFLI,
    SFLIGHT,
    SBOOK,
    SCARR.
    START-OF-SELECTION.
    GET SPFLI.
    WRITE:/ ’SPFLI: ’, SPFLI-CARRID, SPFLI-CONNID,
    SPFLI-AIRPFROM, SPFLI-AIRPTO.
    GET SFLIGHT.
    WRITE:/ ’ SFLIGHT: ’, SFLIGHT-CARRID, SFLIGHT-CONNID, SFLIGHT-FLDATE.
    GET SBOOK.
    WRITE:/ ’ SBOOK: ’, SBOOK-CARRID, SBOOK-CONNID,
    SBOOK-FLDATE, SBOOK-BOOKID.
    GET SFLIGHT LATE.
    WRITE:/ ’ GET SFLIGHT LATE: ’, SFLIGHT-FLDATE.
    Regards
    anji

  • How to set the column order of a sealed column in a custom Content Type for the new item form NewDocSet.aspx?

    Dear SharePoint Developers,
    Please help.
    I need to know How to set the column order of a sealed column in a custom Content Type for the new item form NewDocSet.aspx?
    I think this is a "sealed column", whatever that is, which is  shown in SPD 2013 as a column of content type "document, folder, MyCustomContentType".
    I know when I set the column order in my custom Content Type settings page, it is correct.
    But, when I load the NewDocSet.aspx page, the column order that I set in the settings page is NOT used for this "sealed column" which is bad.
    Can you help?
    Please advise.
    Thanks.
    Mark Kamoski
    -- Mark Kamoski

    Hi,
    According to your post, my understanding is that you want to set the column order of a sealed column in a custom Content Type for the new item form NewDocSet.aspx.
    Per my knowledge, if you have Content Type management enabled for the list or library (if you see a list of content type with the option to add more), the display order of columns is set for each content type.
    Drill down into one of them and you'll see the option under the list of columns for that content type.
    To apply the column order in the NewDocSet.aspx page, you need to:
    Select Site Settings, under Site Collection Administration, click Content type publishing. In the Refresh All Published
    Content Types section, choose Refresh all published content types on next
    update.
    Run two timer jobs(Content Type Hub, Content Type Subscriber) in central admin(Central Administration--> Monitoring--> Review timer jobs).
    More information:
    http://sharepoint.stackexchange.com/questions/95028/content-types-not-refreshing-on-sp-online
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

Maybe you are looking for