Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Which function module you will use to attach a search help
to a field in Selection screen?

Answer Posted / rajarao

REPORT z_test11 .


PARAMETERS:
p_carrid(2).




DATA: table1 LIKE
ddshretval
OCCURS 0 WITH HEADER LINE.


AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_carrid.



CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
EXPORTING
tabname = 'scarr'
fieldname = 'carrid'
* SEARCHHELP = ' '
* SHLPPARAM = ' '
* DYNPPROG = ' '
* DYNPNR = ' '
* DYNPROFIELD = 'p_carrid'
* STEPL = 0
* VALUE = ' '
* MULTIPLE_CHOICE = ' '
* DISPLAY = ' '
* SUPPRESS_RECORDLIST = ' '
* CALLBACK_PROGRAM = ' '
* CALLBACK_FORM = ' '
* SELECTION_SCREEN = ' '
TABLES
return_tab = table1
EXCEPTIONS
field_not_found = 1
no_help_for_field = 2
inconsistent_help = 3
no_values_found = 4
OTHERS = 5
.
IF sy-subrc 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
p_carrid = table1-fieldval.


START-OF-SELECTION.
WRITE: p_carrid.

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

SM35 transaction, How to automate BDC ?

1131


What will you code in start-of-selection & end-of-selection ?

1042


what is friend class

1342


What is a badi?

962


What are the problems in processing batch input sessions? How is batch inputprocess different from processing online?

1034


What is the differences between structure and table in the data dictionary in abap?

1122


How to handle errors in call transaction bdc method without using bdcmsgcoll internal table? : abap bdc

1146


What is the table buffer?

986


What is pass by value and what is pass by reference? Which is better?

1357


Why do we use events and actions in web dynpro?

971


What are two methods of modifying sap standard tables?

1089


Have you worked with support? How ticket comes to you? What were the timings for resolving tickets types of severity?

2007


What is the disadvantage of a call by reference? : abap modularization

1078


What are the data classes in abap?

1102


What is sap luw or update transaction?

1023