Quantcast
Channel: SCN: Message List
Viewing all 8851 articles
Browse latest View live

Re: Store in Cost Center based on Cost Centre Dimension attribute


Re: Recreate RFC SAPOSS

Re: OCRD.ECVatGroup

Re: OCRD.ECVatGroup

Re: bapi_bupa_address_change not updating customer master but updating the BP

Re: Cannot insert or upload an image

$
0
0

Hi Tammy,

 

we have identified this issue already and are investigating it. We have seen different behaviours with different browsers. Seems there is a JS issue, where the button doesn't get enabled once you have selected a picture from the browse selector. It is currently unclear where this comes from as we don't see the same behaviour on our QA instance. I've opened ticket COMM-3033 for this and added it to the SCN Known Issues List.

 

We hope to have it fixed as soon as possible.

 

Best,

  Oliver

Out of Memory - Printing Crystal Reports from Viewer VS2010 .Net 4 CR13.0.7

$
0
0

My test users have recently received the error Out of Memory when printing reports. Here is some information.

 

I have recently upgraded from

development machine: XP Sp3 VS2003 (CR for VS2003) .Net Framework 1.1 to Windows 7 32 bit SP1 VS2010 (CR 13.0.7) .Net Framework 4

production machines are Windows 7 64 bit 4gig+ RAM (CR 32bit 13.0.7 runtime)

 

The application is .NET C# WinForms

 

When doing some testing I have watched my application go from using 150MB to 250MB after the report has loaded in the CR Viewer that's ok but when I print from the viewer to Microsoft XPS Document Printer the memory used by my application spiked at over 1200MB !

The report had an image (only 17Kb) as a watermark on an underlay section but I removed that and the memory spiked at over 900MB.

 

I tested using a PDF print driver and the memory went from 250MB to spiking at 850MB.

 

Out of interest I ran some tests on the old set up XP VS2003 .Net 1.1 and the memory never went over 200MB.

 

I have been careful to design the reports properly, they even do less filtering than previously.

 

The MAX total records would be around 2500 with 600 pages in the report.

 

The database is SQL Server 2008 R2 and I am connecting the reports using ConnectionInfo and integrated security.

 

The reports are being closed and disposed I have code that tells me if even 2 reports are open at the same time

 

Where can I go from here to get the memory used down and stop these errors on the production side?

 

System.OutOfMemoryException: Out of memory.    at System.Drawing.Graphics.CheckErrorStatus(Int32 status)    at System.Drawing.Graphics.DrawImage(Image image, Int32 x, Int32 y, Rectangle srcRect, GraphicsUnit srcUnit)    at CrystalDecisions.Windows.Forms.PageControl.OnPaint(PaintEventArgs e)    at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)    at System.Windows.Forms.Control.WmPaint(Message& m)    at System.Windows.Forms.Control.WndProc(Message& m)    at System.Windows.Forms.ScrollableControl.WndProc(Message& m)    at System.Windows.Forms.UserControl.WndProc(Message& m)    at CrystalDecisions.Windows.Forms.PageControl.WndProc(Message& m)    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Re: Blank VS 2010 Crystal reports

$
0
0

Hi Ludek,

 

Thanks for getting back to me.  I am using the crystal reports that came with VS 2010 so version

13.0.2000.0.  The last update I ran was CRforVS_13_0_5.exe.  I use a Crystal Report Viewer control and below is the code that displays the report.  I assumed once they close the report objects get discarded.  The error message is:  'Load report failed' as you guessed correctly.  Here's my code:

 

        private void ConfigureCrystalReports()
        {
            try
            {
                ReportDocument crystalReport;
                string FileName = null;

                string reportPath = Server.MapPath(repFolder + "/" + repName + ".rpt");  //Gets the report file name
                crystalReport = new ReportDocument();
                crystalReport.Load(reportPath);

                ConnectionInfo connectionInfo = new ConnectionInfo();
                connectionInfo.ServerName = SharedGlobal.ServerName();
                connectionInfo.DatabaseName = SharedGlobal.DatabaseName();
                connectionInfo.UserID = SharedGlobal.UserID();
                connectionInfo.Password = SharedGlobal.Password();

                crystalReport.SetDatabaseLogon(connectionInfo.UserID, connectionInfo.Password, connectionInfo.ServerName, connectionInfo.DatabaseName);

                TableLogOnInfo tbLogOnInfo = new TableLogOnInfo();
                tbLogOnInfo.ConnectionInfo = connectionInfo;
                foreach (CrystalDecisions.CrystalReports.Engine.Table tb in crystalReport.Database.Tables)
                {
                    tb.ApplyLogOnInfo(tbLogOnInfo);
                }

                SetCurrentValuesForParameterField(crystalReport.ParameterFields);

                CrystalReportViewer1.ReportSource = crystalReport;  // uses the crystal report viewer in the aspx file
            }
            catch (Exception ex)
            {
                // Code to report error
            }
        }


