SlideShare une entreprise Scribd logo
1  sur  32
Télécharger pour lire hors ligne
Input Help (List of Values)
Creating Input Help

Prerequisites
   1) Transport Request [see StepByStepCreateTransportRequestUsingSE80.pdf]
   2) Package [use the package created in the first class] or create new [see
      StepByStep_ABAP_Create_Package.doc]
   3) Copy Z027393_005A as Z027393_007A [See
      StepByStep_Copy_Function_Group_Program.pdf]

Instead of creating from scratch we are using the program created in one of the previous class
ending with ‘005A’ -- duplicating it and making changes. First copy the program and continue
from here.

Note: There are 5 methods to create list of values
1) Fixed Value (DOMAIN LEVEL) - Hard coded list in Data Dictionary – Using domain (of the
Data Element) of the field.
2) Check Tables (FIELD LEVEL) – Specifying the Check table on the Field level.
3) Assigning the "Search Help" repository object (DATA ELEMENT LEVEL) – Create a
"Search Help" Object [as an independent step] and then assign it to data element of the field.
4) Assigning the "Search Help" repository object (SCREEN ELEMENT LEVEL) – Create a
"Search Help" Object [as an independent step] and then assign it to dynpro screen element in
screen painter.
5) Self defined Dropdown List Boxes (SCREEN ELEMENT LEVEL) – Most flexible but
requires simple SQL to populate the list – USES the PROCESS ON VALUE-REQUEST (POV)
flow logic.

In the following instructions, we are creating Input Help using the 4th and 5th methods.

Step by Step Instructions (complete prerequisites shown above
before you proceed)
Launch SE80.

Ensure that you are on the ‘Repository Browser’.

Select Package from the drop down and enter your Package name [ZxxxxxxA] where xxxxxx is
your SAP Login ID or Oracle ID, then click on the [Display] button. Your Function Group
should be displayed below the package [if it was previously copied correctly to this package.]

Open the Function Group Zxxxxxx_007A that was previously copied from Zxxxxxx_005A (if
not already opened.)




                                                                                         1 of 32
Input Help (List of Values)




To display the property page, double click on the program name (node - Zxxxxxx_007A). The
properties may be updated by clicking on the [Change <> Display] icon (Ctrl+F1). If any values
are updated (example: the short text), ensure they are saved by clicking on the [Save] button.




Now, click on the [Main program] button.



                                                                                        2 of 32
Input Help (List of Values)
After the main program is opened, toggle the [Change <> Display] icon (Ctrl+F1) to update the
program code. Note the name of the Main Program [SAPLZ027393_007A] it will be used to
create a transaction code (T-code) later.




Add description on the top as shown.

*&---------------------------------------------------------------------*
*& Module Pool       Z027393_007A
*& DEMO -> Input Help (List of Values.)
*&---------------------------------------------------------------------*

Save the program.

Activate the Function Group by clicking on the [Activate] button on the top tool bar.




                                                                                        3 of 32
Input Help (List of Values)




If a list of objects to be activated is provided, select all the objects (related to this program), by
clicking on each of them and then click on the [Continue] button or [hit Enter] to activate them
all.

Before we make any changes to create the Input Help, we will confirm that the program runs fine
using the T-Code.

If you have not created a Transaction Code while copying the program, create it now.

To create a Transaction Code (T-Code), we need the name of the Function Group Main program
[SAPLZ027393_007A] and use following menu in SE80 (or by directly using T-Code SE93 –
not shown here.)




Enter the Transaction Code name and a short description. Leave remaining fields as default as
shown below on this screen. Click [Continue] or hit [Enter].




                                                                                                 4 of 32
Input Help (List of Values)




Enter program name as [SAPLZ027393_007A] and the (starting) Screen number as [0100].
Save. Accept the Package and the Transport Request in the subsequent screens.


                                                                                   5 of 32
Input Help (List of Values)
Run the program by entering the T-code/Transaction Code [Z027393_007A] or
[/nZ027393_007A], to confirm that the program runs fine.

Note: /n is required if you are not currently in the SAP Easy Access screen, but in another
transaction.




       We will use (5) Self defined Dropdown List Boxes
       (SCREEN ELEMENT LEVEL) – Most flexible but
       requires simple SQL to populate the list for these fields.




                                                                                              6 of 32
Input Help (List of Values)




     We will use (4) Assigning the "Search Help" repository object (SCREEN
     ELEMENT LEVEL) – Create a "Search Help" Object [as an independent
     step] and then assign it to DYNPRO screen element in screen painter for
     this (CITYFROM) and the CITYTO Field in the next TAB.




PART 1). Let us start with the Screen 0100 changes, as mentioned using (5) Self defined
Dropdown List Boxes (SCREEN ELEMENT LEVEL.)

Double click on the screen 0100 under the screen sub-node that is listed under the function group
we are currently working on.




                                                                                          7 of 32
Input Help (List of Values)




Add the PROCESS ON VALUE-REQUEST (POV) Flow Logic as shown.

PROCESS ON VALUE-REQUEST.

 FIELD ZBC400_S_HDR_CURR-CARRID MODULE create_dropdown_box1.

 FIELD ZBC400_S_HDR_CURR-CONNID MODULE create_dropdown_box2.

Save the screen.

Note that modules create_dropdown_box1 and create_dropdown_box2 do not exist yet, we will
now create them using forward navigation.

