To get the invoice number of amount applied in view prepayment applications

hi all
In AP abc Manager-Invoices--when we give invoice number in the invoice number field we get to see supplier name etc in the same Invoices Form there is a
tab called General from which we can get Amount Paid ,
Similarly there is a tab called View Prepayment Applications ,when clicked on this tab we can see Amount Applied and invoice number corresponding to that amount applied
KIndly help me from which table or view this invoice number can be obtained
i got amount applied from the view AP_UNAPPLY_PREPAYS_V,but i cant find the invoice number.
kindly guide
thanking in advance
Edited by: makdutakdu on Dec 19, 2011 11:29 AM

Thanks Robin,
i was able to get a work around for this. For the time being i am using the following code snippet, i will try using the one u sent an will see if this works too.
// create nodeinfo object for the node that table will bind to
final IWDNodeInfo nodeinfo = wdThis.wdGetContext().node<NODENAME>().getNodeInfo() ;
//get the structure of the node
final IStructure struct = nodeinfo.getStructureType() ;
Iterator iter = nodeinfo.iterateAttributes() ;
if (null != struct)
totalFields = struct.getNumberOfFields();
else
for ( Iterator i = nodeinfo.iterateAttributes(); i.hasNext(); i.next() )
          totalFields++;
for(count = 1; count <= totalFields; count++)
     fieldName = nodeinfo.getStructureType().getField(count).getName();

