cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding Rfc-Read-Table

Private_Member_52584
Participant
0 Kudos

Hi Experts,

In my project i have to use Rfc-Read-Table to fetch the data from the backend. I know the concept of BAPI.

How to fetch the data by using Rfc-Read-Table and that Data must be populate with in the dropdown field in the view..

How can do it...can any body suggest me and what code i need to write there..... can any body send the code for dropdown and dependency dropdown code......

Regards,

Venkat.

Accepted Solutions (1)

Accepted Solutions (1)

gill367
Active Contributor
0 Kudos

Create a model for the particular BAPI in the web dynpro.

then get the model object and execute it after passing the required data to the backend.

then the model nodes will eb filled with the output form the backend bapi.

map the context attibute to the texts property of the UI element dropdownbyindex and it will eb filled automatically with the values.

then in the onselect of this dropdown fill the other dropdown.

go through this link for information

http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a00f7103-6790-2a10-ac9c-fcac7c5b1...

Thanks

sarbjeet singh

Private_Member_52584
Participant
0 Kudos

Thanks sarbjeet singh.....

I have done what you suggested to me...But the data from the backend overwriting in the dropdown list.

i.e. I have multiple dropdown fields in my view.Every dropdown field must have the different field names.But all are having same

field names. I have done binding the dropdown fields with same element called field name in the RFC-READ-TABLE node.

The first time i am calling the RFC-READ-TABLE with the table name "T024".In that i don't want all the field names which the table having .I just want field names called EKGRP and EKNAM. How to fetch these field names in my dropdown. For the second dropdown the table name is different and field name s also....how i can fetch the different data from backend for different dropdown fields.And can u explain how to code for dependency dropdownfield.

Regards,

Venkat.

Answers (0)