Double click on the module create_dropdown_box1. The following pop-up is displayed.




                                                                                      8 of 32
Input Help (List of Values)




Click on the ‘Yes’ button.

Since this is a small application, include this new module in include file LZ027393_007AI01
(note the ‘I’ [Input] in the name.)

VALUE-REQUEST (POV) modules are considered an INPUT type rather than OUTPUT types,
because they are activated whenever user generates an event on the screen (click something or
hit a function key).




(Optional) If you are creating a new INCLUDE the following message may be displayed. Click
on [Continue] button or hit Enter.




                                                                                        9 of 32
Input Help (List of Values)

The module is created in the INCLUDE file, add the following code (just need to add the second
line – the empty module shell is already created by the system.)

MODULE CREATE_DROPDOWN_BOX1 INPUT.

dynpro_utilities1=>value_help1( ).

ENDMODULE.                       " CREATE_DROPDOWN_BOX1        INPUT




The code basically calls a static method value_help1 in the class dynpro_utilities1.
(Note: we haven’t defined the CLASS and its STATIC METHOD yet – we will do that in a
minute.)

Save the INCLUDE file.

Click on the Back button to go the Flow Logic of the screen 100 (or double click on the screen
0100 on the left side and then click on the Flow Logic tab.)



                                                                                        10 of 32
Input Help (List of Values)




Double click on the module create_dropdown_box2. The following pop-up is displayed to create
the module using forward navigation.




Click on ‘Yes’, the select the same include file LZ027393_007AI01 again.




                                                                                    11 of 32
Input Help (List of Values)




The module is created in the INCLUDE file, add the following code

MODULE CREATE_DROPDOWN_BOX2 INPUT.

dynpro_utilities1=>value_help2( ).

ENDMODULE.                      " CREATE_DROPDOWN_BOX2      INPUT




                                                                    12 of 32
Input Help (List of Values)




We now need to add the CLASS with the static METHODS value_help1 and value_help2.

Double click on the LZ027393_007ATOP include.

Add the following code (both the DEFINITION and the IMPLEMENTATION of the class)

CLASS DYNPRO_UTILITIES1 DEFINITION.

PUBLIC SECTION.
 CLASS-METHODS value_help1.
 CLASS-METHODS value_help2.

ENDCLASS.                 "DYNPRO_UTILITIES1


CLASS DYNPRO_UTILITIES1 IMPLEMENTATION.

METHOD value_help1.

 TYPES: BEGIN of carrid_line,
        carrid TYPE ZBC400_S_DYNCONN-carrid,


                                                                               13 of 32
Input Help (List of Values)
          END OF   carrid_line.

DATA carrid_list TYPE STANDARD TABLE OF carrid_line.
SELECT distinct carrid from ZBC400_S_DYNCONN into corresponding fields
  of table carrid_list order by carrid.

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
 EXPORTING
   retfield = 'CARRID'
   value_org = 'S'
 TABLES
   value_tab = carrid_list
 EXCEPTIONS
  parameter_error = 1
  no_values_found = 2
  OTHERS = 3.
 IF sy-subrc <> 0.

    ENDIF.

ENDMETHOD.

METHOD value_help2.

*   TYPES: BEGIN of connid_line,
*         connid TYPE ZBC400_S_DYNCONN-connid,
*          END OF connid_line.
*
*   DATA connid_list TYPE STANDARD TABLE OF connid_line.
*   SELECT distinct connid from ZBC400_S_DYNCONN into
*   corresponding fields of table
*   connid_list order by connid.

TYPES: BEGIN of connid_line,
        connid TYPE ZBC400_S_DYNCONN-connid,
        CITYFROM TYPE ZBC400_S_DYNCONN-CITYFROM,
        END OF connid_line.

DATA connid_list TYPE STANDARD TABLE OF connid_line.
*SELECT distinct connid CITYFROM from ZBC400_S_DYNCONN into
* corresponding fields of table connid_list order by connid.
SELECT distinct connid from ZBC400_S_DYNCONN into corresponding fields
of table connid_list order by connid.

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
 EXPORTING
   retfield = 'CONNID'
   value_org = 'S'
 TABLES
   value_tab = connid_list
 EXCEPTIONS
  parameter_error = 1
  no_values_found = 2
  OTHERS = 3.
 IF sy-subrc <> 0.




                                                                         14 of 32
Input Help (List of Values)
  ENDIF.
ENDMETHOD.

ENDCLASS.                 "DYNPRO_UTILITIES1




The function 'F4IF_INT_TABLE_VALUE_REQUEST' is already defined by SAP, so does not
have to be redefined.
On the layout of the Screen 100 to access the field properties of ZBC400_S_HDR_CURR-
CARRID field and select ‘list’ from the Dropdown property.




                                                                              15 of 32
Input Help (List of Values)




Or make this change directly on the Text/I/O template Tab (of the Element list Tab) of the screen
properties.




                                                                                        16 of 32
Input Help (List of Values)




Repeat the same for the ZBC400_S_HDR_CURR-CONNID field as shown below




                                                                        17 of 32
Input Help (List of Values)




Or




                                   18 of 32
Input Help (List of Values)




We have now created the INPUT HELP for the two fields on the screen 100. We have used the
‘Self defined Dropdown List Boxes (SCREEN ELEMENT LEVEL).’ As mentioned this is the
most flexible but requires simple SQL to populate the list.