Similar Messages

  • 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

  • I recently subscribed to Acrobat XI after the trial expired but when I went to activate it I was asked for the serial number. I only have the order number on the invoice. How do I get the serial number for the trial software that is on my computer?

    I recently subscribed to Acrobat XI after the trial expired but when I went to activate it I was asked for the serial number. I only have the order number on the invoice. How do I get the serial number for the trial software that is on my computer?

    Please do not try to send attachments in mail responses to forum messages. Please return to the forum and click Reply. You can then use the CAMERA icon to add your pictures. Looking forward to seeing what is wrong with your license screens - the general advice is simply to sign in, and everything is done. Make sure you use the SAME Adobe ID that you used to purchase, and check your account details to be sure the subscription is active.

  • Use SQL function to get the original order number using the invoice number

    Hi All,
    wondering is someone can help me with this challenge I am having?  Often I need to return the original order numbers that created the resulting invoce.  This is a relatively simple seriese of joins in a query but I am wanting to simplify it using a SQL function that can be referenced each time easily from with in the SELECT statement.  the code i currently have is:
    Use SQL function to get the original order number using the invoice number
    CREATE FUNCTION dbo.fnOrdersThatMakeInvoice(@InvNum int)
    RETURNS nvarchar(200)
    AS
    BEGIN
    DECLARE @OrderList nvarchar(200)
    SET @OrderList = ''
    SELECT @OrderList = @OrderList + (cast(T6.DocNum AS nvarchar(10)) + ' ')
    FROM  OINV AS T1 INNER JOIN
          INV1 AS T2 ON T1.DocEntry = T2.DocEntry INNER JOIN
          DLN1 AS T4 ON T2.BaseEntry = T4.DocEntry AND T2.BaseLine = T4.LineNum INNER JOIN
          RDR1 AS T5 ON T4.BaseEntry = T5.DocEntry AND T4.BaseLine = T5.LineNum INNER JOIN
          ORDR AS T6 ON T5.DocEntry = T6.DocEntry
    WHERE T1.DocNum = @InvNum
    RETURN @OrderList 
    END
    it is run by the following query:
    Select T1.DocNum, dbo.fnOrdersThatMakeInvoice(T1.DocNum)
    From OINV T1
    Where T1.DocNum = 'your invoice number here'
    The issue is that this returns the order number for all of the lines in the invoice.  Only want to see the summary of the order numbers.  ie if 3 orders were used to make a 20 line inovice I only want to see the 3 order numbers retuned in the field.
    If this was a simple reporting SELECT query I would use SELECT DISTINCT.  But I can't do that.
    Any ideas?
    Thanks,
    Mike

    Thanks Gordon,
    I am trying to get away from the massive table access list everytime I write a query where I need to access the original order number of the invoice.  However, I have managed to solve my own problem with a GROUP BY statement!
    Others may be interested so, the code is this:
    CREATE FUNCTION dbo.fnOrdersThatMakeInvoice(@InvNum int)
    RETURNS nvarchar(200)
    AS
    BEGIN
    DECLARE @OrderList nvarchar(200)
    SET @OrderList = ''
    SELECT @OrderList = @OrderList + (cast(T6.DocNum AS nvarchar(10)) + ' ')
    FROM  OINV AS T1 INNER JOIN
          INV1 AS T2 ON T1.DocEntry = T2.DocEntry INNER JOIN
          DLN1 AS T4 ON T2.BaseEntry = T4.DocEntry AND T2.BaseLine = T4.LineNum INNER JOIN
          RDR1 AS T5 ON T4.BaseEntry = T5.DocEntry AND T4.BaseLine = T5.LineNum INNER JOIN
          ORDR AS T6 ON T5.DocEntry = T6.DocEntry
    WHERE T1.DocNum = @InvNum
    GROUP BY T6.DocNum
    RETURN @OrderList 
    END
    and to call it use this:
    Select T1.DocNum, dbo.fnOrdersThatMakeInvoice(T1.DocNum)
    From OINV T1
    Where T1.DocNum = 'your invoice number'

  • How to get sales invoice number when you know print spool id

    I'm using a version of program rstxpdft4 to download printed invoices to pdf.  I'd like to include the invoice number in the name of the download file, but I don't know how to determine that value.  I'm getting the spool id from table TSP01.
    Thanks,
    Den

    Hi,
    In case of Support project, we get the high severity issues from users and needs to be closed withn 2 hours... so what we do we get the requirement from user and checking the same in production from our id, but we can not save the sales order as we are not authorized to do the same, so in such cases it is required to get the sales order number before saving... where we can guide the users.... but actuallly it is not getting saved in the table until and unless u save it manually. It works like a material master... when u create material master, the material number appears in advance in material number field "MATNR"
    If it is possible can you please suggest step by step to work on parameter in SU3 for sales order number before saving.
    Thanks & regards,
    Rahul Verulkar

  • How do I get the Serial Number for Adobe XI that purchased from Amazon over two weeks ago?

    I am trying to get the serial number so that I can have the permanent version of the Adobe XI that I purchased from Amazon.  Does anybody know how Adobe alerts a buyer to this info?  I purchased the software as a Download so do not have a box.

    Required Proof of Eligibility:
    STUDENTS:
    Your proof of eligibility must be a school issued email address OR a document issued by the institution with your name, institution name, and current date.**
    Types of proof of enrollment include:
    School ID card
    Report card
    Transcript
    Tuition bill or statement
    TEACHERS, FACULTY, STAFF:
    Your proof of eligibility must be a school issued email address OR a document issued by the institution with your name, school name, and current date.**
    Types of proof of employment include:
    Faculty or staff paycheck stub
    Dated ID card
    Official letter from the registrar of the educational institution indicating current employment
    Note: Any sensitive information such as pay amounts, grades, or social security numbers can be covered or crossed out.HOMESCHOOL STUDENTS & TEACHERS:
    Dated copy of a letter of intent to homeschool**
    Current membership ID to a homeschool association (for example, the Home School Legal Defense Association)**
    Dated proof of purchase of curriculum for the current academic school year**
    * Adobe does not provide a trial version of Adobe Acrobat XI Pro for Mac
    ** Documents dated within the last six months are considered current.

  • HT4061 My Child has disabled my ipad mini...It ran out of charge and now is disabled for 22928370 minutes, what can I do as I cant get onto the ipad to get the serial number to speak to an advisor and its only 10 months old. HELP!

    Please help me....
    My Child has disabled my ipad mini...It ran out of charge and now is disabled for 22928370 minutes, what can I do as I cant get onto the ipad to get the serial number to speak to an advisor and its only 10 months old. HELP!

    Hello Jesslocko,
    Before following the iPad Restore process make sure you have updated version of iTunes installed on your computer, to check that Open iTunes on your computer click on Help and then check for updates ( If there is any updates available then Install it ) and If you do not have iTunes Installed or if you want to directly update the version of your iTunes then Download and Install iTunes from here : http://www.apple.com/itunes/download/
    1. Make sure your device (iPad) is unplugged (Disconnected) from your computer (this should be the computer that you use to sync your iPad or you can use any other computer with iTunes installed in it). You can leave the USB cable connected to your iPad though.
    2. Turn off your iPad. Press and hold the power button on the top edge until a slider appears. Slide it from left to right to power off your device. If the slider doesn't appear (because your iOS device has frozen up) then hold the power and Home buttons down until the iPhone or iPad turns off.
    3. Ensure your device has a decent amount of charge. Leave it plugged in to the mains for 10 minutes or so if you see the flat battery icon. (iPad low battery)
    4. Hold down the Home button (the round button at the bottom of your iPad screen) and connect the other end of USB cable to the computer this should cause your iPhone or iPad to turn on. Keep holding the Home button until you see the iTunes and USB cable images on your iPad screen, then release the button.(iPad recovery mode)
    5. In iTunes (launch the application if it isn't running on your Computer), you should see a message saying an iPad has been found in recovery mode.
    6. Click OK and then click on Restore to bring your iPad to Factory settings

  • Hwo to get the spool number from report output

    Hi,
    I am displaying some output in the report using write statements and within my program I need to collect the output written by write statements and send it as an email.So for that I need to generate the spool number and I am using the below code to do that
    CONSTANTS:
        l_linsz TYPE sy-linsz VALUE 201, " Line size
        l_paart TYPE sy-paart VALUE 'X_65_132'.  " Paper Format
      l_uname = sy-uname .
      l_repid = sy-repid .
    *-- Setup the Print Parmaters
      CALL FUNCTION 'GET_PRINT_PARAMETERS'
        EXPORTING
          authority              = space
          copies                 = '1'
          cover_page             = space
          data_set               = space
          department             = space
          destination            = space
          expiration             = '1'
          immediately            = space
          new_list_id            = k_x
          no_dialog              = k_x
          user                   = l_uname
        IMPORTING
          out_parameters         = l_mstr_print_parms
          valid                  = l_mc_valid
        EXCEPTIONS
          archive_info_not_found = 1
          invalid_print_params   = 2
          invalid_archive_params = 3
          OTHERS                 = 4.
    *-- Make sure that a printer destination has been set up
    *-- If this is not done the PDF function module ABENDS
      IF l_mstr_print_parms-pdest = space.
        l_mstr_print_parms-pdest = k_lp01.
      ENDIF.
    *-- Explicitly set line width, and output format so that
    *-- the PDF conversion comes out OK
      l_mstr_print_parms-linsz = l_linsz.
      l_mstr_print_parms-paart = l_paart.
      l_variante = sy-slset.
    * submitting the spool request
      *SUBMIT (l_repid) TO SAP-SPOOL*
                       *SPOOL PARAMETERS l_mstr_print_parms*
                       *WITHOUT SPOOL DYNPRO*
                       *AND RETURN.*
    *Calculating the lenth of report name
      lv_len = STRLEN( l_repid ) .
    *consutrucing the database variable  rq2name to search the spool
    *request
      IF lv_len >= 9 .
        CONCATENATE l_repid+0(9)
                    l_uname+0(3) INTO lc_rq2name .
      ELSE.
        lv_len = 9 - lv_len .
        DO lv_len TIMES .
          CONCATENATE lv_temp '_' INTO lv_temp .
        ENDDO.
        CONCATENATE l_repid lv_temp
                    l_uname INTO lc_rq2name .
      ENDIF.
    *selecting the spool request using the above consructed varibale
      SELECT   * FROM tsp01 INTO TABLE lt_tsp01
              WHERE rq2name = lc_rq2name .
    *sorting the interbla table
      SORT  lt_tsp01 BY rqcretime DESCENDING .
    *reading the first spool request
      READ TABLE lt_tsp01 INTO ls_tsp01 INDEX 1.
    but the problem with the above code is I am using variants to execute the report but when the above piece of code is getting executed it is clearing all the variant values on the selection screen and it is defaulting the values on the selection screen.
    Is there any way i can execute the above code without any problem in the selection screen.
    Thanks
    Bala Duvvuri

    Hello Bala,
    I wouldn't SUBMIT the same program to get the Spool number. You can achieve the same by [NEW-PAGE PRINT ON|http://help.sap.com/abapdocu_702/en/abapnew-page_print.htm#!ABAP_ADDITION_1@1@] command.
    Check the code snippet i've provided below:
    DATA: spfli_wa         TYPE spfli,
          print_parameters TYPE pri_params,
          valid_flag       TYPE c LENGTH 1.
    START-OF-SELECTION.
      CALL FUNCTION 'GET_PRINT_PARAMETERS'
        EXPORTING
          no_dialog            = 'X'
        IMPORTING
          out_parameters       = print_parameters
          valid                = valid_flag
        EXCEPTIONS
          invalid_print_params = 2
          OTHERS               = 4.
      IF valid_flag = 'X' AND sy-subrc = 0.
    *   1. Write the output to the output list(no spool is generated)
        SELECT carrid connid
               FROM spfli
               INTO CORRESPONDING FIELDS OF spfli_wa.
          WRITE: / spfli_wa-carrid, spfli_wa-connid.
        ENDSELECT.
    *   2. Write the output to SAP spool(no list is displayed)
        NEW-PAGE PRINT ON PARAMETERS print_parameters NO DIALOG.
        SELECT carrid connid
               FROM spfli
               INTO CORRESPONDING FIELDS OF spfli_wa.
          WRITE: / spfli_wa-carrid, spfli_wa-connid.
        ENDSELECT.
        NEW-PAGE PRINT OFF.
        MESSAGE i000(zibi027) WITH 'Spool' sy-spono 'is generated!!!'.
        "You can use the spool number (SY-SPONO) to email the list output
      ENDIF.
    Hope this helps.
    BR,
    Suhas

  • I have lost my iphone, how can i get the IMEI number?

    i have lost my iphone, how can i get the IMEI number?

    If you need the IMEI for an insurance or police report:
    how to find IMEI, etc
    http://support.apple.com/kb/HT4061?viewlocale=en_US&locale=en_US
    But as Carolyn Samit said above, you cannot track the iPhone by IMEI.

  • HT204204 I need help talking to a person. My phone is not working so I can't call and i can't get the serial number to get ahold of anyone. what do i do

    How do i get ahold of a real person? My phone is only showing a black screen so I can't get on it to get the serial number or call anyone. please help

    http://www.apple.com/support/iphone/contact/

  • How to get the total number of pages printed in a report?

    Hi All,
    I have a requirement where I need to print a frame of fields only in the last page. Unfortunately I cannot use the 'Print Object On' property as it doesnt work in my case. So, I am planning to write a format trigger on the frame to return TRUE if the page is the last physical page. Now, I need to know how to get the total number of physical pages that will get printed in the report so that I can use this to manipulate the frame. I was planning to use the 'Total Physical Pages' built-in, but it seems like I can just use it to print in a field and I can't use this field's value anywhere in the plsql code (formula column function/format trigger) in the report. Is there anyway to get the total number of pages printed in the report which can be used in the report plsql code?
    Thanks,
    Srini.

    i found the solution, thanks

  • HT1349 My Ipod was stolen how do i get the serial number?

    My IPOD was stolen how do I get the serial number?

    The easiest way to find your serial number is this Open Itunes...click help... run diagnostics.....(tick or untick as necessary) so that you just have ticked the last two,  device connectivity and device sync.  run these tests. it will say no ipod/ipad found but will give results of test....scroll down to bottom of results... here you will find the serial number of your last attached devices.

  • How can you get the serial number of your ipod touch when it has been lost?

    My daughter took her ipod touch to a friends house and it is now missing...can anyone tell me how to get the serial number so that we can report the missing device?  Thanks to anyone who can help.....

    On the syncing computer go to iTunes>Preferences>Device and hover the mouse pointer over the iPod backup and the SN will show in a box.  Also see:
    iPod: How to find the serial number

  • My iPod touch was stolen. Can you tell me how I can get the serial number from my iTunes account?, My iPod touch was stolen. Can you tell me how I can get the serial number from my iTunes account?

    My iPod touch was stolen. Can I get the serial number from my iTunes account?

    See the end of:
    - If you previously turned on FIndMyiPod on the iPod in Settings>iCloud and wifi is on and connected go to iCloud: Find My iPhone, sign in and go to FIndMyiPhone. If the iPod has been restored it will never show up.
    - You can also wipe/erase the iPod and have the iPod play a sound via iCloud.
    - If not shown, then you will have to use the old fashioned way, like if you lost a wallet or purse.
    - Change the passwords for all accounts used on the iPod and report to police
    - There is no way to prevent someone from restoring the iPod (it erases it) using it.
    - Apple will do nothing without a court order                                                
    Reporting a lost or stolen Apple product                                        
    - iOS: How to find the serial number, IMEI, MEID, CDN, and ICCID number

  • HT1349 My Ipad was stolen, How can I get the serial Number from Apple. It was registered with them

    I had  2 Ipads, a mac book pro and a Mac Air stolen 2 weeks ago
    I am trying to locate one of the serial numbers, but cant find the last box.  Can I get the serial number from Apple. It was registered and now it is not showing up as one of my products.
    Thanks

    The easiest way to find your serial number is this Open Itunes...click help... run diagnostics.....(tick or untick as necessary) so that you just have ticked the last two,  device connectivity and device sync.  run these tests. it will say no ipod/ipad found but will give results of test....scroll down to bottom of results... here you will find the serial number of your last attached devices.

Maybe you are looking for

  • Error in User Management Link CRM 7.0

    Hi As per CRM 7.0 standard functionality (with ECC as a back end), USER MANAGEMENT Link is available to maintain WEBSHOP Logon users. We are getting the below error when we try to maintain the USERS through that link "SERIAL NUMBER MISSING u2013 ENTR

  • Hi gurus reg.account generation

    Hi gurus, can i block particular customer to transfer accounting from billing & how? can i block particular material to trnasfer accounting from billing @ how? regards.. sriknath

  • Urgent: Replication of CRM Service Ticket to PM Service Notification in ECC

    Hi Friends, I have a Client requirement where 1) a Service Ticket is created on CRM IC Webclient. 2) This Service Ticket is then Replicated in Plant Maintemance (PM) Service Notification on ECC. 3) Then the Service Notification is executed in the PM

  • Random Password Generator

    Hi everyone, I made this Password Generator that does what I want, but I'd like to extend its functionality. Right now it creates a random password from an array of letters and numbers. import java.io.*; import javax.swing.*; import java.util.*; *Ver

  • InDesign CS5.5 - Update Error U44M1P7

    Hello, I've been trying to install Adobe InDesign Update 7.5.3 and it reports error U44M1P7. I've reinstalled InDesign and receive the same error. I've noticed some other Adobe products with the same issue and I've tried all of the solutions to see i