SlideShare une entreprise Scribd logo
1  sur  21
Télécharger pour lire hors ligne
Field Help (Documentation and or Supplementary
             /Additional Documentation)
Creating Field 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_007A as Z027393_009A [See
      StepByStep_Copy_Function_Group_Program.pdf]

Instead of creating from scratch we are using an exiting program, duplicating it and making
changes. First copy the program and continue from here.

Note: There are three methods for creating the Field Help

1) Method 1: Documentation: Here the data element documentation help is specified in the
ABAP dictionary for every data element by using Go To > Documentation menu.
2) Method 2: Additional Documentation: This is used in case the data element documentation
help is not applicable, here the additional documentation is entered that can be called from the
dynpro using the Process on Help Request (POH) event as shown below.
PROCESS ON HELP-REQUEST.
 FIELD fieldname WITH num.
3) Method 3: This is a custom help where you may call your own screens etc from a module mod
that in turn is trigger by the Process on Help Request (POH) event as shown below.
PROCESS ON HELP-REQUEST.
 FIELD fieldname MODULE mod.

In the following instructions, we are creating Field Help using the 1st and 2nd 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], 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_009A that was previously copied from Zxxxxxx_007A (if
not already opened.)


                                                                                         1 of 21
Field Help (Documentation and or Supplementary
             /Additional Documentation)




To display the property page, double click on the program name (node - Zxxxxxx_009A). 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 21
Field Help (Documentation and or Supplementary
             /Additional Documentation)
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_009A] it will be used to
create a transaction code (T-code) later.




Add description on the top as shown.

*&---------------------------------------------------------------------*
*& Module Pool       Z027393_009A
*& DEMO -> Field Help (Documemtation and Additional Documentation.)
*&---------------------------------------------------------------------*

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




                                                                                        3 of 21
Field Help (Documentation and or Supplementary
             /Additional Documentation)




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_009A] and use following menu in SE80 (or by directly using T-Code SE93 –
not shown here.)




                                                                                              4 of 21
Field Help (Documentation and or Supplementary
             /Additional Documentation)




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].




                                                                                         5 of 21
Field Help (Documentation and or Supplementary
           /Additional Documentation)




                                           6 of 21
Field Help (Documentation and or Supplementary
             /Additional Documentation)




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

Run the program by entering the T-code/Transaction Code [Z027393_009A] or
[/nZ027393_009A], 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.


Note: If the program is not working correctly, check the name of the Functions and the Program
name in three places – see next 3 screenshots. Update if necessary.




                                                                                              7 of 21
Field Help (Documentation and or Supplementary
           /Additional Documentation)




                                           8 of 21
Field Help (Documentation and or Supplementary
           /Additional Documentation)




                                           9 of 21
Field Help (Documentation and or Supplementary
             /Additional Documentation)




Save and Activate.

After you ensure that you have a working program to get started, the following (new) changes
that will demo the Field Help may be done.


METHOD 1:

We need to add the documentation to the Date Element of the field that needs the F1 help
documentation. To access the Data Element, we can access the Table first, then the Field, and
finally the Data Element. Open the Function Group and access the TOP include
(LZ027393_009ATOP) [or directly using the T-Code se11 – Dictionary: Maintain Table]




                                                                                        10 of 21
Field Help (Documentation and or Supplementary
             /Additional Documentation)




Double click on the Table name ZBC400_S_DYNCONN shown above (highlighted.) The Table
definition is displayed.




                                                                             11 of 21
Field Help (Documentation and or Supplementary
             /Additional Documentation)




Double click on the ZCITYFROM Data Element. Click on the [Display <> Update] button to
make this data element updateable.




                                                                                  12 of 21
Field Help (Documentation and or Supplementary
             /Additional Documentation)




Now click on the ‘Documentation’ button displayed on the top tool bar.




                                                                         13 of 21
Field Help (Documentation and or Supplementary
             /Additional Documentation)




