cancel
Showing results for 
Search instead for 
Did you mean: 

Tutorial TutWD_FlightList_Init Question

former_member205400
Active Participant
0 Kudos

SDNers, I am a Developer Studio beginner and was going through the TutWD_FlightList_Init tutorial and have a question about Step 6.

5. Call the SAP NetWeaver Developer Studio.

6. Import the Web Dynpro project TutWD_FlightList_Init.

The Web Dynpro project TutWD_FlightList_Init then appears in the Web Dynpro Explorer for further processing and editing in the context of this tutorial. The warnings triggered by the Web Dynpro project TutWD_FlightList_Init can be ignored at this time, since we will extend the Web Dynpro project during the remainder of this tutorial and will thus remove the displayed warnings. Without the additions we will make, the initial Web Dynpro project template TutWD_FlightList_Init cannot be executed.

So, I have the Developer Studio up and when I import it was asking me to build a project first. Of course I have no idea what "kind" of project I should select from the list. I assume that I am going to build this TutWD_FlightList_Init project and deploy it to the portal.

So, what "kind" of project should I select?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Michael,

If I am not wrong, you are facing problem while importing project in your Developer Studio.

You can go to menu File -> Import and there select "Existing project into workspace".

Now, browse the folder where you have stored your Tutorial project.

first of all unzip your tuotrial project if it is in zip file.

Let me know if your are getting further issues.

Regards,

Bhavik

Answers (10)

Answers (10)

former_member205400
Active Participant
0 Kudos

I got all the changes made to the project and got it "deployed", yahoo!!!!

I was trying to continue on and test the project though and I'm having some difficulty. Here are the steps:

Open the "Content Administrator"

Browse to the application node "local". (i didnt have this node before deploying the project)

Select WD_FLIGHTLIST_MODELDATA_DEST and choose Create to configure a new JCO connection.

Go though the steps of the JCO connection creation wizard and specify the connection data.

After making the required entries, press Finish.

Test your configuration data by pressing the Test button.

Here is my trouble:

When the details for the model comes up my "create" button is greyed out and there is not a red status.

I noticed that at the node "System Defined Content" -> "JCo Destinations" there is a red indicator with text that says "No conection to SLD". When I click on it I get a wizard for configuration.

Do I have to create this first?

Former Member
0 Kudos

Hi Michael,

First of all, you have to configure your SLD at following location:

http://<Server host>:<port>/sld

Fine documentation on how to configure SLD at:

http://help.sap.com/saphelp_nw04/helpdata/en/42/3a420910af11d6999400508b6b8b11/frameset.htm

You need to register your SLD in visual administrator under SLD data supplier service.

Regards,

Bhavik

Former Member
0 Kudos

Hi Michael,

did you try to repair your project? Select the project, open the context menu and choose Repair - > Project Structure and Classpath, it should help in this case

regards

Stefanie

former_member205400
Active Participant
0 Kudos

In fact specifically one that is missing is:

C:Program Files /SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.runtime/lib/SapDictionaryTypesRuntime.jar

but I only have one called:

C:Program Files /SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.runtime_2.0.0/lib/SapDictionaryTypesRuntime.jar

Any help is appreciated.

former_member205400
Active Participant
0 Kudos

I was able to "Create Binding" and have progressed through adding code and applying the imports.

The docs say that I should not be seeing any errors in the task window. I have 36 items in there, the bulk of them complaining about:

Missing required library: 'C:Program Files /SAP/IDE/IDE70/eclipse/plugins/com.sap.ide.jcd.core ....blah.blah.blah'

The docs say:

The Developer Studio updates and compiles your project sources. (Note: Compilation only occurs if you are using the Workbench standard settings.) Your Tasks view should no longer show any other errors.

Thanks for any help.

former_member205400
Active Participant
0 Kudos

I am getting an errro dialog when I attempt to "Editing UI elements for the ResultView"

65. Open the ResultsView in the View Designer by clicking the Layout tab.

66.Select the Table on the Outline tab and choose Create Binding from the context menu.

When I click on "Create Binding" I am getting an error dialog that says "An internal"

Plugin name: Web Dynpro View Designer

Plugin ID: com.sap.ide.webdynpro.viewdesigner

Class: com.sap.ide.webdynpro.viewdesigner.ViewDesignerPart

Method: eventhandling

Message: An error ocurred. See log for more details

Exception: Java.lang.nullpointerexception:null

I have no idea where the log is or how to get around this error. It was looking like the Search onAction event defined in the Searchview had a problem but I can't be sure.

Any help is appreciated.

Former Member
0 Kudos

Hi Michael,

Instead of doing this, select your table in layout and then click on properties tab.

Here, you will find data source property. Bind this property to the your context node by clicking on small button against htis property.

then, select each column and go to properties and set its text property to the attributes available under your context node.

Regards,

Bhavik

former_member205400
Active Participant
0 Kudos

I am seeing it now I was using an id that must not have had access to all those objects.

former_member205400
Active Participant
0 Kudos

Bhavik, Another problem.

23. In the project structure, double-click the name of the custom controller (in this case, FlightListCust).

24. Choose the Context tab if necessary.

25. Open the context menu for the root node Context and choose the option New ® Model Node.

26. Enter the name Bapi_Flight_Getlist_Input for the model node and choose Finish.

27. From the context menu for the model node that you have just created, choose Edit Model Binding…

28. Choose the model class Bapi_Flight_Getlist_Input, followed by Next.

<b>29. Activate the following entries: Destination_From and Destination_To. Expand Output and activate Flight_List. Choose Finish.</b>

The problem is I am not seeing Destination_From, Destination_To.

and nothing under Output to expand to activate Flight_List.

former_member205400
Active Participant
0 Kudos

Ok .... thats much better !!!

Thanks alot! I was able to move on and "Create Model".

former_member205400
Active Participant
0 Kudos

Bhavik,

Thank you very much. That fixed it and I awarded you the points. The steps in the document are not really intuitive.

For example:

9. In the project structure, expand the node Web Dynpro ® Models.

10. From the context menu, choose Create Model.

The appropriate wizard appears.

For example in the Navigator there is a node called "Model Folder" and right-clicking on it does not show create model. Also I don't see that icon anywhere in the tool.

Maybe I have a newer tool (Version: 7.0.11) than the doc?

Any help is appreciated.

Former Member
0 Kudos

Hi Michael,

Please confirm following steps:

1. You have opened Webdynpro perspective. If not, then goto menu Window->Open Perspective. Here, choose Webdynpro. Probably you have to choose Others first and then you can find it in the list.

2. It will open Webdynpro perspective. Now, at left side you can show your project in "Webdynpro Explorer". If you anable to find Webdynpro Explorer tab/window, then open it from menu Window->Show view.

3. If you see your project in Webdynpro explorer, then expand your project. You will find "Webdynpro" node. Expand it. You will have "Models" node. Right click on this models and you will get context option for create model.

Regards,

Bhavik

Former Member
0 Kudos

Hi Michael,

The application you r trying to import is WebDynpro Application.In order to import the same Open the Webdynpro Perspective in NWDS by going to Window->OpenPerspective->Webdynpro-Ok.

Now goto File->Import-> Select the Existing Project into WorkSpace-> Select the Project( TutWD_FlightList_Init) ->Finish .

now the TutWD_FlightList_Init(Webdynpro Application) is imported into ur NWDS.

Regards,

Jhansi