URGENT: REGARDING SALES ORDER REPORT

HI,
I making a report on sales order in which i have to display the      sales order no,date,customer no,date,material issued to customer,date of issue,invoice no,date,quantity,amount of invoice.
can anbody tell what are the tables used for making dis report .
currnetly i am using VBAK,VBAK,VBRP.
PLZZ help me out as it is really urgent to me & help will be deifnately rewarded.
Edited by: ric .s on Feb 19, 2008 11:01 AM

Hello,
Go through the Diagram on the page hope it will help you.
http://www.erpgenie.com/abap/tables_sd.htm
Thanks,
Gunjan

Similar Messages

  • Regarding Sales Order Report in SD

    Hii
    I want to create reports in SD module such as sales order report, which covers all organization levels, delivery status, invoice status, shipping details and partner function details.
    Any inputs would be appreciated
    Regards,
    Guru

    Hello Guru,
    Please use basic SD transactions VA01,VA02,VA03(Create/change/display Sales order).
    Here, places the mouse cursor on any of the fields and hit F1.
    You will be given Technical help info (Table name ,field name,screen name)
    For example in VA03  when we hit F1 on Sales order number input help field, we get the following information.
    Table name VBAK
    Field: VBELN
    Data element: VBELN_VA
    Also as mentioned in the previous threads, please go through the tables VBAK,VBAP,VBFA,VBRP for the information required.
    Please mark as answered if my suggestion helped in resolving your problem.
    Regards,
    Himanshu Limaye

  • Urgent: regarding sales invoice report

    hi,
    i am making a report in which i have to dislplay for sales invoice ,d format of dis report is:-
    sales order,date,customer,material,invoice no,invioce date,invoice qty,amount.
    i wat to know which tables to be used and if possible which fields should be taken,plzz help me out as it s erally urgent to me.
    s help will be definately rewarded.

    Tables to be considered: VBAK, VBAP, VBFA, VBRK, VBRP.
    And dont keep the message "help will be definately rewarded " in your threads as we know how good you are at judging the replies and how you do appreciate the replies from your earlier threads.
    This might be a bit harsh, but expect tips and advices here rather than the whole solutions to problems in SDN.
    Kind Regards
    Eswar

  • Very Urgent (Regarding Sales order)

    Hi Experts!
    I am stuck in a problem and I seriously need your comments/thoughts
    I am calling BAPI_SALESORDER_CHANGE to update a sales document. Along with other updates, at the header level, i need to update the user status to 'planned' i.e status 11. In the context of the BAPI call, the user status update should happen. If for some reason the user status could not be updated, the BAPI COMMIT should not happen. Changes should roll back.
    Has anybody came across such a situation? Is there any exit/enhancement which I can use for this purpose?
    Any quick help will be highly appreciated.
    Thanks

    Hi Kiran
    To update status of sales order, try using FM: STATUS_MAINTAIN.
    Try doing as below:
    1. Use the above FM to update Sales Order - Header/Item Status
    2. Change sales order using : BAPI_SALESORDER_CHANGE for other changes.
    3. Commit the changes
    Kind Regards
    Eswar

  • Open sales orders report

    Hi,
         Does anyone know of any open sales orders report ? VA05 ? Table join between VBAP-VBAK ?
    Thanks

    Hello,
    Does anyone know of any open sales orders report ? VA05 ? Table join between VBAP-VBAK ?
    If your basic requirement is find out the open Sales Order then you can look out for the below standard report:
    VA05/VA05N
    If your requirement involves some values to be included then kindly urge you to go for SQVI technique involving tables like VBAK,VBAP,VBUK and other Sales table based on requirement.
    Regards,
    Sarthak

  • Sales order report

    Hi,
    What are the tables I should use for the following reports.
    1.  I want to create sales order status report for given sales office, sales group and creation date.
    2.  Open sales order report which covers all organizational levels, delivery status, invoice status shipping details and partner function details.
    thanks in advance
    with regards,
    VC

    For 2nd Q, you can find the open sales orders in the same VBUK table.
    Delivery status field is LFSTK.
    Invoice status field is RELIK
    The partner information is available in Sales Document: Partner table VBPA.

  • Credit Block released Sales order report

    Hi Experts,
    My client is given few sales orders (around 4)no and requesting us, to prepare the credit block released sales orders report (include released person user ID).
    *.No change logs is existing for all sales order and deliveries.
    For above requirement I am using CDHDR table data but I am not getting credit block released sales order report.
    Below fields I am using in CDHDR Table.
    Change doc.Object (objectclas) : VERKBELEG
    Document No (CHANGENR): Sales order no XXXXXXX
    Transaction no (TCODE) : VKM1,VKM2,VKM3
    Date(UDATE) : 25.09.2011 to 09.11.2011
    Experts, Can you please help me out for this.
    Thanking you!!!!
    Regards,
    Vijaykumar Kola
    *.I'm already aware of this is a new development.

    Try this, simple report... Here we check the new value of credit  status field VBUK-CMGST and if it is 'D' we know that someone used VKM* transaction to release the document. Also you need to format the sales order number with leading zeros so it occupies all 10 digits and pass it to CDHDR-OBJECTID field (and not CHANGENR field). In the below code I am using select option for sales order number, so I know it will be formatted with leading zeros and so select on CDHDR will be successful.
    *& Report  ZTV_TEST
    REPORT  ztv_test.
    TABLES: vbak, cdhdr.
    SELECT-OPTIONS: s_saldoc FOR vbak-vbeln OBLIGATORY,
                    s_udate FOR cdhdr-udate.
    RANGES: r_objid FOR cdhdr-objectclas.
    DATA: ls_cdhdr TYPE cdhdr,
          ls_cdpos TYPE cdpos.
    IF NOT s_saldoc IS INITIAL.
      LOOP AT s_saldoc.
        MOVE-CORRESPONDING s_saldoc TO r_objid.
        CONDENSE: r_objid-high, r_objid-low.
        APPEND r_objid.
      ENDLOOP.
    ENDIF.
    CHECK NOT r_objid[] IS INITIAL.
    SELECT *
      INTO ls_cdhdr
      FROM cdhdr
            WHERE objectclas = 'VERKBELEG' AND
                  objectid IN r_objid AND
                  udate IN s_udate AND
                  tcode LIKE 'VKM%'.
      SELECT SINGLE *
        INTO ls_cdpos
        FROM cdpos
          WHERE objectclas = ls_cdhdr-objectclas AND
                objectid = ls_cdhdr-objectid AND
                changenr = ls_cdhdr-changenr AND
                tabname = 'VBUK' AND
                fname = 'CMGST' AND
                value_new = 'D'.
      IF sy-subrc = 0.
        WRITE:/ ls_cdhdr-objectid(10), ls_cdhdr-username,
                ls_cdhdr-udate, ls_cdhdr-utime.
      ENDIF.
    ENDSELECT.

  • Sales order report with order attachments

    Hi All
    I am writing a program for a 2 part report that gives a list of sales orders with attachment flags and a list of invoices that do not have the output processed due to the presence of attachment flag.
    Firstly i need help regarding few queries in the process of writing this program.
    1. How can i distinguish between a sales order with attachement and one without an attachment.
    2. What is the related field for attachment in sales header/sales item table(s) or any other sales related table which will contain information of the attachment in the sales order.
    3. If I have an attachment in sales order, will it have an effect in the output being processed for the invoice for that order.
    Thanks in Advance
    --Mike

    Hello Erik,
    is there a sales order report with the complete line-item pricing
    breakdown. For example, In VA05 I'm only able to get the Net
    Price and Net Value as an output. I would also like to view the
    breakdown of the conditions (e.g. disounts, tax, etc.)
    Is there another report in SAP that will show this? Or a backend
    table I can pull this information from to create a query?
    The best way to handle your requirement is to create a Custom report using the standard table for Sales Order i.e. VBAK and you can pick up the Document Condition Number. You can pass this number to table KONV and pull up all the values for the active contion type which was responsible for Sales Order price calculation. Please reach out to a ABAPer to develop this sort of a custom report.
    Just FYI, if you want to check out all the value for a specific condition type, then you can use the standard report i.e. V/LD.
    Please update your post after carrying out this exercise.
    Regards,
    Sarthak

  • Sales Order Report with Pricing Breakdown

    HI, is there a sales order report with the complete line-item pricing breakdown. For example, In VA05 I'm only able to get the Net Price and Net Value as an output. I would also like to view the breakdown of the conditions (e.g. disounts, tax, etc.)
    Is there another report in SAP that will show this? Or a backend table I can pull this information from to create a query?
    Thanks, Erik

    Hello Erik,
    is there a sales order report with the complete line-item pricing
    breakdown. For example, In VA05 I'm only able to get the Net
    Price and Net Value as an output. I would also like to view the
    breakdown of the conditions (e.g. disounts, tax, etc.)
    Is there another report in SAP that will show this? Or a backend
    table I can pull this information from to create a query?
    The best way to handle your requirement is to create a Custom report using the standard table for Sales Order i.e. VBAK and you can pick up the Document Condition Number. You can pass this number to table KONV and pull up all the values for the active contion type which was responsible for Sales Order price calculation. Please reach out to a ABAPer to develop this sort of a custom report.
    Just FYI, if you want to check out all the value for a specific condition type, then you can use the standard report i.e. V/LD.
    Please update your post after carrying out this exercise.
    Regards,
    Sarthak

  • Page break problem in Sales Order Report

    Hi,
    I have made a RTF template for Sales Order Report. The template is designed to contain max 10 lines.
    Now if number of lines are less than 10(1 page) or more than 10(2 pages) then PDF output is coming fine.
    But if there are exactly 10 lines then instead of printing only 1 page it prints 2 pages, 1st page with 10 lines of data and 2nd page with only header & footer.
    Can anybody help?
    Regards.

    How do you define when they page break happens?
    Try to use:
    <?split-by-page-break:?>
    Check the user guide for more information.
    Cheers,
    Klaus

  • How we add & grandtotal of sales order report in alv

    hi guru how we add & grandtotal of sales order report in alv
    regards
    subhasis

    hi subhasis,
    since u want the grand total in ALV use the following code...
    clear gs_fieldcat.
    gs_fieldcat-fieldname = field.
    gs_fieldcat-tabname = DB table
    gs_fieldcat-seltext_m = text.
    gs_fieldcat-do_sum = 'X'
    gs_fieldcat-datatype = data type (Curr or Quant)
    gs_fieldcat-ref_fieldname = reference field name
    gs_fieldcat-ref_tabname  = reference table name
    append gs_fieldcat to gt_fieldcat.
    hope this will work...
    please reward points in case usefull
    regards,
    prashant

  • Need help in copying Invoice date to lower level item in Sales order report

    Hello Experts,
    I am debugging into one Sales order report.I need little bit help.The report is displaying Invoice Date for
    Sales order Billing documents for Higher item in Bill of Material Structures.But as per user requirement,
    I am supposed to show the Invoice date for lower level items also.The field for Higher level item is 'UEPOS'.
    I want to copy the Invoice date for Higher level item to lower level item. Can you please guide me in the logic?
    Thanking you in anticipation.
    Best Regards,
    Harish

    Hi BreakPoint,
    Thanks for the information.
    I have applied the same way but it is showing only lower line items now.
    Invoice dates for Higher level items are not there.
    I am pasting the code here which I have applied.
    Then you can give me more guidence.
    This is to be done only for 'ZREP' sales orders.
    if w_vbak-auart EQ 'ZREP' and w_vbak-uepos is not INITIAL.
                          read table t_final into w_final_ZREP with key vbeln = w_vbak-vbeln
                                                                        posnr = w_vbak-uepos.
                             w_final-erdat_i = w_final_ZREP-erdat_i.
                             else.
                    if w_vbak-auart EQ 'ZREP' and w_vbak-uepos is INITIAL.
                      w_final-erdat_i = w_invdate.
                    endif.
                    endif.
    Can you please sugest me changes here?
    Best Regards,
    Harish
    Edited by: joshihaa on Jul 13, 2010 6:22 PM

  • Backend Tables for Chargeback regarding Sales Order.

    Hi,
    I am Searching for the tables Chargeback Data regarding Sales Orders, and also Joins for sales tables.
    Can any one help me in this.
    Thanks in Advance
    Regards
    Vamsi...
    Edited by: 965678 on Apr 29, 2013 6:05 AM
    Edited by: 965678 on Apr 29, 2013 6:42 AM

    Thanks for your inputs..I have few more queries on same.
    Initially we had incoming sales order activated in KEKF allong with implemented SAP note 571697, which helped us to update CE1XXXX only for a particular sales order type. This was initial requirement to have system updating COPA values only for one particular sales order type.Also, KEQ3 was also activated which resulted in updates to CE4XXXX. This was not a problem initially since we had few sales orders now that plant has grown old with more sales order (resulting in huge size of CE4XXXX) VA01 is impacted..
    Currently ,since we have KEQ3 activated so, Segment is created the moment we create sales order.. and table CE4XXXX is updated..
    As most of you have suggested to switch off sales order in KEQ3, i need to analyze the impact of this..
    From what i understand CE1XXXX will continue with updation for that order type... and CE4XXXX won't be updated in future..Please correct me if i am wrong..
    Also, please advise what all can be possible impacts on COPA reporting if I switch off from now onwards (client has been using this since long) , and what all should be the precautions that i should take while doing this.
    Thanks

  • Open Sales Order Report

    Hello..
    my client wants to have the open sales Order report in following format :
    ======================================================================================================
    Customer Name | Item 1 code  | Item 2 code  | Item 3 code  |  Item 4 code  |  Item 5 code  |  Item 6 code  | Item 7 code  |
    =======================================================================================================
    Jack Inc.......................987.................865.....................654.................543.......................739..................543...................987
    Colt Inc.......................237.................213.....................799..................321.......................875...................187...................122
    IOUU LLC...................127.................535.....................654..................777.......................211...................345...................777
    =====================================================================================================
    .................................1351..............1613...................2107.................1641.....................1825.................1075..................1886
    =====================================================================================================
    pls help me to create sql query for the above
    rekha
    Edited by: Rekhatiwari on Dec 16, 2010 10:46 AM
    Edited by: Rekhatiwari on Dec 16, 2010 10:47 AM

    Hi,
    Try this:
    SELECT T0.CardName,
    (Select SUM(isnull(T1.quantity,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '[%2\]') Item1,
    (Select SUM(isnull(T1.quantity,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '[%3\]') Item2,
    (Select SUM(isnull(T1.quantity,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '[%4\]') Item3,
    (Select SUM(isnull(T1.quantity,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '[%5\]') Item4,
    (Select SUM(isnull(T1.quantity,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '[%6\]') Item5,
    (Select SUM(isnull(T1.quantity,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '[%7\]') Item6,
    (Select SUM(isnull(T1.quantity,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '[%8\]') Item7
    FROM ORDR T0
    WHERE T0.docdate between [%0\] and [%1\]
    That might be the only way close to your requirement.
    Thanks,
    Gordon

  • How To Add a new column for ZPR0 price in open sales order report ??

    HI,
    my requirement is To Add a new column for ZPR0 price in open sales order report if the order/scheduling agreement is a cross-company code transaction l(company code of order/scheduling agreement <> company code of delivering plant), price = ZPR0 price as at estimated GI date

    k

Maybe you are looking for

  • Limiting rotation of Transform to one axis at a time.

    I have a situation where I want to force a transform returned from a picking tool to only rotate around or translate along a single axis. To do this, I'm using the transformChanged() function shown below. It works fine for the translation changes, bu

  • No master data upload from ECC to GTS

    Hello together today I have opened an OSS Note regarding a problem at our client side. We implement SAP GTS 7.2 SP08 but I`m not able to upload any master data (customer and/or material) from ECC to GTS. This is my third implementation project. On bo

  • IWeb'08 and iWeb Enhancer

    After installing iWeb'08, HTML code that I had inserted to my site and made functional with iWeb Enhancer now doesn't work. Has anyone discovered a work around? I contacted and posted onto iWeb Enhancer, but I haven't heard anything yet. I'm consider

  • Error 14, error 9

    Bonjour, J'ai depuis un moins des erreurs 14 et 9 sur mon iphone 5, j'ai tout essayé! que faire?

  • Connection between two views

    Hi Experts, Please give me some inputs related to connection between two views ???