After the Documentation is entered, Click on Save and Activate (the Documentation.) Then click
on the green back button two time to get back to the Table Definition, or go back to TOP include
(LZ027393_009ATOP) and Double click on the Table name ZBC400_S_DYNCONN.

METHOD 2:

To demo method 2 (Supplementary/Additional Documentation) access a different field
ZCITYTO.

Double click on the ZCITYTO Data Element.




                                                                                        14 of 21
Field Help (Documentation and or Supplementary
             /Additional Documentation)




Click on the [Display <> Update] button to make this data element updateable.




                                                                                15 of 21
Field Help (Documentation and or Supplementary
             /Additional Documentation)




Now click on the ‘Supplementary Documentation’ button displayed on the top tool bar.




                                                                                       16 of 21
Field Help (Documentation and or Supplementary
             /Additional Documentation)
Enter ‘0001’ for the Data Element Suppl field.

Click on [Change] button shown above.




After entering the supplementary documentation, Save and Activate it.

Click on the green back button. Then click on the sub screen 0202 (because this has the CITYTO
field), and access the Flow Logic Tab. Enter the code shown below for the POH Logic.

PROCESS ON HELP-REQUEST.
FIELD ZBC400_S_HDR_CURR-CITYTO WITH '0001'.




                                                                                      17 of 21
Field Help (Documentation and or Supplementary
             /Additional Documentation)




Save and Activate.

Run the program, using its T-Code created earlier.




                                                     18 of 21
Field Help (Documentation and or Supplementary
             /Additional Documentation)




Click (one time) on the CITYFROM field (to move cursor focus) and then hit the F1 help button.




                                                                                      19 of 21
Field Help (Documentation and or Supplementary
             /Additional Documentation)




The Documentation is displayed as shown above.

Exit the documentation by clicking on the [x] at the top right corner.

Now access the second tab and click (one time) on the CITYTO field.




                                                                         20 of 21
Field Help (Documentation and or Supplementary
             /Additional Documentation)




Advantage of using the Additional or Supplementary documentation is that we can define
multiple instances of the supplementary documentation (‘0001’, ‘0002’, ‘0003’, etc) and call the
appropriate [supplementary] documentation from any DYNPRO screen - based on requirement
of the field. In other words, theoretically we could have various different [numerous]
documentation for one field and any one of these could be accessed - depending on the
DYNPRO screen the field is displayed.




                                                                                        21 of 21

Contenu connexe

Similaire à Creating Field Help in ABAP

Change transport system in SAP
Change transport system in SAP Change transport system in SAP
Change transport system in SAP chinu141
 
How to create drill down dashboard
How to create drill down dashboardHow to create drill down dashboard
How to create drill down dashboardNilesh Jethwa
 
P.N. 4219640_inDex User's Manual
P.N. 4219640_inDex User's ManualP.N. 4219640_inDex User's Manual
P.N. 4219640_inDex User's ManualDavid Wise
 
How to design a report with fine report reporting tool
How to design a report with  fine report reporting toolHow to design a report with  fine report reporting tool
How to design a report with fine report reporting toolFineReport Reporting Tool
 
ECON|i Software Training
ECON|i Software TrainingECON|i Software Training
ECON|i Software TrainingEconomyModule
 
Import Guide - Cloud for Customer Edge and Starter Edition - Guide v2.6
Import Guide - Cloud for Customer Edge and Starter Edition - Guide v2.6Import Guide - Cloud for Customer Edge and Starter Edition - Guide v2.6
Import Guide - Cloud for Customer Edge and Starter Edition - Guide v2.6Tiziano Menconi
 
Gt designer 2 for startup guide
Gt designer 2 for startup guideGt designer 2 for startup guide
Gt designer 2 for startup guidequanglocbp
 
Report exchange designer
Report exchange designerReport exchange designer
Report exchange designerBhushan Rajgure
 
Alphalist map sawt_de_jobaid_ver2
Alphalist map sawt_de_jobaid_ver2Alphalist map sawt_de_jobaid_ver2
Alphalist map sawt_de_jobaid_ver2Home
 