Activate and run the program using the transaction id created earlier.

Depending on what need to be displayed change the SQL select statement in the STATIC
METHOD of the CLASS.

SELECT distinct connid from ZBC400_S_DYNCONN into corresponding fields of
table connid_list order by connid.




Or



                                                                                   19 of 32
Input Help (List of Values)
SELECT distinct connid from ZBC400_S_DYNCONN into corresponding fields of
table connid_list where connid < '1004' order by connid.




Or add a description field to see a description in the list

SELECT distinct connid CITYFROM from ZBC400_S_DYNCONN into corresponding
fields of table connid_list order by connid.




PART 2) Let us now work on the Screen 0200 (actually subscreens 0201 and 0202) changes, as
mentioned using (4) Assigning the "Search Help" repository object (SCREEN ELEMENT
LEVEL) – Create a "Search Help" Object [as an independent step] and then assign it to dynpro
screen element in screen painter.

We need to first create the repository object ‘Search Help’. Once created since this is a
repository object any one can use it.




                                                                                            20 of 32
Input Help (List of Values)




Enter a new/unique Search Help name as shown below. Use a unique name – example:
Zxxxxxx_SRCH where xxxxxx is your SAP Login ID or Oracle ID




Click on the Enter button or hit Enter.

Enter a description and click on the Selection Method search (dropdown)




                                                                                   21 of 32
Input Help (List of Values)




You may search for database tables or for views.




                                                     22 of 32
Input Help (List of Values)




Select ZCITY_TBL

Save the search help and enter appropriate package name.




Enter the appropriate workbench request.




Enter the search help parameters (enter manually or click on the search for list of values for
various parameters line by line.) Then select the EXP check box for both and the LPos and SPos
fields as shown below. LPos is Position in the hit list of an elementary search help. SPos is
Position in dialog box of an elementary search help.


                                                                                      23 of 32
Input Help (List of Values)




Search screen shown below for the above parameters in case you wish to select and not enter
these manually.




                                                                              LPos




                                                                                       24 of 32
Input Help (List of Values)
Note: See the next screen to understand the significance of the LPos and SPos parameters.




Save the search help object and activate it, by clicking on the Save button and Activate button
respectively. If multiple objects are displayed to Activate, select all or all those which are
relevant.

The next step is to associate the search help object (Z027393_SRCH or Zxxxxxx_SRCH) to the
required field ZBC400_S_HDR_CURR-CITYFROM. This field is on the screen 0201. Open the
screen as shown below and double click on the CITYFROM Field to access the properties. Enter
the search help object Z027393_SRCH or Zxxxxxx_SRCH into the Search Help field as shown
below.




                                                                                          25 of 32
Input Help (List of Values)




Alternately this can also be done directly from the screen’s Reference Tab that is under the
Element List tab as shown below. Save and Activate the screen.




                                                                                          26 of 32
Input Help (List of Values)




Repeat the same for the other field (ZBC400_S_HDR_CURR-CITYTO) that needs the Search
Help of the list of values to be displayed. The field is on screen 0202 as shown below.




                                                                                  27 of 32
Input Help (List of Values)




Similarly this can also be done directly from the screen’s Reference Tab that is under the
Element List tab as shown below.




                                                                                             28 of 32
Input Help (List of Values)




Save and Activate the screen.

Run the program by using the Transaction Code created earlier.




The search help can be accessed for Carried ID, Connection ID and for both the CITY fields as
shown in the next few screenshots.




                                                                                       29 of 32
Input Help (List of Values)
Screen 100




Screen 200 (Tab 1)




                                                   30 of 32
Input Help (List of Values)




                              31 of 32
Input Help (List of Values)
Screen 200 (Tab 2)




                                                   32 of 32

Contenu connexe

Tendances

Graphical User Interface in JAVA
Graphical User Interface in JAVAGraphical User Interface in JAVA
Graphical User Interface in JAVAsuraj pandey
 
From Design to UML to Working Wireframe
From Design to UML to Working WireframeFrom Design to UML to Working Wireframe
From Design to UML to Working WireframeUX Antwerp Meetup
 
Graphical User Interface (GUI) - 1
Graphical User Interface (GUI) - 1Graphical User Interface (GUI) - 1
Graphical User Interface (GUI) - 1PRN USM
 
SAP Transport System; Step-by-step guide from concept to practical
SAP Transport System; Step-by-step guide from concept to practicalSAP Transport System; Step-by-step guide from concept to practical
SAP Transport System; Step-by-step guide from concept to practicalNasir Gondal
 
Gui in matlab :
Gui in matlab :Gui in matlab :
Gui in matlab :elboob2025
 
Swingpre 150616004959-lva1-app6892
Swingpre 150616004959-lva1-app6892Swingpre 150616004959-lva1-app6892
Swingpre 150616004959-lva1-app6892renuka gavli
 
Java Swing JFC
Java Swing JFCJava Swing JFC
Java Swing JFCSunil OS
 
ABAP for Beginners - www.sapdocs.info
ABAP for Beginners - www.sapdocs.infoABAP for Beginners - www.sapdocs.info
ABAP for Beginners - www.sapdocs.infosapdocs. info
 
Java GUI PART II
Java GUI PART IIJava GUI PART II
Java GUI PART IIOXUS 20
 
eMaint MX Users Guide
eMaint MX Users GuideeMaint MX Users Guide
eMaint MX Users GuideEMAINT
 
