How to get invoice verification amount

hi experts,
   how to get invoice verification amount?
is below right?
  SELECT * INTO wa_ekbe FROM ekbe WHERE ebeln = p_ebeln
      AND ebelp = p_ebelp.
    p_amount = p_amount + wa_ekbe-dmbtr.
    SELECT SINGLE * INTO wa_bkpf FROM bkpf WHERE gjahr = wa_gjahr
            AND bukrs = p_bukr
            AND belnr = wa_ekbe-belnr.
    IF sy-subrc = 0.
      SELECT * INTO wa_bsak FROM bsak WHERE gjahr = wa_bkpf-gjahr
        AND bukrs = wa_bkpf-bukrs
        AND belnr = wa_bkpf-belnr.
         p_amount  = p_amount  + wa_bsak-dmbtr.
        CLEAR wa_bsak.
      ENDSELECT.
    ENDIF.
    CLEAR wa_ekbe.
  ENDSELECT.

Partially, yes..
RBKP stores the header of the incoming invoice
RSEG stroes the details of the incoming invoice.
Regards,
Naimesh Patel

Similar Messages

  • How to get invoice verification money?

    hi
    i am an abaper, can someone explain to me what  the invoice verification is? how to get invoice verification money? is it in RBKP?

    Partially, yes..
    RBKP stores the header of the incoming invoice
    RSEG stroes the details of the incoming invoice.
    Regards,
    Naimesh Patel

  • How to get Basic salary amount in the Housing formula to calculate the housing value as I used the DBI (NICDP_EMPLOYEE_BASIC_SALARY_AMOUNT_ASG_ENTRY_VALUE) but when run the Quick pay for the housing element alone result come 0, How to get Basic salary amo

    How to get Basic salary amount in the Housing formula to calculate the housing value as I used the DBI (NICDP_EMPLOYEE_BASIC_SALARY_AMOUNT_ASG_ENTRY_VALUE) but when run the Quick pay for the housing element alone result come 0, How to get Basic salary amount in the Housing formula to calculate the housing value as I used the DBI (NICDP_EMPLOYEE_BASIC_SALARY_AMOUNT_ASG_ENTRY_VALUE) but when run the Quick pay for the housing element alone result come 0

    Hi,
    Is your formula attached to basic salary element or some other element? You need to make sure that basic salary element has some value and is processed before this formula is called. Are you able to see value for basic salary element after payroll run?
    Regards,
    Pawan

  • How to get Invoice status value in oracle payable

    Hi guys,
    I am new in oracle apps plz tell me how to get invoice status value of prepayment invoice type in payable.
    Navigation ->Payables->Oracle Payables ->Invoices->Inquiry->Invoices ->go to Invoice status block and open to Status LOV
    plz provide me sql query to find those status lov values and accounted values for any supplier & invoice num.
    it's urgent plz .......................
    Thanks guys.......

    The invoice approval status does not come from any table / lookup.
    Instead, Oracle builds it by calling the ap_invoices_pkg.get_approval_status function.
    You can also call it by passing invoice_id, payment_status_flag and invoice_type_lookup_code.
    All these 4 columns are present on the ap_invoices_all record.
    Hope this helps
    Sandeep Gandhi
    Independent Consultant

  • Regarding: How to Get the Tax Amount

    Hai Friends,
                            I have the Input of  Amount + Tax Group.
                           I  need the amount for every Tax from Tax group.
                           How to get the Tax amount for differnt tax type.
    Please help me.
    Regards,
    K Sakthivel

    Hai Sakthi,
    As you want the report for different tax types  you can differentiate different tax types by tax rate and tax code  you can  refer the below query and modify  according to your requirement and you can add as many tax codes/tax type based on your needs.
    BASED ON TAX CODE AND TAX RATE :
    SELECT distinct  M.DocNum AS 'AR Inv. #', M.DocDate as 'Date', M.CardName as 'Customer Name',M.NumAtCard as 'Bill No. & Dt.',M.DiscSum,M.RoundDif,
    (Select Sum(LineTotal) FROM INV1 L Where L.DocEntry=M.DocEntry) as 'Base Amt.(Rs.)',M.VATSUM,
    t.statype,
    (Select Sum(LineTotal) FROM INV1 L Where L.DocEntry=M.DocEntry and statype =1 and taxrate=5  AND TAXCODE='CHVAT5' ) as 'CHENNAI VAT5  SALES',
    (SELECT SUM(TaxSum) FROM INV4 where statype=1 and TaxRATe =5 and DocEntry=M.DocEntry  AND STCCODE='CHVAT5' ) as ' CHENNAI VAT5 COLLECTED ',
    (Select Sum(LineTotal) FROM INV1 L Where L.DocEntry=M.DocEntry and statype =1 and taxrate=0.00  AND TAXCODE='CHTAXEXE' ) as 'EXEMPTED  SALES',
    (SELECT SUM(TaxSum) FROM INV4 where statype=1 and TaxRATe =0.00 and DocEntry=M.DocEntry  AND STCCODE='CHTAXEXE' ) as 'EXEMPTED COLLECTED ',
    (Select Sum(LineTotal) FROM INV1 L Where L.DocEntry=M.DocEntry and statype =1 and taxrate=14.50  AND TAXCODE='CHVT14.5' ) as 'CHENNAI VAT14.5  SALES',
    (SELECT SUM(TaxSum) FROM INV4 where statype=1 and TaxRATe =14.50 and DocEntry=M.DocEntry  AND STCCODE='CHVT14.5' ) as ' CHENNAI VAT14.5 COLLECTED ',
    (Select Sum(LineTotal) FROM INV3 Q Where Q.DocEntry=M.DocEntry) as 'FREIGHT',
    M.DocTotal as 'Total (Rs.)'
    FROM OINV M LEFT OUTER JOIN INV1 L on L.DocEntry=M.DocEntry
    LEFT OUTER JOIN INV4 T on T.DocEntry=L.DocEntry
    LEFT OUTER JOIN INV5 J ON M.DocEntry = J.AbsEntry
    LEFT OUTER JOIN INV3 Q ON M.DocEntry = Q.DocEntry
    INNER JOIN NNM1 T4 ON M.SERIES=T4.SERIES
    where (t4.series ='1' ) AND TARGETTYPE !='14'
    GROUP BY
    M.DocNum,M.DocDate,M.CardName,M.NumAtCard,M.DocEntry,M.DiscSum,M.WTSum,M.DocTotal,M.Series,T4.SeriesName,M.RoundDif,M.VATSUM,T.STATYPE,T.TAXRATE,Q.LINETOTAL,t4.series,
    Regards,
    P.V

  • How to get  invoice via material document

    HI,
    How to  get  invoice via material document is there any table or any inderect way?
    thanks
    pandu

    Hi Lakshimipathi,
    thanks for your reply.
    i have checked in vbfa but it's not showing anything.
    my client is providing below information and asking that invoice number.
    material,
    plat,
    material doc,
    movement type,
    posting date.
    i have ran the mb59 by giving material , plant , movement type and Archive info struct as Z_MM_MATBE. here i got the material doc and same doc i have checked at table levle but it's showing.
    and how can i get invoice number by using this information..
    please letme know if you have any idea.
    thanks in advance.
    pandu.

  • How to get invoice status columns available in invoice general screen

    Dear All,
    How to get invoice status in oracle invoices
    Invoice Status --> Validated, Never Validated, Cancelled etc
    please advice me.
    Thanks
    Rehan
    Edited by: 877432 on Oct 9, 2012 3:52 AM

    for
    >
    which is not giving this function kindly where i find these status.
    >
    re-read
    >
    plz see http://www.shareoracleapps.com/2010/10/api-to-find-ap-invoice-status.html
    also Where Is The Invoice Validation Status Stored? How Is The Invoice Validation Status Determined? [ID 301806.1]
    >
    those notes point about statuses - 'Validated' , 'Never Validated' , 'Needs Revalidation'
    if you want 'Unpaid' , 'Fully Applied','Available' etc instead of 'UNPAID', 'FULL', 'AVAILABLE' etc you can use lookups
    see note in http://andyblg.wordpress.com/2012/10/09/approval-status-for-invoice-in-r12/

  • How to get Invoice Document from Accounting Document

    Hi Experts,
    How to get Invoice Document from Accounting Document. Can you suggest some tables.
    Regards,
    Mohan

    hi,
    in vf02 or vf03.
    go to document flow
    select an accounting document - double click it.
    GOTO header you will find reference field there & it is nothing but billing document.
    in FB03 also you can findout the same if you know an accounting document.
    tables which they store are BKPF & BSEG
    balajia

  • How to stop Invoice Verification for Dulicate Invoice in MIRO.

    Dear friends,
    In configuration related to duplicate invoice in MIRO, we have selected "Reference Doc. Number". Also in Vendor Master  we have ticked the "Check Duplicate Invoice".
    Inspite of this system is giving only warning message at the time of MIRO against Duplicate Invoice. I want to convert it as error message.
    How to do this?
    Regards
    Siva

    Message number M8 108
    The category of this message can be changed in Customizing for Invoice 
    Verification.
    IMG > MM > LIV > Define Attributes of System Messages
    This means that you can receive a message as an error
    message even though it is defined as a warning message in the standard
    system.

  • How to get invoice status column in ap_invoice_all table

    how to get the invoice_status column like "NEEDS RE VALIDATION"      in account payables tables.

    The invoice approval status does not come from any table / lookup.
    Instead, Oracle builds it by calling the ap_invoices_pkg.get_approval_status function.
    You can also call it by passing invoice_id, payment_status_flag and invoice_type_lookup_code.
    All these 4 columns are present on the ap_invoices_all record.
    Hope this helps
    Sandeep Gandhi
    Independent Consultant

  • How to make invoice verification process non-release process?

    Hi friends,
    I am doing incoming invoice verification (MIRO), once post it, I will have a message saying (document XXXXXX was created (document is blocked)). then I have to go to T-code MRBR to release it.
    My question is: where could configure this process to be an non-release process?
    Thanks,
    Linda

    Config. path.
    MM \ LIV \ Invoice block \ Set tolerance limits
    See also Item amount check (same path) in case this has been activated too.
    Though presumably you want to have some tolerances unless it's a sandbox system.
    Cheers,
    Nick

  • How to get Invoice Details in 11i ?

    Hi All,
    Can anyone please suggest a query to get Invoice Details consisting PO Number and requester Name that are shown in notification of Oracle Apps Version 11i. I have created a query to get all other details consisting of Invoice Number, Supplier, Supplier Site etc except Po Number and Requester Name.
    Currently I am getting following values for PO:
    PO Number: Multiple POsCan anyone please suggest from where 'Multiple Pos' is fetched?
    Regards,
    Meghana

    HI Meghana,
    Can anyone please suggest a query to get Invoice Details consisting PO Number and requester Name that are shown in notification of Oracle Apps Version 11i. I have created a query to get all other details consisting of Invoice Number, Supplier, Supplier Site etc except Po Number and Requester Name.please see if this can help you
    http://www.oracleerp4u.com/2010/06/ap-po-technical-link.html
    http://www.club-oracle.com/forums/invoice-payment-query-t2336/
    to get PO number against invoices at header level only
    ;) AppSmasTi ;)
    Sharing Is Caring

  • How to get invoice field from SD tables

    Hi, experts,
    what is the "invoice field name" in SD tables.
    please specify in which tables i can find it

    Hi Praveen,
    in SD the order,delivery or invoice , evrything has field name vbeln.
    only difference is which table your are referreing.
    if you are working on VBAk, the vbeln will give the sales order..
    if in LIPs, it will give delivery while in VBRK for vbeln you will get invoice number.
    VBFA will give you the complete flow of order, delivery and invoice
    e.g:-
    Find sales order number and item from the delivery document
    number and delivery item no by using sales document flow table
        select single VBELV POSNV from VBFA into ITAB where
               VBELN = mseg~oivbeln and         "delievry
               POSNN = mseg~oiposnr,     and  "Delivery item
               VBTYP_N = 'J'.

  • How to Get Down Payment Amount associated to one customer invoice

    Hello Experts,
    I have an issue and i need your help.
    I have one customer invoice in FI (Transaction FB70).
    In my form, i need to print the Down Payment Amount associated to this customer invoice. How can i get this information? I mean this amount. There is a table or MF that can give me this amount?
    Thank you in advance.

    Get from BSEG table

  • How to get the initial amount of a posted document?

    Hi guys!
    Upon posting a document, the amount of a G/L Account is automatically calculated (55,000.00) . From <b>vbsegs</b> it will be transfered to <b>bseg</b> table. And the value has been changed, the amount is divided by a tax code(12% VAT) = 49,107.14. How will I get 55,000 back without manually computing it? In what table or is there a standard bapi?
    Points for helpful ideas. Thanks!

    Hi Maui,
    If you go to table <b>S001</b>, you would see the details of the sales figures divided into "Gross and Net". You can also obtain some information from table VBAP.
    I hope the above helps.
    Do not forget to award the points please.
    Regards,
    Jacob

