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

Re: Smartform as PDF

$
0
0

Hi Anil,

 

I don't want to display the PDF manually, it should come as normal print preview.


Re: Smartform as PDF

$
0
0

Hi Shravan,

 

Thanks.....As per your logic, i am now disabling the print window but how about pdf??

ALE IDOC IDOC_INBOUND_SINGLE updation issue

$
0
0

Hi Sreenivasa,

 

pi_do_commit = 'X' will update the records.

How will it help me for lost record?

 

Best Regards,

Varun D.

Re: How to upload given XML file to SAP

$
0
0

Obviously, I am calling CALL TRANSFORMATION in my program

 

My question is how to transform rows like below, what exactly do I have to write in my transformation.

    <field key="ctDate" value="27-11-2012" />

     <field key="ctMonth" value="11" />

Re: Pricing Doubt

$
0
0

Thanks Ilango,

 

I will proceed as follows:-

 

1. Will use separate document pricing procedure for Quotation and SO.

2. Will enter condition type to be adjusted manually in Billing Document with zero value in SO.

3. In VOFA will activate check box posting block so that accounting document will not create automatically.

4. Will maintain the amount to be adjusted / deducted in Billing document as negative value.

5. From VF02 will release the Billing document for accounting.

 

Please advise is the above steps are OK or not. If you finding any technical issue also please let me know.

 

Thanks

Abdul

Re: Smartform as PDF

Re: Problems with dropIndex in ProcessChain

$
0
0

Hi,

 

In the chain-->Drop Index step-->What does it show in Display messages on right click?

 

You can check any activity is going on SM50.

 

If you are sure that dropping have been happened properly, then you can make the step green by using the below link.

http://scn.sap.com/docs/DOC-22693

 

Regards,

Suman

Re: Determine memory allocation to the current work process during report execution.

$
0
0

Hi Saurabh,

 

The first one should be possible. Generally you can catch the exception in Try......Enddtry block and call the get_text() method to display the error text. This will prevent the program from dumping.

 

Sample snippet - >

 

Assuming TSV_TNEW_PAGE_ALLOC_FAILED is exception class's name

 

data :

         lv_ref               TYPE REF TO TSV_TNEW_PAGE_ALLOC_FAILED,

         lv_err_txt         TYPE        string.

 

      TRY.

*-- Your code which can cause exception         

        CATCH TSV_TNEW_PAGE_ALLOC_FAILED INTO lv_ref.

          lv_err_txt = lv_ref->get_text( ).

      ENDTRY.

      IF lv_err_txt IS NOT INITIAL.

        MESSAGE lv_err_txt TYPE 'E'.

      ENDIF.

 

 

Revert if i didn't understand you correctly.

 

BR.


Re: how to call findAll method in HTML javascript for Embedded Html

$
0
0

Hi David,

     Thanks for input. It Helped me.

 

 

<script>

        function findIbase() {

                                var v_mbo = new MBO5();

                              alert("Hello end1");

                                v_mbo.pks.put(VinPK_pkKey,"");

                              alert("Hello end2");

                              var credInfo = "supusername=supAdmin&suppassword=********";

                              var reg_value = document.getElementById('Reg_no_input').value;

                                v_mbo.pks.put(LpnoPK_pkKey,reg_value );

                                 alert(reg_value);

                              MBO5_findAll( v_mbo , credInfo ,  function(error){

                              alert("Hello end6");

                                    alert(error);

                              });

           alert("Hello end4");

         

           hwc.processDataMessage = function (incomingDataMessageValue) {

                              alert("Hello end5");

                               if (incomingDataMessageValue.indexOf("<M>") != 0) {

                                         alert("An error occurred! " + incomingDataMessageValue);

                                         }

                               var workflowMessage = new

                              WorkflowMessage(incomingDataMessageValue);

                               var values = workflowMessage.getValues();

                               var empList = values.getData("MBO5");

                               var firstEmp = empList.value[0];

                               var firstName =

                              firstEmp.getData("MBO5_INSTANCE_attribKey").value;

                              alert("The name of the first employee is " + firstName);

                               }  }

 

