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

Count Down Timer in Webdynpro

$
0
0

Hello All,

I am in need to implement a <b>count down timer</b> for an online application developed in Webdynpro. The count down timer logic is available as a java script file.

 

Options tried out till now..

1. Included the the html file with java script into src/mimes/components

2. Create a IFrame and provide the src file as the html file.

 

Works fine. But ...

- The problem with this option is when any action happens (eg. a button click), the same refreshes the entire view that makes the timer to start from first.

 

Does anybody have any alternative solutions to implement this functionality. Kindly reply.

 

Thanks & Regards,

Venkat.


NWDS 7.31 build errors: CMICardinality.ONE cannot be resolved

$
0
0

Hi,

 

I am getting the following errors after importing the WebDynpro Java DCs into NWDS 7.31, can anybody provide any resolution?

 

1. CMICaridality.ONE cannot be resolved

2. com.sap.tc.webdynpro.progmodel.context.DataNodeElement cannot be resolved

3. com.sap.tc.webdynpro.progmodel.gci.IGCIExternalController cannot be resolved

 

etc.

 

Thank you.

 

Any help, highly appreciate.

 

Regards,

Rambabu

regarding Java related webdynpro

$
0
0

Hey guys,

I have some doubt in settings.

I have NWDS and J2EE installed on my local PC.

and i have server with SAP enterprise or ERP2004.

Now i am planning to work with Java related work

to acces with SAP(may be Webdynpro or Jco etc).

Is it possible to get done work with this environment?

if so pls let me know if any special setting required for it.

Bcoz, I have created sample webdynpro program and started J2ee at client pc. but could not execute webdynpro program. I get demployment error and it says

set ur J2ee configure. however i have set my J2EE engine here with Localhost and 3601 port.

But still i could not deploy it..why is it so?

Pls suggest me. i am struck up here.

Ambichan.

System received expired SSO ticket

$
0
0

Hello All,

 

 

 

Portal version: NW CE 7.3 EHP1

 

 

 

I have a Web Dynpro Java application that calls RFC using Adaptive RFC model.

 

We are facing intermittent issue when were see below error and model execution fails: -

 

 

 

Caused by: RfcException: [null]

    message: System received an expired SSO ticket on AB1 mshost ab1.mysystem.com

    Return code: RFC_SYS_EXCEPTION(3)

    error group: 103

    key: RFC_ERROR_LOGON_FAILURE

 

 

 

I checked SAP Note 947376 and set login.ticket_lifetime and SessionExpirationPeriod both to 16hrs.

 

And also, in addition to this, I include below line after model execution so that it closes JCO connection: -

 

 

 

wdContext.currentZ_Model_InputElement().modelObject().modelInstance().disconnectIfAlive();

 

 

 

But still same error is occuring intermittently.

 

 

 

Also, looked at SAP Note 1130191, but it is not clear 'what' needs to be done as solution.

 

 

 

Any more ideas on this?

 

Thanks & Regards,

Amey Mogare

what are the cardinality in web dynpro.

$
0
0

Hi Expert,

 

        actual i want to know  to different kind of cardnality and explain each of them and where it will use and how to use in diffferent situation

 

please tell me

 

thanks

subodha

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?

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

regarding Java related webdynpro

$
0
0

Hey guys,

I have some doubt in settings.

I have NWDS and J2EE installed on my local PC.

and i have server with SAP enterprise or ERP2004.

Now i am planning to work with Java related work

to acces with SAP(may be Webdynpro or Jco etc).

Is it possible to get done work with this environment?

if so pls let me know if any special setting required for it.

Bcoz, I have created sample webdynpro program and started J2ee at client pc. but could not execute webdynpro program. I get demployment error and it says

set ur J2ee configure. however i have set my J2EE engine here with Localhost and 3601 port.

But still i could not deploy it..why is it so?

Pls suggest me. i am struck up here.

Ambichan.


Always getting j2ee_guest as logged in user

$
0
0

Hi All,

 

I am creating an application where I am supposed to get the user id which has logged into the portal. My code is as follows

 

 

IWDClientUser clientUser = WDClientUser.getCurrentUser();

               IUser user = clientUser.getSAPUser();

 

               eMailId = user.getEmail();

I am always getting the user as j2ee_guest no matter whoever has logged into the system. I am suprised why this is happening.

 

Plz help.

 

Regards

 

Nikhil Bansal

