How to fetch data for sales order costing

Hi All,
How to fetch data for VA03 --> Extras --> Costing having cost element details.
Thanks
Gaurav

Hi Gaurao ,
There is no such function module  to extract data  in one column   , you have to  Convert all the columns data    in one column
for period   .
regards
Deepak.

Similar Messages

  • How to get the pricing hierarchy based on the delivery date for sales order

    Hi,
    How to get the pricing hierarchy based on the delivery date for sales order other than system date.
    My requirement is to get the Pricing hierarchy based on the delivery date other than system date.
    Waiting for kind response.
    Best Regards,
    BDP

    HI Sai,
    please refer teh document already how to write FM based extration on generic extractors.
    and here  the logic to find the latest records values:-
    -> get the data in an internal table
    ->Sort the internal table data based from date descending
    -> Using READ statement , we can read the first record of the table which is nothign but your latest record.
    Regards.
    Sakthi

  • How to see archive data for Sales order

    Hi all,
            I am working on PS , network is created with sales order 10911. the components are added while sales order created, but after that someone deletes the sales order, because now it is showing oder does not found, where i get the entreis for sales order.
    Regards,
    Khushi.

    Hi Khushi,
    To see the archived data for sales order , go to transaction code SARA.
    Choose object name as SD_VBAK.Click READ.
    It will show a screen giving a name of program and option to execute in background or foreground.
    It will help you to get information about archived sales order data.
    Hope it helps you.
    Thanks,
    Sarita singh Rathour
    Edited by: Sarita Rathour on Aug 28, 2009 7:46 AM

  • Upload the data for sales order using BAPI

    hi experts,
    how to upload the data for sales order using BAPI.
    what is the FM?
    it would be much helpful if i have the sample code as i am very new to BAPI.
    thanks and Regards
    Shyam

    Hi  Shyam
    Its very useful for u
    BAPISDORDER_GETDETAILEDLIST
    BAPI_ACC_SALES_ORDER_CHECK
    BAPI_ACC_SALES_ORDER_POST
    BAPI_ACC_SALES_QUOTA_CHECK
    BAPI_ACC_SALES_QUOTA_POST
    Reward all the helpful answers..
    With Regards
    Navin Khedikar

  • How to configure rescheduling for sale order quantities

    kindly explain how to configure rescheduling for sale order quantities that are created last month. kindly explain. i am in urgent.
    regards,
    g.v.shivakkumar

    Hi,
    Short text
    Rescheduling sales and stock transfer documents: by material
    Description
    The 'Rescheduling' program (SDV03V02) processes sales document items that are contained in the item directory for the material. It takes into consideration open items and schedule lines from stock transfer items, stock transfer scheduling agreements and purchase order requests (items only), referred to hereafter as stock transfer documents, for the materials.
    All sales documents for the material that are still open are selected. This means that the material index must be activated for at least all sales document types, whose items may have requirements. All stock transfer documents or items for the material that are still open are also selected. Open in this case means for example, that there is no deletion indicator, that the item from a stock transfer purchase order request cannot be labeled as completed or that the quantity delivered and posted to goods issue for the item in a stock transfer purchase order is the same as the amount ordered. An availability check can only be carried out if a checking rule is assigned to the document type - if this is not the case, the document or document item is not checked.
    Checking rule 'A' is used as a basis for rescheduling sales orders (exceptions to this are rush orders  they use checking rule B, and orders with individual customer stock; they use checking rule AE). Stock transfer documents use the checking rule that is assigned in Customizing for Purchasing. It is important that the scope of checks is consistent for both the stock transfer documents and the sales documents and that they do not exclude each other, as this can lead to incorrect test results. An example of an incorrect setting would be: The scope of check for checking rule 'A' checks delivery schedules for stock transfer purchase orders and stock transfer purchase requests, however the scope of check for the checking rule for the stock transport scheduling agreement does not.
    The items and schedule lines found in the selection are sorted according to 'Priorities' - document category, delivery priority, creation date of the item or schedule line (for stock transfer purchase orders and delivery plans) entered on the selection screen or according to the schedule line date of the earliest schedule line with order quantity, document number and item number and then transferred to the availability check. Priority 1 is highest priority and priority 5 the lowest. Stock transfer purchase order requests are sorted after stock transfer purchase orders and scheduling agreements, as they are less binding. This means that when you have identical sort criteria such as delivery dates, the stock transfer purchase order item is checked first and then the item from the stock transfer purchase order request.
    The preset option 'Unconfirmed documents required' only carries out rescheduling for materials for which there is at least one unconfirmed transaction.
    You can use the parameters 'Sorting criteria delivery date' to define whether sorting is carried out with the order quantity after the creation date of the item or the delivery date of the earliest schedule line.
    If you mark the 'Simulation' field, the checked documents are not saved. Instead a results list is generated and saved. However, the availability check for the corresponding documents continues as if saving has taken place already, that is, that the simulated list corresponds to the actual one.
    Under 'Options' on the selection screen, specify whether sales documents and/or stock transfer documents should be processed. For stock transfer documents you can enter whether stock transfer purchase orders and scheduling agreements should be processed at item or schedule line level:
    Processing at item level:
    All open schedule lines for the item are read and collected, then transferred to the availability check. To sort and prioritize documents, you do not need each individual schedule line. It is sufficient to have the item or data from the first schedule line. All open schedule lines for the item are processed and checked.
    Example of processing at item level:
    Sorting: Date (Delivery date first schedule line) - Document number - Document item
    Doc. cat. Doc. number  Doc. item  Doc. schedule line  Delivery date PO        4500000012      10               0001              26.01. PO        4500000012      10               0002              26.02. PO        4500000025      20               0001              28.01. PO        4500000025      20               0002              02.02.
    You can see that the second schedule line for document 4500000025/20 from 02.02 was processed after the second schedule line for document 4500000012/10 from 26.02. This is because all open schedule lines for an item are read and processed. The first schedule line from 4500000012/10 has the earliest delivery date, therefore it has priority.
    Processing at schedule line level:
    Each open schedule line for an item is entered in document sorting in accordance with the values entered under 'Priorities'. The availability check is carried out for each individual schedule line.
    Example for processing at schedule line level:
    Sorting: Date (delivery date first schedule line) - document number -document item
    Doc. cat.    Doc. number  Doc. item  Doc. sched. line  Del. date PO           4500000012    10             0001           26.01. PO           4500000025    20             0001           28.01. PO           4500000025    20             0002           02.02. PO           4500000012    10             0002           26.02.
    Here you can see that each schedule line was sorted according to its delivery date. Note that this type of processing requires more runtime due to the individual checks and more frequent saving.
    The results of rescheduling are saved, as long as the program was not started in simulation mode. When calling up from the 'Sales' area menu or when directly starting via the development environment, the iniator is informed via a dialog box that he has just started a process that changes data. He can then decide whether or not he wants to continue.
    Checking procedure for stock transfer documents:
    An availability check of stock transfer documents in rescheduling is carried out in accordance with the check carried out when manually creating a document. If, however, the required quantity for a schedule line is not available on a particular date and will not be ready until later, new schedule lines are created for the stock transfer purchase orders and scheduling agreements, containing the relevant data. New items are created in this case for stock transfer purchase order requirements. The total sum of schedule line quantities for a processed schedule line corresponds to the schedule line quantity of the original schedule line.
    First example: Using a stock transfer purchase order item with a schedule line:
    a) Status of item before rescheduling run:
    Del. date  PO quantity   Confirmed quant  Confirmed del. date 23.07.      50 items       0 items              -
    ==> This now affects the stock/requirement situation:
        - Goods issue is posted for the material in the delivering plant on the 23.07.
        - A purchase order of 10 items was created for the material in the delivering plant. Delivery is expected on the 29.07.
    b) Status of stock transfer purchase order item after rescheduling run:
    Del. date PO quantity   Confirmed quant   Confirmed del. date 23.07.     40 items      40 items            23.07. 29.07.     10 items      10 items            29.07.
    ==> The first schedule line was changed in accordance with the results of the rescheduling availability check. Only 40 of the 50 original items could be delivered on the 23.07. Therefore, a new schedule line is created for the rest on the 29.07. for 10 confirmed items.
    Second example: Same output situation as the above example.
    ==> There is now a change in the requirement/stock situation:
    A purchase order for 10 items is created for the material in the delivering plant. Delivery is expected on the 29.07. A further purchase shows another 40 planned items on the 30.07.
       Status of stock transfer purchase order item after rescheduling run:
    Del. date PO quantity  Confirmed quant  Confirmed del. date 29.07.     10 items       10 items          29.07. 30.07.     40 items       40 items          30.07.
    ==> The first schedule line was changed in accordance with the result of the availability check for rescheduling. The original delivery date is set to the date confirmed in the ATP check. A new schedule line is created for the remaining 40 items, that are available on the 30.07.
    Note:
    Any set fixed delivery date and quantity indicators and creation indicators for schedule lines or items are 'inherited' by newly created schedule lines. Assuming that the original schedule line was fixed in the above example (since it is created manually), this indicator is also set for the newly created schedule line.
    If shipping scheduling is activated for a stock transfer document type, this is also implemented for newly created schedule lines, with the exception of route schedule determination. This means that in the current version of the program no route schedule has been determined for a schedule line containing a route schedule for which new schedule lines may need to be created.
    The results of the run are issued in the form of a list, which is also saved, so that the results can be controlled at a later date. This is done using the function 'Evaluate rescheduling', but it is only a good idea to do this after the first rescheduling has taken place. You can restrict selection requirements but these can however affect the runtime. You can use this function to analyze the saved list until the next rescheduling run, which writes over the result. If you start rescheduling in the background, a spool file with the result list referred to will be created in the corresponding setting. You can see this in spool management.
    Output
    A list of changed documents, a list of documents in which an error occurred during processing and as a result were not changed, can be called up via the menu 'Edit - Error log'. If in a subsequent evaluation a restricted selection is carried out, a note appears at the end of the list to say that not all document items are displayed.
    You can set the scope of the list under the menu option 'List' in the list display. You can view improvements, deteriorations and the whole list. Before the documents can be included in one or either of the restricted lists, the date or quantity has to have changed so that the item can be contained in both the list of improved or deteriorated documents.
    You can use the interface for changing transactions and the order list to navigate. Use 'Back' to exit the list and 'New selection' to return to the selection screen.
    Recommendation
    You should only start this program occasionally and use very restricted selectin criteria during working hours as it requires enormous system resources.
    Note
    The columns for 'New date' and 'New confirmed qty' only contain entries if the dates or quantities have changed.
    As the system only runs the change check (dates/quantities) per line in the original list, an item whose backlog has increased in the list of improvements. This occurs, for example, if the whole quantity can be delivered at once but at a later date. In this situation, the system determines an increase for the line when it compares quantities.
    Regards,
    Amrish Purohit

  • 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.

  • FM/BAPI/Method for Sales Order Costing

    Hi,
    I need the FM/BAPI/Method for Sales Order Costing.
    Which is calculating at run time while process of Sales Order Costing
    Can any one please help me out.
    Thanks
    Chinni
    Edited by: Tirumula Rao Chinni on Mar 10, 2010 3:04 PM
    Edited by: Tirumula Rao Chinni on Mar 10, 2010 3:35 PM

    Vinraaj, thank you very much for your advice and the time you've spent for the ask.
    I am searching for whether there is any SAP offered FM. Therefore, I did not think to check the background (code side) of the process by debugging.
    There is not any documentation about the FM that you have offered, in the system.
    So , I can not be sure about the usage of it, too.
    Thank you very much.

  • How to fetch data for a struture from a cluster table

    How can I fetch data for a struture, from a cluster table, based on the name of the structure?

    Hi,
    In order to read from Cluster DB Table use the following statement:
    Syntax
    IMPORT <f1> [ TO  < g1 > ] <f2> [TO < g2 >] ...
    FROM DATABASE <dbtab>(<ar>)
    [CLIENT <cli>] ID <key>|MAJOR-ID <maid> [MINOR-ID <miid>].
    This statement reads the data objects specified in the list from a cluster in the database <dbtab>.
    You must declare <dbtab> using a TABLES statement. If you do not use the TO <gi> option, the
    data object <fi> in the database is assigned to the data object in the program with the same
    name. If you do use the option, the data object <fi> is read from the database into the field <gi>.
    For <ar>, enter the two-character area ID for the cluster in the database. The name <key>
    identifies the data in the database. Its maximum length depends on the length of the name field
    in <dbtab>.
    The CLIENT <cli> option allows you to disable the automatic client handling of a client-specific cluster database, and specify the client yourself. The addition must always come directly after the name of the database.
    For Eg:
    PROGRAM SAPMZTS3.
    TABLES INDX.
    DATA: BEGIN OF JTAB OCCURS 100,
    COL1 TYPE I,
    COL2 TYPE I,
    END OF JTAB.
    IMPORT ITAB TO JTAB FROM DATABASE INDX(HK) ID 'Table'.
    WRITE: / 'AEDAT:', INDX-AEDAT,
    / 'USERA:', INDX-USERA,
    / 'PGMID:', INDX-PGMID.
    SKIP.
    WRITE 'JTAB:'.
    LOOP AT JTAB FROM 1 TO 5.
    WRITE: / JTAB-COL1, JTAB-COL2.
    ENDLOOP.
    Regards,
    Neha
    Edited by: Neha Shukla on Mar 12, 2009 1:35 PM

  • Purchasing condition for sales order costing

    I am trying to add a condition to a purchasing document calculation schema that retrieves the sales order cost for a configurable material.  I am using account assignment of M for this purchase order and have tried several settings in a conditin type.  But no cost is ever found.  Has anyone ever tried this?

    Hi Arpit,
    1. Go to t-code SWO1.
    2. Click Settings -> Delegate.
    3. Delegate the BO YBUS2032 to the BO BUS2032.
    In workflow perform the following steps:
    1. Go to t-code SWDD and open your workflow template.
    2. Go to Basic Data (cap sign button at the top of the screen) or click Ctrl + F8
    3. Go to Start Events tab.
    4. In the Object type enter your BO name BUS2032 (not YBUS2032), in Event of object enter the BO event.
    5. Click on 'B' i.e. Binding Defined, click on generate automatic binding. It would automatically generate the appropriate binding for the workflow. You can also alter the binding as per requirement.
    6. Click on 'C' i.e. Start Condition. A dialog would open, select the appropriate start condition for the workflow. Use the attribute that you created and make the start condition. Check the condition before saving (recommended).
    6. Click on 'A' to Activate the binding and start condition. All 'A', 'B' and 'C' would get green.
    7. Save the changes made and activate your workflow.
    Hope this helps!
    Regards,
    Saumya

  • Standard reports for Sale Order costing

    Hi all
    Can anybody Please tell sale Order costing reports.
    Thanks
    Sandeep

    for doing mass sales order costing use CK55
    or for individually in VA02 -->Extra --> costing.
    & for report use KKAC.
    rgds
    Arpit.
    Edited by: Arpit Shah on Jan 1, 2008 2:34 PM

  • Costing Sheet in requirement class for Sales Order costing

    Hi Experts,
    Could you please explain me the necessity of costing sheet in requirement class configuration.
    There is a field for costing variant in requirement class. I hope costing sheet can be taken from that costing variant.
    So what is the purpose of costing sheet in requirement class and could someone explain me the use of that field in requirement class.
    What happens if the costing sheet in requirement class and costing sheet in costing variant mentioned in requirement class does not match.
    Thanks.
    Edited by: DSK on Dec 18, 2011 3:21 PM

    Costing Variant is assigned to Requirement class
    Requirement class is assigned to Requirement type
    Requirement type is assigned to Planning Strategy
    Planning strategy is assigned to strategy groups
    Strategy group is assigned to MRP3 tab in Material Master
    System picks the costing sheet in requirement class
    In this way product will be costed for Make to Order sale order costing.
    Srinivas

  • Please give some inputs for Sales order costing

    please give some inputs for Sales order costing

    Dear Chandu
    If you use the valuated sales order stock, the actual cost of goods manufactured is updated to the sales order item (item in an inquiry, quotation, or sales order) under an inventory change cost element.
    If you use the nonvaluated sales order stock, the actual cost of goods manufactured is updated to the sales document item under a settlement cost element or a source cost element.
    Sales and administration costs are updated under a separate cost element.
    Thanks
    G. Lakshmipathi

  • Valuation Strategy for Sales Order Costing

    We are currently using valuated sales order stock in ECC 6.0. The "without valuation strategy field" on the requirements class is not checked. However, the valuation strategy varies for a material and for a sales order. Sometimes it is using valuation strategy 2 - cost from the production order cost estimate - which is desired and other times valuation strategy 3 - cost from the standard price field in the material master - which is not desired. When is the valuation strategy determined for a production order for valuated sales order stock?

    Costing Variant is assigned to Requirement class
    Requirement class is assigned to Requirement type
    Requirement type is assigned to Planning Strategy
    Planning strategy is assigned to strategy groups
    Strategy group is assigned to MRP3 tab in Material Master
    System picks the costing sheet in requirement class
    In this way product will be costed for Make to Order sale order costing.
    Srinivas

  • How to do INIT for Sales order Itema Data (DS 2LIS_11_VAITM)

    Hi all
    I have a report on sales order item data, I have to reload it. DS 2LIS_11_VAITM
    Can any of you pls explain me the steps to do the INIT? Refill set up tables etc
    Many Thanks in advance
    Ishi

    Hi Hari
    Many Thanks for the explanation and steps. I deleted set up tables and executed to fill it.
    It says in R/3 Start of Processing, I ticked to continue and its still running.
    In the mean time I checked RSA3 and it says 1007 records selected. I am refreshing it and the no. of records are still the same.
    Can you tell me how long it takes to fill the table?
    And the R/3 system is still running (Start of Processing)
    Thanks again
    Ishi

  • How Variant Configuraton data  from Sales Order stored in the database

    Hi,
    I understand that the "variant configuration" data (chosen values for each characteristics assigned to material) from a sales order is stored separately with reference of an object in SAP.
    Please let me know how SAP stores such data -source in the database tables.
    This is required to draw a report of these charateristics values for various sales orders (Transactional data).
    I also understand that there are function modules to retrieve this data, but the function modules are unable to retrieve data as accurately as the VA03 program.
    Thank you for your advice.
    Regards,
    Hemant

    Hi ,
    I do not know what a reference charactersitcs is,but there are all independant characeristics in terms of their values.
    A guess it is because the VC data is changed after the sales order is created, the updated VC data is displayed properly only in VA02 or VA03 but other function modules fail to display the updated VC data.
    I understand there is a relationship of instance -between sales order object and VC data object-which we need to update and then see the latest data.
    Please let me know if anyone has debgged VA03 to know how the standard SAP program retrieves VC data in a sales order.
    Thank you,
    Hemant

Maybe you are looking for

  • Installation errors

    I downloaded Adobe Acrobat Pro 6.0 but it made all my programs have errors

  • Aspect ratio after commited

    Ok so I choose sd 720 x 576 anamorphic and and all ok, i then put a anamorphic clip that  fcp 7 has no worries with and it goes in 4.3 and looks wrong I see no where to change it apart from doing it myself with the transform effect tool This cant be

  • Single report with multiple queries OR multiple reports with single query

    Hello Experts, I have a confusion regarding Live Office connection for many days. I asked many people but did not get a concrete answer. I am re-posting this question here and expecting an answer this time. The product versions that I am using are as

  • Can one restore XI 30 on a server with a different servername?

    Hi, We are testing our DRP on a specific server, but the DRP servername differs from the original XI server. Restoring the DB and ABAP instance is easy, but what does one need to change on the J2EE instance to make it work?

  • Default_host error

    Hello all, In transaction SICF when i check my default_host with right click-->test... I get the folowing error message: " Could not find host or port information Message no. SHTTP082 Diagnosis The system could not find any host or port information.