METHOD airlineset_get_entityset.
*** --- Get the Selected string
DATA(lv_str) = io_tech_request_context->get_search_string( ).
**** --- Replace
REPLACE ALL OCCURRENCES OF '*' IN lv_str WITH '%'.
*** --- Get Airline Details
SELECT carrid carrname currcode url FROM
scarr INTO CORRESPONDING FIELDS OF TABLE et_entityset
WHERE carrid LIKE lv_str.
IF et_entityset IS NOT INITIAL.
** -- Inline Count
es_response_context-inlinecount = lines( et_entityset ).
** -- Paging
CALL METHOD /iwbep/cl_mgw_data_util=>paging
EXPORTING
is_paging = is_paging
CHANGING
ct_data = et_entityset.
ENDIF.
ENDMETHOD.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
14 | |
10 | |
9 | |
7 | |
5 | |
4 | |
4 | |
4 | |
4 |