0105 abap programming_overview
0105 abap programming_overview0105 abap programming_overview
0105 abap programming_overviewvkyecc1
 
Message, Debugging, File Transfer and Type Group
Message, Debugging, File Transfer and Type GroupMessage, Debugging, File Transfer and Type Group
Message, Debugging, File Transfer and Type Groupsapdocs. info
 
Sample srs
Sample srsSample srs
Sample srsAzoft
 

Tendances (20)

Gui in java
Gui in javaGui in java
Gui in java
 
Graphical User Interface in JAVA
Graphical User Interface in JAVAGraphical User Interface in JAVA
Graphical User Interface in JAVA
 
From Design to UML to Working Wireframe
From Design to UML to Working WireframeFrom Design to UML to Working Wireframe
From Design to UML to Working Wireframe
 
Graphical User Interface (GUI) - 1
Graphical User Interface (GUI) - 1Graphical User Interface (GUI) - 1
Graphical User Interface (GUI) - 1
 
Alv theory
Alv theoryAlv theory
Alv theory
 
SAP Transport System; Step-by-step guide from concept to practical
SAP Transport System; Step-by-step guide from concept to practicalSAP Transport System; Step-by-step guide from concept to practical
SAP Transport System; Step-by-step guide from concept to practical
 
Matlab GUI
Matlab GUIMatlab GUI
Matlab GUI
 
Visualbasic tutorial
Visualbasic tutorialVisualbasic tutorial
Visualbasic tutorial
 
Gui in matlab :
Gui in matlab :Gui in matlab :
Gui in matlab :
 
GUI programming
GUI programmingGUI programming
GUI programming
 
Swingpre 150616004959-lva1-app6892
Swingpre 150616004959-lva1-app6892Swingpre 150616004959-lva1-app6892
Swingpre 150616004959-lva1-app6892
 
Java Swing JFC
Java Swing JFCJava Swing JFC
Java Swing JFC
 
ABAP for Beginners - www.sapdocs.info
ABAP for Beginners - www.sapdocs.infoABAP for Beginners - www.sapdocs.info
ABAP for Beginners - www.sapdocs.info
 
Java GUI PART II
Java GUI PART IIJava GUI PART II
Java GUI PART II
 
Sap scripts
Sap scriptsSap scripts
Sap scripts
 
eMaint MX Users Guide
eMaint MX Users GuideeMaint MX Users Guide
eMaint MX Users Guide
 
0105 abap programming_overview
0105 abap programming_overview0105 abap programming_overview
0105 abap programming_overview
 
User Exits
User ExitsUser Exits
User Exits
 
Message, Debugging, File Transfer and Type Group
Message, Debugging, File Transfer and Type GroupMessage, Debugging, File Transfer and Type Group
Message, Debugging, File Transfer and Type Group
 
Sample srs
Sample srsSample srs
Sample srs
 

Similaire à Step by step abap_input help or lov

Step bystep abap_fieldhelpordocumentation
Step bystep abap_fieldhelpordocumentationStep bystep abap_fieldhelpordocumentation
Step bystep abap_fieldhelpordocumentationMilind Patil
 
Step bystep abap_changinga_singlerecord
Step bystep abap_changinga_singlerecordStep bystep abap_changinga_singlerecord
Step bystep abap_changinga_singlerecordMilind Patil
 
Tech ed 2012 eim260 modeling in sap hana-exercise
Tech ed 2012 eim260   modeling in sap hana-exerciseTech ed 2012 eim260   modeling in sap hana-exercise
Tech ed 2012 eim260 modeling in sap hana-exerciseLuc Vanrobays
 
Using prime[31] to connect your unity game to azure mobile services
Using prime[31] to connect your unity game to azure mobile servicesUsing prime[31] to connect your unity game to azure mobile services
Using prime[31] to connect your unity game to azure mobile servicesDavid Voyles
 
User exit training
User exit trainingUser exit training
User exit trainingJen Ringel
 
Group06ctsfinal 110518191859-phpapp01
Group06ctsfinal 110518191859-phpapp01Group06ctsfinal 110518191859-phpapp01
Group06ctsfinal 110518191859-phpapp01nanda nanda
 
PresentationCrystaljoiuouoouououoooiuiouiououoioiuoiuouo
PresentationCrystaljoiuouoouououoooiuiouiououoioiuoiuouoPresentationCrystaljoiuouoouououoooiuiouiououoioiuoiuouo
PresentationCrystaljoiuouoouououoooiuiouiououoioiuoiuouohrhedgewarhospital
 
Software engineering modeling lab lectures
Software engineering modeling lab lecturesSoftware engineering modeling lab lectures
Software engineering modeling lab lecturesmarwaeng
 
COM 211 PRESENTATION.pptx
COM 211 PRESENTATION.pptxCOM 211 PRESENTATION.pptx
COM 211 PRESENTATION.pptxAnasYunusa
 
Executing tools-in-modelbuilder-tutorial
Executing tools-in-modelbuilder-tutorialExecuting tools-in-modelbuilder-tutorial
Executing tools-in-modelbuilder-tutorialaskar_gila
 

Similaire à Step by step abap_input help or lov (20)

Step bystep abap_fieldhelpordocumentation
Step bystep abap_fieldhelpordocumentationStep bystep abap_fieldhelpordocumentation
Step bystep abap_fieldhelpordocumentation
 
