How to find the current document No in VBAK table?

Hi
I want to fill the set up tables from 2LIS_11_VAITM using Number ranges . Iknow initial Sales Order number but I want to know the current number so that I can set up a range..
Thanks,
Suresh

Look in VBAK on the day you want to load on.  Grab the the highest number right before you load the setup tables.

Similar Messages

  • How to Find the Current Instance Id in Oracle 10g

    Hi,
    how to find the current instance id in oracle 10g studio,
    I have the below code :
    if (InstanceScreenFlow.processInstance.id.id.indexOf(text : ins.id) < 0) {
    /// do something
    it is saying that "'processInstance' is not a function"
    Thanks,
    Brijesh Kumar Singh.

    Why not just pass in the "id" predefined variable into your screenflow? Once you do that you'll be able to refer to it as "id.id" anywhere inside your screenflow.
    Dan

  • How to find the current SQL

    Dear All,
    My testing engineers are checking the application from front end, i have to find the current SQL (What SQL queries are used in the application) statements in the back end.
    Please let me know how to find the current executing SQL stements.
    Thanks in advance
    Mahi

    You need to join this query with one more table - v$sqlstats. There are many statistics in particular cpu_time, elapsed_time etc stored in that table for each sql statement.
    You can join v$sqlstats by sql_id until you have multiple child cursors for single statement.
    Or you can just join to v$sql and get statistics from there and in this latter case you include child_number column to distinguish child cursors from each other.
    Best Regards,
    Alex

  • How to find the current state in web dynpro

    Hi,
       Can any one tell me how to find the current state of system (idle /not idle).
    Thanks,
    Krishna..

    Please explain further.  I don't understand how you are expecting to test for idle.  If ABAP code is being executed, then you know that the application is not idle. Only a server event could trigger code execution. Only a timedTrigger would be able to tell you that a certain amount of time has passed without activitity - although the event of the timer itself will be a server event that constitutes activity.

  • How to find the current line in the table control in module pool ?

    How to find the current line in the table control in module pool ?
    This is an urgent requirement? please do help me.

    refer to this example
    REPORT demo_dynpro_tabcont_loop_at.
    CONTROLS flights TYPE TABLEVIEW USING SCREEN 100.
    DATA: cols LIKE LINE OF flights-cols,
    lines TYPE i.
    DATA: ok_code TYPE sy-ucomm,
          save_ok TYPE sy-ucomm.
    DATA: itab TYPE TABLE OF demo_conn.
          TABLES demo_conn.
    SELECT * FROM spfli INTO CORRESPONDING FIELDS OF TABLE itab.
    LOOP AT flights-cols INTO cols WHERE index GT 2.
      cols-screen-input = '0'.
      MODIFY flights-cols FROM cols INDEX sy-tabix.
    ENDLOOP.
    CALL SCREEN 100.
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'SCREEN_100'.
    DESCRIBE TABLE itab LINES lines.
    flights-lines = lines.
    ENDMODULE.
    MODULE cancel INPUT.
      LEAVE PROGRAM.
    ENDMODULE.
    MODULE read_table_control INPUT.
      MODIFY itab FROM demo_conn INDEX<b> flights-current_line.</b>
    ENDMODULE.
    MODULE user_command_0100 INPUT.
      save_ok = ok_code.
      CLEAR ok_code.
      CASE save_ok.
        WHEN 'TOGGLE'.
          LOOP AT flights-cols INTO cols WHERE index GT 2.
            IF  cols-screen-input = '0'.
              cols-screen-input = '1'.
            ELSEIF  cols-screen-input = '1'.
              cols-screen-input = '0'.
          ENDIF.
      MODIFY flights-cols FROM cols INDEX sy-tabix.
    ENDLOOP.
        WHEN 'SORT_UP'.
          READ TABLE flights-cols INTO cols WITH KEY selected = 'X'.
          IF sy-subrc = 0.
            SORT itab STABLE BY (cols-screen-name+10) ASCENDING.
            cols-selected = ' '.
      MODIFY flights-cols FROM cols INDEX sy-tabix.
          ENDIF.
        WHEN 'SORT_DOWN'.
          READ TABLE flights-cols INTO cols WITH KEY selected = 'X'.
          IF sy-subrc = 0.
            SORT itab STABLE BY (cols-screen-name+10) DESCENDING.
            cols-selected = ' '.
      MODIFY flights-cols FROM cols INDEX sy-tabix.
          ENDIF.
        WHEN 'DELETE'.
          READ TABLE flights-cols INTO cols
                                  WITH KEY screen-input = '1'.
          IF sy-subrc = 0.
            LOOP AT itab INTO demo_conn WHERE mark = 'X'.
              DELETE itab.
    ENDLOOP.
          ENDIF.
    ENDCASE.
    ENDMODULE.

  • How to find the accounting document

    Dear all,
    Can somebody tell me how to find the accounting document from the MIGO transaction. I entered a goods delivery into the system. An accounting document should already be created.
    Best Regards
    Jerome

    Hi Jerome
    Go to that that material document (which was created through migo transcation)and click on Doc info header. There you can find FI documents. It will give the accounting documents (if any that has been created).
    Hope this helps.
    regards
    Anand.c

  • How to find the structure fields data in database tables?

    how to find the structure fields data in database tables?

    Your question doesn't appear to be Web Dynpro ABAP related. Please only post questions in this forum if they are directly Web Dynpro ABAP related.  There are several other more general ABAP related forums.

  • Indesign CS3: How to get the current document name?

    Hallo!
    How do I get the name of the current document loaded in Indesign?
    Thanks,
    Alois Blaimer

    ...Plese Ignore the last post...<br /><br />docRef is the UIDRef of the document. Plese consider the following code<br /><br />IDocument *docFrom = Utils<ILayoutUIUtils>()->GetFrontDocument(); <br />if (docFrom == NULL ) <br />    break; <br />UIDRef  docRef = GetUIDRef(docFrom )); <br /><br />InterfacePtr<IDocument> iDocument (docRef, IID_IDOCUMENT); <br />if(iDocument == nil) <br />   break; <br /><br />PMString docName; <br />iDocument->GetName(docName);

  • How to find the current iTunes Library

    Hello,
    somehow, opening iTunes the last time I came to a previous iTunes Library and do not find the current one, where much more songs and downloads are in.
    Searching in Windows also did not help. How could I get back to the current one, as everytime opening iTunes the previous shows up.
    Does anybody know?
    Thx

    The only way is to search in Windows and look at the Size & Date Modified fields.
    Are you searching ALL your hard drives, even external ones?
    Are your Windows Explorer folder options set to hide system folders? Hide file extensions? You will need to uncheck both those options for the search to be useful.

  • How to find the current running jobs.

    Hi All,
    Can u please tell me how can i find the current running jobs in oracle.
    OS : windows
    DB VERSION: 10.2.0.1
    Thanks,
    srini...

    Don't think so..
    For the running jobs ( the ones in flight right now..)
    if you used the scheduler
    select owner , job_name , running_instance, session_id from all_scheduler_running_jobs
    order by owner , job_name
    If you used dbms_job ( you really should the scheduler ...)
    select job, instance, sid from dba_jobs_running
    order by instance, job
    /

  • How to find the current users logged in.

    Hi,
    I have a problem in finding the current users logged into the database and the operations they are doing.
    If u know pls help me........
    Thanks.
    K.Vijay Choudary Reddy.

    hi vijay,
    this is the OracleAS Portal Content Management forum. Please post your database related question in the Database Forum:
    General Database Discussions
    thanks,
    christian

  • How to find the DB schema of XI DB tables to operate on the XI DB table

    Hi all,
    I have to execute some queries on internal XI DB. For this I need the schema name of the DB table where the data about the message is available. Can anyone tell, how to find the DB schema-name of the DB table? I have PI 7.1 system with internalDB.
    How to access the DB of the PI 7.1 system using NWA?
    Regards,
    Soorya

    Hi,
    The PI 7.1 Server shall definitely posses a Database. This Database shall have the ABAP and Java Dictionary tables in 2 different database schemas.You sholud be getting the names of the schema from the basis team supporting your server.
    I hope your are referring to the Java DB Schema for access. In order to get the schema name for the Java Dictionary, you should have access to the NetWeaver Adminstrator (NWA) of the PI Server.
    Logon to NWA, navigate to Configuration Management --> Infrastructure --> Application Resources. Select the Resurce Type to show as JDBC Drivers. Select the system driver and click on Dependent JDBC Datasources. This table should give you the schema name of the Java Table Storage of the PI 7.1 server.
    Regards,
    Alka.

  • InfoPath 2013: How to find the current file name?

    Hello,
    Is there any way to find the file name in the rule formulas when an existing xml file in a sharepoint form library is being edited in InfoPath? I am looking for a function that returns the current file name that is being edited.
    Thank you,

    Hi,
    According to your post, my understanding is that you want to get the current file name in the InfoPath form.
    Here is a similar thread for you to take a look at:
    http://social.technet.microsoft.com/Forums/en-US/a24f01d5-744c-4b75-b30d-3295311ab054/how-do-i-find-the-file-name-of-the-currently-open-infopath-form?forum=sharepointcustomizationlegacy
    Best Regards
    Dennis Guo
    TechNet Community Support

  • How to find the Internal Document Structure Number STLNR from the DIR Key

    Hello:
    Our requirement: When a user moves the Header DIR of a Document BOM to Released Status, we need to check if all the BOM Items in this Document BOM have also been released (in Status Released). If not, we need to give the user an error message informing them which component DIRs need to be released before the system will allow them to release the Header DIR. We can do this by entering the DIR Key of the Header DIR and find out the Internal Document Structure Number (Document BOM Number = STLNR for BOM Category Document Structure STLTY = D) from the available input of the DIR Key DOKARDOKNRDOKTL+DOKVR. Then we need to use the value of STLNR in Table STPO to find the Document BOM Items and check the status of each BOM Item DIR.
    If Table STKO had DIR Key as an input we would have our solution, but alas it does not. Can anyone point us in the right direction by suggesting how to get to STLNR from the DIR Key? Your help would be much appreciated!
    Niraj Pant

    Hi Niraj,
    the STLNR should be contained in structure rc29k. You can also use the DMS BAPI DOCUMENT_GETDETAIL2 with parameter GetStructure or DOCUMENT_GETSTRUCTURE. With these BAPIs you should be able to determine the document structure to an existing document info record. For further information on the mentioned BAPIs please see SAP note <a href="https://service.sap.com/sap/support/notes/766277">766277</a>  which contains a complete documentation on all existing DMS BAPIs.
    Best regards,
    Christoph
    P.S.: Please reward points if this information was usefull.

  • How to find the root document of my web application, if it is in WAR file ?

    Hi,
    I want the root document of my web application. I my EAR file, i have only one WAR file. In my WAR file the following are the folders:-
    enterprise/..
    properties/sql/..
    locale/..
    WEB-INF/..
    Once i get the 'real path' or 'root document', I will use that in my application in no.of times. Path(root document) is used in the following way in my application:-
    File emailTemplatesFolder = new File( path + "/enterprise/"+ enterpriseCode+"/EmailTemplates");
    If i use getRealPath() method, it works fine, in use Oracle9ias, because, EAR file will be extracted. Where as in Weblogic 6.1, EAR file willn't be extracted, so that getRealPath() is giving 'null', that is reason why i am seeking for alternative.
    Thanks in Advance
    Srinivas

    Yes, that is the corrected behaviour.
    What you need to do is to get the ServletContext, and then load the files as resources.
    Here is how to load a properties file in the init() servlet method, which has access to the ServletConfig object that can give u the ServletContext.
    String classesDir = "/WEB-INF/classes";
    ServletContext sc = config.getServletContext();
    InputStram is = sc.getResourceAsStream(classesDir+"default.properties");
    props.load(is);
    Hope it helps,
    Liviu