Now I am getting up-to  alert("Hello end4");

alert("Hello end5"); popup is not coming

Note:Here MBO5_findAll method is correct ( if i changed to some other "alert("Hello end4"); " is not displaying.

 

Thanks in advance

Sureshb

Re: Determine memory allocation to the current work process during report execution.

SNI Alert - 7060 Generation

$
0
0

Hi All,

 

This query is regarding generation of the 7060 Alerts (SNI Alerts).

 

We have maintained the following:

 

1. The Alert 7060 is activated in SPRO > SNC > Exceptions > Alert Type Activation > Activate Alert Types

2. Defined an Alert Rule from the SNC Web UI under Customer View (Exceptions > SNI Alert Rules). We have taken care to define a valid Alert Rule.

3. We have simulated a situation where the above Rule condition is met for a Location Product

4. Executed the report /SCA/SNIINVALERTSWRITE with SNI Alert option checked and choosing the suitable Location / Product / Alert Rule.

5. We also ran the report - /SCA/GENERATE_PLC  (Update Location Product Buffer Table) in Dialog mode.

 

 

We are not seeing any 7060 alerts in Alert Monitor even though there are enough situations where this alert should get generated. We alos checked for entries in the Table - /SCMB/ALERTV7060 but didnt find any.

 

 

Are we missing any steps / prerequisites for this to work?

 

 

Regards,

 

Bharath

Re: EASERVER 6.3.1 : location of web application properties(terminalregister.properties) file.

$
0
0

Hi Kunal,

 

The default path location for your properties file in EAServer 6.3.1 is the root EAServer6 directory.  In the earlier version of EAServer the default location was the EAServer/bin directory, but that location changed due to the architecture changes of the underlying EAServer design.

 

Cheers,

-Ken

Re: Split a batch in a production order

$
0
0

Hello,

In Production order Component overview just on the bottom tool bar there is a batch determination option select your material and click on batch determination and you can split the batches there.

 

Batch Split.jpg

 

Thanks and Regards,

Pankaj Naik.

Re: SUM 1.0 SP07 - Java upgrade, CDs have not been mounted

$
0
0

oh my good, a nasty trap !!!! designed by SAP.

and a lock at google search shows, i am not the first one to fail on this 

 

what has happened:

 

my fault was to use the SAP default value for the target directory

when extracting the 4 packages of downloaded files.

 

when downloading the (in my case) 4 packages of components

- abap installation (2 files)

- abap upgrade (4 files)

- java (5 files)

- language (4 files)

 

1. extracting the abap-installation files, the SAP default-value for directory is 51043228,

for example extract in c:\NW731\ the self-extracting archive creates a directory c:\NW731\51043228\ and stores the content in it.

 

2. extracting the abap-upgrade files, the SAP default-value for directory is again 51043228,

for example extract in c:\NW731\ the self-extracting archive creates a directory c:\NW731\51043228\ and stores the content in it (and as i know now , overrides some content of the first extraction. e.g. the MID.xml file in c:\NW731\51043228\   )

 

and so on ....

extracting all self-extracting archive in the same (SAP default) directory overrides everytime the MID.xml file in c:\NW731\51043228\

 

so last i did the language pack extraction and this overrides the MID.xml file in c:\NW731\51043228\ from java-extraction.

 

and that is the point, why SUM Java Upgrade did not find the Java content in the c:\NW731\51043228\ directory !!! - because SUM only looks first in MID.xml !!!

 

who had designed this concept by SAP ? - using the same default directory-name and using for some files every time the same name  e.g. MID.xml  but with different content?

this person should be beaten every day for 2 hours (for the next 3 years)

 

This is totally disappointing and frustrating and it costs me about several hours of my short live

and it costs valuable time in our upgrade-planing.

(what the competition would say about such long upgrade times (several weeks)  and upgrade efforts)

 

so, you have to extract several different download components in different directorys !!!

 

by the way,

SAP-support was unable to resolve this issue in a high-priority ticket within about 30 hours.

SD FI Integration Error

$
0
0

Dear Gurus,,

 

I have two condition types of tax, MWST and ZFUT both have the same GL, when i save the billing document no accouting document is generated, giving message that tax code is not assign to account key MWS, both condition type have the same account key.

Basically error I have notices is in ZFUT, because when in condition type i make his setting from tax to "discount or surcharge" accounting document is generated but when i configure category as Tax it will not generate the accouting document, i have match rest of the setting with MWST and ZFUT.

 

Please advise how should i resolve this issue.

 

looking for the response.

 

Rgds,


Re: Slow report performance after migration from CRVS 2005 to CRVS 2010

$
0
0

Hi Ludek,

I have received some feedback from the business. After applying/verifying the changes recommended by you all in this thread the business has seen some improvement with performance. Report in older version used to load in 10 secs, where as now it loads in 35 secs. It used to take over 43 secs before the new fixes. So seems like a good start but there are room for improvement.

 

I was able to get the two CR reports (one old and one new converted) and will attach it in zip file to your email. They have given us the reports with the corresponding web.config files.

 

I have also recommended them (as per your advice) to try putting report in session. They have tried that option but has been seeing issues implementing it. I think they need direction verifying the logic of putting report in session. Below is their code (they use vb):

 

 

+ It doesn't look like crReportDocument has all the info those are needed for the second load. It doesn't make sense to me cr will need the database location/connection or parameters for the second load, but I thought I would try to provide the info for the second load to see if it would bypass the error. So, I modified the code as the following:
Dim crReportDocument as New CrystalDecisions.CrystalReports.Engine.ReportDocument ' This object is defined as class member, not locally
....
Dim physicalPath as string =  .....  This is  <path/filename of the cr report>
crReportDocument.Load(physicalPath)
....
< here we setup the connection to database with user name /password for the crReportDocument object>
   
If Not IsPostBack then
CrystalReportViewer1.ReportSource = crReportDocument '  We assign cr report document to the cr viewer control in the page.
     Session ("crreport") = crReportDocument
else
If Session("crreport") is nothing then
<log the error.   I never hit this path, meaning cr report data has been stored in the session>
else
CrystalReportViewer1.ReportSource = Session("crreport")
end if
end if
<then,  here we initiate parameters ceParameters for the cr report viewer control>
CrystalReportViewer1.ParameterFieldInfo = ceParameters
CrystalReportViewer1.RefreshReport

The result for this is:
    - First load is the same as previous one -  35 secs.
    - Second load (select a group tree item). This hang. I have the spinning picture standing there until I close the page. In the log, I have the following error :


I can't figure out what object CR looks for. My questions are:
+ Can you see what is missing or wrong in the logic of using the session?
+ What is the object CR looking for if you can trace it out from the error?
+ Is there any property that need to be set for the crystal viewer control in the asp page to tell cr using session?

 

 

Your advice will be much appreciated

 

Rafiq

Re: Result Analysis - Expert Suggestion

$
0
0

The requirement is to move the plan revenues to recognized revenue after 'TECO', even if the project has not been billed.

Re: How to show both Key and Text in Prompt LOV based on variable from BW query BO 4.0 SP6 BICS

$
0
0

Why are you then indicating that the setting is not surfaced in Web Intelligence and point to a document that looks after the support in the reports ?

 

 

ingo

Re: Hana tools support for eclipse kepler

$
0
0

Hi Tobias,

 

Yes - and hopefully it will be available within the next couple of weeks. Stay tuned!

 

Cheers,

--Vlado

Re: Identity_insert

$
0
0

YOu can set this option for the table to insert explicit value in the identity column

 

SET TEMPORARY OPTION IDENTITY_INSERT = 'Employees'

 

To turn the option off, specify the equals sign and an empty string:

 

SET TEMPORARY OPTION IDENTITY_INSERT = ''
Viewing all 8713 articles
Browse latest View live




Latest Images