Step bystep abap_changinga_singlerecord
Step bystep abap_changinga_singlerecordStep bystep abap_changinga_singlerecord
Step bystep abap_changinga_singlerecord
 
Tech ed 2012 eim260 modeling in sap hana-exercise
Tech ed 2012 eim260   modeling in sap hana-exerciseTech ed 2012 eim260   modeling in sap hana-exercise
Tech ed 2012 eim260 modeling in sap hana-exercise
 
Using prime[31] to connect your unity game to azure mobile services
Using prime[31] to connect your unity game to azure mobile servicesUsing prime[31] to connect your unity game to azure mobile services
Using prime[31] to connect your unity game to azure mobile services
 
User exit training
User exit trainingUser exit training
User exit training
 
Visualbasic tutorial
Visualbasic tutorialVisualbasic tutorial
Visualbasic tutorial
 
Group06ctsfinal 110518191859-phpapp01
Group06ctsfinal 110518191859-phpapp01Group06ctsfinal 110518191859-phpapp01
Group06ctsfinal 110518191859-phpapp01
 
Arena tutorial
Arena tutorialArena tutorial
Arena tutorial
 
PresentationCrystalReport.ppt
PresentationCrystalReport.pptPresentationCrystalReport.ppt
PresentationCrystalReport.ppt
 
PresentationCrystaljoiuouoouououoooiuiouiououoioiuoiuouo
PresentationCrystaljoiuouoouououoooiuiouiououoioiuoiuouoPresentationCrystaljoiuouoouououoooiuiouiououoioiuoiuouo
PresentationCrystaljoiuouoouououoooiuiouiououoioiuoiuouo
 
Software engineering modeling lab lectures
Software engineering modeling lab lecturesSoftware engineering modeling lab lectures
Software engineering modeling lab lectures
 
D2 k word_format
D2 k word_formatD2 k word_format
D2 k word_format
 
COM 211 PRESENTATION.pptx
COM 211 PRESENTATION.pptxCOM 211 PRESENTATION.pptx
COM 211 PRESENTATION.pptx
 
Vb6.0 intro
Vb6.0 introVb6.0 intro
Vb6.0 intro
 
Mdm255 exercise
Mdm255 exerciseMdm255 exercise
Mdm255 exercise
 
Executing tools-in-modelbuilder-tutorial
Executing tools-in-modelbuilder-tutorialExecuting tools-in-modelbuilder-tutorial
Executing tools-in-modelbuilder-tutorial
 
Db2
Db2Db2
Db2
 
Vb%20 tutorial
Vb%20 tutorialVb%20 tutorial
Vb%20 tutorial
 
Advance JFACE
Advance JFACEAdvance JFACE
Advance JFACE
 
Mca 504 dotnet_unit5
Mca 504 dotnet_unit5Mca 504 dotnet_unit5
Mca 504 dotnet_unit5
 

Plus de Milind Patil

Abap slide class4 unicode-plusfiles
Abap slide class4 unicode-plusfilesAbap slide class4 unicode-plusfiles
Abap slide class4 unicode-plusfilesMilind Patil
 
Abap slides user defined data types and data
Abap slides user defined data types and dataAbap slides user defined data types and data
Abap slides user defined data types and dataMilind Patil
 
Abap slide lock Enqueue data clusters auth checks
Abap slide lock Enqueue data clusters auth checksAbap slide lock Enqueue data clusters auth checks
Abap slide lock Enqueue data clusters auth checksMilind Patil
 
Abap slide lockenqueuedataclustersauthchecks
Abap slide lockenqueuedataclustersauthchecksAbap slide lockenqueuedataclustersauthchecks
Abap slide lockenqueuedataclustersauthchecksMilind Patil
 
Abap slide exceptionshandling
Abap slide exceptionshandlingAbap slide exceptionshandling
Abap slide exceptionshandlingMilind Patil
 
Lecture16 abap on line
Lecture16 abap on lineLecture16 abap on line
Lecture16 abap on lineMilind Patil
 
Lecture14 abap on line
Lecture14 abap on lineLecture14 abap on line
Lecture14 abap on lineMilind Patil
 
Lecture13 abap on line
Lecture13 abap on lineLecture13 abap on line
Lecture13 abap on lineMilind Patil
 
Lecture12 abap on line
Lecture12 abap on lineLecture12 abap on line
Lecture12 abap on lineMilind Patil
 
Lecture11 abap on line
Lecture11 abap on lineLecture11 abap on line
Lecture11 abap on lineMilind Patil
 
Lecture10 abap on line
Lecture10 abap on lineLecture10 abap on line
Lecture10 abap on lineMilind Patil
 
Lecture09 abap on line
Lecture09 abap on lineLecture09 abap on line
Lecture09 abap on lineMilind Patil
 
Lecture08 abap on line
Lecture08 abap on lineLecture08 abap on line
Lecture08 abap on lineMilind Patil
 
Lecture07 abap on line
Lecture07 abap on lineLecture07 abap on line
Lecture07 abap on lineMilind Patil
 
Lecture06 abap on line
Lecture06 abap on lineLecture06 abap on line
Lecture06 abap on lineMilind Patil
 
Lecture05 abap on line
Lecture05 abap on lineLecture05 abap on line
Lecture05 abap on lineMilind Patil
 
Lecture04 abap on line
Lecture04 abap on lineLecture04 abap on line
Lecture04 abap on lineMilind Patil
 