Maybe you are looking for

  • Time Capsule: Error: (-36) SrcErr:YES

    Got 120+GB backed up and then this error message. I previously had "keychain" permission problems as well but those I fixed with a clean system install. I'm so frustrated with this, everything worked so well for a year and then I did a "software upda

  • MGCP Gateways and Cisco Fax

    We are considering adding a fax solution to our IPT infrastructure using Cisco Fax (Captaris RightFax). Ideally we would like the same voice gateways to terminate the fax calls (internal voice calls use QSIG and external calls use Q.931). Can this be

  • Sudden publishing error on iWeb 06

    I have updated my site since MobileMe kicked in, no problem. Now I'm getting this Publishing Error since I upgraded to 10.4.11: "Can't create the file "shapeimage3_link0.png." The disk may be damaged, full, or you may not have sufficient access privi

  • COM_PARTNER_BADI is not trigger during CHANGE

    I can determine the Manager partner function by using BADI COM_PARTNER_BADI method DETERMINATION_ADD_IN_1. However, if the user changes the partner function, Manager need to be redetermined. The problem is, This BADI is not getting triggered during C

  • Cost of prints and photobooks?

    Hi, I am trying to find information about ordering prints and photos through Iphoto. I would like to know the cost before I go to the trouble of creating a book. I have used Mypublisher in the past and have been very happy with it. However now that I