Function WS_DELIVERY_UPDATE, normal PGI

hi all,
i want to do normal PGI for a DO. in which internal tables shall i pass the storage location info, pls advise

Hi Ester,
Try this code.
  DATA: VBKOK     LIKE VBKOK.
  DATA COMMIT TYPE  RVSEL-XFELD  VALUE 'X'.
  VBKOK-WABUC    = 'X'.
  VBKOK-VBELN_VL = LIKP-VBELN. "delivery number
CALL FUNCTION 'WS_DELIVERY_UPDATE_2'
       EXPORTING
         VBKOK_WA          = VBKOK
         DELIVERY          = LIKP-VBELN   "delivery number
         COMMIT            = COMMIT
       IMPORTING
         EF_ERROR_ANY      = EF_ERROR_ANY
       TABLES
         PROT              = PROT
       EXCEPTIONS
         ERROR_MESSAGE     = 99.
Thanks,
Ashok.

Similar Messages

  • Will WS_DELIVERY_UPDATE returns PGI number?

    Hi Experts,
    I want a small information that i am little bit struggling with this issue, i.e. I want PGI number (Material document number) that with out usig select query from MKPF/MSEG tables. I am using WS_DELIVERY_UPDATE function module for PGI. Will it return us that material document number? Please provide me your valuable suggestions and will be reqrded. Thanks in advance....
    Regards,
    Lakshman....

    Hi Venkat,
    Thanks for your immediate response.  Please provide me the paramter name which will be return the value of PGI number. PLease becuase i did't found any one...please provide me...
    Regards,
    Kumar..

  • Multi-touch display is not functioning as normal

    multi-touch display is not functioning as normal on the right half of the screen....

    Hi James,
    Thx for the quick reply...
    I have already tried most of these troubleshooting steps but no go....
    Also, when you tap or use only the right half of the screen, the touch display is inconsistent and makes a wierd sound [ like a hollow tub or something ] and it's not a cosmetic issue...
    ----Apple store / Authorized Service Center is still working on this ongoing issue with no results and still not confirming for the iphone replacement...Thnx..

  • How do you reactivate the grey utilities scroll up tab at the bottom of the screen that should reveal wifi, bluetooth etc? Doesn't matter what orientation the ipad is in, it won't scroll up from the bottom. All other screen functions work normally.

    How do you reactivate the grey utilities scroll up tab at the bottom of the screen that should reveal wifi, bluetooth etc?
    Doesn't matter what orientation the ipad is in, it won't scroll up from the bottom.
    All other screen functions work normally.

    Settings/Control Center. There are two options which are pretty self-explanitory...one enables/disables access on the Lock Screen and one enables/disables access within apps/games.

  • Difference in partner functions in normal and consignment sales

    hi,
    What is the major difference in partner functions in normal sales and consignment sales Processing?
    regards
    prabudh

    Dear Prabudh
    I dont think there is a difference in normal sales and consignment sales, as for as Partner Functions are concerned.  The impact will be on inventory where it will get reduced immediately once you make direct sales whereas it is NOT in consignment process.
    Thanks
    G. Lakshmipathi

  • I have a problem in using the function 'WS_DELIVERY_UPDATE'

    I want to update the delivery document at the batch field (CHARG = '0000000605') by using the function 'WS_DELIVERY_UPDATE'.
    Before update, this batch field is initial.
    After having completely updated this delivery, I try to update this batch field again. However, I found the error message showing that 'Confirmed batch 0000000621 is different from batch 0000000605 for main item'.
    How can I solve this problem to update this batch again? This error occurs when I use function 
    'WS_DELIVERY_UPDATE', 'BAPI_OUTB_DELIVERY_CONFIRM_DEC', and 'BAPI_OUTB_DELIVERY_CHANGE'.

    Check OSS 674567.

  • My Macbook air 2011, one line of key board (a to l) do not respond, but when an external keyboard is hooked up these keys starts functioning as normal, after disconnecting the external key board (from the USB) the problem comes back...Please help. Thank y

    My Macbook air 2011- key board (a-l) do not respond, but when you hook up an external key board to the usb these keys on the computer also starts functioning as normal and when you disconnect the external key, these keys stops functioning...?

    Perform SMC reset
    Shut down the computer.
    Plug in the MagSafe power adapter to a power source, connecting it to the Mac if its not already connected.
    On the built-in keyboard, press the (left side) Shift-Control-Option keys and the power button at the same time.
    Release all the keys and the power button at the same time.
    Press the power button to turn on the computer. 
    Note: The LED on the MagSafe power adapter may change states or temporarily turn off when you reset the SMC.

  • FUNCTION-BASED NORMAL

    i got indexed on a column...
    Index type is FUNCTION-BASED NORMAL...
    but is there any system table where i can find what function based normal it is ..,
    I mean, can it be UPPER( column1) can it be column1 DESC...
    can i find this information on any system table or ?

    user10382291 wrote:
    IS is posible to put result from the metadata package into a variable?
    So i can execute the variable or something...
    Edited by: user10382291 on 2008-nov-10 05:45Yes:
    create table t (a varchar2(2));
    create table succeeded.
    create index t_idx on t(upper(a));
    create index succeeded.
    declare
      idx_ddl varchar2(32000);
    begin
      idx_ddl := dbms_metadata.get_ddl('INDEX','T_IDX');
      dbms_output.put_line(idx_ddl);
    end;
      CREATE INDEX "SENTINEL"."T_IDX" ON "SENTINEL"."T" (UPPER("A"))
      PCTFREE 10 INITRANS 2 MAXTRANS 255
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "USERS" ;
    anonymous block completed

  • 3G, very dim screen when on, possibly no backlight? Otherwise functions perfectly normally..help please?

    iphone 3g has been off for about a month. Bought a new charger as the old cable was a bit worse for wear. Phone charged fine and turned on fine, however the screen is very dim and can only be seen when held in the light. It's possible that the backlight has failed.
    Other than the backlight it functions perfectly normally - I have tried restarting, restoring, backup and resyncing, hard reset etc. but nothing has solved the problem.
    This phone is a replacement for a water damaged one that I sent back to O2 and claimed on the insurance, I hope I dont have to send this one back and get charged aother £50 excess
    All help appreciated
    Thanks

    I'm sure there are things you could do yourself, but that would void your warranty. Give Apple a call and explain the problem to them, see if you can get it serviced under warranty. Thats what I would do.

  • Websheet functionality in normal apex application

    Hellow,
    I was wondering if it was possible to get some functionalities of the websheet aplications to a normal APEX application.
    What i need is:
    - The possibilitie to copy pase .xls data into a datagrid
    - Have an existing dynamic report using that datagrid ("data selection" instead of "Saved Report")     
    - Stil be able to insert, print, edit,...
    This is just the websheet functionality "Create Data Grid" "Copy and Paste" , and then have a data selection on that datagrid.
    Thanks
    Mathias

    Hellow,
    I was wondering if it was possible to get some functionalities of the websheet aplications to a normal APEX application.
    What i need is:
    - The possibilitie to copy pase .xls data into a datagrid
    - Have an existing dynamic report using that datagrid ("data selection" instead of "Saved Report")     
    - Stil be able to insert, print, edit,...
    This is just the websheet functionality "Create Data Grid" "Copy and Paste" , and then have a data selection on that datagrid.
    Thanks
    Mathias

  • Aggregate functions and normal function in SELECT statement

    hi
    i am using MS Access DataBase ...
    i have lot of integer coloumns in my Database
    i want to retrieve the coloumn values as well as the min , max and avg of that coloumn
    i dont know whether its possible to do in a single statement or not
    generally if we retrieve the values of a particular coloum
    we say " SELECT length FROM TABLENAME WHERE somecondition"
    and then get the values as int len = rs.getInt("length")..... over a loop
    but how to retieve the value of an aggregate function?
    like if i say "SELECT avg(colname),max(colname),min(colname) FROM TABLENAME WHERE somecondition"
    how do i retrieve this value ???
    i dont know if its possible or not ....pls help.........

    Give names too each column
    SELECT avg(colname) average,max(colname) max,....
    and then rs.getInt("average")
    This works in Oracle and Sybase, not sure on MS access tough

  • VL06P : BAPI/Function Module for PGI

    Hi All,
    Anybody have the information about the BAPI/FM for doing PGI with VL06P for delivery.
    Thanks

    Hi,
    You can do the PGI through following BAPI FM
    BAPI_OUTB_DELIVERY_CONFIRM_DEC
    Regards,
    Krishnakumar

  • "This VI or function runs normally only if no error occurred before this VI or function runs" any good work arounds?

    I have a couple of applications where data is collected and files are saved several times during it's operation.   I would like to just simply collect any errors and display them at the end of the run, but both Visa and File read write vis will not allow that.  If the error cluster isn't wired then an error message will pop up and operation stop until somebody clicks on continue.   That doesn't work well for my operation either since it's mostly running without any attendence. 
    In case of a Visa operation I input a dummy error cluster and collect a dummy error cluster at the output.  Any error messages created by the Visa vis is lost.  I guess that's not so bad, but sure is a pain.  

    The reason for the dialog box is the "Automatic Error Handling". You can either turn it off in LV options or wire the outgoing error cluster to something - like a subVI that parses the contents of the cluster and writes them to a file if an error occurs.
    Why are the VISA errors being "lost"? What do you mean you collect a dummy error cluster at the output? Can you post some of your code?
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • I am running windows 7 on a dell desktop. PDF files freeze shortly after opening or tryiong to print. Only the PDF freezes all other functions remain normal. I can close the PDF. I have an HP officejet pro 8600

    I am running Windows 7 on a Dell desktop. PDF files freeze shortly after opening. No other programs freeze. I can close the PDF file. I am using a HP Officejet Pro 8600

    Hi Duncan,
    Please confirm if you Are using Acrobat.com online services or Acrobat software?
    Regards,
    Rahul

  • JFileChooser functioning like normal Windows Apps FileChooser

    I have this problem that's been giving me too much headache already. When you click on Open on any Windows app, and click on the "Details" button, it will show you the files' details (FileName, Type, Date, etc.). This is the same with JFileChooser, so no problem there. The thing is, with Windows apps, you can click on the headers and have the files sorted according to the header you clicked. This doesn't happen to a JFileChooser. Has any of you guys did this or found any solution to this problem? I've searched (almost) everywhere, Google, Sun, etc., I even looked into JFileChooser's source code but I can't seem to find anything.
    I know this is possible, so anyone who can help, you'll be greatly appreciated.

    Thought I would pass along some updated code for this as this was very helpful to us as we are still on jdk 1.5.
    This has been modified to use the Windows UI. The advantage of doing this in the UI class is so you can set it as the default UI for JFileChooser inside your application. If you had this as a subclass of JFileChooser (as it is above) then you explicitly have to use that subclass throughout your application. By setting this UI class as the FileChooserUI in your UIDefaults table then every instance of JFileChooser will now automatically use your overridden UI and theres nothing else you have to do.
    import java.awt.Component;
    import java.awt.Container;
    import java.awt.event.MouseAdapter;
    import java.awt.event.MouseEvent;
    import java.io.File;
    import java.util.Collections;
    import java.util.Comparator;
    import java.util.Vector;
    import javax.swing.JComponent;
    import javax.swing.JFileChooser;
    import javax.swing.JPanel;
    import javax.swing.JTable;
    import javax.swing.UIManager;
    import javax.swing.plaf.ComponentUI;
    import javax.swing.plaf.basic.BasicDirectoryModel;
    import javax.swing.table.JTableHeader;
    import javax.swing.table.TableColumn;
    import javax.swing.table.TableColumnModel;
    import com.sun.java.swing.plaf.windows.WindowsFileChooserUI;
    public class SortableFileChooserUI extends WindowsFileChooserUI {
         private DirectoryModel model;
         public static ComponentUI createUI(JComponent c) {
              return new SortableFileChooserUI((JFileChooser)c);
         public SortableFileChooserUI(JFileChooser filechooser) {
              super(filechooser);
         @Override
      protected final void createModel() {
              this.model = new DirectoryModel(getFileChooser());
          * Overridden to get our own model
          * @return
         @Override
      public final BasicDirectoryModel getModel() {
              return this.model;
          * Calls the default method then adds a MouseListener to the JTable
          * @param chooser
          * @return
         @Override
      protected final JPanel createDetailsView(JFileChooser chooser) {
              JPanel panel = super.createDetailsView(chooser);
              //Since we can't access FileChooserUI's private member detailsTable
              //directly, we have to find it in the JPanel
              final JTable tbl = findJTable(panel.getComponents());
              if (tbl != null) {
                   //Fix the columns so they can't be rearranged, if we don't do this
                   //we would need to keep track when each column is moved
                   tbl.getTableHeader().setReorderingAllowed(false);
                   //Add a mouselistener to listen for clicks on column headers
                   tbl.getTableHeader().addMouseListener(new MouseAdapter() {
                        @Override
            public void mouseClicked(MouseEvent e) {
                             //Only process single clicks
                             if (e.getClickCount() > 1) {
                return;
                             e.consume();
                             Column column = Column.getColumn(tbl.getTableHeader().columnAtPoint(e.getPoint()));
                             if ((column != null) && column.isSortable()) {
                SortableFileChooserUI.this.model.sort(tbl.getTableHeader().columnAtPoint(e.getPoint()), tbl);
              return panel;
          * Finds the JTable in the panel so we can add MouseListener
          * @param comp
          * @return
         private final JTable findJTable(Component[] comp) {
              for (int i = 0; i < comp.length; i++) {
                   if (comp[i] instanceof JTable) {
                        return (JTable)comp;
                   if (comp[i] instanceof Container) {
                        JTable tbl = findJTable(((Container)comp[i]).getComponents());
                        if (tbl != null) {
    return tbl;
              return null;
         private final static class DirectoryModel extends BasicDirectoryModel {
              private Column col = Column.FILENAME;
              private boolean ascending;
              private Comparator<File> filesizeComparator = new FilesizeComparator();
              private Comparator<File> filenameComparator = new FilenameComparator();
              private Comparator<File> filedateComparator = new FiledateComparator();
              * Must be overridden to extend BasicDirectoryModel
              * @param chooser
              protected DirectoryModel(JFileChooser chooser) {
                   super(chooser);
              * Resorts the JFileChooser table based on new column
              * @param c
              protected final void sort(int c, JTable tbl) {
                   //Set column and order
                   this.col = Column.getColumn(c);
                   this.ascending = !this.ascending;
                   String indicator = " ^";
                   if (this.ascending) {
                        indicator = " v";
                   final JTableHeader th = tbl.getTableHeader();
                   final TableColumnModel tcm = th.getColumnModel();
                   for (Column column : Column.values()) {
                        tcm.getColumn(column.getIndex()).setHeaderValue(column.getLabel());
                   final TableColumn tc = tcm.getColumn(this.col.getIndex()); // the column to change
                   tc.setHeaderValue(this.col.getLabel() + indicator);
                   th.repaint();
                   //Requery the file listing
                   validateFileCache();
              * Sorts the data based on current column setting
              * @param data
              @Override
    protected final void sort(Vector<? extends File> data) {
                   Comparator<File> comparator = null;
                   switch (this.col) {
                        case FILEDATE:
                             comparator = this.filedateComparator;
                             break;
                        case FILESIZE:
                             comparator = this.filesizeComparator;
                             break;
                        case FILENAME:
                             comparator = this.filenameComparator;
                             break;
                        default:
                             comparator = null;
                             break;
                   if (comparator != null) {
                        Collections.sort(data, comparator);
              private class FiledateComparator implements Comparator<File> {
                   public int compare(File a, File b) {
                        int ret = 1;
                        if (a.lastModified() > b.lastModified()) {
                             ret = -1;
                        else if (a.lastModified() == b.lastModified()) {
                             ret = 0;
                        if (DirectoryModel.this.ascending) {
                             ret *= -1;
                        return ret;
              private class FilesizeComparator implements Comparator<File> {
                   public int compare(File a, File b) {
                        int ret = 1;
                        if (a.length() > b.length()) {
                             ret = -1;
                        else if (a.length() == b.length()) {
                             ret = 0;
                        if (DirectoryModel.this.ascending) {
                             ret *= -1;
                        return ret;
              private class FilenameComparator implements Comparator<File> {
                   public int compare(File a, File b) {
                        if (DirectoryModel.this.ascending) {
                             return a.getName().compareToIgnoreCase(b.getName());
                        else {
                             return -1 * a.getName().compareToIgnoreCase(b.getName());
         private enum Column {
              FILENAME(0, UIManager.getString("FileChooser.fileNameHeaderText"), true),
              FILESIZE(1, UIManager.getString("FileChooser.fileSizeHeaderText"), true),
              FILETYPE(2, UIManager.getString("FileChooser.fileTypeHeaderText")),
              FILEDATE(3, UIManager.getString("FileChooser.fileDateHeaderText"), true),
              FILEATTR(4, UIManager.getString("FileChooser.fileAttrHeaderText"));
              private int index;
              private String label;
              private boolean isSortable;
              private Column(int index, String label) {
                   this(index, label, false);
              private Column(int index, String label, boolean isSortable) {
                   this.index = index;
                   this.label = label;
                   this.isSortable = isSortable;
              protected int getIndex() { return this.index; }
              protected String getLabel() { return this.label; }
              protected boolean isSortable() { return this.isSortable; }
              @Override public String toString() { return getLabel(); }
              protected static Column getColumn(int index) {
                   for (Column column : values()) {
                        if (column.getIndex() == index) {
                             return column;
                   return null;

Maybe you are looking for

  • HP laptop USB driver issue

    hello guys i have an hp laptop pavilion g6 i got a problem with my usb cable connected i can't connect through my laptop and installing hardware becomes failed and it appears in the device manager an exclamation point on iphone ..please help me im tr

  • GRN creation using BAPI_GOODSMVT_CREATE

    Hi   I have created a program for creation of GRN using the Bapi BAPI_GOODSMVT_CREATE.I am able to create GRN successfully but one field STOCK TYPE (STCK_TYPE IN BAPI) does not fill with correct value.I am supposed to put the value for that as '2' '3

  • Strange error in SDO_ROUTER_PARTITION.PARTITION_ROUTER

    Hi, the statement exec SDO_ROUTER_PARTITION.PARTITION_ROUTER('PARTITION', 4000); gives the following output on Oracle 10.2.0.1.0 on Windows XP w/patch 5632711 applied. What can be worng? Why should the partition procedure create a file or a directory

  • View attachment list in ECC6

    Hi, I am trying to assign the GOS service for the Z transaction using a ehancment spot in PBO . Problem is I am getting the GOS service enabled for the transaction. But when I click on "View Attachment list" service, it is given short dump in ECC6 wh

  • I have final cut pro 4 academic help me out pleaz

    its not capturing my mini hdv tape film. when i press capture now the screen pops up but no movement