Lecture03 abap on line
Lecture03 abap on lineLecture03 abap on line
Lecture03 abap on lineMilind Patil
 

Plus de Milind Patil (20)

Abap slide class4 unicode-plusfiles
Abap slide class4 unicode-plusfilesAbap slide class4 unicode-plusfiles
Abap slide class4 unicode-plusfiles
 
Abap slides user defined data types and data
Abap slides user defined data types and dataAbap slides user defined data types and data
Abap slides user defined data types and data
 
Abap slides set1
Abap slides set1Abap slides set1
Abap slides set1
 
Abap slide lock Enqueue data clusters auth checks
Abap slide lock Enqueue data clusters auth checksAbap slide lock Enqueue data clusters auth checks
Abap slide lock Enqueue data clusters auth checks
 
Abap slide lockenqueuedataclustersauthchecks
Abap slide lockenqueuedataclustersauthchecksAbap slide lockenqueuedataclustersauthchecks
Abap slide lockenqueuedataclustersauthchecks
 
Abap slide exceptionshandling
Abap slide exceptionshandlingAbap slide exceptionshandling
Abap slide exceptionshandling
 
Abap reports
Abap reportsAbap reports
Abap reports
 
Lecture16 abap on line
Lecture16 abap on lineLecture16 abap on line
Lecture16 abap on line
 
Lecture14 abap on line
Lecture14 abap on lineLecture14 abap on line
Lecture14 abap on line
 
Lecture13 abap on line
Lecture13 abap on lineLecture13 abap on line
Lecture13 abap on line
 
Lecture12 abap on line
Lecture12 abap on lineLecture12 abap on line
Lecture12 abap on line
 
Lecture11 abap on line
Lecture11 abap on lineLecture11 abap on line
Lecture11 abap on line
 
Lecture10 abap on line
Lecture10 abap on lineLecture10 abap on line
Lecture10 abap on line
 
Lecture09 abap on line
Lecture09 abap on lineLecture09 abap on line
Lecture09 abap on line
 
Lecture08 abap on line
Lecture08 abap on lineLecture08 abap on line
Lecture08 abap on line
 
Lecture07 abap on line
Lecture07 abap on lineLecture07 abap on line
Lecture07 abap on line
 
Lecture06 abap on line
Lecture06 abap on lineLecture06 abap on line
Lecture06 abap on line
 
Lecture05 abap on line
Lecture05 abap on lineLecture05 abap on line
Lecture05 abap on line
 
Lecture04 abap on line
Lecture04 abap on lineLecture04 abap on line
Lecture04 abap on line
 
Lecture03 abap on line
Lecture03 abap on lineLecture03 abap on line
Lecture03 abap on line
 

Dernier

Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 

Dernier (20)

Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 

