cancel
Showing results for 
Search instead for 
Did you mean: 

getting value from attribute

Former Member
0 Kudos

Hi,

I have created one view for creating airline details. fields are airline, flight number, date & price. In airline field, it has search help. So when im selecting the airline and press enter the flight number will come in the flight number field.I have included onenter action in airline field. Then if we press save button it should be saved into the database. My query is after saving airline field is saved into database but im not getting the value of flight number.

    • For getting airline , i have written code like this**

lr_screen_node = wd_context->get_child_node( 'SFLIGHT_CARRID' ).

lr_screen_node->get_attribute( EXPORTING name = 'value' IMPORTING value = v_text ).

w_sflight-carrid = v_text.

it is working properly. How can i get the value of flight number..

pls help me.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Shyja ,

For getting the flight number read the attribute thats binded to the textfield flight number using wizard. it will return you the value in a variable.

Regards

Sarath

Former Member
0 Kudos

hi shyja.......

place a break-point in the read attribute and check whether it is getting the value...... else check your binding....

and then use the insert statement to store value in database.

db-fieldname = <value>.

insert db.

---regards,

alex b justin