Re: ZMHF - errors relating to tasklist when creating new document

$
0
0

Hi Frans,

 

Normally this type of issue arises due to developer role missing, please check the below discussion

 

http://scn.sap.com/thread/3353459

 

Also better switch on the trace and check the authorization issue on particular status chnage and solve it.

 

Rg,

Karthik

Re: Sales Representative in Retail Store

$
0
0

Hi Neeraj/Shridar,

 

thanks for the reply,

 

I want to capture this scenario in the POS simultation(WPUK)....not through sales order.

 

As i have provided in the screenshot, the sales person mentioned in the picture is same as the sales representative?

 

Thanks

Kevin

Re: Stock aging report in BI

$
0
0

Hi Manju,

 

Need a similar offset calculation in one aging am doing.

Can you please confirm if the CAL_DAY that you used is ONLY interval and not single date?

Please look into my thread.

 

How to achieve similar count when we are using single date entry?

 

Offset not working on single date entry

Re: Deactivate custom tab

$
0
0

hi Sandeep,

 

Maybe you can use this BADI, 'ME_CHECK_ALL_ITEMS', when check the header data, you export the  LFM1 data to memory, then, in ME_GUI_PO_CUST, you can import those data to judgement.

 

Regards,

Archer

Re: CJ40 cost planning

$
0
0

To Achieve Detailed Cost Planning w.r.t cost center, cost element Use CJR2.

Check the Profile Settings for Cost Plan

OF12 in Former budgeting

$
0
0

Hi,

 

We have configured FM Budget profile in OF12. Our setting for Time frame is as per below:

 

Past - 4

Future - 4

 

We need to cancel a 2008 PO. The system displays budget error. When we are trying to supplement the budget for the year of 2008, the system gives an error message , Enter year between 2009 - 2017 ( as per setting in OF12).

 

My question is, can we change the Time Frame setting temporarily to allow budget supplement & PO cancellation and set back the setting to the original?

Is there any implication in doing so?

 

Kindly advise.

 

Thank you.

SAP CPS M33.74 Mass change of QUEUE

$
0
0

Hello Team,


Good day!

Would like to seek for your idea on how to perform MASS CHANGE OF QUEUE in SAP CPS M33.74.

 

Currently, we have 1000 Jobs deployed in various development system and due to changing landscape we need to change the queue from time to time.

 

I tried selecting 5 items in the Job Monitor but the system is not allowing me to change the assigned queue.

 

Anyone of you with idea on how to change this?


Regards,

Jarenz P. Llantero


Re: SAP NetWeaver Install with Cloud Based HANA Installation

$
0
0

What does the command 'hostname' returns? If it returns only the host name (and not the Fully Qualified Domain Name) then everything is fine and the installation can continue.

Re: Inputs reg currency translation

$
0
0

Hi Sai,

 

I think it should be work can you please check following on help.sap.com.

 

Transferring Translation Currency Exchange Rates on R/3 Systems

 

Please check.

many users will also follow the second option mentioned by you.

 

Regards,

Ganesh Bothe

Re: String to date conversion error

$
0
0

     Fayaz,

 

        SimpleDateFormat formatter =newSimpleDateFormat("dd/MM/yyyy");

        String dateInString ="7/12/2013";

 

        try{

               Date date = formatter.parse(dateInString);

               System.out.println(date);

               System.out.println(formatter.format(date));

 

        }catch(ParseException e){

               e.printStackTrace();

        }


or


         String startDateString = "20/06/2013";

        DateFormat df = new SimpleDateFormat("dd/MM/yyyy");

         Date startDate;

    try {

        startDate = df.parse(startDateString);

        String newDateString = df.format(startDate);

        System.out.println(newDateString);

    }

     catch (ParseException e)

     {

        e.printStackTrace();

    }

 

Please try above code. Hope this is helpful !!!


Regards

Vijay K

Re: Dumpload task SQL property!!

$
0
0

Hi Roberto,

 

Thanks for the reply, I got your point on view but in this case we are not creating any view rather than its a SQL query which is being passed in SQL property of Dumpload task. I think when using SQL property of Dumpload task we need to select all the fact tables column otherwise it gives error.

 

Thanks & Regards,
Rohit

Withholding tax accumulation for more than a year

$
0
0

Hello experts,

 

We have a scenario to deduct security deposit for vendors after their bill amount reaching certain amount say 10,00,000. We have already configured security deposit in Withholding tax code route. We have developed a Z report to arrive bills passed till date and activating Withholding tax code created for SD purpose.

 

Now we thought of using WT accumulation route in conjunction with formulas for WT to define up to certain amount, zero SD and after that the desired rate. The problem in using accumulation is, we can accumulate only for the year or calendar year or monthly or quarterly. There is no provision for accumulating more than a year.

 

Kindly suggest how to achieve the requirement.


Regards,

G.Sethuraman

Viewing all 8851 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>