Quantcast
Channel: SCN : Popular Discussions - Web Dynpro Java
Viewing all 989 articles
Browse latest View live

HTTP 500 internal server error while starting abap web dynpro application

$
0
0

Hi there,

 

i have some problems concerning my web dynpro abap configurations in the system. When i start an application the browser appears and displays the http 500 internal server error.  The required icf nodes are activated, as far as i know. the following properties are set:

 

hostname: aet

port: 8000

 

The generated url for the web dynpro application looks as follows:

 

http://aet.ls3001:8000/sap/bc/webdynpro/sap/zwdr_test?sap-language=EN

 

Maybe anybody of you out there has an idea for that situation.

 

Thanks for your afford and kind regards,

 

Albert


difference between RFC and BAPI and BADI.

$
0
0

Hi all,

 

please tell me the difference between the RFC, BAPI, BADI in the perspective of WD java Developer.

 

what are the basic differences, how to call them in the NWDS.

 

thanks in advance.

What is singleton property in Webdynpro

$
0
0

Hi,

What is singleton property in Webdynpro?

please explian along with diagram

 

Regards,

Sid.

SLD Connection failed

$
0
0

Hi all,

 

I'm having problems at connecting to the SLD from the Content Administrator. The only button I can use is to check the SLD connection, but this fails. In the SLD I'm also having problem,s with starting and stopping the SLD Server: "Failed to send start signal for complete cluster, SLD may still be stopped on other cluster nodes."

In the Logs I'm having some Errors:

<b>#12 11/03/2006 11:48:40.392 [SAPEngine_Application_Thread[impl:3]_33] ERROR com.sap.lcr.cimsrv.ClusterNotificationListener: Failed to initialize cluster notification. Please check your JNDI service and JMS provider for errors.

Thrown:

javax.jms.JMSSecurityException: You do not have permissions: action consumer and instance SLDClusterNotificationTopic.

at com.sap.jms.protocol.notification.ServerExceptionResponse.getException(ServerExceptionResponse.java:231)

at com.sap.jms.client.session.Session.checkReceivedPacket(Session.java:2533)

at com.sap.jms.client.session.Session.createConsumer(Session.java:2109)

at com.sap.jms.client.session.TopicSession.createSubscriber(TopicSession.java:39)

at com.sap.lcr.cimsrv.ClusterNotificationListener.<init>(ClusterNotificationListener.java:141)

at com.sap.lcr.cimsrv.ClusterNotificationListener.start(ClusterNotificationListener.java:68)

at com.sap.lcr.cimsrv.CIMOMServlet.init(CIMOMServlet.java:106)

at javax.servlet.GenericServlet.init(GenericServlet.java:258)

at com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents.getServlet(WebComponents.java:339)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:343)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)</b>

 

-


 

<b>#13 11/03/2006 11:48:40.392 [SAPEngine_Application_Thread[impl:3]_33] FATAL com.sap.lcr.cimsrv.CIMOMServlet: SLD initialization failure, can not set up cluster-wide event notification. Please check your JMS provider for errors.

Thrown:

com.sap.sld.api.wbem.exception.CIMException: CIM_ERR_FAILED: Failed to initialize cluster notification. Please check your JNDI service and JMS provider for errors.

at com.sap.lcr.cimsrv.ClusterNotificationListener.<init>(ClusterNotificationListener.java:153)

at com.sap.lcr.cimsrv.ClusterNotificationListener.start(ClusterNotificationListener.java:68)

at com.sap.lcr.cimsrv.CIMOMServlet.init(CIMOMServlet.java:106)

at javax.servlet.GenericServlet.init(GenericServlet.java:258)

at com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents.getServlet(WebComponents.java:339)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:343)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

Caused by: javax.jms.JMSSecurityException: You do not have permissions: action consumer and instance SLDClusterNotificationTopic.

at com.sap.jms.protocol.notification.ServerExceptionResponse.getException(ServerExceptionResponse.java:231)

at com.sap.jms.client.session.Session.checkReceivedPacket(Session.java:2533)

at com.sap.jms.client.session.Session.createConsumer(Session.java:2109)

at com.sap.jms.client.session.TopicSession.createSubscriber(TopicSession.java:39)

at com.sap.lcr.cimsrv.ClusterNotificationListener.<init>(ClusterNotificationListener.java:141)

... 18 more

caused by:

javax.jms.JMSSecurityException: You do not have permissions: action consumer and instance SLDClusterNotificationTopic.

at com.sap.jms.protocol.notification.ServerExceptionResponse.getException(ServerExceptionResponse.java:231)

at com.sap.jms.client.session.Session.checkReceivedPacket(Session.java:2533)

at com.sap.jms.client.session.Session.createConsumer(Session.java:2109)

at com.sap.jms.client.session.TopicSession.createSubscriber(TopicSession.java:39)

at com.sap.lcr.cimsrv.ClusterNotificationListener.<init>(ClusterNotificationListener.java:141)

