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

Write syntax for message error (report)?

624


What is a sequence of event-triggered in report?

619


What is the name of the system variable that holds the contents of the selected line in interactive reporting?

694


What is the bitwise operator in the sap abap?

577


What are the commands used for interactive reports?

561






How we format the data before before write statement in report ?

547


Explain what is the difference between primary key and unique key?

628


What are logical data bases used in hr module? : abap hr

631


Is logo in script 1st stored as tiff format before uploading or in jpeg format?and where is that stored after uploading?

1583


To find the date difference & excude saturday & sunday in between them

1509


B -Credit Note report Selection Screen Ranges: Creation date Sales Org Sold to Party Selection condition: Document Category – VBTYP should be ‘O’ Table to be used: VBRK, VBRP,VBPA,ADRC List the CR order types or credit billing type by customer number (or selected customer) and displays the: - Billing Document date (FKDAT) - Customer number (KUNRG) - Name of the reseller (on top of the SAP No) (NAME1) - Billing document number,(VBELN) - order reason (AUGRU_AUFT) - Amount (NETWR) - Currency (WAERK) Group Currency wise, billing type wise sum of Net value. When user double click on field ‘Billing Document #’ , display the document in VF03 Do this using OO ABAP.

2450


What are critical issues you have faced in your project

2909


It is not possible to create an abap/4 program, which contains only subroutines. State true or false. : abap modularization

698


Did you create primary index?

535


What is the difference between dialog program and a report?

604