cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI Problem.

Former Member
0 Kudos

Hi Experts,

I am trying to complete one application as Adaptive RFC Module.My problem is i imported two BAPIs from R/3.One is location and another one is some list.Then i created two dropdown box. i executed all the bapis in controller and intialised in view part also. here my problem is whenever i clicked first bapi then second bapi should display related fields from the first bapi.how can i implement this step.What is the coding behing that,Please send me with explanation.

Thanks

Selvam

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

Check the node which you are bind to the dropdowns.I think you bind the first bapi's output node to the second drop down.

Kind Regards

Mukesh

Former Member
0 Kudos

Two-dropdown-question has been asked just too many times in this forum.

Keep the second field as an inputField and implement <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/91c5e990-0201-0010-4981-9b2075751da5">evs</a> .

There is an onSelect event for DropDownByKey. You need to write your code in that.

Since you say that the bapi's have already been executed, all you need to do is loop through the output node and add the relevant values to the valueset of the second input field.

Hope the tutorial and explanation helps.

Regards,

Subramanian V.