SAP Script version mismatch
Hi,
We have moved some changes for a SAP Script from development to test system. Now we have realized that the version of the SAP Script on which we have made the changes is not the same as the version in production. My questions are:
1) How can I synchronize the version in development and production, so that I can start doing the changes again on the same version of the SAP Scriipt as production?
2) Is there anyway to download the production version of SAP Script and upload it to development?
Thanks in advance.
Mick
Edited by: Rob Burbank on Jan 27, 2010 3:22 PM
This is not critical for me, but the 16 step-by-step procedure is:
1) Find the person who changed the SAPscript.
2) Take their *** to the basis team and explain the situation to them.
3) Publish their *** in a BSP for the development department to see on the Enterprize Portal.
4) Make them use emergency repairs using their own ID and not DDIC.
5) Transport the clean changes through.
6) Deactivate DDIC's password in SU01...
7) Remove DDIC from all batch jobs and job steps, except during upgrades.
8) etc
9) ...
If you read help.sap.com before making a mess then it helps to a large extent.
Cheers,
Julius
Similar Messages
-
Hello form experts,
is there a possibility to get a version history of SAP script forms?
I have to know who changed when and what exactly in a form window.
Thanks for any help!
ChristianHi,
To display the versions of a form, choose Utilities -> Versions.
The version list includes the following information:
* Version and status:
* New
No active version, not available for use as yet.
* Active
The current form is the active version, in effect in the System.
* Revised
The current form is being changed. There are active and edit versions of the form.
* Translated
The current form must be translated.
* Current language key
* Original language of the form.
* Description of the form.
To display detailed information on a version of the form, put the cursor on the version and choose Form info.
Regards
Rajesh Kumar -
SOAP Response Version Mismatch error with SAP web service
My company just recently upgraded to SAP CRM 7.
The old way of creating web services in SAP worked fine, but now, there is something a bit off with SAP. When I call the web service the send returns a Fault Event with the error : SOAP Response Version Mismatch
I had a simple web service created with only 1 text input and 1 text output to make sure that it wasn't the parameters or return type. I got the same error.
Searching on the forum or the web hasn't provided with any good answer to the issue.
Any thoughts on this?Problem solved
-
Version Management on SAP Script Forms
Hello,
Is there a version management for SAP Script forms
like what we have in ABAP programs?
I need to revert back the old version of my SAP scrip form like what I used to do in an ordinary ABAP program.
Is this possible?
Need your views on this.
Thank you very much,
Jeffrey A. PradoHello Jeffrey,
as far as I know there are just two versions stored in the system, the active one and the one you work on. As long as you do not activate your work, you should be able to track your changes. The other way (which I use) is to save the original version with another name and simply load it back when needed. Since we are working with an old Release I do not how it looks in the "new world".
Greetings,
Sebastian -
Hi,
How can we know the version of Sap script like Reports?????
Edited by: subas Bose on Jun 26, 2008 4:52 PMHi,
Sorry, Version management is not there for SAP Scripts.
Below is What u can get is released versions in the script
Use Tcode SE03 ---> select SEARCH FOR OBJECTS IN REQUESTS/TASKS.
and execute in the object selection u have many selections like PROG,FUGR, CLASS etc.. in the blank space give FORM and press enter, enable the check box and give the form name and execute.
it displays all the released requests and tasks .
Thanks
Vikranth -
SAP-WXT DLLMajor version mismatch
Hello:
I am receiving the following error when using Oracle UPK:
04/22/13 13:45:34 SAP-WXT DLL Major version mismatch
I have SAP GUI 7.30 installed. Will this cause any issues in the development of a UPK Topic?
Please advise
Regards,
NickYou can find the latest supported versions of SAP on the UPK Target Applications Technical Specifications, which can be found here: http://www.oracle.com/us/products/applications/user-productivity-kit/upk-target-apps-techspecs-11-101-1728350.pdf
Best regards,
Marc -
What is the diff b/w Sap Scripts and Smart Forms
Hi,
Whats the diff b/w SAP Scripts and Smart Forms..
I need the internal explanation for both Smart Forms and SAP Scripts mean when we execute what happens whether Print Program r Forms starts execution 1st and SIMILARLY FOR SMARTFORMS WHETHER FM'S R FORMS.
Thanks & Regards,
Gopi.Hi
Difference with SMARTFORMS vs. SapScript(SE71)
The Following are the differences :-
a) Multiple page formats are possible in smartforms which is not the case in SAPScripts
b) It is possible to have a smartform without a main window .
c) Labels cannot be created in smartforms.
d) Routines can be written in smartforms tool.
e) Smartforms generates a function module when activated.
f) Unlike sapscripts (RSTXSCRP), you cannot upload/download Smartform to your local harddisk.
It was said that it was provided in CRM 3.0 version, but not available in R/3. You can download smartforms into Local PC in a XML format. In the same way you can upload this XML format into Smartform. From the smartform editor itself you can call download option, if you are working in CRM 3.0 environment.
In R3 also, you can download into XML format. However, it's not sure about uploading. Refer to the program 'SF_XSF_DEMO'.
In 4.7 Enterprise, other have seen this utlity which is completey missing in 4.6c. There is functionality to downlaod a complete form or only a particular node. (Utilities -> Download form). It will create a XML file and save it in the hard disk.
For others, if you want to download/upload the Smartforms source, you will need the help from the Basis people. What you can do is to create a Transport and then FTP down to your local harddisk. When you need the Smartform source in another system, you have FTP up the Smartforms file back to the SAP server. Finally, the Basis team, will tp it into your system.
g) The protect and endprotect command in sapscript doesn't work with smartforms. For example on a invoice: First data of position no 80. is printed on page one, other data of position no 80 is printed on page 2. And there's nothing you can do about it. Actually, there is something you can do about it. By using a folder node and checking the 'protect' checkbox, everything in that folder will be page protected.
check out this link:
http://www.sap-img.com/smartforms/sap-smart-forms.htm
Reward points if helpful.
Regards,
Swathi. -
ABAP QUERY PROGRAM OUTPUT SHOULD DISPLAY FROM SAP SCRIPT.
THIS IS MY URGENT REQUIREMENT ...
I DONT KNOW ABAP QUERY PROGRAM ..
PLEASE SUGGEST ME A WAY ON THIS ....
Functional requirements
Introduction
The wish of the customer is a printable customer overview. All desired fields will be shown in a new query called ZZADDRSS_CO. Double entries are taken for granted because of the data taken from the sales area and because of multiple contact persons. The customer accepts this. It should be made possible that the user creates and saves its own variant.
A second overview is needed, another ABAP will be developed for this requirement. This ABAP will show all the customer data and this list will have the possibility to be printed.
Solution
New Query ZZADDRESS_CO
The desired fields of attachment 1 need to be shown in the query.
The selection criteria are shown in attachment 2.
The column names of the additional data have to changed in the query.
Customer Overview.
Functional specification.
On behalf of this customer overview a standard SAP transaction will be used (transaction VC/2).This transaction will be extended.
The fields are shown on screen with the described headers. Printing of the overview will be done via SAP script. The script makes use of a fixed layout of the data.
The selection criteria are specified in attachment 2.
The layout of the customer overview and the SAP Script are specified in attachment 3.
Specification.
The next steps need to be performed.
1. A routine per infoblock need to be created in Include RV77UNNN. In this routine the data is retrieved and written down to the screen and script,
Example LST1_901 . In include RV77SNNN you can find the standard infoblocks.
2. Adapt via transaction SE16 table TFRM.
3. Create a new view in the customizing (sales and distribution- Sales support-sales summary-Assign Reporting Views).Assign the new view to the infoblocks.(Example view 001 is assigned to block 901).
4. In customizing it is not possible to assign the correct window and element to the infoblock .so this is done via SE16 in table T182A.
5. Adapt script. Copy script SD-SALES-SUMMARY to a Z-SALES_SUMM.
Assign this new version to the new view in customizing. Create in the main window the element who writes the data on behalf of the print.
Attachment 1 Desired fields
Header: Address
~ Customer number KNA1-KUNNR
~ Title KAN1-ANRED
~ Name1 ADRC-NAME1
~ Name2 ADRC-NAME2
~ Name3 ADRC-NAME3
~ Name4 ADRC-NAME4
~ PO Box ADRC-PO_BOX
~ PO Box POSTAL CODE ADRC-POST_CODE2
~ PO Box city ADRC-PO_BOX_LOC
~ Telephone no1 ADR2-TEL_NUMBER 1ST RECORD
~ Telephone no2 ADR2-TEL_NUMBER 2ND RECORD
~ Fax number1 ADR3-FAX_NUMBER 1ST RECORD
~ Fax number2 ADR3-FAX_NUMBER 2ND RECORD
~ E-mail ADR6-SMTP_ADDR
~ Search item ADRC-SORT1
~ Notes ADRT-REMARK
Header: control data
~ VAT registration number KAN1-STCEG
Header: Payment transactions
~Bank country key KNBK-BANKS
~Bank key KNBK-BANKL
~Bank Account number KNBK-BANKN
Header: Marketing
~ Industry key KNA1-BRSCH
~ Industry code 1 KNA1-BRAN1
~ Industry code 2 KNA1-BRAN2
~ Industry code 3 KNA1-BRAN3
~ Industry code 4 KNA1-BRAN4
~ Industry code 5 KNA1-BRAN5
~Annual sales, currency, year KNA1-UMSA1, KNA1-UWAER, KNA1-UMAH
~ Yearly no of employees, year KAN1-JMZAH, KNA1-JMJAH
~ Fiscal year variant KNA1-PERIV
~Legal status KNA1-GFORM
Header: Correspondence
~ Our account number at customer KNB1-EIKTO
Header: sales
~ Sales office KNVV-VKBUR
~ Customer group KNVV-KDGRP
~ ABC-classification KNVV-KLABC
Header: Invoice
~Tax classification KNVI-TAXKD
~Terms of payment key KNVV-ZTERM
~
Header: Contact Persons
~Title KNVK-ANRED
~Name KNVK-NAME1
~Advertising material KNVK-NMAIL
~Martial Status KNVK-FAMST
~Notes KNVK-PARAU
~Function KNVK-PAFKT
~Department KNVK-ABTNR
Header: Partnerroles
~Personnel Number KNVP-PERNR
~Name of employee PA0001-ENAME
Header: Additional Data
~Attribute 1 KNA1-KATR1
~Creation date KNA1-ERDAT
~Attribute 2 KNA1-KATR2
~Change date of field KNA1-KATR2 CDHDR-UDATE
~Attribute 3 KNA1-KATR3
~Attribute 4 KNA1-KATR4
~Attribute 5 KNA1-KATR5
~Attribute 6 KNA1-KATR6
Attachment 2 Selection fields
~Customer number
~Sales office
~Personnel Number
~Sales Organization (default NL01)
~Industry key
~Industry codes (1 till 5)
~ABC- classification
~Creation date
~Attribute 1
~Attribute 2
~Attribute 3
~Attribute 4
~Attribute 5
Attachment 3 Customer overview + SAP Script
Customer master data sheet: 11490 Page1
Requested by karen Dunnewold Date: 25.08.2004
Address
(Default SAP script ADDRESS statement)
Title
Name1
Street + number
PO Box city
Country
Search term: ADRC-SORT1
Telephone 1: ADR2-TEL_NUMBER 2: ADR2-TEL_NUMBER
Fax 1: ADR3-FAX_NUMBER 2: ADR3-FAX_NUMBER
E-mail: ADR6-SMTP_ADDR
Notes: ADRT-REMARK
PO BOX
ADRC-PO_BOX
ADRC-POST_CODE2 ADRC-PO_BOX_LOC
T005T-LANDX (T005T-LAND1 = ADRC-COUNTRY)
Control data
VAT registration number: KNA1-STCEG
Payment transactions
Country: KNBK-BANKS Bank-key: KNBK u2013 BANKL Bank account: KNBK-BANKN
Marketing
Industry KNA1-BRSCH Industry Description
Industry code1 KNA1-BRAN1 Industry Description
Industry code2 KNA1-BRAN2 Industry Description
Industry code3 KNA1-BRAN3 Industry Description
Industry code4 KNA1-BRAN4 Industry Description
Industry code5 KNA1-BRAN5 Industry Description
Figures
Annual Sales KNA1-UMSA1, KNA1-UWAER in KNA1-UMAH
Employees KNA1-JMZAH in KNA1-JMJAH
Legal status KNA1-GFORM description
Customer master data sheet 11490 Page 2
Requested by karen Dunnewold Date: 25.08.2004
Contact Persons
KNVK-ANRED
Mailings: KNVK-NMAIL Notes: KNVK-PARAU
KNVK-ANRED
Mailings: KNVK-NMAIL Notes: KNVK-PARAU
Correspondence
Our account number at customer KNB1-EIKTO
Sales
Sales office KNVV-VKBUR Description
Customer group KNVV-KDGRP Description
ABC-classify KNVV-KLABC
Currency KNVV-WAERS
Invoice
Terms of payment key KNVV-ZTERM Tax classification KNV1-TAXKD
Description
Partner (Leave SAP default)
Partnerrole Number Name
KNVP-PARVW KNVP-KUNNR NAME1
KNVP-PARVW KNVP-KUNNR NAME1
Additional data
Attribute1 kna1-katr1 Description
Attribute2 kna1-katr2 Description
Attribute3 kna1-katr3 Description
Attribute4 kna1-katr4 Description
Attribute5 kna1-katr5 Description
Attribute6 kna1-katr6 Descriptionhi narayana
i think u need to write a driving program and a provided with a smatform u sit along with the SD consultant.
ur further views can be shared.
Rgs,
Venkat. -
SAP Script Check printing Layout, Line Items to display twice in First Page
Hi All,
This requirement is for US check printing Layout.
My Requirement is to display Items twice on the first page.
Eg : Main Window has 10 Items, I need to display all the Items at the bottom in another window at the bottom.
I can't create 2 Main windows in the first page, as the data from the Main window 1 overflows to Main window 2 in the first page.
I copied print program RFFOUS_C into a Z-version and try to implement the logic, however unable to print the line items in the bottom window.
Kindly give your valuable Inputs.
Thanks
VinayakHi
I had the same request for a check form in Canada. I solved it by writing the line item output into variables and print these variables in a second window. It was ~10 hours of effort, not a real nice technical solution but it worked.
If you require I can send you a PDF of the sap script form definition. You can contact me at [email protected] Answers can take 1 week or more.
Best regards
JD -
Sap script - Problem while printing Hungarian characters during Unicode
Hello Friends,
We had done unicode changes ie Version upgrade from 4.6 C to ECC and because of that sap script Hungarian characters are printing as Junk characters ex - #####.
Can any one please help me on this issue. In SO10 Print preview also we are facing same issue.
Thank you,
Regards,
PhaneendraHi Phaneedhra,
the below thread explains the font issue for Hungary..
SAPScript with Hungarian characters on it. Weh we review the output online it looks good, but when we print it we get a u2018#u2019 in place of Hungarian characters. I found the following link in SDN and am wondering if you can help.
Hungarian Character Printing problem
Problem in displaying special chars
Prabhudas -
Dispatcher not starting up ::Shared library version mismatch
Hi,
System is SAP ECC 6.0, AIX and Oracle 10g.
We upgraded the Kernel Level from 201 to Level 221.
<hostname>/root$ su - <sid>adm
[YOU HAVE NEW MAIL]
.profile[30]: 1: not found.
<hostname>:sidadm> disp+work
disp+work information
kernel release 700
kernel make variant 700_REL
compiled on AIX 2 5 005DD9CD4C00
compiled for 64 BIT
compilation mode UNICODE
compile time Aug 23 2009 20:51:38
update level 0
patch number 221
source id 0.221
supported environment
database (SAP, table SVERS) 700
operating system
AIX 1 5
AIX 2 5
AIX 3 5
After upgrading the kernel dispatcher is not starting. Kindly find the below error:
sysno 10
sid SID
systemid 324 (IBM RS/6000 with AIX)
relno 7000
patchlevel 0
patchno 221
intno 20050900
make: single threaded, Unicode, 64 bit, optimized
pid 778402
Wed Nov 25 12:20:08 2009
kernel runs with dp version 243000(ext=110000) (@(#) DPLIB-INT-VERSION-243000-UC)
length of sys_adm_ext is 576 bytes
SWITCH TRC-HIDE on ***
***LOG Q00=> DpSapEnvInit, DPStart (10 778402) [dpxxdisp.c 1287]
DwSLCheckVersion: shared library version mismatch:
shared lib "dw_xml.so" version 201 <-> kernel version 221
shared lib "dw_xtc.so" version 201 <-> kernel version 221
shared lib "dw_stl.so" version 201 <-> kernel version 221
shared lib "dw_gui.so" version 201 <-> kernel version 221
shared lib "dw_mdm.so" version 201 <-> kernel version 221
DP_FATAL_ERROR => Version mismatch of dw shared libraries detected. See dev_disp trace for details.
Set environment variable SAP_NO_SLIB_CHECK=1 to disable version checking.
DISPATCHER EMERGENCY SHUTDOWN ***
NiWait: sleep (5000ms) ...
NiISelect: timeout 5000ms
NiISelect: maximum fd=1
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Wed Nov 25 12:20:13 2009
NiISelect: TIMEOUT occured (5000ms)
ERROR => DpHalt: my PID is not the dispatcher's (778402/0) [dpxxdisp.c 10510]
Kindly look into the issue. Looking forward for your reply.
Thanks,
SoumyaSoumya Saha wrote:
ERROR => DpHalt: my PID is not the dispatcher's (778402/0) http://dpxxdisp.c 10510
The system appears to think that the dispatcher process may already be running. Stop all the SAP processes and run cleanipc to clear out the shared memory. I've seen this on AIX before where the shared memory will prevent SAP from starting back up and clearing these resolved the issue.
Hope that is helpful.
J. Haynes -
Sending SAP Script output as a PDF attachment through mail
Dear Guru,
I am using SAP 4.0B version, DATABASE Oracle 8i, OS is sun solaris 7.5.
I want to send SAP script output as a
PDF attachement through mail.Please suggest a solution.
Regards,
RajeshHi Rajesh,
In your print program, while calling OPEN_FORM, pass options-TDGETOTF = 'X'. This is used for returning print output in OTF format.
Then in CLOSE_FORM, get the table OTFDATA returned from the function module. for example
DATA: OTF_DATA LIKE ITCOO OCCURS 0 WITH HEADER LINE.
CALL FUNCTION 'CLOSE_FORM'
IMPORTING
RESULT = RESULT
TABLES
OTFDATA = OTF_DATA.
now you can convert this OTF data to PDF using function module CONVERT_OTF
Then send this data as attachment to a mail using function module SO_NEW_DOCUMENT_ATT_SEND_API1
Regards,
Komal. -
Version Mismatch on Deployment
Hi,
I think I have a version mismatch problem here on deployment, but cannot figure out how to resolve it. We have two ASP.NET web apps deployed, called App1 and App2. Both use Crystal Reports. The reports display fine in a report viewer on App1 but on App2 all I get is a blank viewer.
App1 was originally developed in Visual Studio 2008 along with CR2008, incorporating CrystalDecisions.Web ver. 12.0.2000. Then it was deployed to the server, along with appropriate redistributable. It all worked fine.
App2 came along, and I switched to VS2010 and CR2010. I also converted App1 to build and run on my dev machine in VS2010 and CR2010, using CrystalDecisions.Web ver. 13.0.2000. On my dev machine, both apps run fine and report fine.
I deployed App2 to the server, along with the appropriate redistributable for CR. I did not deploy the updated App1. So now on the server, App1 is looking for ver. 12.0.2000.0 of CrystalDecisions.Web in the GAC, and App2 is looking for ver. 13.0.2000.0.
I have verified that both versions of CrystalDecisions.Web are in the GAC.
Now App1 still reports fine on the server (although there were some non-reproducible hiccups), but App2 will not display the report. The viewer comes up blank. Again, this works on my dev machine.
Any suggestions as to why App2 will not view the reports? The relevant code from the App2 web.config is listed below. The source code from the page that actually displays the report is in a followup reply, since it seems too large to put in this message.
Thanks.
--Dan
web.config
<?xml version="1.0"?>
<configuration>
<configSections>
<sectionGroup name="businessObjects">
<sectionGroup name="crystalReports">
<section name="rptBuildProvider" type="CrystalDecisions.Shared.RptBuildProviderHandler, CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, Custom=null"/>
</sectionGroup>
</sectionGroup>
</configSections>
<appSettings>
<add key="CrystalImageCleaner-Age" value="120000"/>
<add key="CrystalImageCleaner-AutoStart" value="true"/>
<add key="CrystalImageCleaner-Sleep" value="60000"/>
<!-- DB credentials for CrystalReports -->
<add key="ReportDatabaseName" value="MyDB"/>
<add key="ReportPassword" value="myPassword?"/>
<add key="ReportServerName" value="MyServer"/>
<add key="ReportUserID" value="MyUser"/>
</appSettings>
<system.web>
<compilation debug="true" targetFramework="4.0">
<assemblies>
<add assembly="CrystalDecisions.CrystalReports.Engine, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
<add assembly="CrystalDecisions.ReportSource, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
<add assembly="CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
<add assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
<add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
</assemblies>
<buildProviders>
<add extension=".rpt" type="CrystalDecisions.Web.Compilation.RptBuildProvider, CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
</buildProviders>
</compilation>
<httpHandlers>
<add verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
<add verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
</httpHandlers>
<pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/>
</system.web>
<system.webServer>
<handlers>
<add name="CrystalImageHandler.aspx_GET" verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" preCondition="integratedMode"/>
<add name="CrystalImageHandler.aspx_GET" verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" preCondition="integratedMode"/>
</handlers>
</system.webServer>
<businessObjects>
<crystalReports>
<rptBuildProvider>
<add embedRptInResource="true"/>
</rptBuildProvider>
</crystalReports>
</businessObjects>
</configuration>Here is the rest of the source code, both declarative and code-behind.
ReportPage.aspx
<%@ Page Title="" Language="C#" AutoEventWireup="true" CodeFile="ReportPage.aspx.cs"
Inherits="Reports_ReportPage" %>
<%@ Register Assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
Namespace="CrystalDecisions.Web" TagPrefix="CR" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head2" runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager2" runat="server"></asp:ScriptManager>
<CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server"
AutoDataBind="True"
GroupTreeImagesFolderUrl=""
Height="1158px"
ToolbarImagesFolderUrl=""
ToolPanelWidth="200px"
Width="1059px" />
</form>
</body>
</html>
ReportPage.aspx.cs
using CrystalDecisions.CrystalReports.Engine;
using CrystalDecisions.Shared;
using System;
using System.Configuration;
using System.Data;
using System.Text;
public partial class Reports_ReportPage : Page
ReportDocument rptDoc;
protected void Page_Load(object sender, EventArgs e)
#region QueryStrings
long lngKeyFieldID = -1;
string strReportName = string.Empty;
string strReportType = string.Empty;
if (Request.QueryString["strReportName"] != null)
strReportName = Request.QueryString["strReportName"].ToString();
if (Request.QueryString["strReportType"] != null)
strReportType = Request.QueryString["strReportType"].ToString();
if (Request.QueryString["KFID"] != null)
lngKeyFieldID = Convert.ToInt64(Request.QueryString["KFID"]);
#endregion // QueryStrings
rptDoc = new ReportDocument();
string strReportSourceFolder = ConfigurationManager.AppSettings["ReportSourceFolder"];
rptDoc.Load(strReportSourceFolder + strReportName + ".rpt");
#region parameters
if (lngKeyFieldID > 0)
// set parameters based on rpt name
switch (strReportName)
case "JobDetails":
rptDoc.SetParameterValue("JobID", lngKeyFieldID);
rptDoc.SetParameterValue("IsPaid", true);
break;
#endregion // parameters
#region DB connection
// from Deepu at SAP tech support
// this is necessary to pass db credentials programmatically
// the report must be designed in CR using an OLE DB connection type
ConnectionInfo conn = new ConnectionInfo();
conn.ServerName = ConfigurationManager.AppSettings["ReportServerName"];
conn.DatabaseName = ConfigurationManager.AppSettings["ReportDatabaseName"];
if (conn.ServerName == "Dev")
conn.IntegratedSecurity = true;
else
conn.UserID = ConfigurationManager.AppSettings["ReportUserID"];
conn.Password = ConfigurationManager.AppSettings["ReportPassword"];
Tables tables = rptDoc.Database.Tables;
foreach (Table table in tables)
TableLogOnInfo tableLogonInfo = table.LogOnInfo;
tableLogonInfo.ConnectionInfo = conn;
table.ApplyLogOnInfo(tableLogonInfo);
#endregion // DB connection
#region Viewer
CrystalReportViewer1.DisplayGroupTree = false; // deprecated, but still works
CrystalReportViewer1.DisplayToolbar = true;
CrystalReportViewer1.HasToggleGroupTreeButton = false;
CrystalReportViewer1.HasToggleParameterPanelButton = false;
CrystalReportViewer1.Page.Title = strReportName;
CrystalReportViewer1.ReportSource = rptDoc;
#endregion // Viewer
protected void Page_Unload(object sender, EventArgs e)
if (rptDoc != null)
rptDoc.Close();
rptDoc.Dispose(); -
Version mismatch error in SOAP interface
Hi
Scenario is SOAP to SOAP.
Sending request by SOAP UI to receiver webservice.
Interface was perfectly done & tested successfully.
Then we have done some changes in Receiver soap channel ...due to some error the changes were reverted
but now i am getting an error while testing as " version mismatch"
The provider webservice is working fine as we have tested it without PI.
The complete discription of error is as follows
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server.generalException</faultcode>
<faultstring>senderChannel '54cfea9d7e9b3ad2895bbe47a9aaa877': Catching exception calling messaging system; nested exception is:
com.sap.engine.interfaces.messaging.api.exception.MessagingException: Version Mismatch</faultstring>
<detail>
<ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">usa42113</ns1:hostname>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
Please suggest the reason for this error & the possible solution
Regards
AbhijitHi prateek
yes, we are using Axis Framework.
Earlier the interface was working fine with same configuration...But now its giving error as " Version mismatch"
Regards
Abhijit -
If i got incorrect characters in the output of sap script? HOW TO CORRECT I
If i got incorrect characters in the output of sap script? HOW TO CORRECT IT?
Hi Sunil,
Debug the script and check where exactly those are getting populated. Definately you will get it. Check the conversion parts means character to numeric conversion.
If your version is 4.7E then select unicode check box in the reports attributes. It will display the error message so that we can solve very easily.Hope this helps you, reply for queries, Shall post you the updates.
Regards.
Kumar. .
Maybe you are looking for
-
Scheduling a report in the browser
http://hbc-maroon.heartlandbc.org/reports/rwservlet?userid=HBC_QA/[email protected]&SCHEDULE=daily_from_04:00_tomorrow&subject="Four Seasons Rpt "&destype=mail&FROM=[email protected]&desname=[email protected]&desformat=PDF&ENVID=QA&report=r_four_seas
-
Problem with HP 3600n Color Laserjet Printer and new HP Notebook Running 64 bit Win7
I have a new HP notebook (dv7t-6100) with Core-i7 Processor, running 64 bit Windows 7 with all of the latest updates. I also have a 27" iMac with Core-i7 Processor running 64 bit Windows 7 underneath Parallels 7. Parallels is a program that creates a
-
Contribute Losing Connection to Server
I have Contribute 6.5 running on a MAC OS 10.6.8. Everytime Contribute closes it loses the connection to the server and has to be reset. The error returned is it cannot find the files on the server. Any ideas? Thanks.
-
Hi I am running into a really weird problem. My vWLC has AP associated to it and in Flexconnect mode and I can connect to WLAN's (SSID) successfully. But if I switch between WLAN's e.g test-ho and test-guest I see that they timeout in a way that I g
-
Passing a table as a parameter
Hi, I want to pass a table name as a parameter to a procedure . A cursor in the procedure will be using the passed parameter , to fetch the values. For eg. Procedure A(X varchar2) cursor c1 is select * from X; right now i'm getting an error , X must