Step by step abap_input help or lov

  • 1. Input Help (List of Values) Creating Input Help Prerequisites 1) Transport Request [see StepByStepCreateTransportRequestUsingSE80.pdf] 2) Package [use the package created in the first class] or create new [see StepByStep_ABAP_Create_Package.doc] 3) Copy Z027393_005A as Z027393_007A [See StepByStep_Copy_Function_Group_Program.pdf] Instead of creating from scratch we are using the program created in one of the previous class ending with ‘005A’ -- duplicating it and making changes. First copy the program and continue from here. Note: There are 5 methods to create list of values 1) Fixed Value (DOMAIN LEVEL) - Hard coded list in Data Dictionary – Using domain (of the Data Element) of the field. 2) Check Tables (FIELD LEVEL) – Specifying the Check table on the Field level. 3) Assigning the "Search Help" repository object (DATA ELEMENT LEVEL) – Create a "Search Help" Object [as an independent step] and then assign it to data element of the field. 4) Assigning the "Search Help" repository object (SCREEN ELEMENT LEVEL) – Create a "Search Help" Object [as an independent step] and then assign it to dynpro screen element in screen painter. 5) Self defined Dropdown List Boxes (SCREEN ELEMENT LEVEL) – Most flexible but requires simple SQL to populate the list – USES the PROCESS ON VALUE-REQUEST (POV) flow logic. In the following instructions, we are creating Input Help using the 4th and 5th methods. Step by Step Instructions (complete prerequisites shown above before you proceed) Launch SE80. Ensure that you are on the ‘Repository Browser’. Select Package from the drop down and enter your Package name [ZxxxxxxA] where xxxxxx is your SAP Login ID or Oracle ID, then click on the [Display] button. Your Function Group should be displayed below the package [if it was previously copied correctly to this package.] Open the Function Group Zxxxxxx_007A that was previously copied from Zxxxxxx_005A (if not already opened.) 1 of 32
  • 2. Input Help (List of Values) To display the property page, double click on the program name (node - Zxxxxxx_007A). The properties may be updated by clicking on the [Change <> Display] icon (Ctrl+F1). If any values are updated (example: the short text), ensure they are saved by clicking on the [Save] button. Now, click on the [Main program] button. 2 of 32
  • 3. Input Help (List of Values) After the main program is opened, toggle the [Change <> Display] icon (Ctrl+F1) to update the program code. Note the name of the Main Program [SAPLZ027393_007A] it will be used to create a transaction code (T-code) later. Add description on the top as shown. *&---------------------------------------------------------------------* *& Module Pool Z027393_007A *& DEMO -> Input Help (List of Values.) *&---------------------------------------------------------------------* Save the program. Activate the Function Group by clicking on the [Activate] button on the top tool bar. 3 of 32
  • 4. Input Help (List of Values) If a list of objects to be activated is provided, select all the objects (related to this program), by clicking on each of them and then click on the [Continue] button or [hit Enter] to activate them all. Before we make any changes to create the Input Help, we will confirm that the program runs fine using the T-Code. If you have not created a Transaction Code while copying the program, create it now. To create a Transaction Code (T-Code), we need the name of the Function Group Main program [SAPLZ027393_007A] and use following menu in SE80 (or by directly using T-Code SE93 – not shown here.) Enter the Transaction Code name and a short description. Leave remaining fields as default as shown below on this screen. Click [Continue] or hit [Enter]. 4 of 32
  • 5. Input Help (List of Values) Enter program name as [SAPLZ027393_007A] and the (starting) Screen number as [0100]. Save. Accept the Package and the Transport Request in the subsequent screens. 5 of 32
  • 6. Input Help (List of Values) Run the program by entering the T-code/Transaction Code [Z027393_007A] or [/nZ027393_007A], to confirm that the program runs fine. Note: /n is required if you are not currently in the SAP Easy Access screen, but in another transaction. We will use (5) Self defined Dropdown List Boxes (SCREEN ELEMENT LEVEL) – Most flexible but requires simple SQL to populate the list for these fields. 6 of 32
  • 7. Input Help (List of Values) We will use (4) Assigning the "Search Help" repository object (SCREEN ELEMENT LEVEL) – Create a "Search Help" Object [as an independent step] and then assign it to DYNPRO screen element in screen painter for this (CITYFROM) and the CITYTO Field in the next TAB. PART 1). Let us start with the Screen 0100 changes, as mentioned using (5) Self defined Dropdown List Boxes (SCREEN ELEMENT LEVEL.) Double click on the screen 0100 under the screen sub-node that is listed under the function group we are currently working on. 7 of 32
  • 8. Input Help (List of Values) Add the PROCESS ON VALUE-REQUEST (POV) Flow Logic as shown. PROCESS ON VALUE-REQUEST. FIELD ZBC400_S_HDR_CURR-CARRID MODULE create_dropdown_box1. FIELD ZBC400_S_HDR_CURR-CONNID MODULE create_dropdown_box2. Save the screen. Note that modules create_dropdown_box1 and create_dropdown_box2 do not exist yet, we will now create them using forward navigation. Double click on the module create_dropdown_box1. The following pop-up is displayed. 8 of 32
  • 9. Input Help (List of Values) Click on the ‘Yes’ button. Since this is a small application, include this new module in include file LZ027393_007AI01 (note the ‘I’ [Input] in the name.) VALUE-REQUEST (POV) modules are considered an INPUT type rather than OUTPUT types, because they are activated whenever user generates an event on the screen (click something or hit a function key). (Optional) If you are creating a new INCLUDE the following message may be displayed. Click on [Continue] button or hit Enter. 9 of 32
  • 10. Input Help (List of Values) The module is created in the INCLUDE file, add the following code (just need to add the second line – the empty module shell is already created by the system.) MODULE CREATE_DROPDOWN_BOX1 INPUT. dynpro_utilities1=>value_help1( ). ENDMODULE. " CREATE_DROPDOWN_BOX1 INPUT The code basically calls a static method value_help1 in the class dynpro_utilities1. (Note: we haven’t defined the CLASS and its STATIC METHOD yet – we will do that in a minute.) Save the INCLUDE file. Click on the Back button to go the Flow Logic of the screen 100 (or double click on the screen 0100 on the left side and then click on the Flow Logic tab.) 10 of 32
  • 11. Input Help (List of Values) Double click on the module create_dropdown_box2. The following pop-up is displayed to create the module using forward navigation. Click on ‘Yes’, the select the same include file LZ027393_007AI01 again. 11 of 32
  • 12. Input Help (List of Values) The module is created in the INCLUDE file, add the following code MODULE CREATE_DROPDOWN_BOX2 INPUT. dynpro_utilities1=>value_help2( ). ENDMODULE. " CREATE_DROPDOWN_BOX2 INPUT 12 of 32
  • 13. Input Help (List of Values) We now need to add the CLASS with the static METHODS value_help1 and value_help2. Double click on the LZ027393_007ATOP include. Add the following code (both the DEFINITION and the IMPLEMENTATION of the class) CLASS DYNPRO_UTILITIES1 DEFINITION. PUBLIC SECTION. CLASS-METHODS value_help1. CLASS-METHODS value_help2. ENDCLASS. "DYNPRO_UTILITIES1 CLASS DYNPRO_UTILITIES1 IMPLEMENTATION. METHOD value_help1. TYPES: BEGIN of carrid_line, carrid TYPE ZBC400_S_DYNCONN-carrid, 13 of 32
  • 14. Input Help (List of Values) END OF carrid_line. DATA carrid_list TYPE STANDARD TABLE OF carrid_line. SELECT distinct carrid from ZBC400_S_DYNCONN into corresponding fields of table carrid_list order by carrid. CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'CARRID' value_org = 'S' TABLES value_tab = carrid_list EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3. IF sy-subrc <> 0. ENDIF. ENDMETHOD. METHOD value_help2. * TYPES: BEGIN of connid_line, * connid TYPE ZBC400_S_DYNCONN-connid, * END OF connid_line. * * DATA connid_list TYPE STANDARD TABLE OF connid_line. * SELECT distinct connid from ZBC400_S_DYNCONN into * corresponding fields of table * connid_list order by connid. TYPES: BEGIN of connid_line, connid TYPE ZBC400_S_DYNCONN-connid, CITYFROM TYPE ZBC400_S_DYNCONN-CITYFROM, END OF connid_line. DATA connid_list TYPE STANDARD TABLE OF connid_line. *SELECT distinct connid CITYFROM from ZBC400_S_DYNCONN into * corresponding fields of table connid_list order by connid. SELECT distinct connid from ZBC400_S_DYNCONN into corresponding fields of table connid_list order by connid. CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'CONNID' value_org = 'S' TABLES value_tab = connid_list EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3. IF sy-subrc <> 0. 14 of 32
  • 15. Input Help (List of Values) ENDIF. ENDMETHOD. ENDCLASS. "DYNPRO_UTILITIES1 The function 'F4IF_INT_TABLE_VALUE_REQUEST' is already defined by SAP, so does not have to be redefined. On the layout of the Screen 100 to access the field properties of ZBC400_S_HDR_CURR- CARRID field and select ‘list’ from the Dropdown property. 15 of 32
  • 16. Input Help (List of Values) Or make this change directly on the Text/I/O template Tab (of the Element list Tab) of the screen properties. 16 of 32
  • 17. Input Help (List of Values) Repeat the same for the ZBC400_S_HDR_CURR-CONNID field as shown below 17 of 32
  • 18. Input Help (List of Values) Or 18 of 32
  • 19. Input Help (List of Values) We have now created the INPUT HELP for the two fields on the screen 100. We have used the ‘Self defined Dropdown List Boxes (SCREEN ELEMENT LEVEL).’ As mentioned this is the most flexible but requires simple SQL to populate the list. Activate and run the program using the transaction id created earlier. Depending on what need to be displayed change the SQL select statement in the STATIC METHOD of the CLASS. SELECT distinct connid from ZBC400_S_DYNCONN into corresponding fields of table connid_list order by connid. Or 19 of 32
  • 20. Input Help (List of Values) SELECT distinct connid from ZBC400_S_DYNCONN into corresponding fields of table connid_list where connid < '1004' order by connid. Or add a description field to see a description in the list SELECT distinct connid CITYFROM from ZBC400_S_DYNCONN into corresponding fields of table connid_list order by connid. PART 2) Let us now work on the Screen 0200 (actually subscreens 0201 and 0202) changes, as mentioned using (4) Assigning the "Search Help" repository object (SCREEN ELEMENT LEVEL) – Create a "Search Help" Object [as an independent step] and then assign it to dynpro screen element in screen painter. We need to first create the repository object ‘Search Help’. Once created since this is a repository object any one can use it. 20 of 32
  • 21. Input Help (List of Values) Enter a new/unique Search Help name as shown below. Use a unique name – example: Zxxxxxx_SRCH where xxxxxx is your SAP Login ID or Oracle ID Click on the Enter button or hit Enter. Enter a description and click on the Selection Method search (dropdown) 21 of 32
  • 22. Input Help (List of Values) You may search for database tables or for views. 22 of 32
  • 23. Input Help (List of Values) Select ZCITY_TBL Save the search help and enter appropriate package name. Enter the appropriate workbench request. Enter the search help parameters (enter manually or click on the search for list of values for various parameters line by line.) Then select the EXP check box for both and the LPos and SPos fields as shown below. LPos is Position in the hit list of an elementary search help. SPos is Position in dialog box of an elementary search help. 23 of 32
  • 24. Input Help (List of Values) Search screen shown below for the above parameters in case you wish to select and not enter these manually. LPos 24 of 32
  • 25. Input Help (List of Values) Note: See the next screen to understand the significance of the LPos and SPos parameters. Save the search help object and activate it, by clicking on the Save button and Activate button respectively. If multiple objects are displayed to Activate, select all or all those which are relevant. The next step is to associate the search help object (Z027393_SRCH or Zxxxxxx_SRCH) to the required field ZBC400_S_HDR_CURR-CITYFROM. This field is on the screen 0201. Open the screen as shown below and double click on the CITYFROM Field to access the properties. Enter the search help object Z027393_SRCH or Zxxxxxx_SRCH into the Search Help field as shown below. 25 of 32
  • 26. Input Help (List of Values) Alternately this can also be done directly from the screen’s Reference Tab that is under the Element List tab as shown below. Save and Activate the screen. 26 of 32
  • 27. Input Help (List of Values) Repeat the same for the other field (ZBC400_S_HDR_CURR-CITYTO) that needs the Search Help of the list of values to be displayed. The field is on screen 0202 as shown below. 27 of 32
  • 28. Input Help (List of Values) Similarly this can also be done directly from the screen’s Reference Tab that is under the Element List tab as shown below. 28 of 32
  • 29. Input Help (List of Values) Save and Activate the screen. Run the program by using the Transaction Code created earlier. The search help can be accessed for Carried ID, Connection ID and for both the CITY fields as shown in the next few screenshots. 29 of 32
  • 30. Input Help (List of Values) Screen 100 Screen 200 (Tab 1) 30 of 32
  • 31. Input Help (List of Values) 31 of 32
  • 32. Input Help (List of Values) Screen 200 (Tab 2) 32 of 32