cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding Creation of specific Application scenario..

Former Member
0 Kudos

Hii All,

I am having a requirement where i have to create a application in which in FIRST view i m having a dropdown menu,from where i have select one parameter from dropdown menu, say for example there is list of countries in a drop down menu.when i select say India i will get a tabular data say "<b>name of state</b> ","<b>population</b>","<b>male:female ratio</b>" and etc.

and i should get this tabular data corresponding to default country defined.When i will change the country from dropdown menu,I will get all detail(tabular data) corresponding to that country.

and when i click on any item specified in "<b>name of state</b>" i.e one of the column of tabular data,it should display another table(some x, y , z colums) corresponding to that state .

Can anyone help me out on how many bapiwrappers needs to be used for the above application and how will be the structure.

Do i need to use a create, change bapiwrapper for dropdown menu or what??

Thanks in advance

Devendra Kumar Phate.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hello deven,

are you creating an application for MI client or an ABAP

application?

if you already have your data structure available in ABAP,

i don't think that you should re-create one that will cater

to the UI on your client application. if you are using the

MI Tomcat runtime, you can make use of the web control events

like onChange, to retrieve the corresponding data from

data repository using the selected value. you can make use

of XMLHttpRequest and DOM manipulation thru JavaScript;

in this case, there no need for the whole page to be

reloaded; only the delta data would be exchanged. you have

however to create the corresponding handlers in your MI

app that will return these XML elements (e.g. your state

details) that will be inserted into your browser's DOM tree.

hope this gives you an idea.

regards

jo

Answers (0)