Genex assistant operation guide (lte)
Genex assistant operation guide (lte)Genex assistant operation guide (lte)
Genex assistant operation guide (lte)Roel Gabon
 
SAP BPC 10.1 NW Master Data loading
SAP BPC 10.1 NW Master Data loading SAP BPC 10.1 NW Master Data loading
SAP BPC 10.1 NW Master Data loading Manoj Kumar
 
Step bystep abap_changinga_singlerecord
Step bystep abap_changinga_singlerecordStep bystep abap_changinga_singlerecord
Step bystep abap_changinga_singlerecordMilind Patil
 
Step bystep abap_changinga_singlerecord
Step bystep abap_changinga_singlerecordStep bystep abap_changinga_singlerecord
Step bystep abap_changinga_singlerecordMilind Patil
 
Hv 4000 querying results
Hv 4000 querying resultsHv 4000 querying results
Hv 4000 querying resultsvarghese99
 
PresentationCrystaljoiuouoouououoooiuiouiououoioiuoiuouo
PresentationCrystaljoiuouoouououoooiuiouiououoioiuoiuouoPresentationCrystaljoiuouoouououoooiuiouiououoioiuoiuouo
PresentationCrystaljoiuouoouououoooiuiouiououoioiuoiuouohrhedgewarhospital
 

Similaire à Creating Field Help in ABAP (20)

Change transport system in SAP
Change transport system in SAP Change transport system in SAP
Change transport system in SAP
 
How to create drill down dashboard
How to create drill down dashboardHow to create drill down dashboard
How to create drill down dashboard
 
Tally project
Tally projectTally project
Tally project
 
P.N. 4219640_inDex User's Manual
P.N. 4219640_inDex User's ManualP.N. 4219640_inDex User's Manual
P.N. 4219640_inDex User's Manual
 
How to design a report with fine report reporting tool
How to design a report with  fine report reporting toolHow to design a report with  fine report reporting tool
How to design a report with fine report reporting tool
 
ECON|i Software Training
ECON|i Software TrainingECON|i Software Training
ECON|i Software Training
 
Import Guide - Cloud for Customer Edge and Starter Edition - Guide v2.6
Import Guide - Cloud for Customer Edge and Starter Edition - Guide v2.6Import Guide - Cloud for Customer Edge and Starter Edition - Guide v2.6
Import Guide - Cloud for Customer Edge and Starter Edition - Guide v2.6
 
Gt designer 2 for startup guide
Gt designer 2 for startup guideGt designer 2 for startup guide
Gt designer 2 for startup guide
 
Report exchange designer
Report exchange designerReport exchange designer
Report exchange designer
 
Alphalist map sawt_de_jobaid_ver2
Alphalist map sawt_de_jobaid_ver2Alphalist map sawt_de_jobaid_ver2
Alphalist map sawt_de_jobaid_ver2
 
社會網絡分析UCINET Quick Start Guide
社會網絡分析UCINET Quick Start Guide社會網絡分析UCINET Quick Start Guide
社會網絡分析UCINET Quick Start Guide
 
Genex assistant operation guide (lte)
Genex assistant operation guide (lte)Genex assistant operation guide (lte)
Genex assistant operation guide (lte)
 
SAP BPC 10.1 NW Master Data loading
SAP BPC 10.1 NW Master Data loading SAP BPC 10.1 NW Master Data loading
SAP BPC 10.1 NW Master Data loading
 
Step bystep abap_changinga_singlerecord
Step bystep abap_changinga_singlerecordStep bystep abap_changinga_singlerecord
Step bystep abap_changinga_singlerecord
 
Step bystep abap_changinga_singlerecord
Step bystep abap_changinga_singlerecordStep bystep abap_changinga_singlerecord
Step bystep abap_changinga_singlerecord
 
