0
SEARCH HELP ABAP Fundamental Authors: Tăng Chí Hùng Refer to: ABAP Training Material of Tran Anh Tu and Nguyen Van Sinh
ELEMENTARY SEARCH HELP <ul><li>Elementary search helps describe a search path.  </li></ul><ul><li>The elementary search he...
ELEMENTARY SEARCH HELP
ELEMENTARY SEARCH HELP
ELEMENTARY SEARCH HELP
ELEMENTARY SEARCH HELP
COLLECTIVE SEARCH HELP <ul><li>Collective search helps combine several elementary search helps. </li></ul><ul><li>Collecti...
COLLECTIVE SEARCH HELP
COLLECTIVE SEARCH HELP
COLLECTIVE SEARCH HELP
COLLECTIVE SEARCH HELP
COLLECTIVE SEARCH HELP
ADD SEARCH HELP TO SCREEN FIELD <ul><li>Can attach Search Help in two ways: </li></ul><ul><ul><li>Static Attachment </li><...
Static Attachment <ul><ul><li>PARAMETERS  p  MATCHCODE OBJECT search_help   </li></ul></ul><ul><ul><li>ex:   PARAMETERS p_...
Static Attachment <ul><ul><li>Goto Layout -> Field Attributes -> Dict Tab – > Search Help  </li></ul></ul><ul><ul><li>Fiel...
DYNAMIC ATTACHMENT <ul><ul><li>PARAMETERS:  p_carrid (2).  </li></ul></ul><ul><ul><li>DATA:  table1  LIKE ddshretval OCCUR...
DYNAMIC ATTACHMENT <ul><li>In PAI of the screen, call the event On value Request. </li></ul><ul><li>PROCESS ON VALUE-REQUE...
THE END
Upcoming SlideShare
Loading in...5
×

Abap search help

4,161

Published on

Abap search help

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
4,161
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
173
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Transcript of "Abap search help"

  1. 1. SEARCH HELP ABAP Fundamental Authors: Tăng Chí Hùng Refer to: ABAP Training Material of Tran Anh Tu and Nguyen Van Sinh
  2. 2. ELEMENTARY SEARCH HELP <ul><li>Elementary search helps describe a search path. </li></ul><ul><li>The elementary search help must define where the data of the hit list should be read from. </li></ul><ul><li>An elementary search help defines the standard flow of an input help. </li></ul>
  3. 3. ELEMENTARY SEARCH HELP
  4. 4. ELEMENTARY SEARCH HELP
  5. 5. ELEMENTARY SEARCH HELP
  6. 6. ELEMENTARY SEARCH HELP
  7. 7. COLLECTIVE SEARCH HELP <ul><li>Collective search helps combine several elementary search helps. </li></ul><ul><li>Collective search help combines several elementary search helps. The user can thus choose one of several alternative search paths with collective search help. </li></ul>
  8. 8. COLLECTIVE SEARCH HELP
  9. 9. COLLECTIVE SEARCH HELP
  10. 10. COLLECTIVE SEARCH HELP
  11. 11. COLLECTIVE SEARCH HELP
  12. 12. COLLECTIVE SEARCH HELP
  13. 13. ADD SEARCH HELP TO SCREEN FIELD <ul><li>Can attach Search Help in two ways: </li></ul><ul><ul><li>Static Attachment </li></ul></ul><ul><ul><li>Dynamic Attachment </li></ul></ul>
  14. 14. Static Attachment <ul><ul><li>PARAMETERS p MATCHCODE OBJECT search_help </li></ul></ul><ul><ul><li>ex: PARAMETERS p_carrid TYPE s_carr_id            MATCHCODE OBJECT demo_f4_de. </li></ul></ul><ul><ul><li>a)  To a selection-screen element: </li></ul></ul>
  15. 15. Static Attachment <ul><ul><li>Goto Layout -> Field Attributes -> Dict Tab – > Search Help </li></ul></ul><ul><ul><li>Field. Specify the search help which you want to attach. </li></ul></ul><ul><ul><li>b)  To a Dynpro element: </li></ul></ul>
  16. 16. DYNAMIC ATTACHMENT <ul><ul><li>PARAMETERS: p_carrid (2). </li></ul></ul><ul><ul><li>DATA: table1 LIKE ddshretval OCCURS 0 WITH HEADER LINE. </li></ul></ul><ul><ul><li>AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_carrid . </li></ul></ul><ul><ul><li>CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' </li></ul></ul><ul><ul><li>EXPORTING </li></ul></ul><ul><ul><li>tabname = 'scarr' </li></ul></ul><ul><ul><li>fieldname = 'carrid’ </li></ul></ul><ul><ul><li>DYNPROFIELD = ' p_carrid ’ </li></ul></ul><ul><ul><li>TABLES </li></ul></ul><ul><ul><li>return_tab = table1 </li></ul></ul><ul><ul><li>EXCEPTIONS </li></ul></ul><ul><ul><li>field_not_found = 1 </li></ul></ul><ul><ul><li>no_help_for_field = 2 </li></ul></ul><ul><ul><li>inconsistent_help = 3 </li></ul></ul><ul><ul><li>no_values_found = 4 </li></ul></ul><ul><ul><li>OTHERS = 5 . </li></ul></ul><ul><ul><li>a)  To a selection-screen element: </li></ul></ul>
  17. 17. DYNAMIC ATTACHMENT <ul><li>In PAI of the screen, call the event On value Request. </li></ul><ul><li>PROCESS ON VALUE-REQUEST. </li></ul><ul><li>FIELD: FIFLNAME1 MODULE get_objval. </li></ul><ul><ul><li>b)  To a Dynpro element: </li></ul></ul>
  18. 18. THE END
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×