Retrive Invoice no for a report

hi Gurus,
Pl advice me how to get the corresponding sales invoice no display after providing the sold to party, material and billing dates as input parameters to the report.
Tks
Chinthaka

Hello,
SOLD TO PARTY  is available in VBAK  and material is available in VBAP and BILLING DATE n the VBRK
So get the sales document number from the VBAK and then fetch the billing document from the  *VBFA table* with the document category as  M
regards,

Similar Messages

  • Commission agent from Invoice required for a Report

    Dear Friends,
    I require the " commission agent " maintained in the Invoice Partner Functions for a Report.
    Tried table VRKPA, but no luck.
    Kindly assist.
    Regards
    Trupti Deulkar

    Thanks Sir,
    In this case, When I spoke to end user in detail, he provided the information that they have created customer group according to each Agent, which is maintained in the customer master.
    I picked up the field of Customer Group itself in the Report for Agent.
    Regards
    Trupti Deulkar

  • Problem in A/R invoice Page for Opening Report  from ARD

    Hi All Experts ,
    I face one problem in my exciece Addon ,
    I have Create one Custom button name is showreport in A/R invoice page
    i want to click  on this button open one A/R invoice report name like RG23D
    but this work only when i run  from source
    but when i create ARD for this Source and I run ARD then Report not open from A/R invoice Page .
    ( Client  have SAP8.8 PL17 )
    Please give me solution for this Problem ASAP .
    Thanks
    Kalpen patel

    Hi Kalpen patel,
    Welcome you post on the forum.
    What report is this, a crystal report or something else?
    Thanks,
    Gordon

  • Last date for an invoice formula for Crystal Reports

    Post Author: jegva
    CA Forum: Crystal Reports
    I sure hope someone can help me write a formula to list only the last dated invoice from our database.  Let me explain, our sales would like a report listing all of our customers showing their last dated invoice.  We use SQL and Crystal Reports 8.5 (yea outdated).  They are interested in showing all our customers and their last invoice/date so they can try to contact those who have not done business for some time. Please help!!!!!!!

    Hi Scott,
    One reason is the older versions introduced a .5 font reduction in the viewers. This was a good thing for some but bad thing for others so I assume what the developers have done is leave the font as is and show those # symbols now to indicate the viewer you are using and font you are using works differently on the OS and the various viewers being used.
    In CR designer it uses the GDI+ to render the data through classic C++ function calls. I .NET it too uses GDI+ but it's the Framework making the calls and the Framework handles screen mapping differently. We've had this issue/functionality limitations since version 9. Various reasons and various work arounds resulted in various outputs.
    Another reason is the C++ viewer built into the Report Designer and the .NET framework handling the fonts work slightly differently when rendering. This has been tracked and few times here by me and in both cases the cause is GDI+ has bugs in it so it's nothing we can do. Post or log your issue with Microsoft, they may be able to fix it. Once they do then if it's still a problem in CR we can fix it depending on what MS does.
    Another work around may be to use a fixed font like Courier or some other font that has a specified character area all characters use, it may make the characters space oddly but as for displaying it's always the same size.
    All I can suggest is they get into a practice of testing their reports in your app before "publishing"
    Thanks again
    Don

  • Report where i can see the invoice price for every material

    Dear.
    In purchase order history of me22n I can see the invoice price for every purchase order material.
    Do you know a massive report where i can see the invoice price for every material ?
    Thanks.

    hi,
    Check few below options:
    1. MIR6 / MIR5 - For the invoice overview and list of invoice documents...
    2. If access to SE16, then check table EKBE
    3. ME1P : Purchase order price history...
    Regards
    Priyanka.P

  • Looking for a report in LCM(Landed Cost Management)

    Dear All,
    We are looking for a report in LCM module to print all the unmatched/ partially matched receipt numbers with outstanding balance in accural account.
    Does any one have idea on this? or worked on similar reports before?.
    Detailed requirement:
    There are PO order receipts for which certain costs are estimated viz. Customs Duty, Clearance Chgs. Etc.
    Once the receipt is made, the inventory is valued based on the estimates. Subsequently when the actual invoice for the costs i.e. Customs Duty, Clearance Chg. are booked, there could be a variance. This difference in the estimated and actuals gets transferred to inventory provided stock exists.
    However if stocks does not exist then the revaluation does not happen. In such cases we need to monitor such balances.

    Hi Melvin,
    You can use the User Data Dump tool.  Check out the following post:  https://supportforums.cisco.com/message/3403809#3403809
    HTH,
    Chris

  • How to add a receipt number in the following Query for PO Report

    Hi Guys,
    I need a help regarding following query.
    Its a PO report for 11.5.10.2
    select distinct pv.segment1 supplier_number,
    pv.vendor_name supplier_name,
    pha.segment1 po_number,
    pha.revision_num revision_num,
    pha.authorization_status po_status,
    to_char(pha.creation_date, 'DD/MM/YYYY') creation_date,
    pha.currency_code currency_code,
    pla.sum_amount_ordered sum_amount_ordered,
    pda.sum_quantity_ordered sum_quantity_ordered,
    pda.sum_amount_received sum_amount_received,
    pda.sum_quantity_received sum_quantity_received,
    (pla.sum_amount_ordered - pda.sum_amount_received) sum_accrued, --AVI
    ( pda.sum_quantity_ordered - pda.sum_quantity_received) quantity_accrued, --AVi
    to_char(rsl.date_receipt, 'DD/MM/YYYY') date_receipt,
    -- rsl.receipt_num receipt_number,
    ppa.segment1 project_code, ppa.project_status_code, --10.0.0.4
    aia.invoice_num invoice_num,
    aia.invoice_date invoice_date, --AVI 
    aia.creation_date invoice_creation_date, --AVI 
    aia.amount invoice_amount_allocated_to_po, --AVI
    pla.purchase_basis,
    pla.category_id,
    -- pda.item_description,
    haou.name organisation, --10.0.0.3
    pda.sum_quantity_billed sum_quantity_billed , --10.0.0.3
    gcc1.CONCATENATED_SEGMENTS,
    gcc2.CONCATENATED_SEGMENTS
    from po_headers_all pha,
    po_vendors pv,
    pa_projects_all ppa,
    hr_all_organization_units haou,
    (select po_header_id,
    sum(quantity * unit_price) sum_amount_ordered,
    org_id,
    purchase_basis,
    category_id
    -- pla.item_description,
    from po_lines_all
    group by po_header_id, org_id
    , purchase_basis,
    category_id
    -- pla.item_description
    ) pla,
    (select pla.po_header_id,
    pda.project_id,
    sum(pda.quantity_ordered) sum_quantity_ordered,
    sum(pda.quantity_delivered * pla.unit_price) sum_amount_received,
    sum(pda.quantity_delivered) sum_quantity_received,
    sum(pda.quantity_billed) sum_quantity_billed, --10.0.0.3
    accrual_account_id
    from po_distributions_all pda, po_lines_all pla
    where pla.po_line_id = pda.po_line_id
    group by pla.po_header_id, pda.project_id,accrual_account_id
    ) pda,
    (select po_header_id, charge_account_id,
    -- rsh.receipt_num,
    min(rsl.creation_date) date_receipt
    from rcv_shipment_lines rsl
    where rsh.SHIPMENT_HEADER_ID=rsl.SHIPMENT_HEADER_ID
    group by po_header_id,charge_account_id
    ) rsl,
    (select distinct aia.invoice_num, pda.po_header_id , aia.invoice_date --10.0.0.3
    , aia.creation_date , sum(aida.amount) amount
    from po_distributions_all pda,
    ap_invoice_distributions_all aida,
    ap_invoices_all aia
    where pda.po_distribution_id = aida.po_distribution_id(+)
    and aia.invoice_id(+) = aida.invoice_id
    Group by
    aia.invoice_num, pda.po_header_id , aia.invoice_date --10.0.0.3
    , aia.creation_date) aia,
    (select haou2.organization_id, haou2.name
    from fnd_flex_value_sets ffvs,
    fnd_flex_value_norm_hierarchy ffvnh,
    fnd_flex_values_vl ffvv,
    hr_all_organization_units haou1,
    FND_FLEX_VALUE_CHILDREN_V ffvcv,
    hr_all_organization_units haou2
    where ffvs.FLEX_VALUE_SET_NAME = 'CAP_CODE_BU'
    and ffvs.FLEX_VALUE_SET_ID = ffvnh.flex_value_set_id
    and ffvnh.parent_flex_value like 'PO%'
    and ffvv.FLEX_VALUE_SET_ID = ffvnh.flex_value_set_id
    and ffvv.FLEX_VALUE between ffvnh.child_flex_value_low and ffvnh.child_flex_value_high
    and substr(haou1.name, 1, Instr(haou1.name, '-')) =
    substr(ffvv.DESCRIPTION, 1, Instr(ffvv.DESCRIPTION, '-'))
    and haou1.organization_id = fnd_global.org_id
    and ffvcv.parent_flex_value = ffvnh.parent_flex_value
    and ffvcv.flex_value_set_id = ffvs.flex_value_set_id
    and substr(haou2.name, 1, Instr(haou2.name, '-')) =
    substr(ffvcv.DESCRIPTION, 1, Instr(ffvcv.DESCRIPTION, '-'))
    union --10.0.0.1
    select f.organization_id, f.name --10.0.0.1
    from hr_all_organization_units f --10.0.0.1
    where f.organization_id = fnd_global.ORG_ID --10.0.0.1
    ) bu
    , po_line_locations_all plla --10.0.0.4
    , gl_code_combinations_kfv gcc1
    ,gl_code_combinations_kfv gcc2
    where pv.vendor_id = pha.vendor_id
    and pla.po_header_id = pha.po_header_id
    and pda.po_header_id = pha.po_header_id
    and pha.po_header_id = rsl.po_header_id(+)
    and pda.project_id = ppa.project_id(+)
    and pha.po_header_id = aia.po_header_id(+)
    and aia.po_header_id = pha.po_header_id
    and pla.org_id = haou.organization_id
    and pha.authorization_status in ('APPROVED', 'OPEN')
    and plla.po_header_id = pha.po_header_id --10.0.0.4
    and plla.closed_code in ('APPROVED', 'OPEN', 'CLOSED FOR INVOICE', 'CLOSED FOR RECEIVING', 'CANCELLED') --10.0.0.4
    and bu.organization_id = haou.organization_id
    AND gcc1.code_combination_id = pda.accrual_account_id
    AND gcc2.code_combination_id =rsl.CHARGE_ACCOUNT_ID
    In the following query I have commented receipt_num using the table rcv_transaction_headers.
    If I uncomment it the query results huge number of unexpected report.
    How can I add receipt number to the following query?
    Should I use rcv_transactions. If yes, what would be the join conditions.
    Kindly help as its urgent.
    Thanks in advance.
    Regards
    Avijit

    Sandeep is correct. I don't have time to tell you the correct query, but mine is something like this based on Sandeep's information:
    SELECT rsh.receipt_num
    FROM   rcv_transactions      rcvt,
           po_lines_all          pla,
           rcv_shipment_headers  rsh
    WHERE  rcvt.shipment_header_id   = rsh.shipment_header_id
    AND    rcvt.PO_LINE_ID          = pla.PO_LINE_ID
    AND    pla.item_id              = (select distinct inventory_item_id
    from mtl_system_items
    where segment1 = '1216107-2')

  • HOWTO: Control Printer Attributes for a Report at Run Time Reports 6i

    HOWTO: Control Printer Attributes for a Report at Run Time
    Like page width , height etc
    my problem is i had installed a printer and it is set for
    printing different reports ( like invoice slips , legal size ,
    A3 etc ) each time i have to manually set the page settup from
    printer folder .instead if there is an option to set the printer
    attributes from Reports 6i it is great
    rajesh

    All the Printer Setup(Page Height and Page Width) must be set in
    the Reprot Program. These can be set at the Layout-Main Section
    in the Object Navigator.
    hth

  • Problem with the Posting Date of Goods Receipt or Invoice Receipt for PO

    Hi All,
    I am working on 2LIS_02_SCL - Purchasing Data (Schedule Line Level),
    For our report, we should get the scheduled PO quantity,actual PO qty, Scheduled date and actual date in the report.
    we are getting all these fields from the above extractor...
    For a PO which is opened (Delivery Completion indicator not set) - we where getting all field as in ECC(ME23N)
    But for a PO which is finished(Delivery completion indicator is set) - we where are getting actual GR qty,planned qty,planned or scheduled date at schedule line level.But we are not getting the Posting Date of Goods Receipt or Invoice Receipt for PO from history EKBE for all the schedule line.
    ex:
    for open PO
    PO num         item num   schedule line    Planned date   actual date  difference  actual qty  planned qty  difference
    450002432   10                        1              01/10/2011    02/10/2011       1 day          100             100             0
                                                     2              02/10/2011    04/10/2011       2 days        200             400            200
                                                     3              03/10/2011    07/10/2011       4 days         300            300              0
    For the same PO when it is Finished or completed(Delivery completion indicator is set)
    PO num         item num   schedule line    Planned date   actual date  difference  actual qty  planned qty  difference
    450002432   10                        1              01/10/2011    07/10/2011       6 day          100             100             0
                                                     2              02/10/2011    07/10/2011       5 days        200             400            200
                                                                    03/10/2011    07/10/2011       4 days         300            300              0
    for all the schedule line its displaying the last posting date(i think its taking from EKKO table)
    Is there any possibility to get that posting date history ....

    You can have multiple receipts against a PO schedule line, but this extractor is not meant to go to that level of granularity.  Please try to use 2lis_02_sgr instead which provides goods receipts per PO schedule line.

  • Invoice blocked for payment without GRN(MRBR)

    Hi all,
    I need to have a report which should show the details of  invoices blocked for payment and which dont have any GRN means Invoice is generated without GRN and hasbeen blocked because of either of quantity or price difference.
    For the same I tried to use MRBR report but it is showing all the invoices blocked but what I need is invoice generated and blocked for payment without having a GRN as base document.

    Hi,
    You can use ME2L but in MRBR report better use filter and sort documents by blocking reason R1 (Missing GRN), this should solve your purpose.
    Hope this helps you. Any point?
    Regards
    Bharat

  • Using MM excise invoice details in SD report

    hi friends,
    i have a requirement that i have to use MM excise invoice details in SD report.
    inwhich both billing document nos are same .
    can any one explains the clear solution for this report.
    thanks in advance.
    Regards,
    karunakar
    Moderator message: please do more research before asking, show what you have done yourself when asking.
    Edited by: Thomas Zloch on Jun 27, 2011 2:55 PM

    Hi
    you want to see the invoice column in FBL5N report.  first you need to check the current layout selection.  this fields are available or not.  if available then add that fields.
    if fields are not available then goto menu "Settings - special fields" OBVU.
    then add this fields in this.
    before add this fields here.  please check the data is updating in BSEG tables and which fields it has updating.
    hope this will help you.
    Regards
    Ram

  • BAPI or FM for Invoice made for sales order...

    Hi Experts,
    Is there any BAPI / FM for Invoices made for sales order for the month or date wise, party wise, etc.
    I want to make a report invoices made during the given period for sales order.
    Yusuf.

    check this BAPI to get invoice details
    BAPI_BILLINGDOC_GETDETAIL.
    see the documentation to know how to use.
    Regards
    Peram

  • Invoice numbers for a purchase order

    Hello Experts,
    For a particular purchase order, there are 2 invoice numbers in the R/3 system. But when i am running a certain BW report, which displays the invoice numbers for a PO, it is showing ony one invoice number. Please advice.

    Hi,
    I think ur BW report shows the cleared Invoice no. The second invoice no. might not have been extracted to BW system. Check your order no. in Cube whether it has two invoice nos.
    Regards,
    Suman

  • Tcodes for Cin Reports generation

    hi sap gurus
    where i need generate these Report RG1, ER1,ER5,ER6,RG23A part1,2,Rg23c part1,2 and RG23D,Monthly CENVAT Return - 57AE,Service Tax Return - Halfyearly - ST3,TDS Consolidated statement - Form 27A,TDS Return - Quarterly - 26Q,FBT Qarterly Return - IR420,Monthly Sales Tax Return - VAT & CST,Service Tax Register / Return,Sales Tax Register   in  SAP  what is TCodes for for this Reports. plz send me ur inputs it is Urjent to me.
    Thanks

    Hi,
    J1I2
    Prepare a sales tax register
    J1I3
    Create outgoing excise invoices in batches
    J1I5
    Update the RG 1 and Part I registers
    J1IEX
    Incoming Excise Invoices (central transaction)
    J1IEX_C
    Capture an incoming excise invoice (excise clerk)
    J1IEX_P
    Post an incoming excise invoice (excise supervisor)
    J1IF01
    Create a subcontracting challan
    J1IF11
    Change a subcontracting challan
    J1IF12
    Display a subcontracting challan
    J1IF13
    Complete, reverse, or recredit a subcontracting challan
    J1IFQ
    Reconcile quantities for subcontracting challans
    J1IFR
    List subcontracting challans
    J1IH
    Make a CENVAT adjustment posting
    J1IIN
    Create an outgoing excise invoice
    J1IJ
    Assign excise invoices to a delivery for sales from depots
    J1INJV
    Adjust withholding tax Item
    J1INREP
    Reprint a withholding tax certificate for a vendor
    J1IQ
    Year-End Income Tax Depreciation Report
    J1IR
    Download register data
    J1IS
    Process an excise invoice (outgoing) for other movements
    J1IU
    Process exemption forms
    J1IW
    Verify and post an incoming excise invoice
    J1IX
    Create an incoming excise invoice (without reference to purchase order)
    J2I8
    Transfer excise duty to CENVAT account
    J2IU
    Remit excise duty fortnightly
    J2I9
    Monthly CENVAT return
    J1IG
    Excise invoice entry at depot
    J1IGA
    Create additional excise entry at depot
    J2I5
    Extract data for excise registers
    J2I6
    Print excise registers
    Assign points if useful pls
    Regards,
    Jigar

  • Standar progarms and scripts for SD reports

    hi experts,
    Can any one list all the standard driver programs,output types ,scripts,smartforms for SD reports like deliveery order ,sales order,invoice etc
    mani

    Smartforms for Invoice-- LB_BIL_INVOICE
    Delivery Note-- LE_SHP_DELNOTE
    Purchase Order MEDRUCK
    Sales Order RVORDER01
    Standard form for PO Smartforms is ‘/SMB40/MMPO_L’
    Also,
    Goto NACE tcode-> choose the application u want( like billing for invoice, PO)->output type->output type->processing routineon left side
    Here u will find the standard program name and smartform .
    Also chec k this thread for field addition.
    SmartForms - output field of type Quan
    Regards

Maybe you are looking for

  • Problem when using JPA/EJB in webservice

    I wrote a web service that use JPA/EJB to connect to Sybase (the existing tables), and deployed to OC4J, but it got the following error when the web service is invoked: <env:Envelope   xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"   xmlns:xsd

  • Editing Video in Photoshop CS6

    I have several hours of video aerials shot with a JVC GY-HM750U camera. The camera creates a .MOV video file. Great looking stuff but I have some lens dirt showing up in everything. I upgraded from CS5 to CS6 because I saw a tutorial demonstrating ho

  • XML document as input to stored procedure

    Hi, I am trying to execute the stored prcedure URL with XML document as input have it parsed there and send the XML document as output. Can anybody explain how best this can be done?

  • Is there a way to select a specific playback device while using itunes 11 on Windows 7?

    Is there a way to select a specific playback device while using itunes 11 on Windows 7? I was trying to select a device, is there such an option in itunes as there is in VLC player and Windows Media Player. If not, any idea when this feature will bec

  • Nokia chat / push notifications

    hi all, i have nokia 208. i tried to setup nokia chat however push notifications do not work. once i exit app i am not notified about new message. nokia chat is not present in notifications app unlike facebook. what should i do? thanks