Problem while populating RFC table into HTMLB tableView control
Hi, We are trying to populate some data from R/3 into the front end. For this we are using tableView control in HTMLB. But the problem is, one particular field is behaving strangely where as all other fields are displayed correctly. This value is sometimes displayed correctly and sometimes not. The FM if executed at the back end is giving correct result always. In Java there is a single line code i.e. table.getString("FIELD_NAME_IN_RFC");. Please guide us to find out the problem if somebody has already faced this before.
Hi, We are trying to populate some data from R/3 into the front end. For this we are using tableView control in HTMLB. But the problem is, one particular field is behaving strangely where as all other fields are displayed correctly. This value is sometimes displayed correctly and sometimes not. The FM if executed at the back end is giving correct result always. In Java there is a single line code i.e. table.getString("FIELD_NAME_IN_RFC");. Please guide us to find out the problem if somebody has already faced this before.
Similar Messages
-
How to fix the column width in a table in htmlb tableview control
HI Experts,
I have an issue with my htmlb table view controller. I have created a custom iView with a htmlb table view control and placed it in quick navigation window.
When data in columns exceeds, I am getting horizontal scroll bar and column,table are getting extened. I don't want column size increases when text length increses. Instead when lenght of the text incrases in a column, I want the text displyed in multiple columns.
I have tried for this as below.
<hbj:tableView
id="statTable"
model="bean.stattableModel"
design="ALTERNATING"
headerVisible="false"
footerVisible="false"
fillUpEmptyRows="false"
navigationMode="BYPAGE"
selectionMode="NONE"
headerText="Report List"
visibleFirstRow="1"
visibleRowCount="10"
width="100%">
<%
stattableModel.getColumn("D").setWidth("5px");
stattableModel.getColumn("D").setWrapping(false);//tried true aswell
stattableModel.getColumn("H").setWidth("px");
stattableModel.getColumn("H").setWrapping(false);
%>
No change happen ever after I used the above code.
Any one has the idea, how make it work.
Thanks in Advance,
Chinna.Hi Babu,
Please go through this links.
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80a7eef2-9a2c-2a10-12bb-abad552f3302
http://www.sapfans.com/forums/viewtopic.php?f=20&t=300326
Kind regards
Prabhakaran.P -
Problem while dropping a table
Dear All,
I am facing a problem while dropping a table in Oracle 10g.
I am able to find the number of records in the table but unble to delete it.
SQL> select count(*) from merchant_audit;
COUNT(*)
30028278
SQL> drop table merchant_audit;
drop table merchant_audit
ERROR at line 1:
ORA-00942: table or view does not exist
I have to drop this table from the database. Please help.
regards,
SanthoshHi,
IS it a table ? Is it your table ?
Read this example :
sqlplus scott/*****
SQL> create table merchant_audit(col1 number);
Table created.
SQL> create public synonym merchant_audit for merchant_audit;
Synonym created.
SQL> grant select on merchant_audit to merchant;
Grant succeeded.
SQL> conn merchant/merchant
Connected.
SQL> select count(*) from merchant_audit;
COUNT(*)
0
SQL> drop table merchant_audit;
drop table merchant_audit
ERROR at line 1:
ORA-00942: table or view does not exist
SQL>
See owner into the dba_tables, and if synonym into dba_synonyms.
Nicolas.
Message was edited by:
Nicolas Gasparotto -
Problem while import u201CSAPKU60003 & SAPKNA7013u201D into SAP CRM 2007
Gentlemen,
I have a problem while import u201CSAPKU60003 & SAPKNA7013u201D into SAP CRM 2007,
My current Support Package Level is:
SAP_ABA 700 0015
SAP_BASIS 700 0015
PI_BASIS 2006_1_700 0006
ST-PI 2005_1_700 0006
CRMUIF 600 0003
SAP_BW 700 0017
SAP_AP 700 0012
BBPCRM 600 0002
First I had the following error:
Syslog: k CQ3 : UMGSETTING& rscpexcc 12
GetDBMigrateCodePagesLangs uses TCP0D, TCPDB, TCP0C.
0 entries from FUNCT (%/SAPCND/CNF_GET_RECORD_FROM_DB%) deleted.
0 d / 0 i / 0 u / 6 = 100% ucf FUPARAREF
6 entries for FUPARAREF imported (/SAPCND/CNF_GET_RECORD_FROM_DBA*).
0 entries from RODIR (FUNC/SAPCND/CNF_GET_RECORD_FROM_DB) deleted.
0 entries from RODIR (FUNC/SAPCND/CNF_GET_RECORD_FROM_DB) deleted.
0 d / 0 i / 0 u / 1 = 100% ucf TFTIT
1 entry for TFTIT imported (D/SAPCND/CNF_GET_RECORD_FROM_DB*).
successfully set a temporary lock on table REPOSRC
REPOS /SAPCND/LDETERMINATION$14 A replaced.
REPOS /SAPCND/LDETERMINATIONU14 A replaced.
[dev trc ,00000] Wed Nov 26 16:33:14 2008 1315447 8.171484
[dbdsoci. ,00000] *** ERROR => invalid offset 0 for placeholder 16
71 8.171555
unsuccessful statement: EXEC SQL: SELECT ID,OBJECT,LANGU,TYP,VERSION FROM DOKIL WHERE (LANGU IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,
dsql_open returned with unexpected error code 2
Please contact the SAP support.
End of Transport (0016).
date&time: 26.11.2008 - 16:33:14
5 warnings occured.
3 errors occured.
Main import
End date and time : 20081126163314
Ended with return code: ===> 16 <===
After I got this error I upgraded the Kernel from patch level 159 to 179,
After that I restarted the update again but the system is still running on u201CIMPORT_PROPERu201D and dose not given any update,
From Import logs of the queue I can see the following,
Summary:
24 DOCUT imported.
16 DYNPS imported.
30 DYNPT imported.
387 REPOS imported.
43 REPOT imported.
Totally 505 Objects imported.
Totally 3636 tabentries deleted.
Totally 14 objects activated.
Totally 12229 tabentries imported.
62066888 bytes modified in database.
[dev trc ,00000] Wed Nov 26 18:14:19 2008 20996974 40.917838
[dev trc ,00000] Disconnecting from ALL connections: 30 40.917868
[dev trc ,00000] Disconnecting from connection 0 ... 287 40.918155
[dev trc ,00000] Closing user session (con_hdl=0,svchp=00000000003005B8,usrhp=00000000002FB748)
5759 40.923914
[dev trc ,00000] Detaching from DB Server (con_hdl=0,svchp=00000000003005B8,srvhp=00000000061530E8)
921 40.924835
[dev trc ,00000] Now I'm disconnected from ORACLE 8230 40.933065
[dev trc ,00000] Disconnected from connection 0 90 40.933155
[dev trc ,00000] statistics db_con_commit (com_total=527, com_tx=307)
59 40.933214
[dev trc ,00000] statistics db_con_rollback (roll_total=0, roll_tx=0)
52 40.933266
Disconnected from database.
End of Transport (0004).
date&time: 26.11.2008 - 18:14:19
2 warnings occured.
Main import
End date and time : 20081126181419
Ended with return code: ===> 4 <===
Please advice me.
Regards,
AhmedI have similar problem while updating support packages in SAP R/3 4.6C environment.
000 unsuccessful statement: EXEC SQL: SELECT ID,OBJECT,LANGU,TYP,VERSION FROM DOKIL WHERE (LANGU IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,
000 dsql_open returned with unexpected error code 1
000 unsuccessful statement: EXEC SQL: SELECT ID,OBJECT,LANGU,TYP,VERSION FROM DOKIL WHERE (LANGU IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,
000 dsql_open returned with unexpected error code 1
Here is an outline of series of events that happened:-
We are applying in support packages in SAP R/3 4.6C HR Development
(TFI) environment. We planned with installing all the SP stacks
starting from 1 to 9.
-Updated kernel, tp , r3trans and SPAM level to latest level.
We received the following error in Import_Proper step of Support
package upgrade. Though the step has been repeated after making sure
that we have all the required files at OS level, we go this error
repeatedly.
Main import
Transport request___: SAPKB46C52
System______________: TFI
tp path : tp
Version and Release: 305.13.25 46D
check-sum error in datafile after 9374854 bytes.
Main import
End date and time : 20081205192603
Ended with return code: ===> 16 <===
When we renamed Co-File & data_file at OS level to see if the files are
created again and reran we got the following error.
Main import
Transport request___: SAPKB46C52
System______________: TFI
tp path : tp
Version and Release: 305.13.24 46D
Main import
End date and time : 20081205185117
Ended with return code: ===> 12 <===
We tried importing the individual support package SAPKB46C52 from STMS
and the transport cancelled at an earlier step with the same error.
Dictionary import
Transport request___: SAPKB46C52
System______________: TFI
tp path : tp
Version and Release: 305.13.25 46D
check-sum error in datafile after 9374854 bytes.
Dictionary import
End date and time : 20081205195929
Ended with return code: ===> 16 <===
While playing around I have deleted the transport from the tp buffer
and added manually, before doing so I made a backup of tp buffer at OS
level and I got following error though I reverted back to backed-up
copy.
- Error in phase: IMPORT_PROPER
- Reason for error: TP_BUFFER_INCONSISTENCY
- Return code: 0008
- Error message: Wrong sequence of Packages in the tp buffer (e.g.
SAPKB46C52 )
I then tried to disassemble the package separately and reran the
import queue. Now I have RC 8 on that support package.
When I did R3trans -l on the datafile it completed successfully.
D:\>R3trans -l \usr\sap\trans\data\RB46C52.SAP
This is R3trans version 6.05 (release 46D - 27.10.08 - 16:32:00).
R3trans finished (0000).
I verified the size of file "CSR0120031469_0023301.PAT" and it is the
same as mentioned in SSP.
Let us know is there is a workaround. -
Hello i am rajesh i am having problem while conveting other files into pdf format please help me
i am rajesh i am having problem while converting other files into acrobat format please help me
Hello Rajesh,
I'm sorry to hear you're having trouble. Are you using Acrobat.com to convert your files to PDF? Please let me know where you are having trouble and I will do my best to help you convert your files. For your reference, here is a list of filetypes that can be converted to PDF online with Acrobat.com:
http://kb2.adobe.com/cps/524/cpsid_52456.html#Create%20PDF
Best,
Rebecca -
RFC tabe into HTMLB Table.
Iam looking for some guidance on rendering a BAPI values in a HTMLB Table.
My application has a bean and a Dynpage.The jsp uses htmlb tableView's model which is myBean.model.
Whatz the API for declaring and accessing Table view from the Bean.
Thanx SDN Gurus.package com.sap;
import javax.resource.cci.MappedRecord;
import javax.resource.cci.RecordFactory;
import com.sapportals.connector.connection.IConnection;
import com.sapportals.connector.execution.functions.IInteraction;
import com.sapportals.connector.execution.functions.IInteractionSpec;
import com.sapportals.connector.execution.structures.IRecordSet;
import com.sapportals.connector.metadata.functions.IFunction;
import com.sapportals.connector.metadata.functions.IFunctionsMetaData;
import com.sapportals.htmlb.page.*;
import com.sapportals.portal.htmlb.page.*;
import com.sapportals.portal.ivs.cg.ConnectionProperties;
import com.sapportals.portal.ivs.cg.IConnectorGatewayService;
import com.sapportals.portal.ivs.cg.IConnectorService;
import com.sapportals.portal.prt.component.*;
import com.sapportals.portal.prt.runtime.PortalRuntime;
public class ExecuteRfc extends PageProcessorComponent {
public DynPage getPage(){
return new ExecuteRfcDynPage();
public static class ExecuteRfcDynPage extends JSPDynPage{
private RfcBean myBean;
public void doInitialization() {
IPortalComponentSession componentSession = ((IPortalComponentRequest)getRequest()).getComponentSession();
Object o = componentSession.getValue("myBean");
if(o==null || !(o instanceof RfcBean)){
myBean = new RfcBean();
componentSession.putValue("myBean",myBean);
else {
myBean = (RfcBean) o;
public void doProcessAfterInput() throws PageException {
IPortalComponentSession componentSession = ((IPortalComponentRequest)getRequest()).getComponentSession();
myBean = (RfcBean) componentSession.getValue("myBean");
public void doProcessBeforeOutput() throws PageException {
IPortalComponentRequest request =(IPortalComponentRequest) this.getRequest();
try {
getSAPdata(getConnection(request, "SYSTEM1"));
catch (Exception e) {
e.printStackTrace();
this.setJspName("display.jsp");
private IConnection getConnection(IPortalComponentRequest request,String alias)
throws Exception {
IConnectorGatewayService cgService =
(IConnectorGatewayService) PortalRuntime
.getRuntimeResources()
.getService(
IConnectorService.KEY);
ConnectionProperties prop = new ConnectionProperties(request.getLocale(),request.getUser());
return cgService.getConnection(alias, prop);
private void getSAPdata(IConnection client) throws Exception {
IPortalComponentResponse response = (IPortalComponentResponse)this.getResponse();
IInteraction interaction = client.createInteractionEx();
IInteractionSpec interactionSpec = interaction.getInteractionSpec();
interactionSpec.setPropertyValue("Name", "BAPI_LIST");
IFunctionsMetaData functionsMetaData = client.getFunctionsMetaData();
IFunction function = functionsMetaData.getFunction("BAPI_LIST");
RecordFactory recordFactory = interaction.getRecordFactory();
MappedRecord importParams = recordFactory.createMappedRecord("CONTAINER_OF_IMPORT_PARAMS");
IPortalComponentRequest request = (IPortalComponentRequest)this.getRequest();
importParams.put("LIST", "SHOW");
MappedRecord exportParams = (MappedRecord) interaction.execute(interactionSpec, importParams);
IRecordSet table = (IRecordSet)exportParams.get("SOME_LIST");
myBean.createData(table);
client.close(); -
Problem while downloading Chinese chatracters into an excel file
Hi All ,
While downloading Chinese characters into an excel file , using GUI_DOWNLOAD function module , im getting JUNK Characters instead of chinese characters.
But if im downloading the same chinese data into an text file or unix file , there is no such problem.
Thanks in advance and points will be rewarded for helpful answer.
Regards,
K.S.RHi, I have the same problem. Anyone has solution now?
Wu Hao
2008/08/21 -
Problems while uploading text documents into Unicode Database
I just upgraded our database from 9iR1 to 9iR2 (9.2.0.1.0). The server
character set is AL32UTF8. Now I'm facing a problem when
uploading text documents into the database via a web frontend.
I use the upload table defined for the PL/SQL Database Access Descriptor:
create table TB_UPLOAD (
NAME VARCHAR2(256) not null,
MIME_TYPE VARCHAR2(128),
DOC_SIZE NUMBER,
DAD_CHARSET VARCHAR2(128),
LAST_UPDATED DATE,
CONTENT_TYPE VARCHAR2(128),
BLOB_CONTENT BLOB);
After uploading a text document containing the two words "hallo welt",
the following statement returns not "hallo welt", but "68616C6C6F2077656C74":
declare
b_loc blob;
v_amount integer := 100;
v_buffer varchar2(100);
v_offset integer := 1;
begin
select blob_content into b_loc from tb_upload where name like 'mydoc.txt';
dbms_lob.read(b_loc, v_amount, v_offset, v_buffer);
htp.prn(v_buffer);
end;
What is this? I studied the documentation, but didn't found a solution.
When trying to use Oracle's built-in procedure wpg_docload.download_file,
the content is shown the way it should be. Unfortunately, I can't use
wpg_docload.download_file in order to copy the BLOB content to another table.
Any hints would be appreciated!
Thanks so much in advance!
Roman
E-Mail: [email protected]Hi Roman,
the upload uses a BLOB (Binary Lob). Your Document is
stored as is in the binary representation. If you
use dbms_lob.read on a blob and your buffer is a varchar2 the binary representation is not translated!!!
use a raw for the buffer and utl_raw.cast_to_varchar2
to do the conversion to varchar.
try this
Procedure SHOW_DOC(p_name doc_test.name%TYPE)
IS
v_len number;
v_mime_type tb_upload.mime_type%TYPE;
v_offset integer := 1;
v_Buf_size integer := 32767;
v_buf raw(32767);
v_blob blob;
v_Doc_name varchar2(1000);
BEGIN
v_doc_name := url_Decode(p_name);
select mime_type,doc_size,blob_content
into v_mime_Type,v_len,v_blob
from tb_upload
where name = v_doc_name;
OWA_UTIL.MIME_HEADER(v_Mime_Type);
begin
LOOP
DBMS_LOB.READ(v_blob,v_buf_size,v_offset,v_buf);
HTP.PRN(UTL_RAW.CAST_TO_VARCHAR2(v_buf));
v_offset := v_offset + v_buf_size;
END LOOP;
exception
when no_data_found then
null;
end;
END;
HTH
detlev -
Problems while uploading text documents into Database
I just upgraded our database from 9iR1 to 9iR2 (9.2.0.1.0). The server
character set is AL32UTF8. Now I'm facing a problem when
uploading text documents into the database via a web frontend.
I use the upload table defined for the PL/SQL Database Access Descriptor:
create table TB_UPLOAD (
NAME VARCHAR2(256) not null,
MIME_TYPE VARCHAR2(128),
DOC_SIZE NUMBER,
DAD_CHARSET VARCHAR2(128),
LAST_UPDATED DATE,
CONTENT_TYPE VARCHAR2(128),
BLOB_CONTENT BLOB);
After uploading a text document containing the two words "hallo welt",
the following statement returns not "hallo welt", but "68616C6C6F2077656C74":
declare
b_loc blob;
v_amount integer := 100;
v_buffer varchar2(100);
v_offset integer := 1;
begin
select blob_content into b_loc from tb_upload where name like 'mydoc.txt';
dbms_lob.read(b_loc, v_amount, v_offset, v_buffer);
htp.prn(v_buffer);
end;
What is this? I studied the documentation, but didn't found a solution.
When trying to use Oracle's built-in procedure wpg_docload.download_file,
the content is shown the way it should be. Unfortunately, I can't use
wpg_docload.download_file in order to copy the BLOB content to another table.
Any hints would be appreciated!
Thanks so much in advance!
Roman
E-Mail: [email protected]Hi Roman,
the upload uses a BLOB (Binary Lob). Your Document is
stored as is in the binary representation. If you
use dbms_lob.read on a blob and your buffer is a varchar2 the binary representation is not translated!!!
use a raw for the buffer and utl_raw.cast_to_varchar2
to do the conversion to varchar.
try this
Procedure SHOW_DOC(p_name doc_test.name%TYPE)
IS
v_len number;
v_mime_type tb_upload.mime_type%TYPE;
v_offset integer := 1;
v_Buf_size integer := 32767;
v_buf raw(32767);
v_blob blob;
v_Doc_name varchar2(1000);
BEGIN
v_doc_name := url_Decode(p_name);
select mime_type,doc_size,blob_content
into v_mime_Type,v_len,v_blob
from tb_upload
where name = v_doc_name;
OWA_UTIL.MIME_HEADER(v_Mime_Type);
begin
LOOP
DBMS_LOB.READ(v_blob,v_buf_size,v_offset,v_buf);
HTP.PRN(UTL_RAW.CAST_TO_VARCHAR2(v_buf));
v_offset := v_offset + v_buf_size;
END LOOP;
exception
when no_data_found then
null;
end;
END;
HTH
detlev -
Problem while importing the wsdl into Dynpro ?
HI Guys,
I have developed a webservice within xi in the integration directory and while importing this wsdl into webdynpro i am getting the following error
!ENTRY com.sap.ide.ws.proxygenerator 4 -1 Okt 10, 2007 19:02:23.788
!MESSAGE com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException: Proxy Generator Error. Problem with WSDL file parsing. See nested message.
!STACK 0
com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException: Proxy Generator Error. Problem with WSDL file parsing. See nested message.
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.getDefaultSchemaMapping(ProxyGenerator.java:110)
at com.sap.ide.ws.proxygenerator.ProxyHelperFunctions.createNamespacePackageMappingFile(ProxyHelperFunctions.java:103)
at com.sap.ide.ws.proxygenerator.ProxyHelperFunctions.createNamespacePackageMappingFile(ProxyHelperFunctions.java:86)
at com.sap.ide.ws.proxygenerator.ProxyHelperFunctions.createNamespacePackageMappingFile(ProxyHelperFunctions.java:82)
at com.sap.ide.wsproxy.wizards.prx.pages.NamespacePackageMappingPage$1.run(NamespacePackageMappingPage.java:114)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:302)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:252)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:357)
at com.sap.ide.wsproxy.wizards.prx.pages.NamespacePackageMappingPage.initTable(NamespacePackageMappingPage.java:170)
at com.sap.ide.wsproxy.wizards.prx.pages.NamespacePackageMappingPage.setVisible(NamespacePackageMappingPage.java:295)
at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:959)
at org.eclipse.jface.wizard.WizardDialog.access$1(WizardDialog.java:940)
at org.eclipse.jface.wizard.WizardDialog$3.run(WizardDialog.java:929)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:927)
at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:684)
at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelDialog.nextPressed(ModelDialog.java:218)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:316)
at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
at org.eclipse.jface.window.Window.open(Window.java:563)
at com.sap.ide.webdynpro.modeleditor.ModelEditorCallback.createModel(ModelEditorCallback.java:52)
at com.sap.ide.webdynpro.service.modeleditor.ModelService.createModelWithUI(ModelService.java:70)
at com.sap.ide.webdynpro.service.modeleditor.ServiceWithUI.createModel(ServiceWithUI.java:49)
at com.sap.ide.webdynpro.tsmodel.application.provider.ModelNodeProvider.createUniqueName(ModelNodeProvider.java:55)
at com.tssap.selena.impl.model.elements.EntityImpl.createChildEntityUin(EntityImpl.java:936)
at com.tssap.selena.impl.model.elements.EntityImpl.createChildEntity(EntityImpl.java:502)
at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.runInternal(CreationAction.java:76)
at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.access$000(CreationAction.java:24)
at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction$1.run(CreationAction.java:51)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1595)
at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.run(CreationAction.java:57)
at com.sap.ide.webdynpro.projectbrowser.actions.PBCreateModelAction.run(PBCreateModelAction.java:95)
at com.tssap.selena.model.extension.action.SelenaActionCollector$GenericElementActionWrapper.run(SelenaActionCollector.java:224)
at com.tssap.util.ui.menu.MenuFactory$MuSiAction.saveRunAction(MenuFactory.java:1425)
at com.tssap.util.ui.menu.MenuFactory$MuSiAction.run(MenuFactory.java:1407)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction.processInternal(MenuFactory.java:616)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction.access$100(MenuFactory.java:586)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction$BusyProcessWorker.run(MenuFactory.java:716)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction.process(MenuFactory.java:610)
at com.tssap.util.ui.menu.internal.MenuListenerFactory$ProcessAdapter.widgetSelected(MenuListenerFactory.java:172)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)
at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
at com.sap.ide.eclipse.startup.Main.main(Main.java:607)
Caused by: com.sap.engine.lib.xml.util.NestedException: Parser exception occurred:Fatal Error: com.sap.engine.lib.xml.parser.ParserException: = expected in attlist(C:\Paymetric Transfer\PaymentAuthorisationcard.wsdl, row:3, col:992) -> com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: = expected in attlist(C:\Paymetric Transfer\PaymentAuthorisationcard.wsdl, row:3, col:992)(C:\Paymetric Transfer\PaymentAuthorisationcard.wsdl, row=3, col=992) -> com.sap.engine.lib.xml.parser.ParserException: = expected in attlist(C:\Paymetric Transfer\PaymentAuthorisationcard.wsdl, row:3, col:992)
at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1032)
at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadWSDLDocument(WSDLDOMLoader.java:1125)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.getDefaultSchemaMapping(ProxyGenerator.java:107)
... 63 more
Caused by: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: = expected in attlist(C:\Paymetric Transfer\PaymentAuthorisationcard.wsdl, row:3, col:992)(C:\Paymetric Transfer\PaymentAuthorisationcard.wsdl, row=3, col=992) -> com.sap.engine.lib.xml.parser.ParserException: = expected in attlist(C:\Paymetric Transfer\PaymentAuthorisationcard.wsdl, row:3, col:992)
at com.sap.engine.lib.xml.parser.DOMParser.parse(DOMParser.java:139)
at com.sap.engine.lib.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:127)
at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1022)
... 65 more
Caused by: com.sap.engine.lib.xml.parser.ParserException: = expected in attlist(C:\Paymetric Transfer\PaymentAuthorisationcard.wsdl, row:3, col:992)
at com.sap.engine.lib.xml.parser.XMLParser.scanAttList(XMLParser.java:1565)
at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1710)
at com.sap.engine.lib.xml.parser.XMLParser.scanContent(XMLParser.java:2440)
at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1841)
at com.sap.engine.lib.xml.parser.XMLParser.scanContent(XMLParser.java:2440)
at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1841)
at com.sap.engine.lib.xml.parser.XMLParser.scanContent(XMLParser.java:2440)
at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1841)
at com.sap.engine.lib.xml.parser.XMLParser.scanContent(XMLParser.java:2440)
at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1841)
at com.sap.engine.lib.xml.parser.XMLParser.scanContent(XMLParser.java:2440)
at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1841)
at com.sap.engine.lib.xml.parser.XMLParser.scanDocument(XMLParser.java:2843)
at com.sap.engine.lib.xml.parser.XMLParser.parse0(XMLParser.java:229)
at com.sap.engine.lib.xml.parser.AbstractXMLParser.parseAndCatchException(AbstractXMLParser.java:145)
at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:204)
at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:263)
at com.sap.engine.lib.xml.parser.Parser.parseWithoutSchemaValidationProcessing(Parser.java:280)
at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:342)
at com.sap.engine.lib.xml.parser.DOMParser.parse(DOMParser.java:101)
... 67 more
any help would be appreciated
Thanks,
sriniHi,
If the import fails with the message that certain instances of the CIM class SAP_AssociatedContext were not imported, repeat the import. These errors are caused by an incorrect sort order in the export file. When starting the import again ignore the warning that data already exists. Choose Import anyway.
Also go through this Document.
http://help.sap.com/bp_bpmv130/Documentation/Operation/SystemContentCopy.pdf
Regards,
Akshay Jamgaonkar.
Reward points if find useful. -
Problem while selecting a table after creating the dblink
Hi,
We have created the dblink for oracle to sql server and it created successfully,
But while selecting the table from oracle we are getting the below issue,
select * from "sysdiagrams"@omniyat;
ERROR at line 1:
ORA-00942: table or view does not exist
[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid object name
'sysdiagrams'. {42S02,NativeErr = 208}[Microsoft][ODBC SQL Server Driver][SQL
Server]Statement(s) could not be prepared. {42000,NativeErr = 8180}
ORA-02063: preceding 2 lines from OMNIYAT
Kindly provide us the solution to resolve this issue.
Regards
ShamPlease see:
Odbc Connection From Oracle To SQL*Server Fails With Errors Ora-28546 and Ora-2063 When Using Connection via Database Link. (Doc ID 1389492.1)
To BottomTo Bottom
Error 08001,NativeErr = 11 Instance Invalid or Not Running Connecting to SQL*Server Using Dg4MSQL (Doc ID 1349023.1)
How to Resolve Common Errors Encountered while using Database Gateways (DG4IFMX, Dg4MSQL, DG4SYBS), DG4ODBC or Generic Connectivity (Doc ID 234517.1)
Thanks,
Hussein -
Problem with GLOBAL TEMPORARY TABLE into SP
im trying to create a temporary table into a sp but it show me an error , this is the store
CREATE OR REPLACE PROCEDURE sp_sample IS
BEGIN
CREATE GLOBAL TEMPORARY TABLE tmp_datos_entrada
ON COMMIT DELETE ROWS AS
Select * from Customer where NAME = 'LOPEZ';
END sp_sampleHi,
You can't execute DDL directly in PL/SQL, it's not supported.
You can, however, use Native Dynamic SQL to do this in the following manner:
begin
execute immediate 'create table t(x int)';
end;You will need to use the autonomous_transaction pragma to maintain transactional integrity.
But you may want to think about WHY you are doing this in a SP. You should probably just create the global temporary table as a permanent database object. It's refreshed on commit anyway -- I think you're missing the point slightly.
cheers,
Anthony -
Problem while populating table dynamically
Hi,
I am facing a strange problem when I execute a search component (custom developed component).
<b>Problem summary:</b>
I am getting first 5 empty rows (default visible row count, when I set the table's visible row count to "n" then the data in the first "n" rows are not visible) from the SAP R/3 when we fetch the data using this component. The data is available for the next consecutive rows starting 6th {(n+1)th} row. Here I am facing another strange behavior, I moved the table row position using the table paginator and viewing the data in the next consecutive rows and reset the view (invalidating the context and setting the visibility of the table to NONE), when I invoke the search again the data is missing in the 6-10 rows(the table data is paginated to the 6-10 records automatically), now the data is visible in the first 5 rows.
<b>The details of softwares:</b>
SAP WebAS 6.40 SP9
SAP NetWeaver Developer Studio Version: 2.0.9
JDK version - j2sdk1.4.2_06
<i>Note:</i>
1. The table creation and data population are done dynamically.
2. The same code works fine for SAP WebAS 6.40 SP8
3. When I tried fetching some data from SAP R/3 and displaying it in a table (table is created during design time and data population is achieved through standard context binding), it works fine.
If any of you get any clue in solving this issue, please do let me know.
Thanks in advance.
Thanks & Regards,
Santhosh.CHi Thomas,
I am running the application from the NDS and the URL look like the below URL
http://<<machine_name>>:50000/webdynpro/dispatcher/sap.com/parentgenericsearchhelpcomponent/PerentSearchDemo?SAPtestId=1
I am using IE6.0 SP2
Yes the application is working fine in SP8 and giving problem in SP9.
I have a parent component which calls another component(childcomponent), which has this dynamically populated table. I am using window.open() to open the window in the child component.
To answer your last question,
I don't see full of empty rows, I see empty rows for the first visble row counts(5 or 10, if the total fetched row count might atleast 1 more than the visble row count). The data is available from the first visible row count+1. If I come back and see the first vible row count, still the rows are blank.
Thanks & Regards,
Santhosh.C -
Problem with populating setup tables for purchasing
I'm working on NW2004s.
Problem: Setup tables are not getting populated for 2lis_02_hdr, 2lis_02_item..
what all i've done so far:
1. Activated Data Sources in RSA5.
2. In LO Data Extraction, all the extract structure are active. (btw in job control i'm not sure what it does, i did make job parameter start date immediate, didnt set the print parms, schedule job gives an error.. anything here i may be messing it up?)
3. In SBIW initialization Deleted the contents of setup table and executed the 'Purchasing - perform setup'.
4. In NPRT i can see the log, the name of the source table EKKO, duration of run is 0.0 and no of docs 130.
5. In RSA3 for 2lis_02_hdr extraction process 0 records.
6. I look at SE11 for 'MC02M_0HDRSETUP' and table contents gives 0 records.
Any help is appreciated what i'm missing why the setup tables are not populating. I went thru the forum and did what was said but no sucess yet. I'm not an expert in SAP BW just been working for a year so pl dont be cryptic, explain u'r answers. Thanks for your time
MayilHi,
All the active datasources will be available in RSA6, after that go to LBWE ,maintain Ex Stru, Maintain DS and make that active, then we go for statistical setup
have you done these things?
Did you put any filters while filling up the setup tables?
what is the transaction you used for Setup.
cheers
RK -
Urgent - pls help - Problem while inserting binary file into Oracle DB
Hi,
I am trying to insert binary files into a Blob column in a Oracle 10G table.
The binary files would be uploaded by the web users and hence come as multipart request. I use apache commons upload streaming API to handle it. Finally i am getting a input stream of the uploaded file.
The JDBC code is
PreparedStatement ps=conn.prepareStatement("insert into bincontent_table values(?)");
ps.setBinaryStream(1,inStream,length);
My problem starts when i try to find the length of the stream. available() method of inputstream does not return the full length of the stream. so i put a loop to read thru the stream and find the length as shown below
int length=0;
while((v=inStream.read())!=-1)
length++;
Now, though i got the length, my stream pointer has reached the end and i cant reset it(it throws an error if i try).
So i copied the stream content to a byte array and created an ByteArrayInputStream like this.
tempByteArray=new byte[length];
stream.read(tempByteArray,0,length);
ByteArrayInputStream bais=new ByteArrayInputStream(tempByteArray);
Now if i pass this bytearray input stream instead of the normal input stream to the prepared statement's setBinaryStream() method it throws an error as
"ORA-01460: unimplemented or unreasonable conversion requested".
Now how to solve this?
My doubts are ,
1) preparedStatement.setBinaryStream(int parameterIndex, InputStream x, int length) expects an inputstream and its length. if i have the stream how to find its length with out reading the stream?
2) Also as the length parameter is a integer, what if i have a large binary file whose length runs more than the capacity of integer
3) Alternatively there is a setBlob(int i, Blob x) in prepared statement. But how to instantiate a Blob object and set it here
4) Is there any better way to do this.
Thanks in advance"ORA-01460: unimplemented or unreasonable conversion
requested".When the setBinaryStream method is used, the driver may have to do extra work to determine whether the parameter data should be sent to the server as a LONGVARBINARY or a BLOB (reference: javadoc)
1) preparedStatement.setBinaryStream(int parameterIndex,
InputStream x, int length) expects an inputstream and its length. if i
have the stream how to find its length with out reading the stream?no. stream may have no specified length. i think you have wrong understanding about stream.
2) Also as the length parameter is a integer, what if i have a large
binary file whose length runs more than the capacity of integer
3) Alternatively there is a setBlob(int i, Blob x) in prepared statement.
But how to instantiate a Blob object and set it here
4) Is there any better way to do this.use ps.setBlob(1, instream) instead
Maybe you are looking for
-
Yet again, my appointments have been be deleted from iPhone and iPad!
Can anyone explain why some appointments loaded on my iPad, iPhone and Outlook are deleted? And if there is any way I can recover them? Not for the first time. Thank you.
-
ODS activation due to new field taking long time
Hi, I have created transport request to transport DATA MART ODS (Because i have added two new fields to this ODS which i have to populate by data mart) Update rule for Data Mart and ODS Activate dependent object for this ODS From my Testing server to
-
OWA for Iphone and international calling card
Hello, I work as the Supervisor for a company that has just purchased many iphones. The group that is in charge of email at my company will only allow "OWA for Iphone" to be used because in this way, nothing is downloaded to the device. All email,
-
Storing Video files in SharePoint 2010
Hello, We are going to store video files in SharePoint 2010. In total, we may have about 6 GB of files in total in Asset Library. Is it too much? What is the best approach to keep video files in SharePoint? I planned to change upload size, because 50
-
Sometimes FireFox will not start up
if my laptop stays on for a few days, firefox will not restart if it has stopped. I have to cold reboot and then usually it will start up. sometimes I have to reboot twice to get it to run.