at com.sap.lcr.cimsrv.ClusterNotificationListener.start(ClusterNotificationListener.java:68)

at com.sap.lcr.cimsrv.CIMOMServlet.init(CIMOMServlet.java:106)

at javax.servlet.GenericServlet.init(GenericServlet.java:258)

at com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents.getServlet(WebComponents.java:339)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:343)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)</b>

 

-


 

In the Visual Administrator I can't do the CIMClient Test with success! "Failed to generate and test CimClient object"

 

I have a SLD User with LcrAdministrator rights assigned to the SAP_SLD_ADMINISTRATOR group for testing. I did all the Configuration steps from the Post_Installation guide as Prerequesites and even more.

I'm also not able to import the CR_Content.zip file.

 

I've been seacrhing for topics with the same probelms but with no success! Plz help I have no idea what to do.

 

Lu

How to know which radiobutton is selected in case of dynamic UI generation and how to pass it to back end?

$
0
0

This is how I have written for dynamically generating radiobuttons. I have some categories on left view, by selecting which, i will get corresponding questions and it generates 5 options, and user selects one and I need to pass it to back end. I am using IModifiableSimpleValueSet for filling the radiobuttons.

 

 

ISimpleTypeModifiable myType = wdThis.wdGetAPI().getContext().getModifiableTypeOf("Ans.option");

  IModifiableSimpleValueSet values = myType.getSVServices().getModifiableSimpleValueSet();

.

.

.

..

values.put(d,wdContext.nodeAns().getElementAt(d).getAttributeValue("option").toString());

 

Kindly help, if I am missing something.

 

 

 

 

  IWDRadioButtonGroupByKey radioKey = (IWDRadioButtonGroupByKey)view.createElement(IWDRadioButtonGroupByKey.class,           "ansRadio"+radio_count++);

  IWDMatrixHeadData matrixHead_radio = (IWDMatrixHeadData)radioKey.createLayoutData(IWDMatrixHeadData.class); 

  IWDAction radioAction = wdThis.wdCreateAction(IPrivateRightView.WDActionEventHandler.SELECT_ANS, radioKey.getId());

  wdComponentAPI.getMessageManager().reportSuccess("radio id"+radio_count);

  radioKey.bindSelectedKey("Ans.option");

  radioKey.mappingOfOnSelect().setString("optionID", radioKey.getSelectedKey());

  wdContext.currentContextElement().setSel_ans(wdContext.currentAnsElement().getOption());

  radioKey.setColCount(1);

  questContainer.addChild(radioKey);

webdynpro interview questions and answers

$
0
0

hi friends

 

i need webdynpro interview questions and answers

urgently

 

thanks

How to Configure UWL in Portal

$
0
0

Hi,

I have to configure UWL in Netweaver Enterprise Poatl 7.0.

The user hasSAP inbox. got But we have to configure the user's SAP inbox in the Portal so that the user can see all his mails in the Portal.

Please help me how to configure the SAP mail box in the Portal.

 

Regards

-Sandip

Downloading table data into Excel sheet - Webdynpro Java

$
0
0

Hi All,


We have developed a custom webdynpro application that executes an RFC and displays data in Table UI element. We have provided a button to download the data in excel sheet. When data is huge like, total number of rows filled up in the table are around 11,000 & columns are 32, and when user tries to download whole 11000 rows in excel sheet, the timeout occurs after 20 mins due to huge data. But when I apply filtering on the same table data and then try to download some 700 rows out of 11000 into excel, it took me around 3.36 mins.

 

If anyone encountered such scenario in past, please guide in this regard to speed-up the download to excel functionality or suggest any other alternative.



We are using 7.3 Portal and tableUtilities java class for export to excel functionality.


Thanks,

Amol.


HTTP 500 internal server error while starting abap web dynpro application

$
0
0

Hi there,

 

i have some problems concerning my web dynpro abap configurations in the system. When i start an application the browser appears and displays the http 500 internal server error.  The required icf nodes are activated, as far as i know. the following properties are set:

 

hostname: aet

port: 8000

 

The generated url for the web dynpro application looks as follows:

 

http://aet.ls3001:8000/sap/bc/webdynpro/sap/zwdr_test?sap-language=EN

 

Maybe anybody of you out there has an idea for that situation.

 

Thanks for your afford and kind regards,

 

Albert

difference between RFC and BAPI and BADI.

$
0
0

Hi all,

 

please tell me the difference between the RFC, BAPI, BADI in the perspective of WD java Developer.

 

what are the basic differences, how to call them in the NWDS.

 

thanks in advance.

Found in negative cache.... very strange.

$
0
0

Hellow !!!

 

Somebody knows why this error takes place. 

They take place when executing webdynpro in Portal. 

This Improvement when I make deploy again, but this cause that another one webdynpro fails,

with the same error,that is very strange.