Hv 4000 querying results
Hv 4000 querying resultsHv 4000 querying results
Hv 4000 querying results
 
Calibration process
Calibration processCalibration process
Calibration process
 
Calibration process
Calibration processCalibration process
Calibration process
 
PresentationCrystalReport.ppt
PresentationCrystalReport.pptPresentationCrystalReport.ppt
PresentationCrystalReport.ppt
 
PresentationCrystaljoiuouoouououoooiuiouiououoioiuoiuouo
PresentationCrystaljoiuouoouououoooiuiouiououoioiuoiuouoPresentationCrystaljoiuouoouououoooiuiouiououoioiuoiuouo
PresentationCrystaljoiuouoouououoooiuiouiououoioiuoiuouo
 

Plus de Milind Patil

Abap slide class4 unicode-plusfiles
Abap slide class4 unicode-plusfilesAbap slide class4 unicode-plusfiles
Abap slide class4 unicode-plusfilesMilind Patil
 
Step bystep abap_fieldhelpordocumentation
Step bystep abap_fieldhelpordocumentationStep bystep abap_fieldhelpordocumentation
Step bystep abap_fieldhelpordocumentationMilind 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
 

Plus de Milind Patil (20)

Abap slide class4 unicode-plusfiles
Abap slide class4 unicode-plusfilesAbap slide class4 unicode-plusfiles
Abap slide class4 unicode-plusfiles
 
Step bystep abap_fieldhelpordocumentation
Step bystep abap_fieldhelpordocumentationStep bystep abap_fieldhelpordocumentation
Step bystep abap_fieldhelpordocumentation
 
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 class3
Abap slide class3Abap slide class3
Abap slide class3
 
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
 

Dernier

Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 

Dernier (20)

Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 

