Search help on screen elements
Hi I have a screen where I need to include a seach help on the screen element. The element itself is just a generic char 8 field with no dictionary reference. I have tried using the VRM_SET_ VALUES in the PBO but as soon as I press enter it looses the value selected. So I have now tried the using the process on value_request but despite finding and populating 138 values in the search help pop up, the actual pop up screen shows a blank list, with the text at the bottom saying 138 values.
Any ideas what I am doing wrong?
Set list values
call function 'VRM_SET_VALUES'
exporting
id = lv_vrm_id
values = it_values
exceptions
id_illegal_name = 1
others = 2.
if sy-subrc <> 0.
MESSAGE I000 WITH 'Failed to populate username list values'.
endif.
process on value-request.
field my_field module fill_my_field.
call function 'F4IF_INT_TABLE_VALUE_REQUEST'
exporting
retfield = 'MY_FIELD
dynprofield = 'MY_FIELD'
value_org = ' '
dynpprog = progname
dynpnr = dynnum
tables
value_tab = it_values "it contains 2 fields that will be shown in the list box
exceptions
parameter_error = 1
no_values_found = 2
others = 3.
I'm still having problems with this. Here is my VRM set values - the problem I have with this is as soon as i choose a value from the list and press enter, the value dissappears from the screen element:
data: lv_vrm_id(80) type c.
data: lv_key(3) type n value 1,
lv_index type sy-tabix.
data: it_values type standard table of vrm_value,
s_values type vrm_value.
lv_vrm_id = i_type.
lv_key = 1.
clear it_values.
loop at it_cabn into s_cabn
where ATNAM = i_type.
read table it_cawn into s_cawn with key atinn = s_cabn-atinn
binary search.
while s_cawn-atinn = s_cabn-atinn.
lv_index = sy-tabix.
s_values-key = 1.
s_values-text = s_cawn-ATWRT.
condense s_values-text.
append s_values to it_values.
add 1 to lv_key.
lv_index = lv_index + 1.
read table it_cawn into s_cawn index lv_index.
if sy-subrc <> 0.
exit.
endif.
endwhile.
endloop.
* Set list values
call function 'VRM_SET_VALUES'
exporting
id = lv_vrm_id
values = it_values
exceptions
id_illegal_name = 1
others = 2.
if sy-subrc <> 0.
* MESSAGE I000 WITH 'Failed to populate username list values'.
endif.
And here is my code for the F4 lookup - the problem here is that the search help pop dispklays nothing depsite saying it has 138 values. I am wondering if its my it_values that is the wrong format, or is it the fact that my field type doesn't point to a dictionary element?
TYPES: BEGIN OF ty_values,
type(8),
descr(20),
END OF ty_values.
DATA: it_values TYPE STANDARD TABLE OF ty_values,
s_values type ty_values.
data: lv_key(3) type n value 1,
lv_index type sy-tabix.
* Build lookup values for wood type test
clear it_values.
loop at it_cabn into s_cabn
where atnam = i_type.
read table it_cawn into s_cawn with key atinn = s_cabn-atinn
binary search.
while s_cawn-atinn = s_cabn-atinn.
lv_index = sy-tabix.
* s_values-key = 1.
* s_values-value1 = s_cawn-atwrt.
s_values-type = s_cawn-atwrt.
append s_values to it_values.
lv_index = lv_index + 1.
read table it_cawn into s_cawn index lv_index.
if sy-subrc <> 0.
exit.
endif.
add 1 to lv_key.
endwhile.
endloop.
DATA: progname TYPE sy-repid,
dynnum TYPE sy-dynnr,
dynpro_values TYPE TABLE OF dynpread,
field_value LIKE LINE OF dynpro_values.
progname = sy-repid.
dynnum = sy-dynnr.
call function 'F4IF_INT_TABLE_VALUE_REQUEST'
exporting
retfield = 'ATWRT'
dynprofield = 'TYPE'
value_org = ' '
dynpprog = progname
dynpnr = dynnum
tables
value_tab = it_values "it contains 2 fields that will be shown in the list box
exceptions
parameter_error = 1
no_values_found = 2
others = 3.
if sy-subrc <> 0.
endif.
Similar Messages
-
Search Help Selection Screen Window Title
Hi Experts,
I have created a search help in se11 with import as well as export parameter.
While I press F4 on the field to which it is assigned then Search Help seelction screen opens up with a Window Tilte 'Sede Tecnica(1)' i.e. some standard text.
Can I change this F4 window title to user custom label?
Thanks
DepeshHi Depesh
While creating the search help exit following parameters are mandatory.
Changing
SHLP TYPE SHLP_DESCR
CALLCONTROL TYPE DDSHF4CTRL
Tables
SHLP_TAB TYPE SHLP_DESCT
RECORD_TAB LIKE SEAHLPRES
Regards
Bala -
Attaching search help to SCREEN FIELDS AND TABLE FIELDS
Hello experts,
Himanshu here.
Could you please explain how we can assign search Help to a screen field AND TABLE FIELDS in ABAP?
Please reply at the earliest,as we have some deliverables to be met
ThanksHi,
In the initial screen of the ABAP Dictionary, select object class Search help, enter the name of the search help and choose Create.
A dialog box appears in which you must select the type of search help.
Select Collective search help and choose .
The maintenance screen for collective search helps is displayed.
Enter an explanatory text in the field Short text.
You can for example find the search help at a later time using this short text.
In the Definition tab page enter the parameters of the collective search help.
Select the Imp flag if it is an import parameter. Select the Exp flag if it is an export parameter.
Define the types for the parameters of a collective search help by assigning a data element. Enter the name of the data element that describes the contents of the search help parameter in the Data element field.
You can assign the parameter a default value in the Default value field.
In exceptions it could be necessary to change the standard process defined by the search help. You can implement the deviation from the standard using a search help exit.
In this case enter the name of the search help exit in the corresponding field.
On the Included search helps tab page, define the search helps that you want to include in the collective search help.
You can include elementary search helps and collective search helps.
Use the Hide flag to control whether an included search help should appear in the dialog box for selecting the elementary search help. If the flag is set, the search help is not offered.
It makes sense to hide search help inclusions if one or more search paths in the standard system should not be used in a concrete R/3 System. Similarly, search help inclusions can also be already hidden in the standard system because they only can be used meaningfully in a few R/3 Systems. You have to cancel the flag in this case.
Position the cursor one after the other on each allocated search help and choose Parameter assignment.
In the next screen, enter the parameter names of the elementary search helps to which the corresponding parameters of the collective search help should be assigned in the field Reference parameter.
You can select the parameters contained in the included search help using the input help. Create a proposal for the assignment with Proposal.
Save your entries.
A dialog box appears in which you have to assign a development class to the search help.
Choose .
Result
The collective search help is activated. You can find information about the activation flow in the activation log, which you can display with Utilities ® Activation log. If errors occurred when the collective search help was activated, the activation log is automatically displayed.
Do not forget to link the search help to a screen field. The search help attachment is not part of the search help definition; it is part of the object definition to which the search help is attached.
regards,
veeresh. -
Howto limit options in search help for DDIC element LANGU (language)?
Hi all,
in my application I have an input field for a language parameter. Of course the standard search help (F4) opens a popup with all possible languages (registered in system). Now I want to limit these languages in the popup to only a few I want.
Is it possible to programmatically do this in ABAP, or do I have to copy the DDIC element and create an EXIT for the search help?
Thanks in advance for your help.
Kind regards, MatthiasMatthias F. Brandstetter,
You can do search help in 2 ways.
1.
You can copy existing one and make changes to that and add that to the field for which u want to.
2.
check the search help which tables are being used.if you know the tables , u can write search help using ABAP.
Check the procedure.
1.F4 help for field on the screen.
Event used.
PROCESS ON VALUE-REQUEST.
FIELD P0016-ZZ_CONTR_TYP module f4_for_contr_type..
2.F4 help for field on selection-screen.
Event used
AT SELECTION-SCREEN ON VALUE-REQUEST FOR FIELD p_contr_type.
g_progname = 'MP001600'.
g_scr_num = '2000'.
call function 'F4IF_INT_TABLE_VALUE_REQUEST'
exporting
retfield = 'ZHRPAE_CONTRTYP' "--> Field on F4 popup window
dynpprog = g_progname
dynpnr = g_scr_num
dynprofield = 'P0016-ZZ_CONTR_TYP' "--> Field on the screen
value_org = 'S'
tables
value_tab = i_zhrpat_contrtyp1 "-->Data that is displayed on F4 help
return_tab = i_ret_values "-->This contains selected record
properties
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 sy-msgv4.
else .
" Read table i_ret_values with index 1.
read table i_ret_values into w_ret_values index 1.
p0016-zz_contr_typ = w_ret_values-fieldval.
endif.
I hope that it helps u .
Regards,
Venkat.O -
F4_FILENAME in search help in screen painter
Hello gurus,
I want to design a screen in which the text input field is used to get file name. For that i need to enable file search in local folders and drives with f4 key press. I wish to use the functionality of function module 'F4_FILENAME" in screen painter. How can i do that?
I tried creating search help for RLGRAP structure. It compiles fine but gives the message 'No inout for selection'.
What should i do?Thank you all,
The problem has been solved.
I am posting the final code.
1. In se38, i created program zprogram.
2. In se51, i created a screen for the program zprogram.
3. In layout, i took 2 buttons and one input/output field.
1st button for import and 2nd button for exit.
4.In flow logic-
i wrote the follwing code.
PROCESS BEFORE OUTPUT.
MODULE STATUS_100.
PROCESS AFTER INPUT.
PROCESS ON VALUE-REQUEST.
FIELD FILENAME1 MODULE F4_FILE_SEARCH.
5. IN THE MAIN PROGRAM
i wrote the following code-
REPORT ZPROGRAM.
DATA: FILENAME1 TYPE RLGRAP-FILENAME,
OK_CODE TYPE SY-UCOMM.
CALL SCREEN 100.
MODULE F4_FILE_SEARCH INPUT.
OK_CODE = SY-UCOMM.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
FIELD_NAME = 'FILENAME1'
IMPORTING
FILE_NAME = FILENAME1
ENDMODULE.
MODULE STATUS_100 OUTPUT.
CASE OK_CODE.
WHEN 'IMPORT'.
MESSAGE 'THE FILE IS RECIEVED' TYPE 'I'.
WHEN 'CANCEL'.
LEAVE PROGRAM.
ENDCASE.
ENDMODULE.
I REFERRED TO THE DEMO PROGRAM MENTIONED
IN OTHER POST
NAME OF THE DEMO PROGRAM IS - DEMO_DYNPRO_F4_HELP_MODULE -
How to pass the default value to search help selection screen
Hi
I need to push a certain value as a default value based on a condition to the slection screen of search help in web UI.
Could you please let me know how can we do this?
When we try to open the 'F4' help in web ui then it should populate a certain value as a default value to the selection screen of this 'F4' help. We will get this default value based on condition.
Regards
AnilHi Arun
I'm using SE11 search help.I'm giving you my code for your reference here.
DATA:
ls_map TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping,
lt_inmap TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab,
lt_outmap TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab,
lr_qs TYPE REF TO cl_crm_bol_dquery_service,
lr_current TYPE REF TO if_bol_bo_property_access,
lv_category TYPE STRING.
ls_map-context_attr = 'struct.zzattr_i_1'.
ls_map-f4_attr = 'ATTRIBUTE'.
APPEND ls_map TO: lt_inmap,lt_outmap.
CLEAR ls_map.
ls_map-context_attr = 'struct.zzattr_i_1'.
ls_map-f4_attr = 'SERVICE_LINE'.
APPEND ls_map TO: lt_inmap.
CREATE OBJECT rv_valuehelp_descriptor
TYPE
cl_bsp_wd_valuehelp_f4descr
EXPORTING
iv_help_id = 'ZATTR1'
iv_help_id_kind = if_bsp_wd_valuehelp_f4descr=>help_id_kind_name
iv_trigger_submit = abap_true
iv_input_mapping = lt_inmap
iv_output_mapping = lt_outmap.
Here 'ZATTR1' is my search help name in SE11 and the field which is having 'F4' help is 'ATTRIBUTE'.
Now when I press 'F4' on 'ATTRIBUTE' then it will give a popup and this popup is having 3 fields..
1.'ATTRIBUTE'
2.'SERVICE_LINE'
3.Description of 'SERVICE_LINE' and hence by pressing 'F4' i should get a value in the field 'SERVICE_LINE' based on
a condition.
However, if there is a value for ATTRIBUTE on the screen and when we press 'F4' on this then in the popup the value of
ATTRIBUTE which is there on the screen is appearing in the 'ATTRIBUTE' field and the same value is being copied to
'SERVICE_LINE' field in the popup.
Please guide me how do we populate the value to 'SERVICE_LINE' field inside the search help popup of 'ATTRIBUTE'.
Best Regards
Anil -
Search help for screen field.
Hi all,
I had created a dataelement(ZZ_XXXXX) usig domain (LAND1). this LAND1 has a value table.
I have created a field on database table. Now when i add this field on screen, I am not getting F4 help for this field.
Can anyone suggest me how to F4 help for this field from the value table.
Thanks in advance.
regards,
NarsiReddy.Hi Narsi,
Make the field as a key field in table or
Create Search Help.
Regards,
Venkat. -
hi all,
I have two screen fields to which i have attached search helps dynamically (using function module F4IF_INT_TABLE_VALUE_REQUEST. The scenario is that i want to select the first field and depending on the value entered, i want to restrict the search help on the second field. eg: i select material (mara-matnr) and depending on the material, i want to show only the related plants (marc-werks for the material).
The issue is that when i write a select to populate the fields in the value_tab internal table(returned by the function module F4IF_INT_TABLE_VALUE_REQUEST, i write the following...
select werks from marc into (l_werks)
where matnr eq i_matnr.
where i_matnr is the screen field.
the selected material is not populated in i_matnr. However, while executing the PAI, the value can be seen.
What i rather want is this to be available in POV. since the module containing the above code is written in POV.
is there something i m missing?
if not then what could be the possible ways to get around this.?
I hope the problem is clear. Awaiting answers...
regards,
PJHi,
Check this sample code
F4IF_INT_TABLE_VALUE_REQUEST F4 help that returns the values selected in an internal table. Very handy when programming your very own F4 help for a field.
Example:
data:
begin of t_values occurs 2,
value like kna1-begru,
end of t_values,
t_return like ddshretval occurs 0 with header line.
t_values = 'PAR*'.
append t_values.
t_values = 'UGG'.
append t_values.
call function 'F4IF_INT_TABLE_VALUE_REQUEST'
exporting
retfield = 'BEGRU'
value_org = 'S'
tables
value_tab = t_values
return_tab = t_return
exceptions
parameter_error = 1
no_values_found = 2
others = 3.
if sy-subrc = 0.
read table t_return index 1.
o_begru-low = t_return-fieldval.
if o_begru-low = 'PAR*'.
o_begru-option = 'CP'.
else.
o_begru-option = 'EQ'.
endif.
o_begru-sign = 'I'.
append o_begru to s_begru.
else.
o_begru = i_begru.
endif.
F4IP_INT_TABLE_VALUE_REQUEST This function does not exist in 4.6 and above. Use F4IF_INT_TABLE_VALUE_REQUEST instead.
Hope this helps. -
Search Help - Standard Screen Field: ME21n / ME22n
Helow, experts.
I have to create a search help in the standard screen field "Our Reference" (UNSEZ) in the tab Communication to ME21n / ME22n, anyone could say me how can I code it?
To populate this search help, I have to use 3 different tables.
Thankshi shatish
code here in screen flow logic it will fire on F4 pressing.
PROCESS ON VALUE-REQUEST
module value_help.
in program
module value_help.
populate the itab.
CALL FUNCTION 'POPUP_WITH_TABLE'
EXPORTING
ENDPOS_COL = <colvaluea>
ENDPOS_ROW = <colvaluea>
STARTPOS_COL = <colvaluea>
STARTPOS_ROW = <colvaluea>
TITLETEXT = 'VALUE HELP'
IMPORTING
CHOICE =
TABLES
VALUETAB = itab
EXCEPTIONS
BREAK_OFF = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
endmodole.
regards
shiba dutta -
Hi,
i want to build a search help. it should be like when we click F4 on the field, it should give the screen with input field (field1) and if we enter the value in the field, it should display the corresponding values (field2) for the input field. when user clicks the field, it should retrieve the field2.
and we should also be able to default the input field and also set the no of entries to be displayed
Can anyone let me know how to create this kind of search help
Thanks
ShekharHi shekar..
just see this sample code..
SELECT carrid carrname
FROM scarr
INTO CORRESPONDING FIELDS OF TABLE itab_carrid.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'CARRID'
dynpprog = gv_repid
dynpnr = gv_dynnr
dynprofield = 'S_field-LOW'
value_org = 'S'
TABLES
value_tab = itab_carrid
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
IF sy-subrc <> 0.
ENDIF.
wirte one more select query with where condition = s_field-low. into table itab2 to provide search help for 'S_field11-LOW' on same screen..
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'CARRID11'
dynpprog = gv_repid
dynpnr = gv_dynnr
dynprofield = 'S_field11-LOW'
value_org = 'S'
TABLES
value_tab = itab2
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
IF sy-subrc <> 0.
ENDIF.
just follow this code.. all the best..
Thanks
GSANA -
Search help for screen fields in module pool
Hi All,
I have a screen in Module pool which has 3 input fields, each input field is attached to the same search help.
These fields are from ztable . I have created a search help USING these 3 fields. All the 3 fields are marked for IMPORT and EXPORT.
So whenever i click F4 on any of the above 3 fields, It will display search help popup and returns some rows...But the values are transfered back only for 1 fields ..i.e for the first field only .
I want that ...as soon as i select any of the row from Search hit list..all the 3 columns should get populated with corresponding fields from that row.
I require it this way as user wants to select based on * selection.Ex: as then every this related to that should be popped up.
Pls help ASAP
Thanks,This is how i got.
data:l_shlp type SHLP_DESCR,
l_rc type sy-subrc,
w_DDSHRETVAL type DDSHRETVAL ,
ls_shintf LIKE LINE OF l_shlp-interface,
t_DDSHRETVAL type TABLE OF DDSHRETVAL.
DATA: dyname LIKE d020s-prog,
dynumb LIKE d020s-dnum.
DATA: BEGIN OF dynpfields OCCURS 3.
INCLUDE STRUCTURE dynpread.
DATA: END OF dynpfields.
CALL FUNCTION 'F4IF_GET_SHLP_DESCR'
EXPORTING
SHLPNAME = 'YTESTDMSSB'
SHLPTYPE = 'SH'
IMPORTING
SHLP = l_shlp .
ls_shintf-valfield = 'X'.
MODIFY l_shlp-interface FROM ls_shintf TRANSPORTING valfield
WHERE shlpfield = 'SNNTX'.
MODIFY l_shlp-interface FROM ls_shintf TRANSPORTING valfield
WHERE shlpfield = 'SBRTX'.
MODIFY l_shlp-interface FROM ls_shintf TRANSPORTING valfield
WHERE shlpfield = 'SBSTX'.
MODIFY l_shlp-interface FROM ls_shintf TRANSPORTING valfield
WHERE shlpfield = 'ENPTX'.
MODIFY l_shlp-interface FROM ls_shintf TRANSPORTING valfield
WHERE shlpfield = 'PLANT_CODE'.
CALL FUNCTION 'F4IF_START_VALUE_REQUEST'
EXPORTING
SHLP = l_shlp
DISPONLY = ' '
MAXRECORDS = 500
MULTISEL = 'X'
CUCOL = SY-CUCOL
CUROW = SY-CUROW
IMPORTING
RC = l_rc
TABLES
RETURN_VALUES = t_DDSHRETVAL
IF l_rc = 0.
LOOP AT t_DDSHRETVAL INTO w_DDSHRETVAL.
CASE w_DDSHRETVAL-fieldname.
WHEN 'SNNTX'. "W_SNNTX = w_DDSHRETVAL-fieldval.
dyname = sy-repid.
dynumb = sy-dynnr.
dynpfields-fieldname = 'W_SNNTX'.
dynpfields-fieldvalue = w_DDSHRETVAL-fieldval.
APPEND dynpfields.
WHEN 'SBRTX'. "W_SBRTX = w_DDSHRETVAL-fieldval.
dyname = sy-repid.
dynumb = sy-dynnr.
dynpfields-fieldname = 'W_SBRTX'.
dynpfields-fieldvalue = w_DDSHRETVAL-fieldval.
APPEND dynpfields.
WHEN 'SBSTX'. "W_SBSTX = w_DDSHRETVAL-fieldval.
dyname = sy-repid.
dynumb = sy-dynnr.
dynpfields-fieldname = 'W_SBSTX'.
dynpfields-fieldvalue = w_DDSHRETVAL-fieldval.
APPEND dynpfields.
WHEN 'ENPTX'. "W_ENPTX = w_DDSHRETVAL-fieldval.
dyname = sy-repid.
dynumb = sy-dynnr.
dynpfields-fieldname = 'W_ENPTX'.
dynpfields-fieldvalue = w_DDSHRETVAL-fieldval.
APPEND dynpfields.
WHEN 'PLANT_CODE'. "W_ENPTX = w_DDSHRETVAL-fieldval.
dyname = sy-repid.
dynumb = sy-dynnr.
dynpfields-fieldname = 'W_WERKS'.
dynpfields-fieldvalue = w_DDSHRETVAL-fieldval.
APPEND dynpfields.
ENDCASE.
ENDLOOP.
CALL FUNCTION 'DYNP_VALUES_UPDATE'
EXPORTING
dyname = dyname
dynumb = dynumb
TABLES
dynpfields = dynpfields.
ENDIF. -
How to add user defined search help to data element -EXTWG ?
Dear All,
EXTWG is external material groupp field in Material Master. I am using this field to provide some external material group .But there is no search help attached to it. I want to create a search help and attach to it .I can create a search help but how to attach to a standard date element .How can i do??hi
good
go through this links ,i hope these ll help you solve your problem
http://help.sap.com/saphelp_nw2004s/helpdata/en/90/8d7307b1af11d194f600a0c929b3c3/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ee86446011d189700000e8322d00/content.htm
thanks
mrutyun^ -
Search help for WBS element on timesheet
Hi,
We are using EA-HR 6.00 (webdynpro)
Is it possible to change the search help for the WBS Element field that appears on the Record Working Time timesheet?
There appears to be a table called TCATS_SHLP_ITS, but is this not for the old ITS version and not the new webdynpro version?
The client would like to use a different search help when they choose the dropdown on the timesheet but I can't seem to figure out if this is possible.
Thanks.I guess I'll retract my question, as making change to table TCATS_SHLP_ITS is making a difference on my WBS element dropdown... just need to get it to work properly now.
-
Hi,
I generated a screen '100', whic has one field as 'VBAP-KMEIN'.
For this field I created my own search help on Double click, everything fine's with it.
But, if I click 'F4' on the field the standard Search help for the field assigned in Data Dictionary is getting triggered.
So, for 1 field there are 2 search helps.
I dont want this to happen, what can I do to stop standard 'F4' Help from triggering.
Thanks,
Shivaa........Hi,
[F4IF_INT_TABLE_VALUE_REQUEST|https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/f4%252bhelp%252bof%252bone%252bfield%252bdepends%252bon%252bother%252bfield]
OR.
EX:
Use At selection-screen for value-request for bukrs.
PARAMETERS: Bukrs TYPE spfli-carrid,
name1 TYPE spfli-carrid.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR name1.
CALL SCREEN 100 STARTING AT 10 5
ENDING AT 50 10.
MODULE value_list OUTPUT.
SUPPRESS DIALOG.
LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 0.
SET PF-STATUS space.
NEW-PAGE NO-TITLE.
select single bukrs from <Databasetable> into <ITAB>-BUkrs
where name1 = name1.
Write : / Itab-bukrs.
hide bukrs.
Endselect.
ENDMODULE.
AT LINE-SELECTION.
CHECK NOT name1 IS INITIAL.
LEAVE TO SCREEN 0.
Regards,
Gurpreet -
Hi Experts,
I have created a structure in which I have a Date field of type sy-datum. After putting the date field from the structure to the screen painter. When I test the screen in se51 I am getting the search help for date. But when I test thru transaction, I am not getting the search help.
Can some one please help me with this.
Thanks.Hi Suzie,
Thanks for the reply. I checked my transaction. Since it is a module pool program I have selection the option Program and Screen (DIALOG TRANSACTION ). I have given my program name and screen num. The check box Maintain of standard transcation variant allowed is checked by default. I have check all the three GUI support checkboxes.
That is what I have done. Am I doing anything wrong?
Thanks.
Maybe you are looking for
-
Why exp fail and what other method I should use
Hi Everybody, I plan to "copy" data from a table partition of a transactional database to a remote historical database table,both of the source and destination tables are partitioned in the same way In the source 9i database, I do the exp using below
-
Looking for a way to encode IDs
Hi I have a problem � I am looking to join two data bases for a research I am trying to do but - These two databases are from two separate government agencies. Both include different info of (among others) the same people, identified by personal IDs.
-
Scene 1, Layer 'actions', Frame 1, Line 664: 1087: Syntax error: extra characters found after end of program. I am new to importing classes and I have been practicing making a photo gallery. I am stuck and I want to know if someone can help me with t
-
Posting Customer Document.
Hi, When we post the document using FB01, i am getting an error message stating. FIELD BSEG-MWSKZ does not exist in the screen SAPMF050301. It's regarding tax code.. Please help me in rectifying this error.. and let us knowwhy we are getting this err
-
Re: Printing Picking list in different language
Hi, I have developed Picking List using SAPscript in English and French language, but when i try to print output using LT31 it only prints in English language. Where do i assign different language for picking list. I appreciate your help. Thanks. Hit