Detailed Discount Report needed.

Dear all,
How can we identify from where the discount % value is being picked up in the Sales Order or any other marketing documents? Is there a report that points out in Sales Order, this particular line item's discount is 10% and it is being extracted from Item Group discount. Can the following report be generated?
Sales Order #_Item Code__Discount%__Discount Category
1002_________A000002______10________Item Group Discount
1002_________A000003_______4________Volume Discount
1001_________A000002_______3_________Special Prices

Hi,
The system does not record the source of a discount anywhere in the document.
You could probably do it with a query using the tables OSPP, SPP1 and SPP2 for the period and quantity based discounts, and the OSPG table for item group based discounts.
For example with a CASE statement you could go through all document / rows and match their discount percentages, dates / quantities, and item groups with existing criteria in the discount tables.
There are 2 possible problems with this approach: first the B1 system applies discounts according to a certain hierarchy (see SAP Note 896722), so if there are overlapping discounts determined, your query will add the result to which ever case you write first in your query. Second, if a user enters a discount manually, and it happens to match one of the set discounts it will also be counted toward that discount, instead of discount source "Manual".
Good luck,
Johan

Similar Messages

  • AP Discounts report

    Is there a report in AP or banking that can show the discounts on payables, so a company can take advantage of early payment discounts and then select just these in the payment wizard?

    Hi,
    I checked Demo and was not able to find any Discount Report. It seems that you need to prepare a query to get the desired result.
    Check the following for the start and see if you can further customize to get the desired result. It needs to be a detailed one.
    Following is the try I did in creating :
    select T0.docnum as 'AP Invoice', T0.docdate as 'Posting date',T3.Numofdays as 'Days After Posting Date',
    datediff(day,T0.docdate,getdate()) +
    Case when T3.NumofDays is not NULL then T3.numofdays Else 0 end as [OverdueDays],
    T3.Discount as 'Discount Percentage'
    from OPCH T0 inner join OCTG T1 on T0.groupnum = t1.Groupnum
    inner join OCDC T2 on T1.DiscCode = T2.Code
    inner join CDC1 T3 on t3.cdccode = t2.code
    The problem with above is that it misses a scenario when the option under the discount table (CDC1) is changed (then the numofdays is NULL).
    Kind Regards,
    Jitin
    SAP Business One Forum Team

  • Details of Reports scheduled on SSRS (Report name, userdetails, frequency, etc)

    Hi all,
    Is there a way to find all SSRS scheduled reports details such as (Report Name, schedule time, mail IDs configured, etc.)?
    Please help as we have many SCCM reports on SRS, and manual work will take very long time..
    scorpITs | http://scorpITs.blogspot.com

    Hey ucrajee,
    Here is simple SQL query which will give you details on report subscription along with Subscription type, render format, next run date, time, email ID configured with subscription etc. 
    You need to run this SQL Query on your report server database.
    SELECT
    c.Name AS ReportName,
    'Next Run Date' = CASE next_run_date
    WHEN 0 THEN null
    ELSE
    substring(convert(varchar(15),next_run_date),1,4) + '/' +
    substring(convert(varchar(15),next_run_date),5,2) + '/' +
    substring(convert(varchar(15),next_run_date),7,2)
    END,
    'Next Run Time' = isnull(CASE len(next_run_time)
    WHEN 3 THEN cast('00:0'
    + Left(right(next_run_time,3),1)
    +':' + right(next_run_time,2) as char (8))
    WHEN 4 THEN cast('00:'
    + Left(right(next_run_time,4),2)
    +':' + right(next_run_time,2) as char (8))
    WHEN 5 THEN cast('0' + Left(right(next_run_time,5),1)
    +':' + Left(right(next_run_time,4),2)
    +':' + right(next_run_time,2) as char (8))
    WHEN 6 THEN cast(Left(right(next_run_time,6),2)
    +':' + Left(right(next_run_time,4),2)
    +':' + right(next_run_time,2) as char (8))
    END,'NA'),
    Convert(XML,[ExtensionSettings]).value('(//ParameterValue/Value[../Name="TO"])[1]','nvarchar(50)') as [To]
    ,Convert(XML,[ExtensionSettings]).value('(//ParameterValue/Value[../Name="CC"])[1]','nvarchar(50)') as [CC]
    ,Convert(XML,[ExtensionSettings]).value('(//ParameterValue/Value[../Name="RenderFormat"])[1]','nvarchar(50)') as [Render Format]
    ,Convert(XML,[ExtensionSettings]).value('(//ParameterValue/Value[../Name="Subject"])[1]','nvarchar(50)') as [Subject]
    ---Example report parameters: StartDateMacro, EndDateMacro & Currency.
    ,Convert(XML,[Parameters]).value('(//ParameterValue/Value[../Name="StartDateMacro"])[1]','nvarchar(50)') as [Start Date]
    ,Convert(XML,[Parameters]).value('(//ParameterValue/Value[../Name="EndDateMacro"])[1]','nvarchar(50)') as [End Date]
    ,Convert(XML,[Parameters]).value('(//ParameterValue/Value[../Name="Currency"])[1]','nvarchar(50)') as [Currency]
    ,[LastStatus]
    ,[EventType]
    ,[LastRunTime]
    ,[DeliveryExtension]
    ,[Version]
    FROM
    dbo.[Catalog] c
    INNER JOIN dbo.[Subscriptions] S ON c.ItemID = S.Report_OID
    INNER JOIN dbo.ReportSchedule R ON S.SubscriptionID = R.SubscriptionID
    INNER JOIN msdb.dbo.sysjobs J ON Convert(nvarchar(128),R.ScheduleID) = J.name
    INNER JOIN msdb.dbo.sysjobschedules JS ON J.job_id = JS.job_id
    Let me know if you have any queries.
    Thanks,
    Sandip Shinde(Blog:bi-bigdata.com|Twitter:@CloudBI_Sandip)

  • Understanding report need backup recovery window ..

    Hello,
    I have a big database which backed up within several days at night time. The retention policy is "recovery window of 3 days". I've tried to analyze the results of
    report need backup;But I noticed than this command return just the list of datafiles having latest backup older than 3 days. I've tried to read again the docs:
    >
    Reports data files for which there are not sufficient backups to satisfy a recovery window-based retention policy for the specified number of days, that is, data files without sufficient backups for point-in-time recovery to any point back to the time SYSDATE - integer.
    >
    Please correct me if I'm wrong, but I consider that the ability to make recover to any point in time within 3 days require the backup taken earlier than 3 days ago and archivelogs from the time when backup was taken to the recover PIT. Im I right? If so then how I should interprete the results of report need backup ? I can't find the detailed explanations of this in the docs :(
    Thanks in advance,
    Constantine

    You are correct in your appreciations.
    This report is about the need of backups, without considering archivelog backups.
    It does not mean that listed files are in an unrecoverable situation.
    Regards.

  • Equal Employment Category details in report

    Hi Experts,
    I need to get EEO Category details in report for job code listing.
    Where we maintain job codes?
    In SPRO settings I have seen under EEO information for US based public sector employees, that EEO category is assigned to jobs.
    In OM infotypes, in which infotype can we see the EEO details, so that the same field can b used in get
    the output in report?
    Regards
    Aryan

    Hi try to maintain this table
    V_T5U13.double click the job..where you can maintain EEO,AAP,OCC category
    US Job attrubtes infoype(1610),WC State, Code, Attribute( 1613).for this infotype u need to set the country specific indicator as 10 thru pp01>settings>country specific infotype-->no country specific..or enter as 10.

  • Detailed TOC Report

    I need a detailed TOC report - including every topic in every folder from the Top Level Folder on down. There appears to be no difference between the Detailed view and the Overview when selecting the top level folder. Is there a way to create a complete TOC report in one step, without creating a separate report for each folder within the Top Level Folder?
    My projects each have several folders and sub-folders. Nothing is nested more than 2 folders deep.
    I am using RH8 and generating WebHelp.
    I created these reports in RH7, but can't access the same level of detail in RH8. Any workarounds?
    Thanks.
    Helen (aka VetEditor)

    Hi there
    While I may have more easily pointed the problem out, Peter actually offered the same in the first reply. It's just that he was rather generic about asking if the option was configured whle I presented the video that maybe drove the point home.
    I guess what I read is true. I saw someone had added the following signature line to an E-Mail message and I loved it. The line read:
    If a picture is worth a thousand words, a video is worth a thousand pictures!
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Basic details abt report painter

    hi,
    I am new to report painter, need to know some basic details abt report painter. And one example along with it
    Regards,
    Reni

    Take a look here
    http://www.virtuosollc.com/PDF/Get_Reporter.pdf
    http://sap.ittoolbox.com/groups/technical-functional/sap-r3-other/accessing-tables-using-report-painterwriter-9876
    Regards,
    Ravi
    Note : Please mark the helpful answers

  • Report needed to  conbine stock movement  and corresponding balance

    Hi Friends,
    End user need a report to show stock movement trasaction and it's coresponding stock balance.
    In MB51, we can see all the stock movements against one material, is there any way a report could show stocks' corresponding iventory balance under diffierent invenotory category (unrestriced,QC, Return and block) for each movement trasaction ?
    Report needed like below
    SLoc , MoveType , Material document, posting date, qty, unrestic bal, QC balance, return Balance, Blked Bal.
    Thanks,
    L

    Hi,
    Kindly take the help of abaper and create a customized report or also you can have query created in SQ01.
    Hope this will help you !!!
    Regards,
    Krishna O

  • Due date in Detail Aging report

    Dear all,
    I would like to ask if it is possible to add the Due date for each document displayed in the Detailed Customer Receivable Againg report ?
    I tried, but it seems impossible to do so, even I set the field as System Variable (as the Due date in Dunning module).
    Thanks a lot

    Hi,
    'Due Date' column of the documents is available in:
    Aging Report - 'Customer Statement Report (One Page per Customer)'
    The same is unavailable in the Details Aging Report.
    Regards,
    Jitin

  • Search on Master Detail form/report

    Hi,
    I noticed that when I created a new application in Apex 4.01 basing the intial page on a Master Detail form/report, I was able to add a search item to the initial page. When I go to add another page with a different Master detail form/report, I did not have any option for adding a search item to the report page. Seems like an oversight?
    I would appreciate any hints as to how to add same search item to my 2nd Master/Detail form/report.
    Thanks,
    Pat

    Me too facing the some problem can some one pls help

  • How do I download all my photos onto an external hard drive intact without loosing iPhoto's features, important info and details? I need to delete pictures and files to make room in My mac's memory which is currently full.

    Hi
    How do I download all my photos onto an external hard drive intact without loosing iPhoto's features, important info and details? I need to delete pictures and files to make room in My mac's memory which is currently full.
    Maro

    So you want to move the iPhoto Library?
    Make sure the drive is formatted Mac OS Extended (Journaled)
    1. Quit iPhoto
    2. Copy the iPhoto Library from your Pictures Folder to the External Disk.
    3. Hold down the option (or alt) key while launching iPhoto. From the resulting menu select 'Choose Library' and navigate to the new location. From that point on this will be the default location of your library.
    4. Test the library and when you're sure all is well, trash the one on your internal HD to free up space.
    Regards
    TD

  • Report needed for storage costs in WM

    Hi All,
    I need a report for the storage costs for utilising the warehouse by plants. Cost of space utilised per m3 will be provided in selection screen. For each material the volume should taken from material master. Warehouse will be utilised by three plants and report needed to calculate the space occupied by the materials in warehouse per plant per month. I am not able to find the logic to calculate average space utilised(as day to day there will putaways,transfer postings and picking).All stocks to be taken into consideration.Let me know how to proceed.
    Regards,
    Manik

    Dear Experts,
    Cud u plz throw some light on this...
    Regards,
    Manik

  • Crystal Reports 2008 Customer Details Aging Report Example / Sample

    Hello!
    Anyone willing to send me a customer details aging report example for SAP Business One? (or give me a link?)
    I've been looking all over and have found examples of things, but not specifically for B1.
    Anything would be useful I am pretty flexible, I just want some bones to work from.  In return I can send you back what I build from it.
    Thanks in advance,
    Mike

    Hi Mike, you might have better  replies if you post your question to the B1 forum. They would be familiar with the B1 functioanlity and data sources.

  • Stand alone oracle report - need help asap

    Hi,
    We are in ORACLE Apps 11i. We started using ORACLE BI Publisher to create templates for the Oracle Reports. How we are doing reports now is
    1) create data definition XML which has all the queries embedded.
    2) Create Data definition in XML Publisher Admin responsibility.
    3. Attach the Data definition XML to that.
    4. Create a concurrent program definition for the report with XML Type and run the report and save the data file with tags.
    5. Create the template ,rtf in Word and export data using ORACLE BI Publisher. 6. Create template definition in the XML Publisher Admin responsibility and attach this .rtf to that and run the report.
    Now I have a requirement stating that the REPORT SHOULD BE AN ORACLE STAND ALONE REPORT AND THE REPORT NEEDS TO BE RUN THROUGH CONCURRENT PROGRAM SCREEN. I am planning on doing the following steps.
    1. I have to create an .rdf using report builder.
    2. Create concurrent program executable and definition for the report.
    3. Create data definition in XML Publisher admin responsibility.
    4. Run the report in apps.
    5. Create the tempalte .rtf in word and export data with the XML Data file with tags,
    6. Run the report.
    Am I correct? Any help is appreciated asap.
    Thanks
    Akil

    You said,
    standalone report ?? is that mean without using bipublisher ??
    1st method.
    create concurrent program, output xml,
    create data template, create datadefintion , attach Datatemplate.
    run the cc pgm, get xml, design RTF , create template definition , attach RTF,
    run the cc pgm, you get the pdf output.
    2nd method.
    create rdf,
    create concurrent program, output xml,
    run the cc pgm, get xml, design RTF ,
    create datadefintion , create template definition , attach RTF,
    run the cc pgm, you get the pdf output.
    , both requires, cc pgm, rtf, data defintion , template definition.
    only differnece is , how do you get the data, i mean, xml...
    data template or RDF.

  • RMAN report need backup

    We have an incremental level-1 backup Mon-Sat and cold full backup on Sundays with retention policy of 7 days. While troubleshooting some backup issues (space issue, expired backups) I ran the following commands and trying to understand the output.
    RMAN> report need backup database;
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to recovery window of 7 days
    Report of files whose recovery needs more than 7 days of archived logs
    File Days Name
    100 146 /orahprdidx/hprd/psindex05.dbf
    RMAN> report unrecoverable;
    Report of files that need backup due to unrecoverable operations
    File Type of Backup Required Name
    RMAN> report need backup days = 7 database;
    Report of files whose recovery needs more than 7 days of archived logs
    File Days Name
    100 146 /orahprdidx/hprd/psindex05.dbf
    RMAN> report obsolete recovery window of 7 days;
    no obsolete backups found
    RMAN>
    I looks like I need 146 days worth of archive log files to recover the psindex05.dbf. If so, what I could do to bring that into the 7 days policy?
    The database is fine, I am not trying to recover the database.
    This was setup by someone and now I am taking over with minimum RMAN experience.
    I appreciate any help in this subject.

    The datafile was offline. I guess it was created my mistake and hanging in there. Once I do the cleanup it should go away.

