cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with a Function Module in a JAVA Web Dynpro Application

former_member192766
Participant
0 Kudos

Hi,

I have an issue with a Function Module in a TEST environment.

In the FM I am getting data from different ABAP tables, in SE37 I see all the data but when I import the FM in JAVA Web Dynpro some binded fields are empty. This is happening in the Test portal only. In Development the FM is working fine. We are using NWDI.

The empty fields are of type STEXT, and the data is from HR/ESS tables.

In the Debug mode when running the Model the fields are empty.

We are using Web Dynpro JCO destinations, the user is having SAP_ALL authorization.

Any idea's??

Thanks,

Ridouan

Accepted Solutions (1)

Accepted Solutions (1)

former_member185086
Active Contributor
0 Kudos

Hi

Compare the configuration of Test and Development system for same .

Best Regards

Satish Kumar

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Please check these...

1) please check fields in table & context node/attributes are same

if you modify, you need to restart your j2EE server & need to do re context binding to see the changes.

2) please check the context binding/mapping between controllers & ui elements

3) debug

Best Regards

Ravi

former_member192766
Participant
0 Kudos

Hi,

Thanks for your answer.

This is not a Context issue, I am not a beginner.

J2EE engine has been restarted for several times.

I have also deployed the application directly to TEST from NWDS.

In the debug mode these fields are also empty. Something is going wrong/lost with the call of the Function Module from Web Dynpro.

In Development the Application is working fine.

I have created a test Web Dynpro apps, called the function module and the result is the same.

The fields from an HRP-table are empty in Java Web Dynpro.

I am still looking and I think it's an authorization issue but any comments are welcome.

Thanks.

former_member192766
Participant
0 Kudos

Hi,

I have downloaded the JCo 2.1.8 from the SAP Marketplace and used Example2 to retrieve the data from the mentioned Function Module. The empty fields in the Java Application are here also empty.

So, in SE37 I get all the data in the fields but in JCo I get just some data.

The data I don't see is coming from the HRP1001 table.

Anyone???

Regards,

Ridouan

former_member192766
Participant
0 Kudos

Thank you all.

The issue was the language in the JCo destinations, changed the language to NL and everything is working fine now.

Former Member
0 Kudos

Hi Tailbi

Check the following things

1. Check/ execute the function modules at se37. Correct or not? execute like exact like front end.

2. If output is coming correctly at Se37 means issue with the Webdynpro only.

3. You are using NWDI means do the sync source again after this reimport the model.

4. Some times NWDI goes down we will get these kind of issues.

Regards

-SS

former_member192766
Participant
0 Kudos

Hi,

As I said, executing the FM in SE37 is working fine.

An example: The Function Module is retrieving a name of a person, an email address and an Organization Unit. In SE37 I see all the data but in Web Dynpro I see only the name and email Address. Organization Unit name is not retrieved and is coming from a different Table in ABAP then the name and email address.

I have deleted the Web Dynpro Application in Test, deployed the application again.

I have restarted the SAP Instances on Test.

The resources has been synchronized.

Thank you.

Regards,

Ridouan