How do i get all ui elements of a view? (Web Dynpro Java)

$
0
0

Is there a way to recursively get all elements inside the root element of a web dynpro (java) view? 

For each child element found, i would like to read/modify properties at runtime.

What is singleton property in Webdynpro

$
0
0

Hi,

What is singleton property in Webdynpro?

please explian along with diagram

 

Regards,

Sid.

ICM_HTTP_CONNECTION_FAILED error in SM59

$
0
0

Hi,

 

I configured ADS and it was working fine with http service.

 

Now i configured SSL in Java and ABAP instances.

 

I need to setup SSL communication between these 2 instances.

 

I did configuration for that but in SM59 when i do connection test for ADS_HTTPS RFC it is giving me an error ICM_HTTP_CONNECTION_FAILED.

 

Please can anybody guide me with a solution.

 

With Regards,

Pradeep.B

Web Dynpro JAVA RFC application error

$
0
0

Hi,

 

I am creating a Web Dynpro JAVA application which deals with RFC. I have created table and function module in the backend, and imported adaptive RFC model too, then created component controller by applying template as service conttroller, and model binding. In the search view there are 5 input fields and a radio button and a submit button. the model node attributed are mapped to the input fields. But when I am deploying the application on J2EE server, all the input fields are coming as read only, and I am not able to input any value in it. I checked the read only property field of all the input field UI elements, but they are false.

Please suggest what is the problem? As the application is completely OK according to the sample applications given on SAP help.Also when I am trying to set the value of a model attribute received from "selected key" value attribute, in run time it gives Null Pointer Exception.

 

Thanks in advance for help.

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?

Duplicate field in SOAP Header

$
0
0

Hy Guys,

 

 

I was migrating a set of applications from nw70 to nw74 and I got an error when a web dynpro model calls one PI web service.

Analyzing the PI context we saw the message "Number of xml tag WSCorIDSOAPHeader is 2, expected number is 1" and the PI soap envelope that arrives at the channel really have two tags WSCorIDSOAPHeader.

 

 

Someone else has seen it before??

 

 

Thanks,


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.

System received expired SSO ticket

$
0
0

Hello All,

 

 

 

Portal version: NW CE 7.3 EHP1

 

 

 

I have a Web Dynpro Java application that calls RFC using Adaptive RFC model.

 

We are facing intermittent issue when were see below error and model execution fails: -

 

 

 

Caused by: RfcException: [null]

    message: System received an expired SSO ticket on AB1 mshost ab1.mysystem.com

    Return code: RFC_SYS_EXCEPTION(3)

    error group: 103

    key: RFC_ERROR_LOGON_FAILURE

 

 

 

I checked SAP Note 947376 and set login.ticket_lifetime and SessionExpirationPeriod both to 16hrs.

 

And also, in addition to this, I include below line after model execution so that it closes JCO connection: -

 

 

 

wdContext.currentZ_Model_InputElement().modelObject().modelInstance().disconnectIfAlive();

 

 

 

But still same error is occuring intermittently.

 

 

 

Also, looked at SAP Note 1130191, but it is not clear 'what' needs to be done as solution.

 

 

 

Any more ideas on this?

 

Thanks & Regards,

Amey Mogare

ICM_HTTP_CONNECTION_FAILED error in SM59

$
0
0

Hi,

 

I configured ADS and it was working fine with http service.

 

Now i configured SSL in Java and ABAP instances.

 

I need to setup SSL communication between these 2 instances.

 

I did configuration for that but in SM59 when i do connection test for ADS_HTTPS RFC it is giving me an error ICM_HTTP_CONNECTION_FAILED.

 

Please can anybody guide me with a solution.

 

With Regards,

Pradeep.B

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.

 

 

 

Connect to SAP Gateway Failed

$
0
0

Dear Experts,

  This is my first post after upgrading the SCN

I am using SAP NWDS 7.01.10 (SP10) and my SAP logon pad version 720 (7200.3.7.1066)

I am not able to connect model(Adaptive RFC model) from my NWDS. After giving user credentials it showing the pop up connect to SAP Gateway failed.Please find attached screenshot for you reference.

Could you please give me your suggestion how to resolve this?

note: I tried reinstalled my NWDS and connected but no luck. i tried with librfc.dll file in c:\\windowsNT\system32 then also no luck.

 

Regards,

Manivannan P

Viewing all 989 articles
Browse latest View live


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