Attachment List Table In sales order VA02.

Sir,
I have to develop report on attachment list in sales order on the basis of sales order number and customer
no. But I'm not getting the tables. So I can develope the report.
Thanks
Manoj Pise

Hi
Check tables
VBAK (Has sales order & Kunnr (Customer number))
VBAP
VBKD
VBEP
Regards
Gaurav

Similar Messages

  • Attachement List - Table Name

    Dear All,
    we are using the attachment list in the sales order that can be reached via "Services for Objects". We are then archiving all order confirmations and they are then displayed in this attachement list. I now want to crate a report that shows me all orders where this attachements are missing. The problem is that I do not find the table where I can see the link from the archived object to the sales order.
    Can somebody help me with that?
    Thank you very much.
    best regards,
    Markus

    Hi Markus,
    Through Generic Object Services icon, you can store the documents using Archive link (via Store Business Document) or GOS (via Create Attachment).
    Refer to the link below. It explains the relationship between the tables for both scenarios.
    http://wiki.sdn.sap.com/wiki/display/PLM/SAPContentManagement-LinkbetweenSAPObjectsand+originals
    Follow the option which you are using to attach the documents.
    Cheers
    Amit

  • Report on deleted sales orders ( va02)

    hi,
    i got one requirement to write a program to display the list of deleted sales orders (through VA02 Tcode).
    to my knowledge when a sales order is deleted through VA02 the order will be deleted from the database itself and will be deleted from all the SAP tables.
    if that is correct, is there any possibility that we can create a Ztable and update the data before deletion or any other solution for the above requirement?
    thanks in advance,
    Rajani yeluri

    hi rajani,
    u will get deleted data from using tables CDHDR,CDPOS,CDRED and function module '  CHANGEDOCUMENT_READ'.
    i am sending u some sample code, i hope it will helps u
    DATA: it_editpos    LIKE cdred OCCURS 0 WITH HEADER LINE,
                                     "Change documents, display structure
          it_editpos1   LIKE cdred OCCURS 0 WITH HEADER LINE,
                                     "Change documents, display structure
          x_editpos1    LIKE cdred,  "Change documents, display structure
            x_editpos     LIKE it_editpos,
                                     "Change documents,display structure
    *-----Calling FM to populate the structure 'EDITPOS'
      CLEAR it_editpos.
      CALL FUNCTION 'CHANGEDOCUMENT_READ'
           EXPORTING
              objectclass                = ' ' 
           TABLES
                editpos                    = it_editpos
           EXCEPTIONS
                no_position_found          = 1
                wrong_access_to_archive    = 2
                time_zone_conversion_error = 3
                OTHERS                     = 4.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      CLEAR: x_editpos,
             it_editpos1.
      LOOP AT it_editpos
        INTO  x_editpos
        WHERE tcode = 'ME21N' OR  "Here u have 2 pass 'VA02'
              tcode = 'ME22N' OR
              tcode = 'ME23N'.
        APPEND x_editpos TO it_editpos1.
        CLEAR x_editpos.
      ENDLOOP.
    now it_edipos1 has all CHANGENR numbers, so now u have to fetch data from F_NEW and F_OLD Fields
    i hope this will helps u
    Regards,
    prasad

  • List of Open Sales Orders

    Hi All,
            I  am in need of a report to display  list of open Sales orders, Requirement Date or Requested Delivery Date and Requirement Qty for given Materials (Multiple Input) and Plant.
    Please guide me, Is there any Standard Report Available to display the above information except VA05.
                                                            Or else
    Please guide me, the list of tables to fetch those information.

    Did you try in VA05N ?
    How ever , you will not get the requirement date oir requested delivery date here .You can get only Document date or creation date .
    I suggest you to try to build a report with the below SAP field and data element  :
           VBELN       VBAK-VBELN,     "SALES  ORDER
           POSNR       VBAP-POSNR,     "ITEM
           MATKL       VBAP-MATKL,     "Material Group
           AUART       VBAK-AUART,     "ORDER TYPE
           AUDAT       VBAK-AUDAT,     "ORDER DATE
           BSTNK       VBAK-BSTNK,     "CUSTOMER PO NO.
           BSTDK       VBAK-BSTDK,     "CUSTOMER PO DATE
           WAERK       VBAK-WAERK,     "Currency
           PSTYV       VBAP-PSTYV,     "Sales document item category
           ZMENG       VBAP-ZMENG,     "TARGET QTY.
           KWMENG      VBAP-KWMENG,    "SO QTY
           OPENQTY     VBAP-KWMENG,    "OPEN QTY
           LFIMG       LIPS-LFIMG,     "DELIVERY QTY
           LFIMG1      LIPS-LFIMG,
           SHKZG       VBRP-SHKZG,
           NETPR       VBAP-NETPR,     "UNIT PRICE
           NETWR       VBAP-NETWR,     "NET VALUE
           BALWR       VBAP-NETWR,     "NET VALUE FOR BALANCE QTY.
           BALLOC      VBAP-NETWR,     "BALANCE VALUE IN LOCAL CURRENCY
           KURSK       VBKD-KURSK,     "EXCHANGE RATE
           FPLNR       VBKD-FPLNR,     "BILLING PLAN NO.
           FKSAF       FPLT-FKSAF,     "BILLING STATUS
           LOCVAL      VBAP-NETWR,     "AMT. IN LOCAL CURRENCY
           KUNNR       VBAK-KUNNR,     "CUSTOMER
           VKORG       VBAK-VKORG,     "SALES ORG.
           VKBUR       VBAK-VKBUR,     "SALES OFF.
           VDATU       VBAK-VDATU,     "Req.Del.Date  
           MATNR       MARA-MATNR,     "MATERIAL NO
           ARKTX       VBAP-ARKTX,     "MATERIAL DESC
           WERKS       VBAP-WERKS,     "PLANT
           LFSTA       VBUP-LFSTA,     "Item Delivery Status
           FKARA       TVAK-FKARA,
           GBSTA       VBUP-GBSTA,     "Overall Status
           FKSAA       VBUP-FKSAA,     "Item billing statuS
           NAME1       KNA1-NAME1,     "CUSTOMER NAME
           VBTYP       VBAK-VBTYP,     "Doc. Category
           LFARV       TVAK-LFARV,     "Delivery type
           LIFNR       LFA1-LIFNR,     "Vendor Number
           SPSTG       VBUK-SPSTG,     "Overall blkd status
           COST        KONV-KWERT,     "COST
           DISC        KONV-KBETR,     "DISCOUNT
           SPRICE      VBAP-NETWR,     "SELLING PRICE
    The above field are similiar kind of report .But I feel you have to keep two opetion one will be Open Sales Order and other All the sales order .Discuss with your abaper in this regard in line with VA05N and VA05
    Hope this will be useful
    Regards
    JH
    Edited by: Jiaul Haque on Jun 20, 2010 9:07 AM

  • Is there any FM or BAPI to get list of all sales orders

    Hello all,
            I have the requirement like below.
    Is there any FM if i Pass Drawing document no, type,part,revision level which gives
    the output list as.
    1) all sales orders, where the above drawing document no is attached to the materials
    and these materials are used as one of the lower level components in the Sales order BOM,
    I need to show all those sales orders along with SO number,item,Material,Plant and BOM Item no,
    2)all sales orders, where the above drawing document no is attached to the materials
    and the same material is one of the item in sales order.
    3)all sales orders, where the above drawing document no is used as one of the component in Sales order BOm's
    Addition of 1,2,3 will be the o/p.
    are there any FM or BAPI to get the above list.
    Basically the above report is concatenation of report outputs of t-code CSD5 and CS15.
    Awaiting reply.
    Thanks.

    Hi venkatesh,
       You can use the BAPI
    BAPISDORDER_GETDETAILEDLIST
    to get list of all sales orders.
    Here is a lik which provides you BAPI'S regarding everything.
    [http://www.saptechies.com/sap-bapi-list/]
    Hope this will help you.
    Regards,
    Pavan.

  • List of open sales order deliveries

    Hi Gurus
    I'm trying to fetch the list of open sales order relevant deliveries in the system. Is there any standard report to fetch the same?
    In the current requirement, we have tried the below logic:
    Join table VLPMA & VBUK at VBELN
    VLPMA u2013 Pass MATNR(Material) & LFART(Delivery Type) and fetch VBELN values
    VBUK u2013 VBELN values from above with WBSTK(Goods Movement status) Not Equal to C {open deliveries}
    LIPS u2013 Pass VBELN from above and MATNR & WERKS to fetch open sales order relevant deliveries for a material in a plant.
    The above logic takes a lot of time to execute and hence the report has performance issue. Is there any other means to link the multiple fields in the Deliveries to fetch, only sales order deliveries that are still open?
    Regards
    Deepak Prasanna S

    Hi
    You can also enhance tcode VA05 and create your variants to filter these SO. See these notes
    SAP Note 37871 - List display of open sales documents
    SAP Note 350068 - Additionl fields in VA05:Customer material number as example
    So, you'd have a list with the pending orders.
    I hope this helps you
    Regards
    Eduardo
    Edited by: E_Hinojosa on Mar 6, 2012 10:01 AM

  • List of deleted sales orders

    How can we find the list of deleted sales order documents.
    Is there any specific table.

    hi,
    SE16--> CDPOS->enter Object class : VERKBELEG    table name: VBAK     & enter change id:D---> keep the max no of hits  has blank----> execute
    this is give u teh details
    regards,
    Arun prasad
    Message was edited by:
            arun prasad

  • List of Released Sales order USER ID'S wise Report

    Hi,
          Where can i get List of Released Sales order.The problem is we have 3 user ID's to release orders.So i need user ID's wise release orders report.In VKM2 its not working even if i give credit representative group.Thanks in advance.
    Rgds,
    NAG

    Dear Sudhir,
    T. Code: SE16
    Table: VBAK
    It will list out the Sales Orders, along with Created by and Created On..and many more informations*.
    (You may group your Sales Doc. Result, based upon Transaction Group as "0 - Sales Doc." and Dcoument Category as "C - Sales Order").
    Best Regards,
    Amit.
    *To view/select felds, from Menu-bar,
    Settings --> Format_list --> choode fields

  • FM to get Text in Sales Orders - VA02

    Dear all,
    I'am looking for a Function modul, which get all text in HEADER and ITEM for a document number in Sales Orders=> VA02.
    Is there any one who can help?
    Best regards
    Edited by: Rob Burbank on Feb 17, 2010 11:35 AM

    Dear  handeglo ,
    use the function module READ_TEXT this is helpful in getting the long texts from the database and will work for the VA02
    header and item texts retrival .Eg.
    CALL FUNCTION 'READ_TEXT'
              EXPORTING
    *           CLIENT                        = SY-MANDT                   Field:
                id                                 =          "put here the id of thr text type"     TDID
                language                     = 'D'    "language in which the text exists.    TDSPARS
                name                           =      "put here the name of the text AS in     TDONAME
                           for item texts its sales order number+item number
                object                          = 'VBBP'    "object type for item texts       TDOBJ
    *           ARCHIVE_HANDLE                = 0
    *           LOCAL_CAT                     = ' '
    *         IMPORTING
    *           HEADER                        =
              TABLES
                lines                         = i_lines
             EXCEPTIONS
               id                            = 1
               language                      = 2
               name                          = 3
               not_found                     = 4
               object                        = 5
               reference_check               = 6
               wrong_access_to_archive       = 7
               OTHERS                        = 8
    also refer the tables stxh and stxl these tables contain all the header and item texts data respectively
    Edited by: abhi_014u on Feb 17, 2010 3:44 PM
    Edited by: abhi_014u on Feb 17, 2010 3:46 PM
    Edited by: Rob Burbank on Feb 17, 2010 11:35 AM

  • List of blocked sales orders

    Dear Gurus,
      Do we have any standard transactions to find list of blocked sales orders for different reason.I  checked we have only for credit management the transaction code  is :VKM3 & For back order  processing  we have  transaction code : V_RA &  can we use the same transaction codes for different kind  of blocked sales orders for various reasons (  ex: Blocked for free of charge delivery , poor qualiy of goods ,political reasons , bottle necks   etc reasons )
    Looking for your inputs
    Thanks inadvance
    Regards
    Venkat

    Dear Venkat,
    If I'm right the issue is that you want to display all those documents whose credit limit is zero.
    You can get all the list through vkm3  and sort it in ascending order.
    For sorting click the cursor on the credit value column and use sort buttons available in application tool bar.
    Kindly let me know if it can solve your issue.
    Best Regards,
    Rajesh.

  • List of all Sales Orders

    Hello All
    any ideas, what the transaction code is to view the complete list of all sales orders ever created in R/3 (irrespective of customer)?
    Thanks in advance
    Message was edited by:
            Shovon Banerjee

    Hi
    to get the list of all sales orders irrespective of customers ,follow the given solution
    1. VF04  this if for billing due list, can get all the documents list which are billing  due documents
    ...hope this will give the answer for ur problem.
    bye

  • List of Released Sales order

    Hi,
         Where can i get List of Released from Sales order.Thanks in advance.
    Rgds,
    NAG

    Hi Abhay,
                   Thanks for reply,I know VKM2 but we are able to release from there also.Where it goes if we release from VKM2.
    (Sorry I mean this in  above question
    Where can i get List of Released Sales order.Thanks in advance.)
    Rgds,
    NAG
    Edited by: NAGA SUDHIR on Dec 10, 2008 7:41 AM

  • Splitting line item in Sales Order-VA02

    Hello All,
            I got struck with the below requirement, Can someone share their ideas, if any one come across such case.
    Requirement : If ordered material obsolete then system has to propose follow up material ( which will be maintained in MMR-MRP4 view - Followup material field) based on stock availability.
    We have done the same by using USEREXIT in Sales order creation & working fine without any issues.
    But, If stock partially exists for entered material, then new line item has to add/insert with the follow up material.
    Eg;
    M1- stock -30 ea
    M2- No stock ( Follow up material)
    *In Sales Order Creation- VA01,*
    Line Item -- Material - Ordered Qty
    M1 - 50 Qty (ordered qty)
    Result;
    Line Item -- Material - Ordered Qty - Item Cat
    10----M1-----30 ea  -  TAN
    11----M2--
    20 ea  - TAB ( MTO)
    Working fine-
    We are able to do it during Sale Order creation (VA01).
    *Change mode of Sales order - VA02;*
    Line Item -- Material - Ordered Qty - Item Cat
    10----M1-----30 ea  -  TAN
    11----M2--
    20 ea  - TAB ( MTO)
    if  user increases the M1 qtty to 10 Ea, then system should behave as shown in below eg,
    Line Item -- Material - Ordered Qty - Item Cat
    10----M1-----30 ea  -  TAN
    11----M2--
    20 ea  - TAB ( MTO)
    12----M2--10 ea -- TAB(MTO)
    But We are facing problem during Change mode .
    in VA01-  (Sale order Creation), the logic was written in exit : USEREXIT_MOVE_FIELD_TO_VBAK - which is working fine
    During Change(VA02), above exit will not be useful. Hence tried to use exit : USEREXIT_MOVE_FIELD_TO_VBEP.
    But not able to add new item at this level.
    All useful ideal will be appreciated.

    Thanks for attempting this thread.
    Material determination will not suffice our requirement, because it will not substitute the follow up material, when entered material have partial stock. In VB12 - MRP indicator will active only when stock is not available for entered material & results according to the substitution reason
    In our case,
    if entered material doesnt have stock, then follow up material should replace with complete ordered qty,
    if entered material have partial stock exists, then system confirms for available qtty & create new line item with balance qtty, item cat-TAB----
    that is the reason we didnt go for material determination. ( you cant have 2 substitution reasons for one record in VB12)
    VBAK has to be used to check the overall document qtty. the above explained scenario working fine with our development in create mode.
    But in change mode, if user tries to increase the qtty in entered material, then this one more new line item has to create for folloup material with excess qty - is our requirement .
    Hope its clear now, still if any queries let me know

  • How to save LIST_LINE_ID of Price List when create Sales Order Line

    I dont know how save the LIST_LINE_ID of the Price List on Sales Order or anywhere when create Sales Order Line.
    I create with the following steps:
    Step 1: Create Price List for Item A with two line: Line 1 (Unit Price = 10,5, Pricing Attribute with Tax Classification Code = 5%), Line 2 (Unit Price = 11, Pricing Attribute with Tax Classification Code = 10%)
    Step 2: I create Sales Order Line with Item A, Tax Classification Code = 5% --> Unit Selling Price = List Price = 10,5 but dont bookorder
    Step 3: I update the Unit Price of Line 1 into 11.55.
    Step4 : I book this Sales Order. Howerver, I use form personalization to customize Book Event: if the Unit Price of Item on Price List > Unit Selling Price then cant not Book. But I dont konw List Price of Sales Order belong the line of Price List.
    Please help me check this issue. Thanks for your supports.
    BinhTC
    Email: [email protected]

    Bob's right - except that if you have OM: List Price Override Privilege set to 'Unlimited' (and from your scenario it sounds as if you have) it is possible that the value in unit_list_price will vary from what was originally retrieved from the price list.
    In that case, a safer bet is to use :LINE.original_list_price in your personalization as this will always contain what was originally retrieved and will mean you can avoid any repeat lookup via list_line_id.
    Regards,
    Jon

  • Table for Sales order Cost Est?

    Cost estimate data for sales orders used to be kept in KEKO and KEPH -
    Now that we've upgrade to 5.0 - there are only product cost estimates.
    Anybody know the tables for sales orders?
    thanks

    Dear Althea,
    please check with this tables.
    VBAG                           Sales Document: Release Data by Schedule Line in Sch.Agrmt.
    VBAK                           Sales Document: Header Data                               
    VBAP                           Sales Document: Item Data                                 
    VBBE                           Sales Requirements: Individual Records                    
    VBBS                           Sales Requirement Totals Record                           
    VBDATA                         Update data      
    Regards
    Mangal.

Maybe you are looking for

  • HT204302 What if there is no qttask file located in the startup item?

    The Ipod is not recognized by the computer or in Itunes. Help please!

  • How to create database triggers in ABAP Dictionary

    Hi, How can i create database triggers on tables, like the update, delete and insert triggers which we used to create in SQL sever and other databases, is there any transaction for doing the same from ABAP dictionary. or should it be done at the raw

  • Po design for MM. (MEDRUCK MODIFICATION)

    Hi ,   I have modified standard 'MEDRUCK' script form. let it be script1. Now i have to do another script say script2 , where in if any body tries to print from me23n transaction, they should be blocked. they should be able to only print preview ( no

  • Help on mapping problem

    Hi All I have the following challenge I have to map one field once for the header and as many times as it occurs for the item This is the source structure <segmen20> <segmen24> <belnr>10</belnr> </segmen24> <segmen24> <belnr>10</belnr> </segmen24> <s

  • Report Viewer fails in IE11

    I installed IE 11 yesterday and now all my SSRS reports do not display in the viewer.  We are using url to access reports on our report server and when the report tries to open it sits on the spinning wheel and never displays.  It worked perfect unde