Somebody has experience with this situation?

 

java.lang.ClassNotFoundException: com.sap.wdp.InternalLibHESView Found in negative cache

 

 

-

-


Loader Info -

-


 

 

ClassLoader name: Parent loader name: References:

common:service:http;service:servlet_jsp service:ejb common:service:iiop;service:naming;service:p4;service:ts service:jmsconnector library:jsse library:servlet common:library:IAIKSecurity;library:activation;library:mai

l;library:tcsecssl library:ejb20 library:j2eeca library:jms library:opensql common:library:com.sap.security.api.sda;library:com.sap.se

curity.core.sda;library:security.class;library:webservices_lib;service:adminadapter....

 

Regards,

Antonio Villagrán.

 

 

 

WebWidget element can`t execute JavaScript code in not default view

$
0
0

I have got Webdynpro Java  application and 2 view(View1 and View2).

 

- View1 is a default view.

1.png

 

 

- WebWidget element is in View2.

2.png

3.png

Webwidget should run the Alert(in JS) and create simple table(in HTML).

But when we move from View1 to View2  webWidget don`t call JS code((

Convert currency display Web dynpro

$
0
0

I want data auto convert type currency after click on enter or tab!

Help!

HTTP 500 internal server error while starting abap web dynpro application

$
0
0

Hi there,

 

i have some problems concerning my web dynpro abap configurations in the system. When i start an application the browser appears and displays the http 500 internal server error.  The required icf nodes are activated, as far as i know. the following properties are set:

 

hostname: aet

port: 8000

 

The generated url for the web dynpro application looks as follows:

 

http://aet.ls3001:8000/sap/bc/webdynpro/sap/zwdr_test?sap-language=EN

 

Maybe anybody of you out there has an idea for that situation.

 

Thanks for your afford and kind regards,

 

Albert

What is singleton property in Webdynpro

$
0
0

Hi,

What is singleton property in Webdynpro?

please explian along with diagram

 

Regards,

Sid.


webdynpro interview questions and answers

$
0
0

hi friends

 

i need webdynpro interview questions and answers

urgently

 

thanks

Web Dynpro drop down by key and index

$
0
0

can any body please explain the difference between the two?

and could you provide me any tutorial on use of drop down list to make an aplication to display different images on selecting different values from the drop down list?

Invalid Response Code: (401) Unauthorized.

$
0
0

Hi,

 

I am calling a WebService from a Adobe Form designed using WebDynpro.

 

When the Webservice is called an exception is raised and the following message is shown.

 

"Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized"

 

Anbody has any idea why this exception is raised.

 

Thanks,

Sameer

How to Configure UWL in Portal

$
0
0

Hi,

I have to configure UWL in Netweaver Enterprise Poatl 7.0.

The user hasSAP inbox. got But we have to configure the user's SAP inbox in the Portal so that the user can see all his mails in the Portal.

Please help me how to configure the SAP mail box in the Portal.

 

Regards

-Sandip

Problem NWDS 7.3 - Adaptive WebService Model

$
0
0

Hello everybody !

 

I would like to post one problem concerning the implement of a new WSDL file in my NWDS 7.3 and have your feeling or your tips if you had already encountered this kind of error.

 

What i have done :

 

- I have tried to import a WSDL file in my NWDS 7.3 in order to create a new Adaptive webService Model.

I have already tested this WSDL file in SOAP UI and webMethods with a proxy filled and the webService is working correctly.

 

Once i have created my new Model (Name : DBI1Model), i have linked my Model with my component controller (AsegmentCust) in which i want to call the webService. (see screenshot below) :

 

Picture1.JPG

 

You can see below in my Component controller context the model node linked with my Model :

 

Picture3.JPG

In order to call the webService, i need to fill the following fields : CodigoConsulta, Senha, Usuario and Valor1.

Normally, i should receive a XML string in the field Return.

 

In my controller, you can find below the code that i have implement in order to call the WS :

 

//Creation of the model

 

DBI1Model dbi1Model = new DBI1Model();

manager.reportWarning("Step1");

 

// Instanciation of the model node

 

Request_ConsultaOnLine input = new Request_ConsultaOnLine(dbi1Model);

input.setUsuario("TEST");

input.setSenha("TEST");

input.setValor1("08090788000267");

input.setCodigoConsulta(3);

 

manager.reportWarning("Step 2");

 

wdContext.nodeRequest_ConsultaOnLine().bind(input);

 

 

try{

    manager.reportWarning("Step 3");

 

    input.execute();

          

    manager.reportWarning("Step 4");

}

catch(Exception e){

          

    manager.reportException(e);

    manager.reportWarning("Fail");

          

}

 

 

When i execute the application and try to call this WS, i have the result below :

 

Step 1

Step 2

Step 3

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

Fail

 

 

Do you have an idea of the problem ?

 

Thanks,

Regards,

NIcolas

Viewing all 989 articles
Browse latest View live