How to retrieve the Invoice no from delivary no

Hi All,
  Please suggest me the easiest way of fast retrival of Invoice no based on the Delevary no.
  Appropriate answers will reward fully.
Regards
Krishna

Hi  Krishna,
            You can go for Sales Document Flow table(VBFA)
while selecting, your where clause should look like this.
VBELV  -  delivery number
VBTYP_N  -  subsequent document type ( Invoice)
                   i.e, 'M'
VBTYP_V  -  preceeding document type ( Delivey)
                     i.e, 'J'
Hope this helps you,
Regards,
Chandra Sekhar

Similar Messages

  • How to retrieve the parameter names from a JSP page ? Urgent Please

    Hello,
    Can anybody tell me how to retrieve the parameter names from the JSP
    page. (without using getParameterNames() method.)
    The problem with the getParameterNames() method is I get the Jumbled output.
    I need it very badly
    With regards
    Ananth R
    email:[email protected]
    [email protected]

    Dear duffymo,
    My primary intention is to convert the JSP form information into a XML file.
    If I do not get the Parameter names in the correct order how can I maintain
    tag order in XML file.
    For ex: (JSP PAGE VIEW)
    Name--
    FirstName
    MiddleName
    LastName
    Address--
    Street1
    Street2
    City
    Country
    &so on
    (XML File to be generated)
    <Name>
    <FirstName>Value</FirstName>
    </Name>
    <Address>
    <street1>value</street1>
    </Address>
    & so on
    If I use getParameterNames() to get all the parameter names(Which form the tag names in the XML file ) the Enumeration object it returns will not be in the same order as the text fields in JSP.From this I can not construct a meaningful XML file.
    order means: Order of entry on the page, from top to bottom
    That's it
    Waiting for your responses

  • How to retrieve the image back from the running CSS

    how to retrieve the image back from the running CSS

    Gilles,
    Thank for your response.
    But the version we use is sg0740107s and can not download from the Cisco Web site any more.
    Does cisco have a archive site for all the image so that the user can download it?
    sctorcss1# sh ver
    Version: sg0740107s (07.40.1.07s)
    Flash (Locked): 07.20.2.06
    Flash (Operational): 07.40.1.03
    Type: PRIMARY
    Licensed Cmd Set(s): Standard Feature Set

  • How to retrieve the item text from VL03 transaction .

    How to retrieve the item text from VL03 transaction .
    The requirement is like this, the item text thus retrieved should be printed in the script under the item.

    Jagadieshwar,
    Use <b>READ_TEXT</b> function module to get the proper item text of Delivery.
    <b>ID</b>: Probably you want 0002 (Item Note), but it depends which text you want Item Note, Material Sales Text ,etc..
    <b>NAME</b>: CONCATENATE Delivery Doc. Number + Delivery Item Number (e.g. 0080001729000010)
    <b>OBJECT</b>: VBBP
    <b>
    LANGUAGE</b>: sy-langu or whatever you want.

  • How to retrieve the max value from a cursor in procedure

    Hi,
    In a procedure, I defined a cursor:
    cursor c_emp is select empno, ename, salary from emp where ename like 'J%';
    but in the body part, I need to retrieve the max(salary) from the cursor.
    could you please tell me how I can get the max value from the cursor in the procedure.
    Thanks,
    Paul

    Here is one sample but you should just get the max directly. Using bulk processing should be a last resort.
    DECLARE
      CURSOR c1 IS (SELECT * FROM emp where sal is not null);
      TYPE typ_tbl IS TABLE OF c1%rowtype;
      v typ_tbl;
      max_sal number;
    BEGIN
      OPEN c1;
      max_sal := -9999999999999;
      LOOP                                                 --Loop added
        FETCH c1 BULK COLLECT INTO v LIMIT 3; -- process 3 records at a time
            -- process the records
           DBMS_OUTPUT.PUT_LINE('Processing ' || v.COUNT || ' records.');
            FOR i IN v.first..v.last LOOP
                 if v(i).sal > max_sal then
                   max_sal := v(i).sal;
                 end if;
                DBMS_OUTPUT.PUT_LINE(v(i).empno);
            END LOOP; 
        EXIT WHEN c1%NOTFOUND;
      END LOOP;
      DBMS_OUTPUT.PUT_LINE('Max salary was: ' || max_sal);
    END;
    Processing 3 records.
    7369
    7499
    7521
    Processing 3 records.
    7566
    7654
    7698
    Processing 3 records.
    7782
    7788
    7839
    Processing 3 records.
    7844
    7876
    7900
    Processing 2 records.
    7902
    7934
    Max salary was: 5000

  • How to find the invoice number from accounting document number?

    Hi
    I am using the bapi BAPI_AP_ACC_GETSTATEMENT and trying to get the invoice numbers of all the payments.
    but i am unable to find the link between the accounting document number from the bapi and the vendor invoice number.
    i have tried the tables BSE_CLR, BSEG and BKPF. the field AWKEY in BKPF has the combination of BELNR & BUKRS & GJAHR when the document type is anything other than RE.
    How can i get the invoice numbers from the accounting doc. numbers?
    Regards
    Sujai

    I am unable to find the link between BKPF-BELNR and RBKP-BELNR from the bapi return values.
    XBLNR is blank when i check the table.
    the output of the bapi is something like this                                                                               
    COMP VENDOR   CLEAR_DATE CLR_DOC_NO ALLOC_NMBR   FISC   DOC_NO     ITE
                                                                                    1000    1100 ........ .........................................  20020123           2002 1900000202   002
    1000    1100 ........ .........................................20020123           2002 1900000203   002
    1000    1100........ .........................................20020123           2002 1900000204   002
    1000    1100........ .........................................20020123           2002 1900000205   002
    now i try passing the doc_no (1900000XXX) and the fiscal year (2002) and company code to BKPF
    the XBLNR field is blank. This document number sequence doesn't seem to be the accounting document number of the invoice coz that starts with 51XXXXXXXXX.
    If i try passing the number with sequence 51XXX... to BKPF i get the invoice number there in the AWKEY field.
    I am not sure what this sequence (19___) represents.
    Sujai
    Edited by: Sujai S on Nov 5, 2008 7:22 PM
    Edited by: Sujai S on Nov 5, 2008 7:22 PM

  • How to Retrieve the Selected Values from selectOrderShuttle using ADF 11g

    Hi Every One,
    Does anyone has idea how to retrieve the selected Items using shuttle and Order of the items using 'SelectOrderShuttle' component ?
    Thanks

    shuttle's valuechangeevent would fire when you shuttle items back and forth.
        public void selectOrderShuttle1_valueChangeListener(ValueChangeEvent valueChangeEvent) {
            ArrayList list = new ArrayList(Arrays.asList(valueChangeEvent.getNewValue()));
            if (list != null){
                for (int i=0; i<list.size(); i++) {
                    int l = list.size()-1;
                    val = list.get(l).toString(); //returns , delimited string
                    if (val != null){
                        val = val.replaceAll("[\\[\\]]", "");
                        StringTokenizer st = new StringTokenizer (val, ",");
                        int nto = st.countTokens ();
                        for (int j = 0; j < nto; j++)
                            String token = st.nextToken ();                     
                ..........

  • How to retrieve the long texts from  purchase Info record (ME13)

    Hi,
    How do I retrieve the long texts data from the tab, Texts of the Purchase Info record(ME13).  I want to retrieve the current long texts data(long text1, long text2 long text3, long text4) for a given purchase info record. These long texts points to the structure BRM06I.
    So, now how do I fetch the data from the structure BRM06I. Is there any function module for the same..
    Thanks.

    Hello,
    Texts are stored in tables STXH & STXL (header and item). You can search these tables by selecting Text object = EINA and Text name = Info Rec #. The text ID's you will see are the ID for various texts maintained.
    Cheers !

  • How to retrieve the Application Data from the Time Machine Backup, into newly Installed OS X Lion

    Hi!
    I recently intalled a clean Mac OS X Lion on my system, I was having Snow Leopard (10.6.8) before. So before the format of the hard drive I have taken the full backup of the system by Time Machine.
    Now, after the fresh installation of Lion, I want to retrieve the data of diffrent previously installed applications like iPhoto, Address Book or iCal and so.. but certainly I want to retrieve the data only, not the full application (since they are the older versions of the application). How I can have the data of these applications into the new OS X Lion's blank Applications..!?
    Please give some solution.
    Thank you very much.

    Lion hides your home library
    there are 3rd party programs to help. having a CLONE of your old system often trumps what TM alone offers.
    And it makes sense to start a new TM backup set on another drive and keep the old one intact.
    Lion Community and TM section might be worth a visit.
    http://www.apple.com/support/timemachine
    There are also some tech articles on Lion's Migration Assistant

  • How to retrieve the webdynpro code from a business package

    Hi Experts,
    We have deployed the ESS/MSS Business Package . The issue is that we have to make some changes in the applications which have been deployed alongwith the business package.Since the business package was provided by SAP , we do not have the Webdynpro DC for the same.
    Can Experts please tell me the easiest & legal way to retrieve the webdynpro piece of code so we can make the required changes?
    Thanks in advance,
    Virag Shinde
    virag.shinde(@)lntinfotech.com

    Hi,
      You will have to use NWDI and import the webdynpro components into developer studio. Check these links.
    Re: ESS/XSS Web Dynpro SCA import in CMS to view/modify Web Dynpro Source Code
    Common pitfalls using the NWDI
    Best Practices for Running the NWDI
    Regards,
    Harini S

  • How to Retrieve the Attributes Definitions from a Database

    Hello!
    Is there a way of getting the definitions (types) of the attributes (columns) from a database, supposing we have a connection to it?
    Thanks in advance.

    [http://java.sun.com/javase/6/docs/api/java/sql/ResultSet.html#getMetaData()]

  • How to retrieve the saved passwords from a hard drive?

    Hello,
    My laptop mobo died so I removed the hard drive and installed into my desktop. I am able to explore all files. Is it possible to retrieve these passwords?

    http://support.mozilla.com/en-US/kb/Recovering+important+data+from+an+old+profile

  • How to retrieve the large data from the database

    in my program, I want to operate the data retrieved from the database. but there are too many rows in the ResultSet . so when I try to get the ReusltSet from the database, the error of "java.lang.OutOfMemoryError
    " will appear . because there are two million rows contained in the ResultSet, So I want to know whether there are some methods to deal with this problem.
    anyone can give me some tips or recommend some papers and books to me.
    thanks!!!!

    the program is developed for the data warehourse, you know there is a large number of data in data warehourse. so I think I have to deal with the very large ResultSet in my program, this code is a example for my problem :
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    public class Untitled1 {
        String user = "";
        String password = "";
        public void createTable() {
            try {
                Class.forName("com.sybase.jdbc3.jdbc.SybDriver");
                System.out.println("Good to go");
                String url = "jdbc:sybase:Tds:59.64.137.240:5000/TJ";
                Connection conn = DriverManager.getConnection(url, user, password);
                System.out.println("connect successfully!");
    //            Statement st1 = conn.createStatement();
                String sqlsentence2 = "SELECT DISTINCT caller FROM upcdr";
                PreparedStatement st2 = conn.prepareStatement(sqlsentence2);
                PreparedStatement st3 = conn.prepareStatement("INSERT INTO callerTable VALUES(?)");
                System.out.println("createstatement successfully!");
    //            String sqlsentence1 = "CREATE TABLE callerTable (caller CHAR(18))";
    //            st1.executeUpdate(sqlsentence1);
    //            System.out.println(sqlsentence1);
    //            st1.close();
                ResultSet rs = st2.executeQuery();
                while (rs.next()) {
                    st3.setString(1, rs.getString("caller"));
                    st3.executeUpdate();
                    System.out.println(rs.getString("caller"));
                st2.close();
                st3.close();
            } catch (SQLException e) {
                e.printStackTrace();
                System.out.println(e.getMessage());
               System.out.println( e.getSQLState());
               System.out.println( e.getErrorCode());
            } catch (ClassNotFoundException e) {
                e.printStackTrace();
        public static void main(String args[]) {
            Untitled1 cct = new Untitled1();
            cct.createTable();
    }at here, the table "upcdr" is very large, it has two million rows. when I run this program , the error will happen. someone told me that if I use the cursor, because it will retrieve one row from the database every time, so it will not produce a very large ResultSet, then the memory would not be used out. but I am not familiar with that aspect. so I think if anyone can give me some advice.
    thanks!!!!

  • How to retrieve the vendor number during creation of Purchase Order?

    Dear SAP experts,
    For our Purchase Orders, during PO creation (t-code ME21 or ME21N) we want to achieve the following:-
    1) default the delivery address to our plant A address if the vendor is local and
    2) default the delivery address to our plant B address if the vendor is foreign.
    At the moment, we are trying to use the user exit enhancement "MMDA0001" to achieve the above.
    The problem is how to retrieve the vendor number from the screen so we could pass the vendor number to ZXM06U32 to check the ktokk field in LFA1 table in the whether the vendor is foreign or local.
    Thank you in advance.
    Regards,
    Alex

    u can do one thing, create 2 partner function, like 1 for local, and second for import vendor.
    or make 2 batch  n activate vendor batch and make mandatory field from SPRO. 
    then goto SHD0, and do one by one step. first time take 1st requirement and second time take second . like that make two variant .
    i dont know how much it will be helpful. bt i want to suggest smth like that only.
    or, go for ABAPER help
    thanks
    nisha

  • Retrieving  the score value from the captivate into flash

    Hi,
    We have used Captive 2 to built course & publishing it as
    a non e-learning output
    and loading the published swf file in custom built flash
    movie (wrapper).
    We have accessed some of the captivate variables to control
    the captivate swf.
    Does anyone know how to retrieve the score value from the
    captivate into flash ?
    Thanks
    Regards
    Chetan

    Hello,
    Use the Object Browser in .NET and search on "Summaryinfo" and you'll find the API to use.
    Thank you
    Don

Maybe you are looking for