Adding new item at POD

Hi all,
We have a requirement from business, basically:
1) we receive sales order with item A,B and C (any qty).
2) We deliver them in one delivery note and good issue.
3) We receive a POD wich confirm A, and c item, but item B was really item X (change of code, or new item at delivery)
asuming inventory has to be solved, but we need to invoice (bill) right qties and items, adding to delivery or pod the new item.
Any clue about how best to solve it ?

Hi Goverdhan,
try with this BADI: CJ_DOCUMENT
Reddy

Similar Messages

  • 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 |

  • Adding new item in SAP logon

    Hi,
    when adding a new item in SAP GUI, we get an option for the connection type------
    Custom application server
    Group/Server selection
    On selection the Group/Server selection
    we need to add the System ID, Message server, SAP Router and Group/Server.
    Here on adding the first two and then when i go on adding the Group/Server, I get the Error message as
    Hostname <message server name> not found.
    Is there anything i need to do in the HOST file or the Service file present at the Drivers folder of my local PC.

    Hi Subhram
    Firstly you need to check if connections to the specified servers are allowed through your network. Check if access is permitted on those group servers from your network.Check your VPN settings.
    Secondly check the Saplogon.ini file in the C:\WINDOWS folder. Check if the entries are correctly maintained in there as well.
    I hope this helps
    Regards
    Chen

  • The cart on the retail website is not adding new items to the cart. The items in the cart are replaced by new items added

    The cart was not being updated. Firefox recommended all history for this website be cleared. All History was cleared. It resolved the problem of adding items to the cart. But now there is a new problem. The item in the cart is being replaced by new items ordered. So the cart has only ONE (The latest item ordered) in the cart. How can I resolve this issue?

    Thanks... I got it....

  • Issue in adding new items to a O365 SharePoint Online List having lookup columns (Client Object Model)

    I have two Lists i.e. Publisher and Products in my SharePoint Online site. They are having the following structures:
    1. Publisher:
    Publisher (Single line of txt)
         A1
         A2
         A3
         A4
         A5
         A6
    2. Products:
    Publisher (lookup to the above column)       
    ProductName (Single line of txt)
         A1                                                                   Apple
         A2                                                                   Samsung
         A3                                                                   Nokia
    And I have an excel file named Products.xlsx in my local machine which has the following data:
    Publisher        ProductName
         A1                   Apple
         A2                   Samsung
         A3                   Nokia
         A4                   Motorola
         A5                   LG
         A6                   HTC
    Now I have written the below client-side (CSOM) code to fetch the data from the Excel and update the corresponding fields in the Products table:
    using System;
    using System.Collections.Generic;
    using System.Collections.ObjectModel;
    using System.Web;
    using System.IO;
    using System.Data;
    using System.Data.OleDb;
    using System.Data.SqlClient;
    using System.Linq;
    using System.Text;
    using System.Xml.Linq;
    using Microsoft.SharePoint;
    using Microsoft.SharePoint.Client;
    using File =
    Microsoft.SharePoint.Client.File;
    using System.Security;
    namespace ExcelToSP
        public class
    ExcelToSP
            //Main function to get the command line values and invoke the getSPList function to pull SP List data
            public
    static void Main(string[] args)
                //Instantiate Class object
                ExcelToSP p
    = new ExcelToSP();
                try
                    p.LoadExcelData();
    //Exit with Sucess code
    Environment.Exit(0);
                catch
    (Exception ex)
    //Invoke writeErrorLog function to log the exception details
    //p.WriteErrorLog(ex);
            public
    void LoadExcelData()
                try
                string fileName
    = @"E:\Products.xlsx";
                string fileExtension
    = Path.GetExtension(fileName).ToUpper();
                string connectionString
    = "";
                 if
    (fileExtension == ".XLS")
                    connectionString
    = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source='"
    + fileName + "'; Extended Properties='Excel 8.0;HDR=YES;'";
                else
    if (fileExtension ==
    ".XLSX")
                    connectionString
    = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source='"
    + fileName + "';Extended Properties='Excel 12.0 Xml;HDR=YES;'";
                if
    (!(string.IsNullOrEmpty(connectionString)))
    string[] sheetNames =
    GetExcelSheetNames(connectionString);
    if ((sheetNames !=
    null) &&
    (sheetNames.Length
    > 0))
    DataTable dt = null;
    OleDbConnection con =
    new OleDbConnection(connectionString);
    OleDbDataAdapter da =
    new OleDbDataAdapter("SELECT * FROM ["
    + sheetNames[0]
    + "]", con);
                        dt
    = new DataTable();
                        da.Fill(dt);
    InsertIntoList(dt,"Products");
                catch
    (Exception ex)
    throw ex;
            private
    string[] GetExcelSheetNames(string strConnection)
                var connectionString
    = strConnection;
                String[] excelSheets;
                using
    (var connection =
    new OleDbConnection(connectionString))
                    connection.Open();
    var dt = connection.GetOleDbSchemaTable(OleDbSchemaGuid.Tables,
    null);
    if (dt ==
    null)
    return null;
                    excelSheets
    = new String[dt.Rows.Count];
    int i = 0;
    // Add the sheet name to the string array.
    foreach (DataRow row
    in dt.Rows)
                        excelSheets[i]
    = row["TABLE_NAME"].ToString();
                        i++;
                return excelSheets;
            private
    void InsertIntoList(DataTable listTable,
    string ListName)
                try
    string username = "[email protected]";
    string pwd = "contoso@1234";//this.Dts.Variables["password"].Value.ToString();
    ClientContext clientContext =
    new ClientContext("https://contoso.sharepoint.com/teams/myPOC/");
    SecureString password =
    new SecureString();
    char[] decryptpwd = pwd.ToCharArray();
    foreach (char c
    in decryptpwd)
                        password.AppendChar(c);
                    clientContext.Credentials
    = new SharePointOnlineCredentials(username, password);
                    clientContext.ExecuteQuery();
    //Setting SiteURL Client context
    Web web = clientContext.Web;//
                    clientContext.Load(web);
                    clientContext.ExecuteQuery();
    List lstProductFamily = web.Lists.GetByTitle("Products");
    for (int iRow
    = 0; iRow < listTable.Rows.Count; iRow++)
    ListItemCreationInformation itemCreateInfo =
    new ListItemCreationInformation();
    ListItem newItem = lstProductFamily.AddItem(itemCreateInfo);
    //FieldLookupValue flv = newItem["Publisher"] as FieldLookupValue ;
    //string lkup = flv.LookupValue;
    //int valueid = 0;
    //valueid = flv.LookupId;
                        newItem["Publisher"]
    = Convert.ToString(listTable.Rows[iRow][0]);
                        newItem["ProductName"]
    = Convert.ToString(listTable.Rows[iRow][1]);
                        newItem.Update();
                        clientContext.ExecuteQuery();
                catch
    (Exception ex)
    throw ex;
    But I'm getting the following error on running the above code "Invalid data has been used to update the list item. The field you are trying to update may be read only." 
    Can anybody please help me out?

    Hi,
    According to your description, my understanding is that you want to update data to look up field.
    I have a test about updating look up field using Client Object Model in my environment. lookup field will accept an array to set the field value.
    Here is the code snippet:
    Microsoft.SharePoint.Client.ClientContext ctx = new ClientContext("http://sp2013sps/sites/test/");
    if (ctx != null)
    List list = ctx.Web.Lists.GetByTitle("List3");
    ListItem itemToUpdate = list.GetItemById(1);
    ctx.Load(itemToUpdate);
    ctx.ExecuteQuery();
    FieldLookupValue newLookUpField = new FieldLookupValue();
    newLookUpField.LookupId = 3;
    FieldLookupValue newLookUpField1 = new FieldLookupValue();
    newLookUpField1.LookupId = 4;
    FieldLookupValue[] newarr = { newLookUpField, newLookUpField1 };
    itemToUpdate["lookup"] = newarr;
    itemToUpdate.Update();
    ctx.Load(itemToUpdate);
    ctx.ExecuteQuery();
    Best regards
    Patrick Liang
    TechNet Community Support

  • Adding new items in Contract created by referring to a quotation

    Dear experts,
    I have been asked to enhance the contract creation process when it is created by referring to a quotation. The enhancement should make 1 item with quantity=3 in quotation appear as 3 items with quantity=1 in the contract.
    By making an enhancement in USEREXIT_CHECK_VBAP of SAPMV45A, I have been able to split the single item read from the quotation into 3 line items - but unfortunately I still unable to do the same with their pricing conditions and billing plan. My thinking is that there must exist a routine to recalculate pricing conditions of each items in the original program. But what is that and how to use it is something that I need to know.
    Please give me some light on this... Thanks.

    HI
    GOOD
    TRY TO USE THE USER EXITS AMONG THESE
    SDTRM001            Reschedule schedule lines without a new ATP check
    V45A0002            Predefine sold-to party in sales document
    V45A0003            Collector for customer function modulpool MV45A
    V45A0004            Copy packing proposal
    V45E0001            Update the purchase order from the sales order
    V45E0002            Data transfer in procurement elements (PRreq., assembly)
    V45L0001            SD component supplier processing (customer enhancements)
    V45P0001            SD customer function for cross-company code sales
    V45S0001            Update sales document from configuration
    V45S0003            MRP-relevance for incomplete configuration
    V45S0004            Effectivity type in sales order
    V45W0001            SD Service Management: Forward Contract Data to Item
    V46H0001            SD Customer functions for resource-related billing
    V60F0001            SD Billing plan (customer enhancement) diff. to billing p
    SDAPO001            Activating Sourcing Subitem Quantity Propagation
    V45A0001            Determine alternative materials for product selection
    THANKS
    MRUTYUN^

  • Adding new items in ME21N using USEREXIT/BADI with BOM explosion

    I have following business scenario. There is purchase requisition consisting just one material. In ME21N we are creating new purchase order. This purchase order needs to consist that item (we drag&drop this item from purchase requisition).
    The problem is, that this item is in fact BOM, so we would like to explode it and select just some entries from them basing on some Z* configuration and we can't use standard BOM explosion from ME21N.
    The idea to solve that issue is following:
    1. Explode there BOM for material;
    2. Filter out not needed items from that explosion using Z-config table;
    3. Copy filtered items using USER-EXIT / BADI , ENHANCEMENT-SPOT into purchase order items.
    The best, if this USER-EXIT / BADI, ENHANCEMENT-SPOT will be used only when drag&drop purchase requisition item into new purchase order.
    The point is that I'm not able to find out such USER-EXIT, BADI or ENHANCEMENT-SPOT.
    P.S. There is for instance exit "MM06E007 Change document for requisitions upon conversion into PO", but interface of that exit completely doesn't fit my needs.
    Any ideas?

    Hello Tomasz Suchanek ,
                                                  There is no BADI/ Enhancement Spots / User Exits that you can use for this requirement.
    You are trying to change the SAP standard Functionality.
    You need to contact SAP for consulting .
    Thanks,
    Greetson

  • Adding new item to a result page for customer search

    Hi all,
    I have the following requirement :
    In Sales Dashboard,once the user queries for customer, the result table shows name, registery id, address and some other fields.
    I have to add another column 'Account Number', which will display customer number of the customer. With forms personalization, I was able to show the column, but how do I get the value of account_number to display in this column?
    Sorry for the basic question. I am new to OAF and have started reading the guidelines.
    I just need help with the directions I need to go ahead in.
    TIA,
    AZ

    Go to "about this page" link and check the associated VO. if the VO already has the required field which you are looking for, then just set those VO name and attribute. Otherwise you will have to go for substitution.
    Search on forum and you will find many similar discussions.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Problem with New Item window

    I have been adding news items to the Featured News Widgets. The content area does not size to the text in the news content window.
    Each item has a long window of empty content space where the text ends. I can't see a place where this can be configured. Please advise - Thanks

    The Featured News Widget doesn`t work. Adding new items by clicking on that little "plus symbol" generates.... nothing. Anybody ever tried to use this widget with more than the 3 items coming with the base version? Would be great if sb could explain this widget in detail. Thanks in advance.

  • How Insert new item in old PO ?

    Hii,
       how to Insert new item in old PO . also give related links to this whare i can find my ans.. with some example.
    Thanks & Regards,
    Arya

    Hi
    Go through the below link
    adding new items to existing purchase order
    Regards
    Pavan

  • Separtae  PO for the third party vendor while adding the item in the sales

    Hi
      There is any possible to create to separate PO for the added new item (third party vendor)in the existing sale order .
    Thanks
    Ramesh

    I don't think it will update the Billing Date. However, In VF while creating Invoice, we can mention the required Date.
    Regards,
    Rajesh Banka

  • New items not shown

    Portal 3.0.8 - Solaris.
    I'm adding item to my content area and everything looks good until the item is submitted. It is then not shown on my CA page.
    If I create a new CA page the items will appear. But then the same thing happens all over again when adding new items.
    Anyone have a clue ?

    I was just over to my client and found some things out.
    No, I did not clear my browser cache but set it to check the page on every visit. Items still invisible.
    The items are invisible in both view and edit mode.
    This client originally created a content area with the NLS params set for the wrong language (default which didn't handle swedish chars). They then created a new content area using the correct NLS params. All CA pages created for this new CA will render items invisible. Creating new CA pages will not change anything.
    If setting the CA to use the CA page originally created for the first (default NLS) CA all items will be visible.
    Are we homing in on the problem here ?
    And yes, all this is done using the PORTAL30 user.

  • EF database add new item from WPF datagrid

     var ctx = new SomeEntities1();
            TblStudentMission smm = new TblStudentMission();
             TblStudentMission sm = e.Row.DataContext as TblStudentMission;
      smm.Remark = sm.Remark;
                        smm.End_Mission = sm.End_Mission;
                        smm.EOD_Mission = sm.EOD_Mission;
                        smm.StudentId = sm.StudentId; //???null as sm.staffid is null
                        smm.TblMission.Mission_Name = sm.TblMission.Mission_Name; // ???null as tblmissionis null
                        sel.ctx1.TblStudentMission.Add(smm);tblstudentmission has missionidpk as foreign key from tblmission
    Beautiful Distractions...

    Need help on how to approach this..adding new item to WPF datagrid, in Roweditending handler, i instantiate my entity to the datacontext of datagrid as below
    var s = new TblStudentMission var sm = e.Row.DataContext as TblStudentMission;
    problem is TblStudentMission has a foreign column MissionName that needs to be filled from datagrid entry but (sm.TblMission.MissionName) comes up as null,anyway of making it load. some type of eager loading?or any other approach welcome
    Beautiful Distractions...

  • Adding new fields to Item Data - PO (ME

    Hi All,
    Is it possible to add new custom fields to PO Item Data in Confirmations tab and these new fields are required only in PO Change (ME22N).
    How can we achieve this!
    Can anybody provide feasible solution for the same!
    can anybody tell me if this is possible!
    Thanks in advance.
    Thanks,
    Deep.

    Hi All,
    Thanks for the reply.
    Can anybody confirm BADI ME_GUI_PO_CUST will acheive desired functionality for above posted issue!
    Functionality: Adding new custom fields to confirmation tab. During Inbound delivery in confirmation tab (Item data) if 'Confirmation category' is selected then the new custom fields should show up below for input & they can be saved.
    if 'Confirmation category' is not selected then new custom fields should be invisible.
    Thanks,
    Deep.
    Edited by: Deep on Jul 24, 2009 4:49 AM
    Edited by: Deep on Jul 24, 2009 5:05 AM

  • ADDING A NEW ITEM IN THE CREDIT REQUEST DETAILS PAGE.

    Dear friends,
    Please help me with this scenario.Thanks so much for your help.
    Task: ADDING A NEW ITEM IN THE CREDIT REQUEST DETAILS PAGE.
    Need to create a new item on this page called "approver notes" (column notes).
    Can this be achieved by personalization?
    Scenario:
    On credit request details page disputed invoice number, request date, status, bill to, ship to, etc are displayed.
    When the status is "not approved”, item should be displayed along the "rejected" comment.
    If the status is other than "not approved" then the item should not be displayed.

    what page is this ? are you sure it is a OAF page ?
    If it is a OAF page, you would need to extend the controller to fire a partial action for the item and then control the display property of the comments field
    Tapash

Maybe you are looking for

  • JTextField1.toString() has no "text="

    Instances of JButton, JLabel and JTextField all have a getText() method. However, the following produces strings containing the text for JButton and JLabel, but not for JTextField (see below). Why would that be? There are occasions when it would be u

  • How To Use Multiple Currencies in single payroll ........

    Dear All Can you help me How To Use Multiple Currencies in single payroll? with regards User600722

  • Register a Callback function in LabVIEW

    Is there any way to register a callback function in LabVIEW. For example: I have a DLL on Win2k that run a thread. This thread is doing a certain task (it is not important what it does...) I can't predict when this task will end and I need to know wh

  • HTTPS and UWL and port 50001

    When we click on the Manager Self Service tab in SAP portal when using https/ssl (https://server.company.com/irj/portal), all iViews appear correctly except for the UWL which is requested in a non-secure way over port 50000. http://server.company.com

  • BIB-9509: please help to fix

    BI Beans Diagnostics(v1.0.2.0) 3/29/05 =============================================================================== JDEV_ORACLE_HOME .......................... = c:\JDeveloper JAVA_HOME ................................. = c:\JDeveloper\jdk JDevelo