F4 search help f4if_int_table_value_request

Source: Internet
Author: User

 

Select-options: s_status for crm_jest-stat no intervals.

At selection-screen on value-request for s_status-low.

Perform serach_status.

Form serach_status.

DaTa return_tab like ddshretval occurs 0 with header line.

DaTa: Begin of lt_status occurs 0,

Estat like tj30t-estat,

Txt30 like a tj30t-txt30,

End of lt_status.

Select estat txt30

Into corresponding fields of table lt_status

From tj30t

Where stsma = 'ztsdc '. "Name of the ztsdc document

Call function 'f4if _ int_table_value_request'

Exporting

Retfield = 'estat' "inner field

Dynpprog = sy-repid

Dynpnr = sy-dynnr

Dynprofield ='s _ Status-low' "screen Field

Value_org = 'S'

Callback_program = sy-repid

Tables

Value_tab = lt_status

Return_tab = return_tab

Exceptions

Parameter_error = 1

No_values_found = 2

Others = 3.

If sy-subrc <> 0.

* Message ID SY-MSGID type SY-MSGTY number SY-MSGNO

* With SY-MSGV1 SY-MSGV2 SY-MSGV3.

Endif.

Endform. "serach_status

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.