Report on Opportunity Close date forecast Quarters

Hi,
we have created a custom report with fields from the Forecast section in Reporting including the Opportunity close date, and under the 'Close Date' we have put the Fiscal Quarter. However it is coming out wrong in some cases, so i added the 'Date' under the Close date section and not the opportunity section and it is different to the Close date on the opportunity. Can someone tell me what this 'Date' refers to?
Thank you

That is a very creative solution, Dale. I do have a couple of "what ifs" for you.
What if the Close Date is 10/30/2007... I change this to 10/15/2007 - a change of -15 days. Then I realize that I meant to change it to 11/15/2007 and changed it again. Would this create a problem for the report since the change amount would now show a 30-day change when it is really a 15-day change?
Another scenario has the date change twice in one week, between times that the report is run. The original date of 10/30/07 changes to 11/15/07 and then the next day changes to 12/15/07. How does this affect the report?
When we get to the point that the audit trail becomes reportable, this problem is solved. Until then, it is quite the puzzle. I think your solution potentially solves part of the problem, but depending on how much that date field actually changes and how often you run your report and which fields are needed in that report, it could return misleading data as well.
This is a very interesting problem. Dale has come closest to a solution so far. Any other suggestions for DavidG? I am drawing a blank on it so far.

Similar Messages

  • Report on Opportunity Close Date Changes

    I would like to create a report showing all deals that have had changes made to the Close Date. I am trying to create it from the Pipeline History section of the Analytics, but I am not sure which fields I can use, if any.
    Any suggestions?

    That is a very creative solution, Dale. I do have a couple of "what ifs" for you.
    What if the Close Date is 10/30/2007... I change this to 10/15/2007 - a change of -15 days. Then I realize that I meant to change it to 11/15/2007 and changed it again. Would this create a problem for the report since the change amount would now show a 30-day change when it is really a 15-day change?
    Another scenario has the date change twice in one week, between times that the report is run. The original date of 10/30/07 changes to 11/15/07 and then the next day changes to 12/15/07. How does this affect the report?
    When we get to the point that the audit trail becomes reportable, this problem is solved. Until then, it is quite the puzzle. I think your solution potentially solves part of the problem, but depending on how much that date field actually changes and how often you run your report and which fields are needed in that report, it could return misleading data as well.
    This is a very interesting problem. Dale has come closest to a solution so far. Any other suggestions for DavidG? I am drawing a blank on it so far.

  • Updating product revenue close date based off opportunity close date

    We do not use the product revenue close date, only the opportunity close date. We need to get the fiscal month of the opportunity close date but we have several reports the need to use the opportunity product history area and that does not contain the fiscal month for the opportunity. If we did a combined report, we cannot offer the user any prompts.
    Does anyone know how to get the opportunity close date fiscal month from the opportunity products area? Is there a way to update the product revenue close date when the opportunity close date it updated?
    Thanks

    Hi David,
    In the universe you describe you have the opportunity 'Close Date'. Use a 'case-when' expression to create the 'Fiscal Month' you need.
    Other than that you can use the JoinFieldValue function in the application to retrieve the opty close date, but that will require you to update product revenue for it to trigger which probably won't work for you.
    Good luck.

  • Validating Opportunity close date

    I was requested to create a validation for Opt. Close Date - Something like: If changed from the previous value it should be in the same quarter. Other than that it would be invalid.
    I still trying but started using PRE(JulianQtr([<CloseDate>])) and do get syntax error about invalid name in expression... I suppose I should use PRE('<xxxxxx>') - so that means I cannot use PRE(JulianQtr.... ?
    I'd appreciate any help.
    Txs.
    Antonio

    Hello,
    I am trying to validate the Opt. Close Date using:
    (JulianQtr[<CloseDate>] - JulianQtr(PRE('<CloseDate>'))) <> 0
    (JulianQtr[<CloseDate>] - 1 < JulianQtr(PRE('<CloseDate>')))
    Both expressions are ok in the syntax checker but during opt field validation there is an error message about CSSString does not support '-'
    So it seeems that somehow JulianQtr is returning a string value that cannot be used in expressions.
    Pls. I'd appreciate any help.
    Txs.
    Antonio

  • Opp Close Date - Quarters should be in Company Fiscal Year format

    Hi,
    I have to design report to calculate No of Opp Closed in Current Quarter and Last Quarter both according to Fiscal Year format.
    Now, when I see Report 'Opportunity Analysis' for Data Source 'Opportunity Header and Item', Key Figure 'Close Date' has hierarchical date values (Quarter, Year Quarter etc) same as Calender Year.
    For Example.
    If Close Date = 15 Jan 2014, then system shows Quarter = Q1 and Year Quarter  = Q1/2014. Meaning it is same as Calender Year.
    Now, Company Fiscal Year starts from previous year Aug to July. So 15 Jan 2014 should be Quarter = Q2 and Year Quarter = Q2/2014.
    Similarly, If Close Date = 10 Sept 2013, then system shows Quarter = Q3 and Year Quarter  = Q3/2013. Meaning it is same as Calender Year.
    Now, Company Fiscal Year starts from previous year Aug to July. So 10 Sept 2013 should be Quarter = Q1 and Year Quarter = Q1/2014.
    To achieve Date hierarchical values in Fiscal Year format, Please let me know if I need to do any config OR if I am missing something OR I can achieve in fiscal format by creating new Key Figure.

    Alim,
    As per my knowledge I did not find any setting where you can change the Calendar Fiscal Year in the system.
    But what you are trying to achieve can be done in a different way.
    If I understand your requirement right if you have 10 Opportunities in Jan 2014 you should see them as Q2/2014 instead of Q1/2014. What you can do is you can create 4 Restricted Key figures for 4 Fiscal quarters , i.e Aug to Oct -- Q1. Sept to Jan--Q2 , Feb to Apr --Q3 , May to July -- Q4 . Then Hide the original Key figure and make these 4 Key figures available in your report.
    So if a user searches for Jan2014 the Key Figure Q2 will have some values not Q1. Try this.
    This is a round about solution which might work. Quarterly search is not possible in this case as the system is still assuming Jan2014 as Q1 but not Q2 what you did above is just masking of Q1 as Q2 in your report.
    Hope this helps you.
    Thanks
    Pavan.

  • Import Opportunity Partners data reporting non-primary contact relationship

    I currently have three contacts related to each opportunity, but only the primary can be reported in OnDemand. It looks to me like I can use Opportunity Partners to accomplish the reporting of contacts related to the opportunities by linking the contacts in the opportunity partner area.
    Anyone have experience with this problem and/or this solution?
    My other problem is that Oracle says that Opportunity Partner data can not be imported, but I am guessing that someone knows how to do that in some way. maybe using web services??
    thanks

    Hi Mike,
    You may want to try posting your question regarding CRM On Demand's reporting capabilities to the Analytics forum: CRM On Demand Analytics and Reports
    Regarding your second question, WS can be used to associate Partner records as well as Contact records to an Opportunity.
    Thanks,
    Sean

  • How to make column headers in table in PDF report appear bold while datas in table appear regular from c# windows forms with sql server2008 using iTextSharp

    Hi my name is vishal
    For past 10 days i have been breaking my head on how to make column headers in table appear bold while datas in table appear regular from c# windows forms with sql server2008 using iTextSharp.
    Given below is my code in c# on how i export datas from different tables in sql server to PDF report using iTextSharp:
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows.Forms;
    using System.Data.SqlClient;
    using iTextSharp.text;
    using iTextSharp.text.pdf;
    using System.Diagnostics;
    using System.IO;
    namespace DRRS_CSharp
    public partial class frmPDF : Form
    public frmPDF()
    InitializeComponent();
    private void button1_Click(object sender, EventArgs e)
    Document doc = new Document(PageSize.A4.Rotate());
    var writer = PdfWriter.GetInstance(doc, new FileStream("AssignedDialyzer.pdf", FileMode.Create));
    doc.SetMargins(50, 50, 50, 50);
    doc.SetPageSize(new iTextSharp.text.Rectangle(iTextSharp.text.PageSize.LETTER.Width, iTextSharp.text.PageSize.LETTER.Height));
    doc.Open();
    PdfPTable table = new PdfPTable(6);
    table.TotalWidth =530f;
    table.LockedWidth = true;
    PdfPCell cell = new PdfPCell(new Phrase("Institute/Hospital:AIIMS,NEW DELHI", FontFactory.GetFont("Arial", 14, iTextSharp.text.Font.BOLD, BaseColor.BLACK)));
    cell.Colspan = 6;
    cell.HorizontalAlignment = 0;
    table.AddCell(cell);
    Paragraph para=new Paragraph("DCS Clinical Record-Assigned Dialyzer",FontFactory.GetFont("Arial",16,iTextSharp.text.Font.BOLD,BaseColor.BLACK));
    para.Alignment = Element.ALIGN_CENTER;
    iTextSharp.text.Image png = iTextSharp.text.Image.GetInstance("logo5.png");
    png.ScaleToFit(105f, 105f);
    png.Alignment = Element.ALIGN_RIGHT;
    SqlConnection conn = new SqlConnection("Data Source=NPD-4\\SQLEXPRESS;Initial Catalog=DRRS;Integrated Security=true");
    SqlCommand cmd = new SqlCommand("Select d.dialyserID,r.errorCode,r.dialysis_date,pn.patient_first_name,pn.patient_last_name,d.manufacturer,d.dialyzer_size,r.start_date,r.end_date,d.packed_volume,r.bundle_vol,r.disinfectant,t.Technician_first_name,t.Technician_last_name from dialyser d,patient_name pn,reprocessor r,Techniciandetail t where pn.patient_id=d.patient_id and r.dialyzer_id=d.dialyserID and t.technician_id=r.technician_id and d.deleted_status=0 and d.closed_status=0 and pn.status=1 and r.errorCode<106 and r.reprocessor_id in (Select max(reprocessor_id) from reprocessor where dialyzer_id=d.dialyserID) order by pn.patient_first_name,pn.patient_last_name", conn);
    conn.Open();
    SqlDataReader dr;
    dr = cmd.ExecuteReader();
    table.AddCell("Reprocessing Date");
    table.AddCell("Patient Name");
    table.AddCell("Dialyzer(Manufacturer,Size)");
    table.AddCell("No.of Reuse");
    table.AddCell("Verification");
    table.AddCell("DialyzerID");
    while (dr.Read())
    table.AddCell(dr[2].ToString());
    table.AddCell(dr[3].ToString() +"_"+ dr[4].ToString());
    table.AddCell(dr[5].ToString() + "-" + dr[6].ToString());
    table.AddCell("@count".ToString());
    table.AddCell(dr[12].ToString() + "-" + dr[13].ToString());
    table.AddCell(dr[0].ToString());
    dr.Close();
    table.SpacingBefore = 15f;
    doc.Add(para);
    doc.Add(png);
    doc.Add(table);
    doc.Close();
    System.Diagnostics.Process.Start("AssignedDialyzer.pdf");
    if (MessageBox.Show("Do you want to save changes to AssignedDialyzer.pdf before closing?", "DRRS", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Exclamation) == DialogResult.Yes)
    var writer2 = PdfWriter.GetInstance(doc, new FileStream("AssignedDialyzer.pdf", FileMode.Create));
    else if (MessageBox.Show("Do you want to save changes to AssignedDialyzer.pdf before closing?", "DRRS", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Exclamation) == DialogResult.No)
    this.Close();
    The above code executes well with no problem at all!
    As you can see the file to which i create and save and open my pdf report is
    AssignedDialyzer.pdf.
    The column headers of table in pdf report from c# windows forms using iTextSharp are
    "Reprocessing Date","Patient Name","Dialyzer(Manufacturer,Size)","No.of Reuse","Verification" and
    "DialyzerID".
    However the problem i am facing is after execution and opening of document is my
    column headers in table in pdf report from
    c# and datas in it all appear in bold.
    I have browsed through net regarding to solve this problem but with no success.
    What i want is my pdf report from c# should be similar to following format which i was able to accomplish in vb6,adodb with MS access using iTextSharp.:
    Given below is report which i have achieved from vb6,adodb with MS access using iTextSharp
    I know that there has to be another way to solve my problem.I have browsed many articles in net regarding exporting sql datas to above format but with no success!
    Is there is any another way to solve to my problem on exporting sql datas from c# windows forms using iTextSharp to above format given in the picture/image above?!
    If so Then Can anyone tell me what modifications must i do in my c# code given above so that my pdf report from c# windows forms using iTextSharp will look similar to image/picture(pdf report) which i was able to accomplish from
    vb6,adodb with ms access using iTextSharp?
    I have approached Sound Forge.Net for help but with no success.
    I hope anyone/someone truly understands what i am trying to ask!
    I know i have to do lot of modifications in my c# code to achieve this level of perfection but i dont know how to do it.
    Can anyone help me please! Any help/guidance in solving this problem would be greatly appreciated.
    I hope i get a reply in terms of solving this problem.
    vishal

    Hi,
    About iTextSharp component issue , I think this case is off-topic in here.
    I suggest you consulting to compenent provider.
    http://sourceforge.net/projects/itextsharp/
    Regards,
    Marvin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Download using open data set and close data set

    can any body please send some sample pgm using open data set and close data set .the data should get downloaded in application server
    very simple pgm needed

    Hi Arun,
    See the Sample code for BDC using OPEN DATASET.
    report ZSDBDCP_PRICING no standard page heading
    line-size 255.
    include zbdcrecx1.
    *--Internal Table To hold condition records data from flat file.
    Data: begin of it_pricing occurs 0,
    key(4),
    f1(4),
    f2(4),
    f3(2),
    f4(18),
    f5(16),
    end of it_pricing.
    *--Internal Table To hold condition records header .
    data : begin of it_header occurs 0,
    key(4),
    f1(4),
    f2(4),
    f3(2),
    end of it_header.
    *--Internal Table To hold condition records details .
    data : begin of it_details occurs 0,
    key(4),
    f4(18),
    f5(16),
    end of it_details.
    data : v_sno(2),
    v_rows type i,
    v_fname(40).
    start-of-selection.
    refresh : it_pricing,it_header,it_details.
    clear : it_pricing,it_header,it_details.
    CALL FUNCTION 'UPLOAD'
    EXPORTING
    FILENAME = 'C:\WINDOWS\Desktop\pricing.txt'
    FILETYPE = 'DAT'
    TABLES
    DATA_TAB = it_pricing
    EXCEPTIONS
    CONVERSION_ERROR = 1
    INVALID_TABLE_WIDTH = 2
    INVALID_TYPE = 3
    NO_BATCH = 4
    UNKNOWN_ERROR = 5
    GUI_REFUSE_FILETRANSFER = 6
    OTHERS = 7.
    WRITE : / 'Condition Records ', P_FNAME, ' on ', SY-DATUM.
    OPEN DATASET P_FNAME FOR INPUT IN TEXT MODE.
    if sy-subrc ne 0.
    write : / 'File could not be uploaded.. Check file name.'.
    stop.
    endif.
    CLEAR : it_pricing[], it_pricing.
    DO.
    READ DATASET P_FNAME INTO V_STR.
    IF SY-SUBRC NE 0.
    EXIT.
    ENDIF.
    write v_str.
    translate v_str using '#/'.
    SPLIT V_STR AT ',' INTO it_pricing-key
    it_pricing-F1 it_pricing-F2 it_pricing-F3
    it_pricing-F4 it_pricing-F5 .
    APPEND it_pricing.
    CLEAR it_pricing.
    ENDDO.
    IF it_pricing[] IS INITIAL.
    WRITE : / 'No data found to upload'.
    STOP.
    ENDIF.
    loop at it_pricing.
    At new key.
    read table it_pricing index sy-tabix.
    move-corresponding it_pricing to it_header.
    append it_header.
    clear it_header.
    endat.
    move-corresponding it_pricing to it_details.
    append it_details.
    clear it_details.
    endloop.
    perform open_group.
    v_rows = sy-srows - 8.
    loop at it_header.
    perform bdc_dynpro using 'SAPMV13A' '0100'.
    perform bdc_field using 'BDC_CURSOR'
    'RV13A-KSCHL'.
    perform bdc_field using 'BDC_OKCODE'
    '/00'.
    perform bdc_field using 'RV13A-KSCHL'
    it_header-f1.
    perform bdc_dynpro using 'SAPMV13A' '1004'.
    perform bdc_field using 'BDC_CURSOR'
    'KONP-KBETR(01)'.
    perform bdc_field using 'BDC_OKCODE'
    '/00'.
    perform bdc_field using 'KOMG-VKORG'
    it_header-f2.
    perform bdc_field using 'KOMG-VTWEG'
    it_header-f3.
    **Table Control
    v_sno = 0.
    loop at it_details where key eq it_header-key.
    v_sno = v_sno + 1.
    clear v_fname.
    CONCATENATE 'KOMG-MATNR(' V_SNO ')' INTO V_FNAME.
    perform bdc_field using v_fname
    it_details-f4.
    clear v_fname.
    CONCATENATE 'KONP-KBETR(' V_SNO ')' INTO V_FNAME.
    perform bdc_field using v_fname
    it_details-f5.
    if v_sno eq v_rows.
    v_sno = 0.
    perform bdc_dynpro using 'SAPMV13A' '1004'.
    perform bdc_field using 'BDC_OKCODE'
    '=P+'.
    perform bdc_dynpro using 'SAPMV13A' '1004'.
    perform bdc_field using 'BDC_OKCODE'
    '/00'.
    endif.
    endloop.
    *--Save
    perform bdc_dynpro using 'SAPMV13A' '1004'.
    perform bdc_field using 'BDC_OKCODE'
    '=SICH'.
    perform bdc_transaction using 'VK11'.
    endloop.
    perform close_group.
    Hope this resolves your query.
    Reward all the helpful answers.
    Regards

  • "Expected Close" date needs to be 30 days from opened on day

    Hi all,
    We are trying to auto-populate an opportunity field ("expected close") with a date that would be 30 days in the future from the opportunity field "opened on" date. We have the opened on date already set so that it auto-populates with the date that a new opportunity is created.
    This is what we have tried so far in the opportunity field edit area:
    [<CloseDate>]=Today()+30
    Any ideas as to why this isn't working, and ideas on how to make it work are appreciated!!

    Yes this works.
    Go to the Admin Section, Application customization, pick the field that you want to update (in our case Opportunity),
    Click Opportunity Field Set-up, pick the field that you will update (in our case Close Date) and click "edit".
    In the Default Value add this: Today()+30 (or however many days you want (in our case "30"days from created date))
    click "Save"
    Log out and log back in to see if update has happened.
    GOOD LUCK!!

  • My firefox always opens a crash report when I close it. Even if I have no tabs open and close firefox.

    The Crash information is:
    AdapterDeviceID: 95c4
    AdapterVendorID: 1002
    Add-ons: TFToolbarX@torrent-finder:1.2.6,{1de0de3c-0b5c-4f67-90c6-689623894991}:0.3,{9fb7d178-155a-4318-9173-1a8eaaea7fe4}:2.1.11,{B17C1C5A-04B1-11DB-9804-B622A1EF5492}:1.2.1,{c0c9a2c7-2e5c-4447-bc53-97718bc91e1b}:5.4,{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}:1.3.9,{D4DD63FA-01E4-46a7-B6B1-EDAB7D6AD389}:0.9.8,{ef4e370e-d9f0-4e00-b93e-a4f274cfdd5a}:1.4.4,{b9db16a4-6edc-47ec-a1f4-b86292ed211d}:4.9.5,[email protected]:4.0.2,{1E73965B-8B48-48be-9C8D-68B920ABC1C4}:10.0.0.1410,avg@igeared:7.008.031.001,[email protected]:1.3.5
    AvailableVirtualMemory: 3804364800
    BuildID: 20110902133214
    CrashTime: 1316851060
    EMCheckCompatibility: true
    Email: [email protected]
    FramePoisonBase: 00000000f0de0000
    FramePoisonSize: 65536
    InstallTime: 1315413340
    Notes: AdapterVendorID: 1002, AdapterDeviceID: 95c4, AdapterDriverVersion: 8.872.0.0
    D2D? D2D+
    DWrite? DWrite+
    D3D10 Layers? D3D10 Layers+
    ProductName: Firefox
    ReleaseChannel: release
    SecondsSinceLastCrash: 452
    StartupTime: 1316850895
    SystemMemoryUsePercentage: 78
    Theme: LavaFox_V1-Blue
    Throttleable: 1
    TotalVirtualMemory: 4294836224
    URL: https://support.mozilla.com/en-US/questions/new?product=desktop&category=d2&search=My+firefox+always+opens+a+crash+report+when+I+close+it.+Even+if+I+have+no+tabs+open+and+close+firefox.&showform=1
    Vendor: Mozilla
    Version: 6.0.2
    Winsock_LSP: MSAFD Tcpip [TCP/IP] : 2 : 1 :
    MSAFD Tcpip [UDP/IP] : 2 : 2 : %SystemRoot%\system32\mswsock.dll
    MSAFD Tcpip [RAW/IP] : 2 : 3 :
    MSAFD Tcpip [TCP/IPv6] : 2 : 1 : %SystemRoot%\system32\mswsock.dll
    MSAFD Tcpip [UDP/IPv6] : 2 : 2 :
    MSAFD Tcpip [RAW/IPv6] : 2 : 3 : %SystemRoot%\system32\mswsock.dll
    RSVP TCPv6 Service Provider : 2 : 1 :
    RSVP TCP Service Provider : 2 : 1 : %SystemRoot%\system32\mswsock.dll
    RSVP UDPv6 Service Provider : 2 : 2 :
    RSVP UDP Service Provider : 2 : 2 : %SystemRoot%\system32\mswsock.dll
    This report also contains technical information about the state of the application when it crashed.

    Have a read of the rather complicated article
    * [[firefox crashes]]
    * and for anyone with firefox crashing before you can key in about:crashes see: <br/> http://kb.mozillazine.org/Breakpad#Location_of_crash_reports
    I note you have found bp-54df2ba6-de52-405d-9ccc-4dd272110924 have you any other recent crash signatures or crash IDs, the one you provide seems rather uncommon [https://crash-stats.mozilla.com/report/list?product=Firefox&query_search=signature&query_type=exact&query=karasx2.dll%400x2535&reason_type=contains&date=09%2F24%2F2011%2001%3A44%3A07&range_value=1&range_unit=weeks&hang_type=any&process_type=any&do_query=1&signature=karasx2.dll%400x2535 [karasx2.dll%400x2535]]
    Do you still get the problem in [[safe mode]] and with default themes, and all plugins disabled. Note common causes of crashes are malware, and versions of the software IDvault. (do you use IDvault ? - often provided by Comcast)

  • Open item due date forecast

    Hi
    i run the report   due date forecast for particular customer   fi customer only
    it gives report like
    company code  /   busa  /   total open / due in 8days or less  /  due in 30 days or less  /due in 30 days or more
    data came only in company code  and business area  and total open otems
    issue is  i would like to generate one report   i need some data in  due in 8days  or less  /// due in 30 days or less
    inorder to get this report  what should i do   i need to do any  i need to assign any dunning procedure in customer data
    plz  put some light on this
    thanks
    mvnr

    Hello,
    If the standard report are not sufficing your requirement,
    I would suggest you create a FORM in FDI4 - Refer FDI5 and FDI6 for standard forms.
    Create a report in FDI1 and assign the form that you have created in FDI4.
    Refer FDI2 and FDI3 for standard reports.
    You can flexibly configure the forms according to your requirement and even add the formulas.
    Regards,
    Ravi

  • Creating report based on master data

    Hi Guys,
    I want to create a specific report based on master data in BI cube. for example... a report which takes cost center and period as variable and display expenses for that period and cost center. This report I want to create for all cost center in BI database separately. any idea how can we do this?
    There are 2000 cost centers and I need to print/send 2000 reports one for every cost center.
    If I store all cost center in excel file, can it be easier?
    broadcasting and creating 2000 schedule - not option.
    Thanks..SM

    Hi  stuti misra,
    Create ONE Query with selection Cost Center and Period are inputs.
    Create text variables for Cost Center and Period and add in Query Description.
    After query execution you can see description based on selection in workbook or webtemplate.
    Hope it Helps
    Srini
    [Dont forget to close the call by assigning poings.... - Food for Points: Make a Difference through Community Contribution!|https://www.sdn.sap.com/irj/sdn/index?rid=/webcontent/uuid/007928c5-c4ef-2a10-d9a3-8109ae621a82]

  • Incorrect product in the transactional cube for opportunity planning data.

    Hi,
    We're loading our Opportunity planning data of  CRM  in a transactional cube in BW side. Later this transactional cube data is then uploaded into a standard cube.
    For an opportunity, user enter some planning data for a given product (A). which was duly stored in transactional and then later in the standard cube.  Then  user deleted the product (A) and entered a new product (B) on CRM side.  However in the transactional cube, records for the previous product (A) also exist and the same flows to the standard cube as well.
    Fyi, delta load mechanism is in place for loading of both types of cubes.
    Could someone throw some light why the old item (product A) is still there in the cubes. coz this gives a wrong picture in the report, though the key figures for product A  are 0.
    Regards,
    Nagendra.

    A daily compression would remove the loading details of the cube that are visible to us for any back-tracking, Normally we do the compression for load requests older than 2 weeks.
    But the suggestion is good, incase i do not come up with any other soln, will think of implementing this.
    Maybe my delta load knowledge is not good enough.
    Please answer the following.
    What happens, when we're using standard data sources (with delta load) for loading data from (say) CRM to BW and for a given header guid, a item guid record is later deleted in CRM. On BW side, whether this item_guid record will still be present in the cube or be deleted.
    Regards,
    Nagendra.

  • CRM Workflow notification upon close date approching

    Hello,
    I want to setup a workflow that looks at the close date in an Opportunity record and when there are 2 days until the Close date specificed in the Opportunity record the workflow will send an email out to the owner of the opportunity…and then repeat when there is 1 day left...
    The email notification proves to work, but the notification is being sent upon the trigger event (which I have set to when a new record is created)...I have setup a Wait Action before the email notifiction of 'Until When' - Date Time Expression [<CloseDate>] - ("2D") .... (note: I tried [<CloseDate>] - period("2D") as well, but that didn't prove to be successful either.
    Any direction would be very helpful.
    Thank you.

    syntax: Today() + Duration ("P1D")
    I see a new requirement in your followup post. You are trying to change the date and you want one email per wait period. I have suggested solutions in other posts, so you have to modify the solution to your needs:
    Re: Time based workflow:wait action not working
    Send notification on pre-defined date

  • Open data set and close data set

    hi all,
    i have some doubt in open/read/close data set
    how to transfer data from internal table to sequential file, how we find sequential file.
    thanks and regards
    chaitanya

    Hi Chaitanya,
    Refer Sample Code:
    constants:   c_split         TYPE c
                               VALUE cl_abap_char_utilities=>horizontal_tab,
               c_path          TYPE char100
                               VALUE '/local/data/interface/A28/DM/OUT'.
    Selection Screen
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS : rb_pc    RADIOBUTTON GROUP r1 DEFAULT 'X'
                                    USER-COMMAND ucomm,    "For Presentation
                 p_f1     LIKE rlgrap-filename
                                          MODIF ID rb1,    "Input File
                 rb_srv   RADIOBUTTON GROUP r1,             "For Application
                 p_f2     LIKE rlgrap-filename
                                         MODIF ID rb2,     "Input File
                 p_direct TYPE char128 MODIF ID abc DEFAULT c_path.
                                                           "File directory
    SELECTION-SCREEN END OF BLOCK b1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_f1.
    *-- Browse Presentation Server
      PERFORM f1000_browse_presentation_file.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_f2.
    *-- Browse Application Server
      PERFORM f1001_browse_appl_file.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF rb_pc = 'X' AND screen-group1 = 'RB2'.
          screen-input = '0'.
          MODIFY SCREEN.
        ELSEIF rb_srv = 'X' AND screen-group1 = 'RB1'.
          screen-input = '0'.
          MODIFY SCREEN.
        ENDIF.
        IF screen-group1 = 'ABC'.
          screen-input = '0'.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    *&      Form  f1000_browse_presentation_file
          Pick up the filepath for the file in the presentation server
    FORM f1000_browse_presentation_file .
      CONSTANTS: lcl_path TYPE char20 VALUE 'C:'.
      CALL FUNCTION 'WS_FILENAME_GET'
        EXPORTING
          def_path         = lcl_path
          mask             = c_mask  "',.,..'
          mode             = c_mode
          title            = text-006
        IMPORTING
          filename         = p_f1
        EXCEPTIONS
          inv_winsys       = 1
          no_batch         = 2
          selection_cancel = 3
          selection_error  = 4
          OTHERS           = 5.
      IF sy-subrc <> 0.
       MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
               WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        flg_pre = c_x.
      ENDIF.
    ENDFORM.                    " f1000_browse_presentation_file
    *&      Form  f1001_browse_appl_file
       Pick up the file path for the file in the application server
    FORM f1001_browse_appl_file .
      DATA:  lcl_directory  TYPE char128.
      lcl_directory  = p_direct.
      CALL FUNCTION '/SAPDMC/LSM_F4_SERVER_FILE'
        EXPORTING
          directory        = lcl_directory
          filemask         = c_mask
        IMPORTING
          serverfile       = p_f2
        EXCEPTIONS
          canceled_by_user = 1
          OTHERS           = 2.
      IF sy-subrc <> 0.
       MESSAGE e000(zmm) WITH text-039.
       flg_app = 'X'.
      ENDIF.
    ENDFORM.                    " f1001_browse_appl_file
    *&      Form  f1003_pre_file
        Upload the file from the presentation server
    FORM f1003_pre_file .
      DATA: lcl_filename TYPE string.
      lcl_filename = p_f1.
      IF p_f1 IS NOT INITIAL.
        CALL FUNCTION 'GUI_UPLOAD'
          EXPORTING
            filename                = lcl_filename
            filetype                = 'ASC'
            has_field_separator     = 'X'
          TABLES
            data_tab                = i_input
          EXCEPTIONS
            file_open_error         = 1
            file_read_error         = 2
            no_batch                = 3
            gui_refuse_filetransfer = 4
            invalid_type            = 5
            no_authority            = 6
            unknown_error           = 7
            bad_data_format         = 8
            header_not_allowed      = 9
            separator_not_allowed   = 10
            header_too_long         = 11
            unknown_dp_error        = 12
            access_denied           = 13
            dp_out_of_memory        = 14
            disk_full               = 15
            dp_timeout              = 16
            OTHERS                  = 17.
        IF sy-subrc <> 0.
          MESSAGE s000 WITH text-031.
          EXIT.
        ENDIF.
      ELSE.
       PERFORM populate_error_log USING space
                                        text-023.
      ENDIF.
    ENDFORM.                    " f1003_pre_file
    *&      Form  f1004_app_file
         upload the file from the application server
    FORM f1004_app_file .
      REFRESH: i_input.
      OPEN DATASET p_f2 IN TEXT MODE ENCODING DEFAULT FOR INPUT.
      IF sy-subrc EQ 0.
        DO.
          READ DATASET p_f2 INTO  wa_input_rec.
          IF sy-subrc EQ 0.
    *-- Split The CSV record into Work Area
            PERFORM f0025_record_split.
    *-- Populate internal table.
            APPEND wa_input TO i_input.
            CLEAR wa_input.
            IF sy-subrc <> 0.
              MESSAGE s000 WITH text-030.
              EXIT.
            ENDIF.
          ELSE.
            EXIT.
          ENDIF.
        ENDDO.
      ENDIF.
    ENDFORM. " f1004_app_file
    Move the assembly layer file into the work area
    FORM f0025_record_split .
      CLEAR wa_input.
      SPLIT wa_input_rec AT c_split INTO
        wa_input-legacykey
        wa_input-bu_partner
        wa_input-anlage.
    ENDFORM.                    " f0025_record_split
    Reward points if this helps.
    Manish

Maybe you are looking for

  • [SOLVED] Problem with Vuze and Java RE x86_64

    Hello all ! First of all, sorry if this issue was posted before, but find no related issue similar to mine. Using pacman, I successfully installed JRE (version 6u16-1-x86_64) and Vuze (version 4.2.0.8-1, former Azureus), but Vuze doesn't want to star

  • Can not setup my icloud mail account on my new mbp

    i just bought my new mbp 13" and signed in into my icloud account but when trying to setup my icloud mail i get a failure logging into the icloud server but all other mails and internet setting are ok. what to do? also when i open the pref of mail an

  • Urgently need solution for Pricing Error: Mandatory condition type missing

    Hello, All I am working on CRM 5.0 service module and I am facing a problem while creating a service order. When I enter the product in the service order it gives me an error "pricing error: mandatory condition type Z### is missing" even though I mai

  • Can I filter based on new column created

    Can I add a where clause based on the new column r_text. I only need to output the records when count of the query in the select is 0. Thus do I need to add in the where clause eg where r_text <> ''. The problem is r_text is not a valid coulumn in th

  • Hay guys ,

    i have iphone 4 and i update it to ios 7 .in a phone call other side can't hear me.can i fix it or un update ios 7 .how to un update ios 7 . plz help me