2011 Sep 22 12:41 PM
Hi ,
i am new to modulepool prgramming.
i have a doubt on DROP DOWN LIST SELECTION.
I have 'CARRID' and 'CARRNAME'
Based upon CARRID from DROP DOWN LIST SELECTION , the CARRNAME shold populate automatically in textbox( i have designed DROP DOWN LIST SELECTION. and text box ).
Can anybody explain me how to procced.
I am able fetch the record on DROP DOWN LIST SELECTION(CARRID) but the Not able to populate the records on text box.
For Ex:-
if i will choose ''AA' ->CARRID in DROP DOWN LIST SELECTION in text box "American Airlines " should populate automatically.
Thanks in adv..
2011 Sep 23 12:00 PM
Hi,
Use
FIELD <table-fieldname> MODULE Fill_Data.
IN PAI section of code for Screen.
Now Double clicking on Fill_Data,write Code for populating CARRNAME for corresponding
CARRID.
This shud solve our problem
Regds,
AS
Hi,
For populating the carrier name in the text box, you will have to write the logic in PAI module. Suppose p_carrid and p_carrname are your screen fields.
SELECT SINGLE carrname
FROM scarr
INTO p_carrname
WHERE carrid EQ p_carrid.
Regards,
Danish.
2011 Sep 23 12:00 PM
Hi,
Use
FIELD <table-fieldname> MODULE Fill_Data.
IN PAI section of code for Screen.
Now Double clicking on Fill_Data,write Code for populating CARRNAME for corresponding
CARRID.
This shud solve our problem
Regds,
AS
2011 Sep 23 12:06 PM
Hi,
For populating the carrier name in the text box, you will have to write the logic in PAI module. Suppose p_carrid and p_carrname are your screen fields.
SELECT SINGLE carrname
FROM scarr
INTO p_carrname
WHERE carrid EQ p_carrid.
Regards,
Danish.
2011 Sep 23 12:10 PM
Hi,
IN PBO,you can use the FM VRM_SET_VALUES.
pass the parameter to the FM.
2011 Oct 13 1:34 PM
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |