cancel
Showing results for 
Search instead for 
Did you mean: 

Web Dynpro model binding

gill367
Active Contributor
0 Kudos

can anybody help me here.

I want to take some data from the backend system and want to display it into a table.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

thn use rfcs..

[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a00f7103-6790-2a10-ac9c-fcac7c5b18a3]

[https://www.sdn.sap.com/irj/sdn/softwaredownload?download=/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/business_packages/a1-8-4/5tutwd_flightbooking.zip]

Regards

Khushboo

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi,

Create a model using the wsdl of the backend system.

Execute the model.

Bind the result data to the table node.

Go to nwa--> SOA Management > SOA Middle ware Global Settings>Http Proxy

Give Proxy server settings and ur system username and password.

Can you tell whether you want to know how to execute the model or u have any issues while running the webdynpro application.

Code sample to execute a model

// create a new model instance (1)

model = new EmailAdWSModel();

// create model objects (2, 3)

Request_SendEmail requestMO = new Request_SendEmail(model);

SendEmail emailMO = new SendEmail(model);

// associate model objects (4)

requestMO.setSendEmail(emailMO);

// bind executable model object to context node (5)

wdContext.nodeRequest_SendEmail().bind(requestMO);

Regards,

Gayathri.

Former Member
0 Kudos

hi,

follow this procedure

1. Choose the context menu entry Create Model on the Models node.

2. Choose Import RFC Model.

3. Make the required specifications in the second wizard window to define where the generated RFC proxies are to be stored.

4. In the next wizard window, log on to the SAP System that contains the BAPIs with the business logic.

5. Select the BAPIs for which you want to create Java proxies.

6. Choose Finish to start the proxy generation process:

7. In the Web Dynpro Explorer, choose Create Component Interface Definition in the context menu for the node Web Dynpro Component Interfaces.

8. Enter a name and a package and choose Finish.

9. The following structure is created in the Web Dynpro Explorer:

10. Place the cursor on the subnode Used Models and choose Add in the context menu.

11. Select the Web Dynpro model in the dialog box.

12. Choose OK.

Regards,

Sunaina Reddy T

Former Member
0 Kudos
Former Member
0 Kudos

hi!

search sdn first .

former_member192434
Active Contributor
0 Kudos

Hi

You need to create Model. and mapp it with. table .

Just check these bolock you will get some idea

[original link is broken]

thanks

Former Member
0 Kudos

Hi,

You need to create a model of the BAPI from where you need to get the data.

You can refer to the following link on SAP help:

http://help.sap.com/saphelp_webas630/helpdata/en/13/d439910490a445ba721a700f8fbb47/content.htm