How to get an accounting document number from an Invoice number

Dear All,
I have a requirement where I need to know which accounting document is created against a  particular invoice. As we know that in the document flow of invoice we can see the Accounting document also. But to develop the report I need to pick the accounting document by the invoice document. Please suggest me a table where this value is getting stored. I already tried VBFA and VBKD but nowhere I am getting such information from which I can pick a accounting document number for a particular invoice.
Please give me your suggestions.
Regards,
Sanju

Dear,
For Billing document create no. range by Tcode-VN01 and assign it to in Tcode-VOFA
For Accounting document create no. range by Tcode-FBN1 and activate the External Field and assing it to in Tcode- OBA7
but Assign the same no. range to both Document types for exp 1000000 to 1999999.
Regards
AJIT K SINGH
HAPPY TO HELP U

Similar Messages

  • How to get the week start date from ISO week number

    Hi,
    I have a table with the following stucture
    Year    error    Week1     week2   week3 ......week53
    2012       error1     2           4         2             1
    2012       error2    3          0        1                 1I was hoping to get something like select year, error, week1||'Week start date which is a monday of that week' , week2||'Week start date,again monday',....week53 from table
    Any suggestions please?
    Thanks,
    Sun

    Hi, Sun,
    To see when week N started, add 7 * (N - 1) days to the beginning of the year. (By definition, the beginning of the ISO year is the start of week 1 of the ISO year.)
    To see when week 22 of the current year started:
    SELECT  TRUNC (SYSDATE, 'IYYY') + (7 * (22 - 1))
    FROM    dual
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all the tables involved, and the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    Always say what version of Oracle you're using.
    See the forum FAQ {message:id=9360002}

  • How to find out the schedule agreement number from the invoice number?

    I have invoice number based on which i need to check the scheduleagreenment number
    please let me know in which table i can find the relation between these two.

    Check EKBE and EKET , EKEK

  • HT5699 i am from Lebanon and they did disable my account because of authorization they did my cousin without my knowledge, and i did change the password of my account and the webcard used please can u help me to know how to get my account back

    i am from Lebanon and they did disable my account because of authorization they did my cousin without my knowledge, and i did change the password of my account and the webcard used please can u help me to know how to get my account back

    http://www.apple.com/support/itunes/

  • How to get Contract Account Number in Service Ticket

    Hi Experts,
    How to get Contract account number in Service Ticket, we are working in ISU environment. when i create the service ticket the contract account number is there in Business agreement number field in service tiket.
    Can anyone tell me how to retrieve that field.
    Answer will be appreciated.
    Praveen

    check tables tfk_buag_ref and fkkvkp

  • How to get Delivery Doc Number From Picking List Number?

    Helo All...
    How can I get the delivery document numbers from the picking list numbers?
    Thanks

    Try using transaction SE16 and table VBFA- subs. doc category Q should give a list of pick list numbers the preceding document is the delivery. Note you may have to go to settings> fields for selection to choose subs doc categ.  so that it appears as a selection.

  • How to get the report to relaionship from infotype 1001.

    Hi,
    Could any one just let me know regarding how to get reports to relationship for the particular employee number from infotype 1001.
    What exactly are the aprameters involved.
    Thanks in Advance ,
    Irfan Hussain

    Hi Irfan,
    SELECT abkrs
             pernr
             ename
             gsber
             begda
             persg
             persk
             werks
             btrtl
             plans
             kostl
             orgeh
         INTO TABLE it_0001
         FROM pa0001
       loop at it_0001.
        CLEAR: l_plans, l_sobid, l_sobidx, l_pernr.
        SELECT SINGLE sobid INTO l_sobid
          FROM hrp1001
         WHERE otype = 'S'
           AND objid = it_0001-plans
           AND plvar = '01'
           AND relat = '002'
           AND endda = '99991231'.
        IF sy-subrc EQ 0.
          l_plans = l_sobid.
          SELECT SINGLE sobid INTO l_sobidx
          FROM hrp1001
         WHERE otype = 'S'
           AND objid = l_plans
           AND plvar = '01'
           AND relat = '008'
           AND endda = '99991231'.
          IF sy-subrc EQ 0.
            l_pernr = l_sobidx.
            SELECT SINGLE ename INTO <b>it_0001-repto</b>
              FROM pa0001
             WHERE pernr = l_pernr.
            IF sy-subrc EQ 0.
             MODIFY it_0001 INDEX l_index TRANSPORTING repto.
            ENDIF.
          ENDIF.
        ENDIF.
       endloop.
    Regards,
    Raj

  • How i get data in matrix grid from A/P Invoice

    How i get data in matrix grid from A/P Invoice before click add button

    Hi,
    Are you trying to read the data in the matrix of a system form? Then you only have to look for the matrix with the ID you can see by visualising the System Information in B1 and then directly read from the matrix cells (using columns element in matrix), the DBDataSources are not filled in until the document has been added to the database.
    There are many messages in this forum talking about how to read information in matrix item, just make a search for it.
    Hope it helps
    Trinidad.

  • How to get the byte[] size dynamically from the StreamMessage object

    Hi all,
    Using JMS, I am receiving the FDF file as StreamMessage from the queue and attaching it to the PDF file which is present in the local system.
    For that, I have written the code as follows:
    {color:#0000ff} Message msg = jmsTemplate.receive();
    if(msg !=null && msg instanceof StreamMessage)
    StreamMessage message = (StreamMessage) msg;{color}
    {color:#ff6600}//hardcoded the byte array size value
    {color}{color:#0000ff} byte[] bytes = new byte[{color:#ff0000}856{color}];
    System.out.println("read msg="+message.readBytes(bytes));{color}
    {color:#0000ff}PdfReader pdfreader = new PdfReader("D:\\Managing_Workflows_No_Comment.pdf");
    PdfStamper stamp = new PdfStamper(pdfreader, new FileOutputStream("D:\\12345.pdf"));
    FdfReader fdfreader = new FdfReader(bytes);
    stamp.addComments(fdfreader);
    {color} {color:#0000ff} stamp.close();
    {color}{color:#000000}The above code is working fine except with the hardcoded of {color:#ff0000}byte array{color}{color:#ff0000} size value{color} which is given in {color:#ff0000}RED{color} in color.
    Can anybody know, {color:#000000}*how to get the byte[] size dynamically from the StreamMessage*{color} object ?
    Any help would be highly beneficial for me !!!!
    Thanks and Regards,
    Ganesh Kumar{color}

    When you create your stream message you could add an property to your message, something like streamSize that would contain the number of bytes in your stream message. Then you could get this property from the message before declaring your array.
    Tom

  • Insurance claim for music - how to get print out of purchases from itunes

    Can any one help me as my Hard Drive crashed yesterday and i've lost all my Music, movies etc purchased from itunes in the last 2 years. Need to know how to get a detailed print out from itunes to prove purchase and claim on insurance. And yes i know i should have backed up my recent files...

    The only way is to log into your iTunes Store account (you'll need a working computer with iTunes installed, of course), go to your Purchase History, and do a screen capture of each successive page. There's no way to print out a full listing of all your purchased in one go.
    Regards.

  • 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

  • My iMessage on my mac is sending from my email. How do i change it to send from my phone number?

    My iMessage on my mac is sending from my email. How do i change it to send from my phone number?

    As far as I know, you can't. Your mac can only send from emailadresses

  • My Apple TV was set up with a different Apple ID than I have for my ITunes Account.  In other words I have multiple Apple ID's.  How can get these accounts to sync up?

    My Apple TV was set up with a different Apple ID than I have for my ITunes Account.  In other words I have multiple Apple ID's.  How can get these accounts to sync up?

    If you wish to use home sharing then you need to setup the Apple TV under your ID.

  • How to get rid of the other from the MacBook Air Memory?

    How to get rid of the other from the MacBook Air Memory? I reviewed my newly purchased MBA ear;y 2014 i7 8GB RAM and there was 24+ GB of "Other". I have Yosemite. I have restored to factory with no luck. is there a memory cleaner or process to eliminate what is not needed in Other? I know some files there are settings, and such but not 24+ GB worth is such of stuff.

    About “Other”:
    http://support.apple.com/en-us/HT202867
    Go step by step and test.
    1. Start up in Safe Mode.
        http://support.apple.com/kb/PH11212
    2. Backup your computer.
    3. Empty Trash.
       http://support.apple.com/kb/PH13806
    4. Disk space / Time Machine ?/ Local Snapshots
      Local backups
       http://support.apple.com/kb/ht4878
    5. Delete old iOS Devices Backup.
        iTunes > Preferences > Devices
        Highlight the old Backups , press “Delete Backup” and then “OK”.
        http://support.apple.com/kb/HT4946?viewlocale=en_US&locale=en_US
    6. Re-index Macintosh HD.
        This will take a while. Wait until it is finished.
        System Preferences > Spotlight > Privacy
        http://support.apple.com/kb/ht2409
    7.Try OmniDiskSweeper. This will give the storage size details of the items.
       https://www.omnigroup.com/more
       Select Macintosh HD and click  “Sweep Selected Drive” at the bottom.
       Be careful. Delete only the files that can be safely  deleted. If you are not sure about any file, don’t touch it.
    8. Move iTunes, iPhoto and iMovie media folders to an external drive.
        iTunes
        http://support.apple.com/en-us/HT201562
        iPhoto
        http://support.apple.com/kb/PH2506
        iMovie
        http://support.apple.com/kb/ph2289

  • How to get the backup of photos from  i cloud id ?

    plz provide me the answers as soon as possible.

    BALAJI_PRASANNA wrote:
    Hello,
    I am very new to Labview. Í have an image of an LED and wanted to find the luminance value. I got the luminance image from the IMAQ ExtractSingleColorPlane but the value is not displaying. I just wanted to know how to get the value of luminance from the IMAQ ExtractSingleColorPlane. I have attached what i have done below.
    Thanks in advance.
    Before learning about LabVIEW, learn about images.  An Image (in LabVIEW) is a "representation of an image", that is, the wire itself doesn't really have a "value", but "points to" a collection of data that can be "imaged" (i.e. looked at as through it were a picture), "manipulated" (for example, extracting a color plane, basically getting the "red channel", an image looking as through it were viewed through a red filter), and possibly returning arrays of numbers representing the intensity of the light at a certain position in the picture.  
    BS

Maybe you are looking for