Custom SAP report used to display an average standard cost per material.

Hi All,
I need to implement a report with the following functionality,
This is a custom SAP report used to display an average standard cost per material.  Standard cost data is stored in SAP at the Material/Plant level.  This report will gather the individual Standard Costs at each applicable plant (restricted by selection screen input and additional logic specified in more detail in the u201CReport Fieldsu201D section) for applicable Materials (restricted by selection screen input; if not specified all materials should be returned) and calculate an average standard cost for each material.  The corresponding Currency and Base Unit of Measure will also be displayed.
Additionally the relevant u201CCommodity Code/Import Codeu201D information should be displayed for each material returned.  This attribute is also stored at the Material/Plant level.  To determine the value of this field for each relevant material, the report logic must retrieve the values stored for each plant.  If all values are the same, the value can be output to the report.  If not all values are equal, a message u201CNot Consistentu201D should be output.  It should be noted that if all values are u201Cnull,u201D a null value should be returned in the report.
Can any one provide me with sample code for the same??
Thanks Debrup.

Hello,
Also refer this [ THREAD|Re: error in Fleet management customising] and [link|Error when recording measurements in IFCU]
Regards
Nav
Edited by: Desire_Naveen on Nov 4, 2009 12:35 PM

Similar Messages

  • Is there any Standard SAP Report?for displaying Billing block/Status-Order

    Hi,
    Am a ABAP Developer. I heard that there is SAP Query/ABAP Query/Standard SAP report for the below functionality/requirement. SO, pls. let me know if there is any SAP Query/ABAP Query/Standard SAP report?
    "This report is suppose to display Credit and Debit memo documents which are blocked and yet has a status of APRV; the other display is for Return Documents which are blocked and yet has a status RCVD."
    thanq

    Hi,
    Use t-code
    V23 - Blocked sales document for billing
    VA14L - Sales document blocked for delivery
    VFX3 - For blocked billing documents.
    Kapil
    Edited by: Kapildev Farakte on Jan 8, 2010 4:15 AM

  • Customer aging report - receipts also displayed

    hi all,
    Customer aging report is showing all outstandings &
    also receipts from customer,
    we want only customer outstanding in intervals of days ?
    Jeyakanthan

    Hi Jeyakanthan,
    I take it you are using a version prior to 2007.
    When you run your ageing report by journal entries, B1 will show you the full amount as due for all partially paid invoices & also, in another row, the actual partial payment. This is due to the 2 different reconciliation engines. You need to manually reconcile the invoices with the partial payments, then they will no longer appear in the ageing by journal entry.
    To determine which payments belong to which invoice, you could run the report by marketing documents. There B1 will show you the remaining outstanding amounts only, from which you can deduct the payment(s) & thence reconcile the correct documents.
    As a rule, SAP recommends to only run the ageing reports by journal entry.
    If you are looking for more info on reconciliation, please have a look at the IRU landing page:
    http://service.sap.com/~sapidb/011000358700000380562007E
    All the best,
    Kerstin

  • Customer ageing report using FDI4, FDK1

    Hello,
    I have developed customer ageing in report painter. Created a form using FDI4 & report using FDI1.
    In the selection screen i have
    company code
    Open item at key date
    Currency:
    I need some 2 more fields like GL account ( Customer recon account) and Currency. GL Account field is not available in characteristic. I need this field. How can i get this filed?
    And my company code currency is SAR(Saudi Riyal). If i execute with currency USD. The report is not executing. could some one explain me.
    Regards,
    SK

    Some further testing and we managed to know why the credit notes were not appearing.
    Our current database is set up with the following basic initialisation settings un tick. By changing enabling this option, the credit memo do appear.
    Use Negative Amount for reverse transaction
    Thanks
    Kentish
    Edited by: Rui Pereira on May 1, 2009 1:57 PM

  • Standard SAP Reporting Using Classes and Characterstics

    Hi Experts,
    I am currently interested in if there are any options to using classes and characteristics within standard reporting in SAP ECC.  I know some reports have the selection critiera and allow for other fields to be added to reports.  Does anyone know the reports that use classes and characteristics or have the ability to use them.  Any help is appreciated.
    Regards,

    Consultant 01,
    I am not sure of the specifics of your question.  The reporting approach depends on the objective of the reports and the business requirements.  In general, transaction MC03 can be use to report via classification characteristics.  This key figure reporting option covers many classifying attributes.
    If you want to report using batch classification and characteristic values, BMBC offers options for reporting on batches.  In this case you may use the classification tab of BMBC to enter the batch class for "search with batch class" and/or "search with selection class".  The latter allows you to view and/or narrow your search by characteristic values.
    I hope that this helps.
    Regards,
    Wayne

  • Display only the last record per material in SAP query

    Hi,
    I have created a SAP Query using the quickviewer that is a join between 2 tables (MSEG and MKPF) that consist of material document information and date of posting.
    The results are fine however I would like only the last record per material to be displayed.
    Can anyone tell what do I need to add so for only the last record per material be displayed in the output.
    Thanks,
    Mark

    Hi Mark,
    May be if you use Control Level processing .........I think you will be able to get the result you want. Try displaying as Below,
    LOOP AT XXXXX.
    AT FIRST material.
    ENDAT.
    AT LAST material.
    *...Display what ever you want here. It will display at end of every material.
    ENDAT.
    ENDLOOP.
    Before using sort the table with key material in ascending.
    Hope what I had to say is helpful to you.
    Cheers,
    Raga Suman.

  • SAP allows release of Standard Cost for Material with Moving Average Price

    Hi
    We set our Raw Material to use Moving Average Price (V) and price determination 2 (single level). And we activated material ledger.
    During mass calculation of standard cost (CK40N), If user accidentally forgot to restrict the Raw Material for being included in calculation, the system calculate standard cost anyway, even though I set it as Moving Average Price. And user is able to release it too without any problem.
    Why the system does not restrict it? By giving error maybe. Although as for now I can not find the wrong effect from releasing standard cost for MAP material, by your experience, is there any side effect that I should be aware of?
    Thanks

    CK40n is mass release of all materials. The release is not dependent on price indicator of the material in the master. It will calculate standard cost of all the materials.
    Releasing standard cost estimate of raw materials does not have any side effect as long your calculation is based on moving average price.
    Regards
    Divraj

  • Printing SAP invoice on SAP printer using custom SAP report

    Hi SAP Experts,
    We have the following requirement.
    We need to create a custom report in ABAP to print the Invoice on the printer specifed in the input selection screen.We don't want to use the external commad using GUI.Can annyone please suggest how can we create a spool directly using the invoicve no in sap.
    Thanks,
    Prathamesh

    Hi Prathamesh,
    Follow this approach.
    Get NAST entry corresponding to invoice number(invoice number = objky).
    insert this piece of code :
         gwa_nast-vstat = 1.
         gwa_nast-erdat = sy-datum.
         gwa_nast-eruhr = sy-uzeit.
         gwa_nast-usnam = sy-uname.
         gwa_nast-manue = 'X'.
         gwa_nast-vstat = 0.
         gwa_nast-LDEST = P_printername_from_selection_screen.
         CLEAR gwa_nast-datvr.
         CLEAR gwa_nast-uhrvr.
         CLEAR gwa_nast-cmfpnr.
       MOVE gwa_nast TO nast.
       PERFORM einzelnachricht_dialog IN PROGRAM rsnast00 USING sy-subrc.
       IF sy-subrc NE 0.
         PERFORM objekt_entsperren IN PROGRAM rsnast00.
         IF sy-subrc EQ 9.
           RAISE print_error_dial.
         ELSE.
           RAISE print_error.
         ENDIF.
       ENDIF.
       SET SCREEN 0.
       PERFORM objekt_entsperren IN PROGRAM rsnast00.
       COMMIT WORK AND WAIT.
    the above will generate a spool.
    Thanks,
    Anil

  • List Edit Reports using Excel Displays

    Guys,
    I've known about this functionality for some time, but never got round to investigating the potential..
    In many of the PM/CS list-edit reports (e.g. IW38) we can also view the data in Excel format. SAP has provided two files as follows:
    - SAP_MM.XLS: has two macros assigned (ALV_SAP_Exit and ALV_CUS_Exit)
    - SAP_MM.XLS: no macro assignment
    See [OSS Note 548409|https://service.sap.com/sap/support/notes/548409] for more details relating to these files.
    You can copy the standard XLS files (see OSS Note) to your own customer specific files. You can then use the marcos within these fields to include pivot tables, charts, filters, images, etc.
    Also posted [here|http://www.sapfans.com/forums/viewtopic.php?f=7&t=333861]
    PeteA

    Hi,
    Note [696069|https://service.sap.com/sap/support/notes/696069] explains some security settings can help with this.
    -Paul

  • Developing SAP Reports Using Mass Data Runtime( MDR)?

    Hi Experts,
    Does anyone have the idea of MDR reporting?
    Actually i have implemented this in my previous project which is used for parallel processing.
    The problem which I am facing currently is that when i try to open the transaction /BTR/MDR it is throwing an error as "transaction doesn't exits'.
    Why this transaction is not opening in the system? Please guide me on this issue
    Thanks in Advance

    Hi Nawaz,
    Mass Data Runtime (MDR) is a third party software component. If it has not been purchased and installed in the system you are working on, it is unlikely that the transaction will exist.
    Hope that helps.
    Christian

  • CS-MARS Issue - Custom queries/reports are not displaying any data

    I am trying to produce a report to identify which clients are TFTPing traffic to a particular host and then quantify the amount of data being transmitted. These statistics should be available via the Netflow data being exported to the CS-MARS System. However, the queries continuely produce nil results.

    These release notes are for use with the Cisco Security Monitoring, Analysis, and Response System (CS-MARS), Version 4.1.1 running on either a Local Controller or on a Global Controller.
    http://www.cisco.com/en/US/products/ps6241/prod_release_note09186a0080504531.html

  • Generating Customized Compliance Report using SQL Query in SCCM 2007

    In the query , I am wondering how to add a leading zero or 2 to the State Name field.  So if I sort the report by State Name it will be in proper numerical order.
    Thanks,
    Peter

    
    select
    CS.Name0,
    CS.UserName0,
    case
    when (sum(case when UCS.status=2 then 1 else 0 end))>0 then ('Needs '+(cast(sum(case when UCS.status=2 then 1 else 0 end)as varchar(10))+ ' Patches'))
    else 'Good Client'
    end as 'Status',
    ws.lasthwscan as 'Last HW scan',
    FCM.collectionID--,
    from
    v_UpdateComplianceStatus UCS
    left outer join dbo.v_GS_COMPUTER_SYSTEM CS on CS.ResourceID = UCS.ResourceID
    join v_CICategories_All catall2 on catall2.CI_ID=UCS.CI_ID
    join v_CategoryInfo catinfo2 on catall2.CategoryInstance_UniqueID = catinfo2.CategoryInstance_UniqueID and catinfo2.CategoryTypeName='UpdateClassification'
    left join v_gs_workstation_status ws on ws.resourceid=CS.resourceid
    left join v_fullcollectionmembership FCM on FCM.resourceid=CS.resourceid
    Where
    UCS.Status = '2'
    and FCM.collectionid = 'SMS00001'
    Group by
    CS.Name0,
    CS.UserName0,
    ws.lasthwscan,
    FCM.collectionID
    Order by
    CS.Name0,
    CS.UserName0,
    ws.lasthwscan,
    FCM.collectionID

  • Report for PO price more than standard cost

    We are currently without MM support at our plant, so I hope some one of you can help me.
    The new supply chain director want a report of POs that are placed where the PO price is not equal to the standard and will thus generate a price variance upon receipt.
    Query would be tough due to Unit of purchase vs MatMstr unit of measure.  I'm hoping for a standard report?
    The buyer does get a warning that the two are not equal, but they enter through them.  Is there a report of warnings issues??
    Any help would be great
    Thanks
    Althea

    There is not such stadard report for this but you can check the PO price in ME80FN.
    But for comparison and the diff report you have to have right the Query using
    EKKO, EKPO and MBEW table
    and the UOM you need to select the Order unit of the PO.

  • Include Movement Type into FBL3N and NA into MB51 (SAP report).

    Hi SAP Gurus,
    1.Is this possible to Include Movement Type into FBL3N, if You guys know that pls let me, what are the steps require.
    2.Enhancement to existing SAP report, t-code:KOB1 to include standard cost,  std quantity, actual cost, actual quantity by part details and assembly part number in SE & SR document type
    Guys please help on this.

    Hai
       i thought u require the layout which give report like FBL3n ,not in standard lyout which u insert field.
    then go path in clude it required field  
    Financial accounting /genaral ledger accounting/gl accounts/line items/display line item. where u may go for new field to
    insert like by new entries..not only for gl,u may search for ap,ar, also get this type configuration for respective path.
    clear

  • Customer aging report in Sales Order PLD

    My customer would like to have customer aging report to be displayed in Sales order PLD. kindly let me know whether it is possible through system variables. if so, please let me know the system variable values for diferrent aging periods like 0-30, 30-60, 60-120, and 120+. etc. Pls suggest any other solution if this is not workable.

    Hi Rajesh
    The system variables exposed for the ageing report will not be available for the sales order report. You will need to create multiple fields on the PLD to achieve this. The best would be to use the JDT1 table and Select Debit minus Credit columns. Then add fields with dates as rules and apply each ageing block to each date period (rule) as a sum of debit - credit. Unfortunately SAP Business One does not have a balance table where balances are stored, and they are always calculated on the fly from the journal tables. The alternative is to add a User Defined Table and store the Ageing in this table, and then simply join this table to the BP for the sales order in the PLD. Updating the table will have to be done possibly with a stored procedure.
    Kind regards
    Peter Juby

Maybe you are looking for

  • Bootcamp Blue Screen of Death.. Apple USB Driver ?

    This started to occur to me after I upgraded to the Leopard drivers for Bootcamp. I have seen this occur two times while booted in Windows XP. Both after I left the machine idle for a long period of time.. about 3-4 hrs. 1) Conditions - machine is id

  • My first generation ipod nano freezes on language menu. All a can do is reset it

    Hi! My 1st generation ipod nano froze today on the menu. I've resetted it holding the select and menu button and i've restored it from itunes a few times. Now it freezes on the language menu. It's like the wheel and select button don t work anymore,

  • Powerbook G4 can no longer connect to Time Capsule network

    For more than a year, my Powerbook G4 17"  was able to access the internet provided wirelessly via my Time Capsule.  I recently had to reconfigure the Time Capsule setup to address an unrelated issue, and now I am unable to join the wireless network

  • IPhoto recently after installation of Mac OS X 10.8

    how do i bring back the i life applications which disappeaared after installation of mac osx 10.8 and doesnt accepted on the appsotre( cost money)

  • Empty app screen? How to fill screens with apps?

    HI- I used to have 4 pages of apps. After the 3.0 update I have 5 and my second app screen, which used to be full of apps, now only has one app. I know an app was added but this shouldn't have happened. So - how do I "back-fill" the screens so that t