Creating Field Help in ABAP

  • 1. Field Help (Documentation and or Supplementary /Additional Documentation) Creating Field 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_007A as Z027393_009A [See StepByStep_Copy_Function_Group_Program.pdf] Instead of creating from scratch we are using an exiting program, duplicating it and making changes. First copy the program and continue from here. Note: There are three methods for creating the Field Help 1) Method 1: Documentation: Here the data element documentation help is specified in the ABAP dictionary for every data element by using Go To > Documentation menu. 2) Method 2: Additional Documentation: This is used in case the data element documentation help is not applicable, here the additional documentation is entered that can be called from the dynpro using the Process on Help Request (POH) event as shown below. PROCESS ON HELP-REQUEST. FIELD fieldname WITH num. 3) Method 3: This is a custom help where you may call your own screens etc from a module mod that in turn is trigger by the Process on Help Request (POH) event as shown below. PROCESS ON HELP-REQUEST. FIELD fieldname MODULE mod. In the following instructions, we are creating Field Help using the 1st and 2nd 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], 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_009A that was previously copied from Zxxxxxx_007A (if not already opened.) 1 of 21
  • 2. Field Help (Documentation and or Supplementary /Additional Documentation) To display the property page, double click on the program name (node - Zxxxxxx_009A). 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 21
  • 3. Field Help (Documentation and or Supplementary /Additional Documentation) 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_009A] it will be used to create a transaction code (T-code) later. Add description on the top as shown. *&---------------------------------------------------------------------* *& Module Pool Z027393_009A *& DEMO -> Field Help (Documemtation and Additional Documentation.) *&---------------------------------------------------------------------* Save the program. Activate the Function Group by clicking on the [Activate] button on the top tool bar. 3 of 21
  • 4. Field Help (Documentation and or Supplementary /Additional Documentation) 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_009A] and use following menu in SE80 (or by directly using T-Code SE93 – not shown here.) 4 of 21
  • 5. Field Help (Documentation and or Supplementary /Additional Documentation) 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]. 5 of 21
  • 6. Field Help (Documentation and or Supplementary /Additional Documentation) 6 of 21
  • 7. Field Help (Documentation and or Supplementary /Additional Documentation) Enter program name as [main program - SAPLZ027393_009A] and the (starting) Screen number as [0100]. Save. Accept the Package and the Transport Request in the subsequent screens. Run the program by entering the T-code/Transaction Code [Z027393_009A] or [/nZ027393_009A], 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. Note: If the program is not working correctly, check the name of the Functions and the Program name in three places – see next 3 screenshots. Update if necessary. 7 of 21
  • 8. Field Help (Documentation and or Supplementary /Additional Documentation) 8 of 21
  • 9. Field Help (Documentation and or Supplementary /Additional Documentation) 9 of 21
  • 10. Field Help (Documentation and or Supplementary /Additional Documentation) Save and Activate. After you ensure that you have a working program to get started, the following (new) changes that will demo the Field Help may be done. METHOD 1: We need to add the documentation to the Date Element of the field that needs the F1 help documentation. To access the Data Element, we can access the Table first, then the Field, and finally the Data Element. Open the Function Group and access the TOP include (LZ027393_009ATOP) [or directly using the T-Code se11 – Dictionary: Maintain Table] 10 of 21
  • 11. Field Help (Documentation and or Supplementary /Additional Documentation) Double click on the Table name ZBC400_S_DYNCONN shown above (highlighted.) The Table definition is displayed. 11 of 21
  • 12. Field Help (Documentation and or Supplementary /Additional Documentation) Double click on the ZCITYFROM Data Element. Click on the [Display <> Update] button to make this data element updateable. 12 of 21
  • 13. Field Help (Documentation and or Supplementary /Additional Documentation) Now click on the ‘Documentation’ button displayed on the top tool bar. 13 of 21
  • 14. Field Help (Documentation and or Supplementary /Additional Documentation) After the Documentation is entered, Click on Save and Activate (the Documentation.) Then click on the green back button two time to get back to the Table Definition, or go back to TOP include (LZ027393_009ATOP) and Double click on the Table name ZBC400_S_DYNCONN. METHOD 2: To demo method 2 (Supplementary/Additional Documentation) access a different field ZCITYTO. Double click on the ZCITYTO Data Element. 14 of 21
  • 15. Field Help (Documentation and or Supplementary /Additional Documentation) Click on the [Display <> Update] button to make this data element updateable. 15 of 21
  • 16. Field Help (Documentation and or Supplementary /Additional Documentation) Now click on the ‘Supplementary Documentation’ button displayed on the top tool bar. 16 of 21
  • 17. Field Help (Documentation and or Supplementary /Additional Documentation) Enter ‘0001’ for the Data Element Suppl field. Click on [Change] button shown above. After entering the supplementary documentation, Save and Activate it. Click on the green back button. Then click on the sub screen 0202 (because this has the CITYTO field), and access the Flow Logic Tab. Enter the code shown below for the POH Logic. PROCESS ON HELP-REQUEST. FIELD ZBC400_S_HDR_CURR-CITYTO WITH '0001'. 17 of 21
  • 18. Field Help (Documentation and or Supplementary /Additional Documentation) Save and Activate. Run the program, using its T-Code created earlier. 18 of 21
  • 19. Field Help (Documentation and or Supplementary /Additional Documentation) Click (one time) on the CITYFROM field (to move cursor focus) and then hit the F1 help button. 19 of 21
  • 20. Field Help (Documentation and or Supplementary /Additional Documentation) The Documentation is displayed as shown above. Exit the documentation by clicking on the [x] at the top right corner. Now access the second tab and click (one time) on the CITYTO field. 20 of 21
  • 21. Field Help (Documentation and or Supplementary /Additional Documentation) Advantage of using the Additional or Supplementary documentation is that we can define multiple instances of the supplementary documentation (‘0001’, ‘0002’, ‘0003’, etc) and call the appropriate [supplementary] documentation from any DYNPRO screen - based on requirement of the field. In other words, theoretically we could have various different [numerous] documentation for one field and any one of these could be accessed - depending on the DYNPRO screen the field is displayed. 21 of 21