Please help with this inventory query

I want 2 display
item_num(segment1), description(mtl_system_items), on_hand_quantity, reservations, availability
pleseeeeeeeeeeeeeeeeeeeee help meeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
i guess we need to join these three tables ??
mtl_system_items
mtl_onhand_quantities_detail
mtl_reservations

Any body thereeeeeeeeeeeeeeeee :(((((((((

Similar Messages

  • Hi. I have an iPhone 4s. The music doesn't play when I connect it to my car stereo. It used to play previously but stopped playing all of a sudden. My phone is getting charged when I cut it to the USB port. Please help with this. The iOS is 6.1.3.

    Hi. I have an iPhone 4s. The music doesn't play when I connect it to my car stereo. It used to play previously but stopped playing all of a sudden. My phone is getting charged when I cut it to the USB port. Please help with this. The iOS is 6.1.3.

    Hello Priyanks,
    I found an article with steps you can take to troubleshoot issues with an iPhone not connecting to your car stereo:
    iOS: Troubleshooting car stereo connections
    http://support.apple.com/kb/TS3581
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • My "fn" button is stuck on only revealing mission control in Lion. With this problem none of my "f" keys will work nor can I hold "fn" and delete to delete text in opposite direction. Can someone please help with this?

    My "fn" button is stuck on only revealing mission control in Lion. With this problem none of my "f" keys will work nor can I hold "fn" and delete to delete text in opposite direction. Can someone please help with this?

    Following the fix here worked for me:
    https://discussions.apple.com/message/15680566#15680566
    except my plist file was in ~/Library instead of /Library.
    -Scott

  • Please help with an embedded query (INSERT RETURNING BULK COLLECT INTO)

    I am trying to write a query inside the C# code where I would insert values into a table in bulk using bind variables. But I also I would like to receive a bulk collection of generated sequence number IDs for the REQUEST_ID. I am trying to use RETURNING REQUEST_ID BULK COLLECT INTO :REQUEST_IDs clause where :REQUEST_IDs is another bind variable
    Here is a full query that use in the C# code
    string sql = "INSERT INTO REQUESTS_TBL(REQUEST_ID, CID, PROVIDER_ID, PROVIDER_NAME, REQUEST_TYPE_ID, REQUEST_METHOD_ID, " +
    "SERVICE_START_DT, SERVICE_END_DT, SERVICE_LOCATION_CITY, SERVICE_LOCATION_STATE, " +
    "BENEFICIARY_FIRST_NAME, BENEFICIARY_LAST_NAME, BENEFICIARY_DOB, HICNUM, CCN, " +
    "CLAIM_RECEIPT_DT, ADMISSION_DT, BILL_TYPE, LANGUAGE_ID, CONTRACTOR_ID, PRIORITY_ID, " +
    "UNIVERSE_DT, REQUEST_DT, BENEFICIARY_M_INITIAL, ATTENDING_PROVIDER_NUMBER, " +
    "BILLING_NPI, BENE_ZIP_CODE, DRG, FINAL_ALLOWED_AMT, STUDY_ID, REFERRING_NPI) " +
    "VALUES " +
    "(SQ_CDCDATA.NEXTVAL, :CIDs, :PROVIDER_IDs, :PROVIDER_NAMEs, :REQUEST_TYPE_IDs, :REQUEST_METHOD_IDs, " +
    ":SERVICE_START_DTs, :SERVICE_END_DTs, :SERVICE_LOCATION_CITYs, :SERVICE_LOCATION_STATEs, " +
    ":BENEFICIARY_FIRST_NAMEs, :BENEFICIARY_LAST_NAMEs, :BENEFICIARY_DOBs, :HICNUMs, :CCNs, " +
    ":CLAIM_RECEIPT_DTs, :ADMISSION_DTs, :BILL_TYPEs, :LANGUAGE_IDs, :CONTRACTOR_IDs, :PRIORITY_IDs, " +
    ":UNIVERSE_DTs, :REQUEST_DTs, :BENEFICIARY_M_INITIALs, :ATTENDING_PROVIDER_NUMBERs, " +
    ":BILLING_NPIs, :BENE_ZIP_CODEs, :DRGs, :FINAL_ALLOWED_AMTs, :STUDY_IDs, :REFERRING_NPIs) " +
    " RETURNING REQUEST_ID BULK COLLECT INTO :REQUEST_IDs";
    int[] REQUEST_IDs = new int[range];
    cmd.Parameters.Add(":REQUEST_IDs", OracleDbType.Int32, REQUEST_IDs, System.Data.ParameterDirection.Output);
    However, when I run this query, it gives me a strange error ORA-00925: missing INTO keyword. I am not sure what that error means since I am not missing any INTOs
    Please help me resolve this error or I would appreciate a different solution
    Thank you

    It seems you are not doing a bulk insert but rather an array bind.
    (Which you will also find that it is problematic to do an INSERT with a bulk collect returning clause (while this works just fine for update/deletes) :
    http://www.oracle-developer.net/display.php?id=413)
    But you are using array bind, so you simply just need to use a
    ... Returning REQUEST_ID INTO :REQUEST_IDand that'll return you a Rquest_ID[]
    see below for a working example (I used a procedure but the result is the same)
    //Create Table Zzztab(Deptno Number, Deptname Varchar2(50) , Loc Varchar2(50) , State Varchar2(2) , Idno Number(10)) ;
    //create sequence zzzseq ;
    //CREATE OR REPLACE PROCEDURE ZZZ( P_DEPTNO   IN ZZZTAB.DEPTNO%TYPE,
    //                      P_DEPTNAME IN ZZZTAB.DEPTNAME%TYPE,
    //                      P_LOC      IN ZZZTAB.LOC%TYPE,
    //                      P_State    In Zzztab.State%Type ,
    //                      p_idno     out zzztab.idno%type
    //         IS
    //Begin
    //      Insert Into Zzztab (Deptno,   Deptname,   Loc,   State , Idno)
    //                  Values (P_Deptno, P_Deptname, P_Loc, P_State, Zzzseq.Nextval)
    //                  returning idno into p_idno;
    //END ZZZ;
    //Drop Procedure Zzz ;
    //Drop Sequence Zzzseq ;
    //drop Table Zzztab;
      class ArrayBind
        static void Main(string[] args)
          // Connect
            string connectStr = GetConnectionString();
          // Setup the Tables for sample
          Setup(connectStr);
          // Initialize array of data
          int[]    myArrayDeptNo   = new int[3]{1, 2, 3};
          String[] myArrayDeptName = {"Dev", "QA", "Facility"};
          String[] myArrayDeptLoc  = {"New York", "Chicago", "Texas"};
          String[] state = {"NY","IL","TX"} ;
          OracleConnection connection = new OracleConnection(connectStr);
          OracleCommand    command    = new OracleCommand (
            "zzz", connection);
          command.CommandType = CommandType.StoredProcedure;
          // Set the Array Size to 3. This applied to all the parameter in
          // associated with this command
          command.ArrayBindCount = 3;
          command.BindByName = true;
          // deptno parameter
          OracleParameter deptNoParam = new OracleParameter("p_deptno",OracleDbType.Int32);
          deptNoParam.Direction       = ParameterDirection.Input;
          deptNoParam.Value           = myArrayDeptNo;
          command.Parameters.Add(deptNoParam);
          // deptname parameter
          OracleParameter deptNameParam = new OracleParameter("p_deptname", OracleDbType.Varchar2);
          deptNameParam.Direction       = ParameterDirection.Input;
          deptNameParam.Value           = myArrayDeptName;
          command.Parameters.Add(deptNameParam);
          // loc parameter
          OracleParameter deptLocParam = new OracleParameter("p_loc", OracleDbType.Varchar2);
          deptLocParam.Direction       = ParameterDirection.Input;
          deptLocParam.Value           = myArrayDeptLoc;
          command.Parameters.Add(deptLocParam);
          //P_STATE -- -ARRAY
          OracleParameter stateParam = new OracleParameter("P_STATE", OracleDbType.Varchar2);
          stateParam.Direction = ParameterDirection.Input;
          stateParam.Value = state;
          command.Parameters.Add(stateParam);
                  //idParam-- ARRAY
          OracleParameter idParam = new OracleParameter("p_idno", OracleDbType.Int64 );
          idParam.Direction = ParameterDirection.Output ;
          idParam.OracleDbTypeEx = OracleDbType.Int64;
          command.Parameters.Add(idParam);
          try
            connection.Open();
            command.ExecuteNonQuery ();
            Console.WriteLine("{0} Rows Inserted", command.ArrayBindCount);
              //now cycle through the output param array
            foreach (Int64 i in (Int64[])idParam.Value)
                Console.WriteLine(i);
          catch (Exception e)
            Console.WriteLine("Execution Failed:" + e.Message);
          finally
            // connection, command used server side resource, dispose them
            // asap to conserve resource
            connection.Close();
            command.Dispose();
            connection.Dispose();
          Console.WriteLine("Press Enter to finish");
          Console.ReadKey();
        }

  • Please help with this issue "To Run a SSIS Package outside of Server Data Tools You must install Drived Column of Integration sercvies of higher" From C# app

     i have searched all over the google and here on MSDN(I have read all the threads related to my problem ) , i am new to SISS and doing my clg project ,
    I have this package which loads data from  dim tables to a fact table , my Package runs without any problem in BIDS (2012)
    I have installed SQl Server integration services on SQL and service is also running in services.msc,
    the problem comes when i execute my package using my C# application i am using MSDN Method to execute a SSIS package programmatically given here.
    "http://msdn.microsoft.com/en-us/library/ms136090.aspx"
    For loading my FactTable i have used a Derived columns  and some lookups , 
    Now if i don't use derived columns and looks ups and just use source and destination component then my package runs fine from my C# application but if i use derived columns or looks ups etc it gives the following error
    "Error in Microsoft.SqlServer.Dts.Runtime.TaskHost/SSIS.Pipeline: To Run a SSIS package outside of SQL Server Data Tools you must Install Derived Column of Integration services of higher"
    I am searching and trying to resolve this issue from previous 2 days but without any luck please help or guide me what is solution to this problem ,,i will be very thankful
    I have also found that integration services that are running on my system have version  10.0
    but the BIDS have version Version 11.0.3402.0
    IS this causing problem ?  if yes then what i have to do  ?

    Hi BlaxButt,
    The package is developed in SSDT installed by SQL Server 2012, so it is a SSIS 2012 package. However, the Integration Services you have installed is SQL Server 2008 R2 version. To run the package outside SSDT, you need SSIS 2012 installed. The reason why
    the package runs fine with only Source and Destination components is that such a simple package can be executed by the DTExec utility installed by SQL Server 2012 Data base Engine or Client Tools (SQL Server Import and Export Wizard). To run a package that
    uses other tasks/components outside SSDT/BIDS, the SSIS runtime is also required except the DTExec utility. To obtain the SSIS 2012 runtime, we have to install SSIS 2012 on the server where the package runs.
    Reference:
    http://stackoverflow.com/questions/19989099/getting-error-running-ssis-package-on-non-ssis-server
    Regards,
    Mike Yin
    TechNet Community Support

  • I have just started using WD external hard drives, I use it to save my movies and music on. On more than one occasion, when I connect to my MacBook it erases everything on had on there. Can someone please help with this problem?

    I have just started using WD external hard drives, I use it to save my movies and music on. On more than one occasion, when I connect it to my MacBook it erases everything I had save on the hard drive. Can someone please help me with this problem? I am super tired of having to put all of my movies and music on the hard drive just to have it erased again. The products I am using are WD 4TB My Book and 2 TB My Passport external hard drives. When it happens, there is always an icon that reads, EFI, along with the My Book icon. Thank you for your assisstance.

    dwgar1322 wrote:
    I have just started using WD external hard drives, I use it to save my movies and music on. On more than one occasion, when I connect it to my MacBook it erases everything I had save on the hard drive. Can someone please help me with this problem? I am super tired of having to put all of my movies and music on the hard drive just to have it erased again. The products I am using are WD 4TB My Book and 2 TB My Passport external hard drives. When it happens, there is always an icon that reads, EFI, along with the My Book icon. Thank you for your assisstance.
    Yes, you have WD software installed  REMOVE IT !! 
    WD has warned its customers about their huge mistake that their software doesnt work on Mavericks and causes data loss.
    (also dont use WD drives anymore)
    Read all about it here:
    https://discussions.apple.com/thread/5475136?start=255&tstart=0
    See their website on removing the destructive WD software here:
    http://community.wd.com/t5/External-Drives-for-Mac/External-Drives-for-Mac-Exper iencing-Data-Loss-with-Maverick-OS/td-p/613775
    Western Digital External Hard Drives Experiencing Data Loss On OS X Mavericks
    http://www.cultofmac.com/252826/western-digital-external-hard-drives-experiencin g-data-loss-on-os-x-mavericks/

  • Please help with this error: "Your request could not be completed because of a disk error"

    So photoshop cs6 was working fine a few weeks ago. After not using it for about 2 weeks, I try opening a RAW file and I get this error every time. JPGs open and work fine. I have extensively searched on the internet for solutions and have tried everything such as: disk checking, deframgenting, playing around with photoshop preferences, deleting temp files, resetting preferences, clearing disk space. I have assigned two hard drives for photoshop, one with 16 GB free and the other with 8 GB free. I am getting very frustrated. Please help!

    mistahbo1 wrote:
    …I have assigned two hard drives for photoshop, one with 16 GB free and the other with 8 GB free. I am getting very frustrated. Please help!
    That's woefully inadequate for scratch file space.
    The rule of thumb I follow says to figure on 50 to 100 times the size of your largest file ever multiplied by the number of files you have open.  I have seen the scratch file exceed 300 GB once, an admittedly rare occurrence, but it often exceeds 200 GB when stitching large panoramas and the like.
    Additionally, if either one those two drives you mention with "16 GB free and the other with 8 GB free" happened to be your boot drive, you'd be in a heap of trouble because neither one of those drives has nearly enough space to accommodate the swap files of the OS and Photoshop's scratch.
    As an example—and stressing that I'm aware that others have even more scratch space than I do—I keep two dedicated, physically separate hard drives as my primary and secondary Photoshop scratch disks and a lot of GB free on my boot drive for the OS.  I have 16 GB of RAM installed:

  • Please help with this slow internet

    Can someone please help me with this slow internet. I have been looking on this forum for a while and have tried about everything I can do. I bought a new macbook, a new airport extreme base station, and have high speed internet. I can connect with a wire and it works great but wirelessly is slower than dial up. I am also not very good with computers so I am not sure how to do a lot of the things that many people say to do. I have comcast internet. If you need anymore information I will do my best to give it. Please help me fix this, remember it is the holiday season be a giver.
    Thanks in advance for any help you can give.
    Aaron

    I believe there are several reasons for Leopard's networking issues.
    I've heard it's worth a try to *turn off IPv6 in the OS network settings and your router* (if such an option exists in your router). IPv6 is the new addressing protocol which many consider to be overkill, seeing as it allows for approximately as many addresses as there are square centimeters of surface area on planet Earth (according to Wikipedia). It's also known to cause issues with Vista, which leads me to believe that the protocol is fundamentally flawed in some way.
    Just a note, turning off IPv6 in the OS is easy, simply go to *System Preferences* > Network > select the *network type* you're using (i.e. Wi-fi, ethernet, FireWire). Then click the Advanced... button, go to the TCP/IP tab, and say *Configure IPv6: Off*.
    Upgrading your router's firmware is worth a try, although such updates should only be performed through the ethernet connection, not over Wi-Fi (otherwise you could risk turning your router into a giant paperweight). You should also take note of your router settings prior to the firmware upgrade, because they will probably be reset with the upgrade.
    Check your *Activity Monitor* in Applications under Utilities. Right-click (or control-click) on the *Activity Monitor* icon and tell the *Dock Icon* to *Show CPU Usage*. Keep an eye on the CPU usage in the dock and if it goes higher than expected, click on the icon and tell the window to *Show Active Processes*, and/or organize the processes by order of CPU usage.
    Leopard doesn't have "nice" processes anymore and I find that some processes that like to use the network prevent other processes from using the network simultaneously. I think a lot of the network issues people are having are due to *Quick Look*, mdworker, and mds. These processes seem to like to go out on the network and make notes about every server available, however there doesn't seem to be any way to make these processes "nice" or kill them permanently without losing valuable system functions. It's interesting, at least, to see the probable cause of some of these networking problems, even if we can't fix them.
    By now, I'm sure I sound like I'm babbling, but I hope at least some of this helps somebody out there.

  • Please help with this part of error...

    Hi all,
    Please help me with this error. What i was trying to do is that when Server send a message to client, it print out on the screen what is sent to Client. For instance, if the Message is called FirstMessage sent to Client, the message FirstClient will display from server console with a specific message such as "First Message from server to client: first Message") and so on. I tried to implement the below code but when compiled it i got error message as follows :
    C:\Java\bin>javac QuoteServer.java
    QuoteServer.java:60: <identifier> expected
    out.close();
    ^
    QuoteServer.java:61: <identifier> expected
    in.close();
    ^
    QuoteServer.java:62: <identifier> expected
    clientSocket.close();
    ^
    QuoteServer.java:63: <identifier> expected
    myserverSocket.close();
    ^
    4 errors
    Her is the Server side socket...
    import java.net.*;
    import java.io.*;
    import java.util.*;
    class QuoteServer
    public static void main(String[] args) throws IOException
    ServerSocket myserverSocket = null;
    try
    myserverSocket = new ServerSocket(4998);
    } catch (IOException e)
                        System.err.println("Could not listen on port: 4998.");
                        System.exit(1);
    Socket clientSocket = null;
    try
    clientSocket = myserverSocket.accept();
    } catch (IOException e)
                        System.err.println("Accept failed.");
                        System.exit(1);
                   PrintWriter out = new PrintWriter(clientSocket.getOutputStream(), true);
                   BufferedReader in = new BufferedReader(
                   new InputStreamReader(
                   clientSocket.getInputStream()));
                   String inputLine, outputLine;
                   QuoteProtocol QP = new QuoteProtocol();
                   outputLine = QP.processInput(null);
                   Date current = new Date();
                   out.println(outputLine);
                   String ToClient;
                   while ((inputLine = in.readLine()) != null )
                             outputLine = QP.processInput(inputLine);
                             out.println(outputLine);
                             System.out.println(inputLine);
                             System.out.println(current.toString());
                             /* additional..if doesn't work delete this code*/
                             while ((ToClient = in.readLine()) != null)
                                  System.out.println("Server: " + ToClient);
                                  if (ToClient.equals("Bye."))
                                  break;
                   /* delete up to break*/
                        if (outputLine.equals("Bye."))
                             break;
    out.close();
    in.close();
    clientSocket.close();
    myserverSocket.close();
    Could someone with the expertise advise me what shall i do?
    Thank you very much.
    Audrea.

    Thanks for the quick reply...
    Here is the code with correct open/close braces...
    import java.net.*;
    import java.io.*;
    import java.util.*;
    class QuoteServer
    public static void main(String[] args) throws IOException
    ServerSocket myserverSocket = null;
    try
    myserverSocket = new ServerSocket(4998);
    } catch (IOException e)
                        System.err.println("Could not listen on port: 4998.");
                        System.exit(1);
    Socket clientSocket = null;
    try
    clientSocket = myserverSocket.accept();
    } catch (IOException e)
                        System.err.println("Accept failed.");
                        System.exit(1);
                   PrintWriter out = new PrintWriter(clientSocket.getOutputStream(), true);
                   BufferedReader in = new BufferedReader(
                   new InputStreamReader(
                   clientSocket.getInputStream()));
                   String inputLine, outputLine;
                   QuoteProtocol QP = new QuoteProtocol();
                   outputLine = QP.processInput(null);
                   Date current = new Date();
                   out.println(outputLine);
                   String ToClient;
                   while ((inputLine = in.readLine()) != null )
                             outputLine = QP.processInput(inputLine);
                             out.println(outputLine);
                             System.out.println(inputLine);
                             System.out.println(current.toString());
                             /* additional..if doesn't work delete this code*/
                             while ((ToClient = in.readLine()) != null)
                                  System.out.println("Server: " + ToClient);
                                  if (ToClient.equals("Bye."))
                                  break;
                   /* delete up to break*/
                        if (outputLine.equals("Bye."))
                             break;
    out.close();
    in.close();
    clientSocket.close();
    myserverSocket.close();
    Line 60 starting from out.close(); onwards.
    Please help..
    Thanks a lot.
    Audrea.

  • Please help with this com/apple/mrj/macos/carbon/CarbonLock

    Can anyone help me with this error
    java.lang.NoClassDefFoundError: com/apple/mrj/macos/carbon/CarbonLock
    we have written a app that takes a digital photo with a web cam. Now get this on my macs
    Please help any help Please
    Craig

    Thank I have seen that but thanks
    I was hoping there is a way around it ??
    I can not believe that Apple the makers of QuickTime don['t support Java 1.4.1
    Craig

  • Please help with this bapi

    Hi Experts!
    I am trying to use 'BAPI_OUTB_DELIVERY_CONFIRM_DEC' for posting goods issue but could not succeed. I am getting the message 615 (Delivery item is not or only partially packed) when I test the same in SE37. However the same delivery, if I go to VL02n and issue post goods issue, it is succeeding. I think I am doing some mistake with the parameters to be passed to bapi. Please help me find the error as I am unable to find. I am stuck with this for pretty long time. Points assured for helpful answers.
    Thanks for your time.
    Krishen
    DATA: itab_headerdata TYPE STANDARD TABLE OF bapiobdlvhdrcon WITH HEADER LINE.
    DATA: itab_headercontrol TYPE STANDARD TABLE OF bapiobdlvhdrctrlcon WITH HEADER LINE.
    DATA: itab_itemdata TYPE STANDARD TABLE OF bapiobdlvitemcon WITH HEADER LINE.
    DATA: itab_itemcontrol TYPE STANDARD TABLE OF bapiobdlvitemctrlcon WITH HEADER LINE .
    DATA: itab_bapiret2 TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.
    DATA: itab1_bapiret2 TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.
    DATA: itab3_bapiret2 TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.
    DATA: deliv_numb TYPE bapiobdlvhdrcon-deliv_numb.
    Vbeln and posnr are coming from itab.
      SELECT SINGLE * FROM likp
        WHERE vbeln = itab-vbeln.
      SELECT SINGLE * FROM lips
      WHERE vbeln = itab-posnr.
      itab_headerdata-deliv_numb = likp-vbeln.
      itab_headercontrol-deliv_numb = likp-vbeln.
      itab_headercontrol-post_gi_flg = 'X'.
      CLEAR deliv_numb.
      deliv_numb = likp-vbeln.
      itab_itemdata-deliv_numb = likp-vbeln.
      itab_itemdata-deliv_item = lips-posnr.
      itab_itemdata-dlv_qty = lips-lfimg.
      itab_itemdata-sales_unit = lips-meins.
      itab_itemdata-fact_unit_nom = lips-umvkz.
      itab_itemdata-fact_unit_denom = lips-umvkn.
      itab_itemcontrol-deliv_numb = likp-vbeln.
      itab_itemcontrol-deliv_item = lips-posnr.
      itab_itemcontrol-chg_delqty = 'X'.
      CALL FUNCTION 'BAPI_OUTB_DELIVERY_CONFIRM_DEC'
        EXPORTING
          header_data                = itab_headerdata
          header_control             = itab_headercontrol
          delivery                   = deliv_numb
      TECHN_CONTROL              =
        TABLES
      HEADER_PARTNER             =
      HEADER_PARTNER_ADDR        =
      HEADER_DEADLINES           =
       item_data                  = itab_itemdata
       item_control               = itab_itemcontrol
      ITEM_SERIAL_NO             =
      SUPPLIER_CONS_DATA         =
      HANDLING_UNIT_HEADER       =
      HANDLING_UNIT_ITEM         =
      HANDLING_UNIT_SERNO        =
      EXTENSION1                 =
      EXTENSION2                 =
          return                = itab_bapiret2.
      TOKENREFERENCE             =
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
        EXPORTING
          wait   = 'X'
        IMPORTING
          return = itab1_bapiret2.

    Hi Krishen
       Have done some modifications to your code. Highlighted below are the same. Please check if the same works for you.
    DATA: itab_headerdata TYPE STANDARD TABLE OF bapiobdlvhdrcon WITH HEADER LINE.
    DATA: itab_headercontrol TYPE STANDARD TABLE OF bapiobdlvhdrctrlcon WITH HEADER LINE.
    DATA: itab_itemdata TYPE STANDARD TABLE OF bapiobdlvitemcon WITH HEADER LINE.
    DATA: itab_itemcontrol TYPE STANDARD TABLE OF bapiobdlvitemctrlcon WITH HEADER LINE .
    DATA: itab_bapiret2 TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.
    DATA: itab1_bapiret2 TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.
    DATA: itab3_bapiret2 TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.
    DATA: deliv_numb TYPE bapiobdlvhdrcon-deliv_numb.
    Vbeln and posnr are coming from itab.
    SELECT SINGLE * FROM likp
    WHERE vbeln = itab-vbeln.
    SELECT SINGLE * FROM lips
    WHERE vbeln = itab-posnr.
    <b>select single kostk from vbuk into vbuk-kostk
           where vbeln = itab-vbeln
           and   kostk = 'C'.
    if sy-subrc ne 0.
    message "Picking is not fully done
    else.</b>
    itab_headerdata-deliv_numb = likp-vbeln.
    itab_headercontrol-deliv_numb = likp-vbeln.
    itab_headercontrol-post_gi_flg = 'X'.
    CLEAR deliv_numb.
    deliv_numb = likp-vbeln.
    <b>*itab_itemdata-deliv_numb = likp-vbeln.
    *itab_itemdata-deliv_item = lips-posnr.
    *itab_itemdata-dlv_qty = lips-lfimg.
    *itab_itemdata-sales_unit = lips-meins.
    *itab_itemdata-fact_unit_nom = lips-umvkz.
    *itab_itemdata-fact_unit_denom = lips-umvkn.
    *itab_itemcontrol-deliv_numb = likp-vbeln.
    *itab_itemcontrol-deliv_item = lips-posnr.
    *itab_itemcontrol-chg_delqty = 'X'.</b>
    CALL FUNCTION 'BAPI_OUTB_DELIVERY_CONFIRM_DEC'
    EXPORTING
    header_data = itab_headerdata
    header_control = itab_headercontrol
    delivery = deliv_numb
    TECHN_CONTROL =
    TABLES
    HEADER_PARTNER =
    HEADER_PARTNER_ADDR =
    HEADER_DEADLINES =
    item_data = itab_itemdata
    item_control = itab_itemcontrol
    ITEM_SERIAL_NO =
    SUPPLIER_CONS_DATA =
    HANDLING_UNIT_HEADER =
    HANDLING_UNIT_ITEM =
    HANDLING_UNIT_SERNO =
    EXTENSION1 =
    EXTENSION2 =
    return = itab_bapiret2.
    TOKENREFERENCE =
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
    wait = 'X'
    IMPORTING
    return = itab1_bapiret2.
    <b>endif.</b>
    Kind Regards
    Eswar

  • Please help with this method

    im creating a little animation of pacman, just an animation of it moving buy its self. im using the java elements package so this is all being shown in a drawing window.
    ive made it move fine and go round the window abit eating dots but the code is a mess, and i know i could change some of the main part into a few simple methods and have tried but it seems to stop moving when i try
    below is part of the code, the first three blocks are when its moving sideways with its mouth in three different states, and the bottom three blocks are it moving down with its mouth in three states again.
    Arc pacarc = new Arc();
    while (startmv++<stopmv)
    pac1x += 4;
    d.setForeground(Color.yellow);
    pacarc = new Arc(pac1x,pac1y,pacsize1,pacsize2,pacmouth1,pacangle1);
    d.fill(pacarc);
    d.setForeground(Color.black);
    waitNSeconds(1);
    d.fill(pacarc);
    pac1x += 4;
    d.setForeground(Color.yellow);
    pacarc = new Arc(pac1x,pac1y,pacsize1,pacsize2,pacmouth2,pacangle2);
    d.fill(pacarc);
    d.setForeground(Color.black);
    waitNSeconds(1);
    d.fill(pacarc);
    pac1x += 4;
    d.setForeground(Color.yellow);
    pacarc = new Arc(pac1x,pac1y,pacsize1,pacsize2,pacmouth3,pacangle3);
    d.fill(pacarc);
    d.setForeground(Color.black);
    waitNSeconds(1);
    d.fill(pacarc);
    while (startdwn++<stopdwn)
    pac1y +=4;
    d.setForeground(Color.yellow);
    pacarc = new Arc(pac1x,pac1y,50,50,pacdwn1,pacdwnang1);
    d.fill(pacarc);
    d.setForeground(Color.black);
    waitNSeconds(1);
    d.fill(pacarc);
    pac1y +=4;
    d.setForeground(Color.yellow);
    pacarc = new Arc(pac1x,pac1y,50,50,pacdwn2,pacdwnang2);
    d.fill(pacarc);
    d.setForeground(Color.black);
    waitNSeconds(1);
    d.fill(pacarc);
    pac1y +=4;
    d.setForeground(Color.yellow);
    pacarc = new Arc(pac1x,pac1y,50,50,pacdwn3,pacdwnang3);
    d.fill(pacarc);
    d.setForeground(Color.black);
    waitNSeconds(1);
    d.fill(pacarc);
    so for the first part i tried putting this into a method and running the program but where i had used the method the pacman shape just stayed still. any help please guys?
    this is the code for the method i tried (this is just for thefirst state of the pacmans mouth while moving sideways)
    public static void pacmve(int pactestx, int pactesty, int pacsizetest1, int pacsizetest2, int pacmouthtest, int pacangletest)
    pactestx += 4;
    Arc pacarc = new Arc();
    d.setForeground(Color.yellow);
    pacarc = new Arc(pactestx,pactesty,pacsizetest1,pacsizetest2,pacmouthtest,pacangletest);
    d.fill(pacarc);
    d.setForeground(Color.black);
    waitNSeconds(1);
    d.fill(pacarc);
    this is the loop i where i was trying to use the method
    while (startmv++<stopmv)
    pacmve(20,20,50,50,45,270);
    Edited by: jeffsimmo85 on Nov 22, 2007 1:18 AM

    When you post a code on a public forum, the code must be:
    1)Properly formatted using code tags.
    2)Generally compilable and runnable for us casual forum viewers.
    3)Reproducible of your problems when we run it.

  • Please help with this code....

    I create a button with ActionListner and a writeCd method. Now I want everytime i push the button, it will read the writeCd method. I dont' know how to make it work. Please help me out as soon as possible. Thanks a lot. Below are the codes of the button and writeCd method.
    class findCD implements ActionListener
    public void actionPerformed(ActionEvent event)
    //what do I need to put here to make the button work
    //with method writeCD() below
    public void writeCd() throws Exception
    String outputFileName;
    PrintWriter outputFile;
    outputFileName = "D:\\cdoutput.txt";
    outputFile = new PrintWriter(new FileWriter(outputFileName,true));
    int loopTest;
    do
    String numStr = JOptionPane.showInputDialog("Please enter Index number");
    int number = Integer.parseInt(numStr);
    cC.setIndexNumber(number);
    numStr = JOptionPane.showInputDialog("Please enter cd name");
    number = Integer.parseInt(numStr);
    cC.setCdName(number);
    String message = cC.toString() +
    "\nYour input is: ";
    JOptionPane.showMessageDialog(null, message);
    outputFile.println(numStr + "");
    loopTest = JOptionPane.showConfirmDialog(null,"Do another?","",0,1);
    while (loopTest == 0);
    outputFile.close();

    class findCD implements ActionListener
           public void actionPerformed(ActionEvent event)
                try
                     writeCd();
                } catch(Exception e){
                                        e.printStackTrace();
      public void writeCd() throws Exception
          String outputFileName;
          PrintWriter outputFile;
          outputFileName = "D:\\cdoutput.txt";
    outputFile = new PrintWriter(new
    (new FileWriter(outputFileName,true));
             int loopTest;
             do
    String numStr =
    umStr = JOptionPane.showInputDialog("Please enter
    Index number");
             int number = Integer.parseInt(numStr);
             cC.setIndexNumber(number);
    numStr = JOptionPane.showInputDialog("Please
    "Please enter cd name");
             number = Integer.parseInt(numStr);
             cC.setCdName(number);
             String message = cC.toString() +
                              "\nYour input is: ";
             JOptionPane.showMessageDialog(null, message);
            outputFile.println(numStr + "");
    loopTest =
    pTest = JOptionPane.showConfirmDialog(null,"Do
    another?","",0,1);
             while (loopTest == 0);
           outputFile.close();
        }That should work. This also assumes that the method writeCd is in the class findCD.

  • Please help with this method, cant get it to work correctly.

    any suggestions AT ALL please, im really stuck with this.
    im creating a little animation of pacman, just an animation of it moving buy its self. im using the java elements package so this is all being shown in a drawing window.
    ive made it move fine and go round the window abit eating dots but the code is a mess, and i know i could change some of the main part into a few simple methods and have tried but it seems to stop moving when i try
    import element.*;
    import java.awt.Color;
    static DrawingWindow d = new DrawingWindow(500,500);  
       public static void wait1second()
        //  pause for one tenth of a second second
            long now = System.currentTimeMillis();
            long then = now + 100; // 100 milliseconds
            while (System.currentTimeMillis() < then)
        public static void waitNSeconds(int number)
            int i;
            for (i = 0; i < number; i++) //allows you to determine how long to pause for
                wait1second();
    public static void main(String[] args) {
        //  declaring the variables
        int pacsize1 = 50, pacsize2 = 50;
        int pac1x = 20, pac1y = 20;
        int pacmouth1 = 45, pacangle1 = 270;
        int pacmouth2 = 25, pacangle2 = 320;
        int pacmouth3 = 6, pacangle3 = 348;
        int startmv = 0, stopmv = 33;
        d.setForeground(Color.black);
        Rect bkrnd = new Rect(0,0,500,500);     
        d.fill(bkrnd);
       // while loop used to make the pacman shape move right across the screen with its mouth in three different states
    Arc pacarc = new Arc();
         while (startmv++<stopmv)
            pac1x += 4;
            d.setForeground(Color.yellow);
            pacarc = new Arc(pac1x,pac1y,pacsize1,pacsize2,pacmouth1,pacangle1);
            d.fill(pacarc);
            d.setForeground(Color.black);
            waitNSeconds(1);
            d.fill(pacarc);
            pac1x += 4;
            d.setForeground(Color.yellow);
            pacarc = new Arc(pac1x,pac1y,pacsize1,pacsize2,pacmouth2,pacangle2);
            d.fill(pacarc);
            d.setForeground(Color.black);
            waitNSeconds(1);
            d.fill(pacarc);
            pac1x += 4;
            d.setForeground(Color.yellow);
            pacarc = new Arc(pac1x,pac1y,pacsize1,pacsize2,pacmouth3,pacangle3);
            d.fill(pacarc);
            d.setForeground(Color.black);
            waitNSeconds(1);
            d.fill(pacarc);
    }so i tried making a method to make all the stuf in the while loop alot simpler but it just keeps making the pacman not move at all and im not sure why. heres the code i tried for the method:
    public static void pacmve(int pactestx, int pactesty, int pacsizetest1, int pacsizetest2, int pacmouthtest, int pacangletest)
            pactestx += 4;
            Arc pacarc = new Arc();
            d.setForeground(Color.yellow);
            pacarc = new Arc(pactestx,pactesty,pacsizetest1,pacsizetest2,pacmouthtest,pacangletest);
            d.fill(pacarc);
            d.setForeground(Color.black);
            waitNSeconds(1);
            d.fill(pacarc);
            }it had no problems with the code, but it just doesnt seem to do anything when i call it in the while loop. heres how i used it to try and just make it move across with the mouth in one state:
    while (startmv++<stopmv)
    pacmve(20,20,50,50,45,270);
    }any ideas?
    Edited by: jeffsimmo85 on Nov 22, 2007 2:36 AM

    the clock is still ticking while you do this:
    while (System.currentTimeMillis() < then)
    is that method your design? why not just call Thread.sleep()?
    %

  • Please help with this Premiere Pro CS5 encoding error

    VBR 2 pass encoding getting stuck at 50% in Premire Pro CS5. I assume this is the starting point of pass #2. The Error message states that one of the temporary files created during first pass cannot be read. I confirmed that said file exists, it is in the correct location and has the correct file name. Interestingly, at times, the 2 pass encoding proceeds through completion without issues, but I haven't been able to identify the reason for this. PLEASE HELP!! Thank you.

    Thank you so much for replying. I tried running as administrator and it did not correct the issue. Luckily I did figure out the problem after trying various ways. It so happens that Windows seven sets "read Only" attributes to files within folders that you create by right clicking on the drive name and using "New Folder". So, when the encoder tries to over-write on one of the temporary files it created during the first pass it can't do it and it issues the error "Cannot open file for writing...etc.". I fixed it by right clicking inside the folder contents and changing the attribute. Now it works. This is the error that I was getting:

Maybe you are looking for

  • Changing Video and Audio Formats

    Hi Can I use JMF to convert videos and audio from one format to another? Regards, N�stor Bosc�n

  • New MacBook Pro resolution randomly changes at log out

    Hello! I recently ordered a brand new 15in 2.2 GHz MacBook Pro with a Glossy Hi-Res Display and it arrived Tuesday of this week. I set it up with only one account but still goes into the Login Screen at startup. After a while, I went to shut down and

  • Computer Won't Turn On WHEN Plugged In

    Since this question was never even answered in the five months it's been on Apple Discussions, I'll post it again: The last two days, my Macbook has done a weird restart cycle every time I go to turn it on when plugged in. It will try to start and th

  • The edges of my text appear jagged after importing a .PSD file. How to eliminate

    I'm doing an introduction to a film with animated graphics, and what I'm noticing is the text edges are pixelated. I adjusted the Resolution in Photoshop so I can zoom in and they're much smoother; however, upon reloading the file in After Effects it

  • Headed to Kuwait - help

    I'm headed to Kuwait, plan to put my phone on suspend while I'm there and using it for wifi, which I understand will be free.  Just making sure that I would be able to still access wifi while the phone is on suspend.  In addition, I'll be given a Kuw