Monday, June 30, 2025

🧩 Sub Objects in ABAP Editor

 

Sub Objects in ABAP Editor:
1. Source Code
2. Variants
3. Attributes
4. Documentation
5. Text Elements

πŸ”Ή 1. Source Code

  • It is nothing but the source code of a program.

πŸ”Ή 2. Attributes

  • It specifies attributes of a program such as: Title, Type, Date of creation & change...and more

πŸ”Ή 3. Documentation

  • Using this option, you can provide documentation for a program.

πŸ”Έ Example:

Go to SE38 Program: ZDEMO Documentation Change Provide Purpose: The report is displaying segment wise materials details Provide Integration: No Provide Prerequisites: s_matnr s_werks Save

πŸ”Ή 4. Text Elements

  • Using Text Elements, you can maintain Labels or Selection Screen Fields.

πŸ”Έ Example:

Go to SE38Program: ZDEMOText ElementsChangeSelection Text Name Text s_matnr Material Code s_werks PlantActivate

πŸ”Ή 5. Variants

  • Using Variants, you can provide default input values for a Selection Screen.
  • In background scheduling reports, the reports are executed automatically by the system in the background. For such reports, input values are supplied using Variants.

πŸ”Έ Example:

➤ Go to SE38 ➤ Program: ZDEMO ➤ Variants ➤ Change ➤ Variant: ZVAR ➤ Create ➤ Enter input values i.e. 100-100 to 100-500Select Attribute option (F6) ➤ Meaning: Variant Creation ➤ Save ➤ Run the report ➤ Select Get Variant optionDouble click on variant name (ZVAR)

No comments:

Post a Comment