What is the best method to getting the Production Header Status?

Hi All,
To get the Production Order Header status I used the following function;
***Object to specify only the Prod.Ord header is needed
v_ORDER_OBJECTS-HEADER = 'X'.
Refresh IT_HEADER.
CALL FUNCTION 'BAPI_PRODORD_GET_DETAIL'
  EXPORTING
    NUMBER                 = wa_itab-AUFNR
    ORDER_OBJECTS          = v_ORDER_OBJECTS
  TABLES
    HEADER                 = IT_HEADER.
Clear wa_HEADER.
READ TABLE IT_HEADER WITH
   KEY ORDER_NUMBER = wa_itab-AUFNR INTO wa_HEADER.
***Finally got the Status
wa_itab-STATUS = wa_HEADER-SYSTEM_STATUS.
If I were to get the status for many Production Orders this would take a lot of time. So I decided to take another way that is;
SELECT *
  INTO CORRESPONDING FIELDS OF TABLE ittab
FROM jest
WHERE objnr = caufv-OBJNR
The problem in JEST table does not give the order in which each Status was Confirmed. It does not have a Date field to indicate the Date which the Status got confirmed. Because of this I am not in a position to put the Status in Order like it appears in the CALL FUNCTION 'BAPI_PRODORD_GET_DETAIL'.
What I need, is there a table where the Header Status appears in order or a table that has the Date along with the Status?
Thanks,
Kishan

Hi Sailatha Nagasamudram,
The View VJAUFK points back to JEST table. Though the Date fields are included it does not help to get the Order in which Status were confirmed. The example I took in our system has the same date for all the Statuses. If you goto CO03 and see the Header Status they appear in Order which I am talking about.
Thanks,
Kishan