Maybe you are looking for

  • FM for get a PC File Name in a window

    Hi Does somebody can help me, i need to call a FM wich shows a window for enter a PC File Name (with F4 browse for windows). I do not refer to FM 'F4_FILENAME'  wich we use when we have a file_name field in screen and we use when user press F4 ; inst

  • Good low-cost widescreen monitor for one-screen editing?

    Hello, I'm on a tight budget, looking for a widescreen monitor that is a good blend of low-cost but good quality (if possible!). I will be doing all my work off this single monitor. I will unfortunately NOT be able to have a dual-monitor setup, nor h

  • Please advice me on reading a large file

    Hi, I need and advice on reading a large file using JSP. I need to read a text file which contains around 2 millions records (lines). Also some times I need to find a specific line from that. I have to make a small web application to generate reports

  • BDC For MM02 & MASS - BUS1001

    HI, I am trying to make BDC for updating Table - MARD, Feild - LGPBE using MM02. The problem I facing is the selection of view (General Plant Data/ Storage 1). For VERP Materials, it comes to 12th Position, while for HALB Materials is on 15th Positio

  • Web.xml servlet redirection question

    Hi everyone; As you know web.xml file allows you to enter something like this      <servlet-mapping>           <servlet-name>application1</servlet-name>           <url-pattern>/application1</url-pattern>      </servlet-mapping> so you can find your a