Maybe you are looking for

  • Screen flicker when the CPU is working

    My macbooks started to flicker when the CPU is working, I'm using bootcamp and it doesn't seem to flicker when im using Windows XP. Anyone had the same problem or got any ideas on what I should do? Thanks Macbook   Mac OS X (10.4.6)  

  • Why can't I open an existing project in Final Cut Pro X?

    I am new to FCP.  There is no "save project" option anywhere.  So I assumed it saves my project automatically, since it always reopens.  So I went and started another project, assuming the first one was saved.  Now I can't find the first project.  I

  • IS MBA DEGREE  MANDATORY TO BE A SAP CRM CONSULTANT

    HI, I was bit confused is MBA degree mandatory to become a SAP CONSULTANT. Can we become a SAP CONSULTANT with B.Tech. IF we can become is there any differences between an MBA  as a consultant  and B.Tech graduate as a consultant. Thanks in advance.

  • Property Chooser dialog from Add Correlation Set dialog Doesn't Expand

    We are using Windows XP with NetBeans IDE 6.0 Preview (M9, build 070502). We are creating a BPEL workflow. We want to create a correlation set. 1. In the Navigator, we right clicked on Correlation Sets, and and chose "Add Correlation Set ..." from th

  • Flash Player 9 (9.0.28.0) won't install

    Hello, I've downloaded the flash player uninstaller from http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14157&sliceId=1 and run it following the directions, and I've acquired the older Flash Player 9 versions from http://kb.adobe.com/se