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

What are the relational operations that can be performed on view in sap? : abap data dictionary

896


Sal abap on hana interview

1259


What are the basic object types? : sap abap hr

1082


What is the use of the raising exception? : abap modularization

927


What is the Process to transfer IDOC from Outbound System to Inbound system.

2098


Does the call transaction method allow multiple transactions to be processed by sap?

944


How many types of views are there ?

1074


How to load data from ms excel sheet to sap by using bdc method ? : abap bdc

1218


What is the function module to popup contents in the internal table?

975


What is a subroutine?

1004


What is the lock object?

1000


How do you retrieve the data for repetitive structures ? : abap hr

1132


What is read line in abap?

1062


Explain about the tables exists in a data dictionary and what are they? : abap data dictionary

1032


If I want to execute a program only in background not in foreground is there any option for this? : abap bdc

952