Similar Messages

  • Iphone 4s coming friday, what is the best way to get the notes content from iphone 4 to 4s without doing a restore? i want the new phone to be totally new but not sure how to get notes content across.

    What is the best way to get the notes content from iphone 4 to 4s without doing a restore? i want the new phone to be totally new but not sure how to get notes content across. If I do a restore as I have when previously from one iphone to another it has shown (in settings, usage) the cumulative usage from previous phones so all the hours of calls on all previous iphones will be displayed even though its brand new. Anyone know how I can get my notes (from standard iphone notes app) to my new iphone 4s without restoring from previous iphone 4. Thanks for any help offered.

    First, if you haven't updated to iTunes 10.5, please update now as you will need it for the iPhone 4S and iOS 5.
    Once you're done installing iTunes 10.5, open it. Connect your iPhone to iTunes using the USB cable. Once your iPhone pops up right click on it. For example: an iPhone will appear and it will say "Ryan's iPhone."
    Right click on it and select "Backup" from the dropdown menu. It will start backing up. This should backup your notes.
    Please tell me if you have any problems with backing up.
    Once you backup and get your iPhone 4S, you must follow these steps. If you don't follow these steps, you will not be able to get your notes on your new iPhone 4S.
    Open up iTunes again then right click on your device (iPhone 4S). Once you do you will see a dropdown menu. It will say "Restore from Backup..." Select this and it'll ask for a backup, select it from the dropdown menu. For example "Ryan's iPhone - October 12, 2011." Pick that and it will restore to your backup. Do this when you get your iPhone 4S so you will not lose anything. Even though you're restoring, you're getting back, since you're getting the previous settings, notes, contacts, mail and other settings from your old iPhone. You'll still have Siri though! So, restore when you first get it. Also frequently backup your device, as it will be worth it. You can restore from a backup if something goes wrong or save your data for a future update.
    Once you do that, you should have your notes on your new iPhone 4S and iOS 5.
    Please tell me if you need any help.
    I hoped I answered your questions and solved your problem!

  • Whats the best way to get the server name in a servlet deployed to a cluster?

              Hi,
              I have a servlet in a web application that is deployed to a cluster, just
              wondering what is the best way to get the name of the node that the server is
              running on at run time??
              Thanks
              

              Please try to modify the following code and test for your purpose: (check Weblogic
              class document for detail)
              import javax.naming.*;
              import weblogic.jndi.*;
              import weblogic.management.*;
              import weblogic.management.configuration.*;
              import weblogic.management.runtime.*;
              MBeanHome home = null;
                   try{
                        //The Environment class represents the properties used to create
                             //an initial Context. DEfault constructor constructs an Environment
                             //with default properties, that is, with a WebLogic initial context.
                             //If unset, the properties for principal and credentials default to
                             //guest/guest, and the provider URL defaults to "t3://localhost:7001".
                             Environment env = new Environment();
                             //Sets the Context.PROVIDER_URL property value to the value of
                             //the argument url.
                             if(admin_url!=null){
                                  env.setProviderUrl(admin_url);
                                  //Sets the Context.SECURITY_PRINCIPAL property to the value of
                                  //the argument principal.
                                  env.setSecurityPrincipal(username);
                                  //Sets the value of the Context.SECURITY_CREDENTIAL property to
                                  //the value of the argument cedentials
                                  env.setSecurityCredentials(password);
                                  //Returns an initial context based on the properties in an Environment.
                                  ctx = env.getInitialContext();
                             }else ctx = new InitialContext();
                             home = (MBeanHome) ctx.lookup(MBeanHome.ADMIN_JNDI_NAME);
                             ctx.close(); //free resource
                             // or if looking up a specific MBeanHome
                             //home = (MBeanHome) ctx.lookup(MBeanHome.JNDI_NAME + "." + serverName);
                             DomainMBean dmb = home.getActiveDomain(); //Get Active Domain
                             ServerMBean[] sbeans = dmb.getServers(); //Get all servers
                             if(sbeans!=null){
                                  for(int s1=0; s1<sbeans.length; s1++){
                                       String privip = sbeans[s1].getListenAddress();
                                  sbeans[s1].getName();
                             sbeans[s1].getListenPort();
                                                 WebServerMBean wmb = sbeans[s1].getWebServer();
                   }catch(Exception ex){
              "Gao Jun" <[email protected]> wrote:
              >Is there any sample code? Thanks
              >
              >Best Regards,
              >Jun Gao
              >
              >"Xiang Rao" <[email protected]> wrote in message
              >news:[email protected]...
              >>
              >> Sure. You can use the Weblogic management APIs to query ServerBean.
              >>
              >>
              >> "Me" <[email protected]> wrote:
              >> >
              >> >Thanks for your reply, i was hoping to find a better way for example
              >> >a class in
              >> >weblogic API.
              >> >
              >> >Thanks
              >> >
              >> >"Xiang Rao" <[email protected]> wrote:
              >> >>
              >> >>Physical: InetAddress.getLocalHost().getHostName()
              >> >>Weblogic: System.getProperty("weblogic.Name");
              >> >>
              >> >>
              >> >>"Me" <[email protected]> wrote:
              >> >>>
              >> >>>Hi,
              >> >>> I have a servlet in a web application that is deployed to a
              >cluster,
              >> >>>just
              >> >>>wondering what is the best way to get the name of the node that
              >the
              >> >>server
              >> >>>is
              >> >>>running on at run time??
              >> >>>
              >> >>>Thanks
              >> >>
              >> >
              >>
              >
              >
              

  • What is the best way to get the new iPhone/ iPhone 5

    What is the best way to get the new iPhone/ iPhone 5 when it is released. I want to get the phone as quick as possible. If i order it on The first day of pre orders will i get it on the same day as the release in stores? I'm on an unlimited data plan with AT&amp;T. Because the new iPhone will most likely have 4 g data will I loose the unlimited plan?

    Apple has not made any announcement.  We are not allowed to speculate on this forum.

  • What is the Best Method to move the Applcations to a New Server Setup

    Hi All...
    Happy Christmas...
    Advanced Happy New YEAR 2009...
    We are using oracle Apex 3.1 on Database base oracle 10g Rel2 across Server 2000 platform,
    Made a New Installationof Oracle Apex 3.1 on HP-Unix PA-RISC and database is oracle 10g Rel2(New Server),
    Sucessfully...
    my Question is
    what is the Best Method to move the Applcations to a New Server ?
    1) Using Export/Import option .can I move the Applications/ Reports to New Server?
    2) Is it possible By Taking Application level Export and Import to the new Server?
    3)Do I need to create the Workspace as similar to old Server then Move the ApplicationS?
    or taking the Application EXPORT/IMPORT also imports the Workspace?
    (OR)
    Do I need to import the Database tables taking table level Dumps as well?
    THANKS ALOT in Advance
    MKZ
    Edited by: Z on Dec 31, 2008 12:10 PM
    Edited by: Z on Dec 31, 2008 12:57 PM

    Hello:
    You pretty much have it right. Here's what I do to move applications between APEX installations.
    1) Export/Import Workspaces
    2) Export/Import Applications for each workspace. (I retain the source application id in the target)
    3) Export/Import Workspace Images/Files etc
    4) Use Oracle exp/imp , Oracle DataPump or plain old sqlplus scripts to move database objects from source to target.
    Varad

  • What is the best way to get the end of record from internal table?

    Hi,
    what is the best way to get the latest year and month ?
    the end of record(KD00011001H 1110 2007  11)
    Not KE00012002H, KA00012003H
    any function for MBEWH table ?
    MATNR                 BWKEY      LFGJA LFMON
    ========================================
    KE00012002H        1210             2005  12
    KE00012002H        1210             2006  12
    KA00012003H        1000             2006  12
    KD00011001H        1110             2005  12
    KD00011001H        1110             2006  12
    KD00011001H        1110             2007  05
    KD00011001H        1110             2007  08
    KD00011001H        1110             2007  09
    KD00011001H        1110             2007  10
    KD00011001H        1110             2007  11
    thank you
    dennis
    Edited by: ogawa Dennis on Jan 2, 2008 1:28 AM
    Edited by: ogawa Dennis on Jan 2, 2008 1:33 AM

    Hi dennis,
    you can try this:
    Sort <your internal_table MBEWH> BY lfgja DESCENDING lfmon DESCENDING.
    Thanks
    William Wilstroth

  • What is the best method for saving the client sequence file revision in the database \ report?

    I'm trying to figure out the best way to store the sequence file Revision in the database. That is, if I have the Revision (SequenceFile.AsPropertyObjectFile.Version), where (e.g. what table / field) should I put it if I'm using the SQL Server schema that ships with TestStand?  How do I get it there?
    Certified LabVIEW Architect
    Wait for Flag / Set Flag
    Separate Views from Implementation for Strict Type Defs
    Solved!
    Go to Solution.

    Ok LabBEAN,
    Here is my tutorial.  It is actually easier than I thought:
    Step 1: Configure>>Database Options and uncheck the Disable Database Logging.
    Step 2: Click the Data Link tab
    Step 3: Make sure the Connection String Expression is pointing to the right location.  Should be a public directory with a .mdb file if you are using TestStand defaults.  Click the View Data button to verify.  It should open the Database Viewer so you can look at the tables.  Leave the Database Viewer open.
    Step 4: Click the Schemas tab
    Step 5: With the Generic Recordset (NI) selected click the Duplicate button.
    Step 6: You should now see a copy of that schema.  In the Name box name it MyRecordset and make sure it is checked
    Step 7: Click the Statements tab and highlight STEP_SEQCALL.  NOTE: you must always do this before clicking on the Columns/Parameters tab
    Step 8: Click the Columns/Parameters tab
    Step 9: Highlight the SEQUENCE_FILE_PATH item and click the Copy Button
    Step 10:  Highlight the new entry and change the Name to SEQUENCE_FILE_VERSION
    Step 11: MOST CRITICAL STEP: Change the Expression to RunState.Engine.GetSequenceFileEx(Logging.StepResu​lt.TS.SequenceCall.SequenceFile, 107, ConflictHandler_Error).AsPropertyObjectFile.Versio​n  It is better to do it this way because you never now where a sequence file call will be made and not all sequence calls are made to the model client sequence.
    Step 12: Hopefully you left the Database Viewer open from Step 3. Go to it.
    Step 13: Right click the STEP_SEQCALL and select Add Column..  Name the new column: SEQUENCE_FILE_VERSION.  Basically you need a column that matches the one you created back in the Columns/Parameters tab.  Set it up with the same type and size.  NOTE: there is an alternate way to do this using the Execute SQL View in the Database Options but you need to create it.  You can create it from the Schemas tab back in TS by clicking the Build .sql File.. button.
    Step 14: Back in TestStand click OK to save and close the Database Options.
    Now run your sequence and you will see the new data in your database.
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • What is the best way to get the minimum or maximum value from an Array of numbers?

    Let's say I have an Array of numbers: [2,3,3,4,2,2,5,6,7,2]
    What is the best way to find the minimum or maximum value in
    that Array?
    Right now, to get the maximum, I am looping through the
    Array, and resetting a variable to the value if it is greater than
    the existing value:

    Here's other approaches, the cookbook is your friend:
    http://digitalmedia.oreilly.com/pub/a/oreilly/digitalmedia/helpcenter/actionscript30cookbo ok/chapter5.html?page=7
    enjoy.

  • What's the best option to get the best out of my h...

    Prior to the speed  upgrade I was connecting  at 38MB/ 8MB and now checking my speed via BBMAX I'm connecting at 62MB/14MB (BT speedchecker advised 56.6MB/18MB) so are pleased with the upgrade.
    My main pc tests as above connected to the home hub 3 via a Cat 5 cable. Testing the other PCs/ PS3  in the rest of the house the best I can connect is 33MB via a wireless n usb adaptor. I've tried  TP link 200MB power line adaptors connected to the home hub and to the PC using the house power circuits and still only obtain 33MB on the speed test (the T link utility shows I'm connecting at 133MB).
    I assume my wireless network is being limited due to other older G type devices (such as mobile phones etc) bringing the wireless N network down to their level?
    So to get the best out of my broadband in the rest of the house, should I upgrade to TP link 500MB units, get a dual band router (which will run G and N type devices) or are these two upgrades not worth it and should I take a hit and  hard wire and have all the problems of running the cat 5 cables to the rest of the house?
    PS as a side note my son has the PS Vita and cant get any speed results faster than 13MB on the wireless network

    hmmm - you have lots of options and it really pays to think them all through for what you want to achieve. Don't lose sight of that.
    i now use time capsule and with the dual band noted an immediate improvement to the extent that i'm nicely wireless throughout my house. My sons use PS3 wirelessly and get a fast, stable connection all the time (16-18mg). I don't care too much that wirelessly might not be best option. It exceeds my needs .
    You'll get alot of views from the guys on this forum - each with their own experiences and trials/errors - lots of good learning!!
    cheers
    AC

  • What is the best way to get the pixel brightness

    I have a gray-scale .png image. The pixel brightness is used to communicate the information that i need in my application. Note that i do not show this image in my application, the png file is only used to communicate data. Since this data is being collected as an image at the source we are using a png file to pass around this data. The code is given below
    JarEntry entry = m_jarFile.getJarEntry("imageFile.png");
    InputStream stream = m_jarFile.getInputStream(entry);
    BufferedImage image =  ImageIO.read(overlayImageFileStream);
    int cols = overlayImage.getWidth();
    int rows = overlayImage.getHeight();
    short[][] m_pixelBrightnessValues = new short[cols][rows];
    for (int i=0; i<cols; i++) {
         for (int j=0; j<rows; j++) {
              /** BEGIN: Takes too much time */
              int rgb = overlayImage.getRGB(i, j);
              // convert to HSB values.
              int red = (rgb>>16)&0xFF;
              int green = (rgb>>8)&0xFF;
              int blue = rgb&0xFF;
              float[] inputHSB = new float[3];
              inputHSB = Color.RGBtoHSB(red, green, blue, inputHSB);
              /** END: Takes too much time */
              float brightness = inputHSB[2];
              m_pixelBrightnessValues[i][j]= (short)Math.round(brightness * MAX_BRIGHTNESS_VALUE);
    }Some portion of the code above takes too much time. I have been tinkering with the following approaches:
    1). I can parse the png file myself and extract the brightness information thus bypassing the creation of the BufferedImage altogether.
    2). I can continue to create BufferedImage but find out a way to grab brightness directly from the buffered image.
    I prefer option 2, since option 1 will require that I figure out png format and then write custom png parsing logic. I have explored all the methods of BufferedImage and it seems there is no way of getting the HSB directly, the only thing readily availabe is RGB values.
    I would really appreciate any pointers (e.g. is there something in the Raster that can let me access the brightness data directly ?)
    -kashif

    I have a gray-scale .png image. The pixel brightness
    is used to communicate the information that i need in
    my application. Note that i do not show this image in
    my application, the png file is only used to
    communicate data. Since this data is being collected
    as an image at the source we are using a png file to
    pass around this data. The code is given below<snip>
    >
    Some portion of the code above takes too much time. I
    have been tinkering with the following approaches:
    1). I can parse the png file myself and extract the
    brightness information thus bypassing the creation of
    the BufferedImage altogether.
    2). I can continue to create BufferedImage but find
    out a way to grab brightness directly from the
    buffered image.
    I prefer option 2, since option 1 will require that I
    figure out png format and then write custom png
    parsing logic. I have explored all the methods of
    BufferedImage and it seems there is no way of getting
    the HSB directly, the only thing readily availabe is
    RGB values.
    I would really appreciate any pointers (e.g. is there
    something in the Raster that can let me access the
    brightness data directly ?)For a greyscale image, the R G abd B values are all the same, and the brightess is simply that value divided by the maximum value. You could create a brightness map in advance which is simply a 256 element array that maps an RGB value to a brightness:
            short[] brightnessMap = new short[256];
            for (int i = 0; i < 256; i++) {
                brightnessMap[i] = (short)(i/255.0f * MAX_BRIGHTNESS_VALUE);
            }Various experiments I performed using PixelGrabber, Raster and such didn't seem to speed things up more than 25% on a 1280 x 1024 image. Times went from around 400 milliseconds to 300.

  • I want to get good wifi in my house . I currently have a time warner modem/router separate from my phone modem but my upstairs does not get good reception. What would be the best way to get the best wifi if I started from scratch

    I have a combination modem/router from time warner that is separate from my phone line but I get bad reception on my apple tv an ipads upstairs in my house. I would like to fix this and want to know the best way to go about it . Whether getting two modems and routers or just one base station. Please help

    It is possible to extend a WiFI network using Apple's Airport Express, Airport Extreme Base Station, or even a Time Capsule. However  the router that is creating the network (the one you have downstairs) must be configurable to permit another WiFi device to extend the network. All Apple WiFi routers can be configured that way, but there are many third party WiFi routers that cannot. The two routers can be connected wirlessly or by ethernet. From your description I suspect ethernet would be prefereable if yoiu had a good way of routing the cable.

  • What is the best method to reduce the Render size?

    hi,
    my movie files which i want to edit come to a total of 4GB and when i edit the movie and render the files it comes to a size of 20GB!..thats way to large and will take forever to compressor or export to a another format.
    What do you guys recommend i do?..is it something to do with the timeline when i start a new file?.

    do you mean that the VOB files totalled at 4gig, and that the converted files, the .mov's are 20gig?
    Firstly, .mov doesn't really help in terms of describing the codec/format the media file is in... the '.mov' extension is a container/wrapper, not the codec. In the Final Cut Pro browser window it will tell you the actual codec (look for the colomn headed 'compressor').
    The VOB files you converted are from a DVD, so by default, are compressed and small...
    Now, assuming the codec is DV (pal) it would make sense that your files have gone from 4 to 20 gig's...
    Unless i've totally misunderstood your problem...
    J
    Message was edited by: James M.

  • What is the best way to get the UID of any selected page item (frames, rectangle etc)?

    I need UID of any selected item on page and also array of UID's in case multiple selection happens. How can I achieve it?
    One way I know is to write an observer and attach it on every new page Item created, but that way the system might become slow and also
    the behavior will be unpredictable in case of multiple selections.
    Can some one suggest a better way to do it?

    The selection subsystem hides most ideas of direct adressing (e.g. UID of page item(s) or story) into the concrete selection, while from the outside you only work on the suite interfaces of the abstract selection. So you don't ask whether the selection is some kind of page item and you don't peek at the actual items. Instead you ask about their capabilities and applied values.
    Attaching observers to page items has nothing to do with the selection, because they only notify about changes on those page items - which could also be caused by scripts or anything else. Even then, the most relevant changes go thru the kDocBoss as single point to attach an observer, rather than thru all those page items.
    Regarding speed - the selection has many optimizations, for example "lazy" notifications can be deferred until they become appropriate for an UI update, they might even become aggregated / optimized away.
    One starting point into the selection when you come from nowhere would be ISelectionUtils. Your selection observer might also pass interesting parameters.
    Dirk

  • Recent software upgrade has changed the way my iPhone syncs with my macbook, and diary items no longer upload from my iPhone. I've tried a to fix it and seem to have made things worse. What is the best way to get the two devices in sync ?

    Recent software upgrades has changed the way my iPhone syncs with my macbook and items entered on my iPhone are no longer uploaded to my macbook. I've tried to fix it and seem to have made things worse, my iPhone now has a long list of calanders that I don't want and can't delete and nothing is uploading to my macbook.

    You need to look at Mac's iTunes, check  > System Preferences > iCloud.
    If you use iCloud for Calendar, Contacts then turn off those items in iTunes, Info tab with your iPhone connected and selected.

  • What is the best way to get the delta records using DSS(Data Syncronus Task)?

    This document may be helpful: Incremental Loading with Informatica Cloud. The screenshots are a little out-of-date, but the content should still be useful.

    DSS

Maybe you are looking for

  • Update Vendor Reconciliation Account - LFB1-AKONT

    To Update LFB1-AKONT, on Create or change of Vendor based on some criteria , I have tried using the BADI SAPMF02K ( Used only for Checking data) and the BTE 00001421     VENDOR MASTER DATA: Save with data transfer Also does not work. Have set the val

  • Form in PDF

    I have a pdf form which was created using Adobe 4.0(may be planet pdf not sure). Anyway, I have a complex problrem. I have copied the old pdf file to a new pdf file as I need to increase the distance between the two fields. The fields are static fiel

  • Keynot installs but wont open

    Just bought Iworks Keynote and downloaded. The app showed it was installing but when I use finder to open Keynote afterwards it opens the option to buy  it or input a serial number.

  • How to display abap reports in EP

    Hi all, I have developed new reports in R/3. how to display these abap reports in EP...

  • CSS state sync questions

    I learned from cisco doc that the CSS stat are exchanged in real time. " For new flows, CSSs exchange flow states in real time over the ISC links. For existing flows, CSSs exchange flow states at boot-up time and at VIP redundancy failover. I" http:/