expertsask994@gmail.com
My Account
  • Home
  • Blog
  • eBooks
  • SAP FICO Course
  • About
  • Contact Us
  • My account

No products in the cart.

  • Home
  • Blog
  • eBooks
  • SAP FICO Course
  • About
  • Contact Us
  • My account

No products in the cart.

  • Home
  • Blog
  • eBooks
  • SAP FICO Course
  • About
  • Contact Us
  • My account

No products in the cart.

  • Home
  • Blog
  • eBooks
  • SAP FICO Course
  • About
  • Contact Us
  • My account
ABAP
Home Archive by Category "ABAP"

Category: ABAP

ABAPGeneral SAP

ST05 Database Trace: How it is helpful to Functional consultant

You can trace the database using ST05 transaction to find out what tables / structures underlying program is using. It is extremely great tool to have when you want to analyze any transaction and there is just not enough information available over internet.

ST05 is used to analyze performance of programs majorly.

There are five important types of trace we can perform using ST05 and each is very important in specific context.

Note: This blogpost is a piece of eBook: Learn how to debug ABAP Programs. You can get the book by clicking on the link.

So let’s see how to use ST05

ST05

This is how ST05 screen looks like.

Here we have multiple options to filter trace of any program:

  • SQL Trace: this trace helps to find out all tables and structures used by any program/transaction for performing statements like select, insert, delete and update
  • Buffer Trace: to check table buffer (helpful to decide performance tuning opportunity area)
  • Enqueue Trace: enqueue function is used to lock object at the time of updating data and then unlocking it after data update is finished. Many times, you receive errors like ‘xyz table is locked by user’ these errors are issued because of this enqueue function.
  • RFC Trace: this is useful to find out if program is making any remote calls to another system. (useful when analyzing interfaces)
  • HTTP Trace: to trace HTTP requests from program/application.
  1. SQL Trace

First we need to activate trace from ST05 transaction

There are two options to activate trace, you can see highlighted in above screenshot

One should always select activate trace with filter option

Get ECC & S4 Server access here.

In the next prompted screen (above) you should enter your username, transaction name and program name if possible for which you want to activate trace. In lower side you also have include and exclude options to narrow down the trace criteria.

Activating trace is a big deal. Because system collects huge data for analysis purpose, so be mindful while activating trace.

Now after entering filter criteria press enter and trace will be activated.

We are trying to trace FB03 transaction

Open FB03 transaction in other screen

Enter document details and press enter. You can keep going on like opening line item of journal entry or exploring various options from menu, system will keep recording trace of each and every activity. For this e.g. to keep it simple, we will just open journal enter and then close FB03 transaction.

Now go back to ST05 screen and deactivate trace

Then click on display trace option and execute report

And here you go, you got list of programs and objects (tables/structures) along with how much time it took.

You can double click on program name and system will take to that program statement.

To simplify this list further and we are also only interested table checked by FB03, hence we will go to aggregate trace option and select access to table (as displayed in below screenshot)

In next screen you will only see the list of tables that are used.

Let’s make it more simpler to understand, as we can see there are multiple tables that we might not be aware of.

Click on component hierarchy and select level 0 (as shown in below screenshot)

Read blogpost: Everything about FEBKO & FEBEP tables in SAP (EBS)

You can double click on table name to check table details.

In next screen you will see tables are segregated based on their modules

You can notice first BASIS tables are displayed under Basis Component head. Next Financial account tables are displayed. This will help you to check on right tables.

This was about SQL Trace.

Similarly you can use other trace to find out is there any RFC calls made or HTTP request in application. Many times you will come across multiple scenarios where you would like to know what this Z transaction do at that time instead of checking program line by line. You can simply activate all trace in ST05 and then analyze each trace separately.

This will save hours of time for you.

As discussed earlier this blogpost is taken from eBook Learn to read ABAP programs for functional consultants. If you found the blogpost useful then you can get your copy of eBook.

Stay tuned and connected with us on below platforms:

YouTube

LinkedIn FICO Page

LinkedIn ABAP Page

LinkedIn Logistics Page

Instagram

Thanks for reading.

Read More
ERP College October 28, 2022 0 Comments
ABAP

Top 10 books to learn SAP ABAP

Many connections asked us for best resources or books to learn SAP. So we decided to start with SAP ABAP and find out what are the best resources to learn SAP ABAP.

While writing this blogpost I wondered, how people spend thousands of dollars in SAP Certified classes just to scratch the module little bit, while there is so much knowledge packed content available on internet for literally few bucks.

We talked with many experienced consultants about how they learn ABAP apart from initial entry level courses/classes. And this blogpost is the result of the answers we got. In this blogpost we have curated list of top 10 books to learn SAP ABAP.

  1. SAP ABAP 4 Basic to Advance

Someone aspires to be a Techno Functional consultant should must read this book. Someone starting in SAP as a ABAP consultant must give a read to this book as it will help clear basic concepts. It will further help oneself in understanding complex level topics.

Below are the points discussed in the book:


• Taking your first steps.
• Create ABAP Dictionary Tables and Objects
• Create programs in a flash with the ABAP Editor
• Define variables for calculations
• Create and modifying character strings
• Learn to debug your programs
• Perform calculations with quantities, currencies, date, and time fields
• Learn Open-SQL
• Create program flow control and logical expressions
• Build selection screens
• Manage and modify internal tables
• Modularization and programs

2. ABAP Development for SAP HANA



This will help you to build SAP HANA optimized ABAP applications. If one want to learn how ABAP programming is changed in HANA, then you can definitely give this book try.

What you will learn:

  • SAP HANA
  • ABAP database connectivity (ADBC)
  • ABAP-managed database procedures (AMDP)
  • SQL and SQLScript
  • Data modeling
  • Core data services (CDS)
  • Native SQL and ABAP SQL
  • Business object processing framework (BOPF)
  • ABAP Test Cockpit
  • Runtime statistics and analysis
  • SAP BTP, ABAP Environment

Get this book here.


3. Practical guide to SAP ABAP: designing development debugging



“One glance at a book and you hear the voice of another person, perhaps someone dead for 1,000 years. To read is to voyage through time.” – Carl Sagan

This quote tells us that how we can learn from others, people who put decades of hard work into pages of book. And by just reading these books if you can gain the years of knowledge then why not read as much as possible.

This book dive little deeper into ABAP. it will teach you right approach of debugging, how to use SAP data dictionary in right way, expert ABAP development techniques.

Get this book here.

4. ABAP Cookbook: programming recipe for everyday solution

This book will help you find answer to complex programming issues in persistence programming, interface programming, security & tracing techniques.

What you will learn with this book:

  • String processing techniques
  • Dynamic and reflective programming
  • ABAP and Unicode
  • Database programming
  • Transactional programming
  • XML processing in ABAP
  • Web services and programming with the ICF
  • Email programming
  • Security programming
  • Logging and tracing
  • Interprocess communication
  • Parallel and distributed processing with RFCs

Get this book here.
Also read: Currencies in the SAP ECC and their impact on organizational structure
5. SAP HANA SQL Script programming



This book will teach you the complete SQL script programming.

  • Role and use cases of SQL script programming
  • Become expert in SQL script programming
  • SQL script practical applications
  • ABAP managed database procedures (AMDP)
  • Debugging techniques to analyze SQL script

Get this book here.

6. SAP ABAP Programming for beginners

This is one video course from Udemy. We don’t find video formats good source of learning for life long knowledge, because there are several reasons like if you watch something in video that time you literally see things happening and you left with zero interest doing it again. Very rarely you will rewatch any video. When in need it is hard to find right topic to watch again.

On the other hand, when you read books it urges you to follow them in system. It is easy to carry and refer at any point of time in any device. When you stuck anywhere, you know where to look into book. Usually books are referred again and again and it truly helps you absorbing the knowledge. Anyway, still we found this course useful and below are the things you will learn:

As mentioned in the course name this is for beginners.

  • How to write & modify ABAP program
  • Learn to build Reports, Interfaces, Includes, Forms, FM etc.
  • Practical step by step examples to write programs

7. SAP UI5 The comprehensive guide

Now this is the need of hour for every ABAP Consultant to learn few things about SAP UI5. This book will help you understand UI5 from basic (Hello world, example) to advance (deep dive).

What you will learn:

  • Design and build apps
  • MVC
  • Models and data binding
  • OData
  • CRUD and REST
  • Debug and test
  • App deployment
  • Eclipse
  • SAP Web IDE
  • SAP Fiori
  • SAP HANA Cloud Platform

Get this book here.

8. What on earth is an SAP IDOC

No matter how advanced APIs are nowadays. But one thing is clear that IDOCs are not going anywhere in near time. one of the most convincing evidence is, IDOC is still most searched term on google, related to SAP. So you can understand how extensively IDOCs are used across modules. No matter in which module or area of SAP you are working, you will always be in touch with IDOCs (this was the response from most of the consultants we talked to).

This book will help you to get started with IDOC. It will touch every aspect of IDOC that you should know. It will make you enough knowledgeable to handle IDOC issues or to build IDOC based interfaces.

What will you learn:

  • Fundamentals of Inbound & Outbound IDOC interfaces and configuration
  • Learn how to build interface with ALE & EDI
  • Troubleshoot common post implementation challenges
  • Quick reference guide to common IDOC transaction codes and reports

Get the book here.

9. Mastering SAP ABAP

As name suggest this book is for Associate consultant, who already spend some years in writing ABAP programs. This book will introduce you to the latest ABAP techniques using practical examples. Tools available for import data from and to different environments, tools for manipulating XML, building stunning UI5 interfaces.

What you will learn:

  • Create stable and error-free ABAP programs
  • Leverage new ABAP concepts including object-oriented programming(OOP) and Model-View-Controller (MVC)
  • Learn to add custom code to your existing SAP program
  • Speed up your ABAP programs by spotting bottlenecks
  • Understand techniques such as performance tuning and optimization
  • Develop modern and beautiful user interfaces (UIs) in an ABAP environment
  • Build multiple classes with any nesting level

Get the book here.

10. ABAP in the Cloud

we don’t have too much material available so far to learn ABAP for cloud. This books stands out if someone wants to deep dive into ABAP in Cloud. You will find out how ABAP is changed in cloud. End to end guide to build SAP FIORI Apps. How to connect on-premise and cloud systems with external APIs.

What you will learn:

  • ABAP Development Tools in Eclipse
  • SAP BTP, Cloud Foundry environment
  • ABAP RESTful application programming model
  • Application development
  • Backend services
  • SAP Fiori
  • Consuming APIs
  • Identity and access management
  • Application lifecycle management
  • Monitoring and security

Get the book here.

11. ABAP Development for SAP S4HANA

The way ahead is S4 and so every ABAPer has to align and upskill thyself to new functions of S4. This book will bring you upto the speed it will introduce you to new ABAP functionalities like ODATA, BOPF, Core data Services. It will teach you to build new applications on S4.

So these are 10 (+1 bonus) books/resources we found must read for every Consultant who wants to have enrich career in SAP ABAP Module. All of this material is so cheap compared to the value they are providing. What you can learn reading even one book can be equivalent to years of work, if you try to learn these things on your own.

We often find that people will blow off money buying meaning less stuff but feel guilty to invest in learning. Many will run out of date skills and compromise on pay checks, but never try to learn new cutting edge skills.

There are many innovations happening every day, each passing day making hundreds of old technologies, software making out of date. We cannot be doing everything or track all the changes and that’s where books help us to catch up the speed.

Let’s end this post with the quote of Jeanette Winterson

“Books and doors are the same thing. You open them, and you go through into another world.”

Subscribe to our newsletter to receive weekly blogpost update.

If you enjoy the blogpost, then you can stay connected with us on below platforms:

YouTube

LinkedIn FICO Page

LinkedIn ABAP Page

LinkedIn Logistics Page

Instagram

Read More
ERP College January 27, 2022 0 Comments
ABAP

How to get all the Important Transaction Code for ABAP Development, Testing and Workflow Development?

Introduction

After working with SAP for more than 15 years and travelling across the Globe for SAP Projects one issue I always use to have how can I keep track of all the SAP Transaction Codes associated with ABAP Development . If you are working as a SAP ABAP Consultant you need to keep the name of Transaction Codes in your Fingertips. Sometimes this you know from other Experts and sometimes you have to dig it out. After exploring I found a very easy way to dig out the SAP Transaction Codes associated with ABAP. Just check this blog and conquer the SAP world.

Solution

Just Type S001 in Command Bar. This has all the important Transaction Code for ABAP Development,

Just Type SDW0 in Command Bar. This has all the important Transaction Code for ABAP Development with some more features,

Just Type SWLD in Command Bar. This has all the important Transaction Code for SAP WORKFLOW DEVELOPMENT.

Just Type STUN in Command Bar. This has all the important Transaction Code for SAP PERFORMANCE MONITORING.

Just Type COD_INT_MENU in Command Bar. This has all the important Transaction Code for SAP Cloud  MONITORING.

You can only add one Area Menu by Default. In Order to do so just type in SU3 Tcode and in Default Tab just choose the one you want.

Conclusion

This blog will help you in both SAP ECC and SAP S/4HANA.

Here is the Video version

Just Type S001 in Command Bar. This has all the important Transaction Code for ABAP Development,

Just Type SWLD in Command Bar. This has all the important Transaction Code for SAP WORKFLOW DEVELOPMENT.

Just Type STUN in Command Bar. This has all the important Transaction Code for SAP PERFORMANCE MONITORING.

Read More
Arghadip Kar December 16, 2020 0 Comments
ABAPGeneral SAP

How to find the Table that stores multiple Field values? That’s what ABAPER and Functional does :) in WRICEFF development

Introduction

After working with SAP for more than 15 years and travelling across the Globe for SAP Projects one issue I always use to have how can I keep track of all the SAP Tables associated with different Modules. If you are working as a SAP ABAP Consultant you need to keep the name of tables in your Fingertips. Sometimes this you know from other Experts and sometimes you have to dig it out.

After exploring I found a very easy way to know the Tables that contains all the four fields or Data Element in the same table and has data in it.

SAP is just like an ocean and every droplet is like one SAP Table. This is one of the first program I create in any Project.

I have one request the .1% time you saved while implementing this Blog, help someone in need by doing Service. It can be as simple as playing with a Kid also.

This solution only does Table. I will do another blog  for Views also.

Solution

Go to SE38-> Create a Program and Paste this Code.

Here is the Execution. Just to let you know I have Excluded the Table Beginning with ‘/’. If you want to add it just tweak the code.

In the Below example I am looking for tables with these 2 fields/Data Element. EBELN and EBELP

And here is the Result

Lets be adventurous and try with 4 fields

Before this I never knew EKPO has all the above 4 Fields/Data Element.

Below is the Code that probably can fetch some serious Fun Time to learn something more.

TABLES: DD03L,

        BOOLE.

DATA:DREF TYPE REF TO DATA.

FIELD-SYMBOLS:<TABLE> TYPE STANDARD TABLE.

TYPE-POOLS: SLIS, ICON.

* Internal Tables

TYPES: BEGIN OF T_IALV,

         TABNAME TYPE DD03L-TABNAME,

         FIELD1  TYPE DD03L-FIELDNAME,

         FIELD2  TYPE DD03L-FIELDNAME,

         FIELD3  TYPE DD03L-FIELDNAME,

         FIELD4  TYPE DD03L-FIELDNAME,

       END OF T_IALV .

DATA: IALV   TYPE STANDARD TABLE OF T_IALV,

      WA_ALV TYPE T_IALV.

DATA: ALV_CONTAINER TYPE REF TO CL_GUI_CUSTOM_CONTAINER,

      ALV_GRID      TYPE REF TO CL_GUI_ALV_GRID,

      OK_CODE       LIKE SY-UCOMM,

      FIELDCAT      TYPE SLIS_T_FIELDCAT_ALV WITH HEADER LINE.

SELECT-OPTIONS:S_FIELD1 FOR DD03L-FIELDNAME NO-EXTENSION,

S_FIELD2 FOR DD03L-FIELDNAME NO-EXTENSION,

S_FIELD3 FOR DD03L-FIELDNAME NO-EXTENSION,

S_FIELD4 FOR DD03L-FIELDNAME NO-EXTENSION,

S_EXC FOR BOOLE-BOOLE.

FIELD-SYMBOLS:<FS-TAB13> TYPE MANDT.

DATA:WA_DD1      TYPE DD03L,

     WA_DD2      TYPE DD03L,

     WA_DD3      TYPE DD03L,

     WA_DD4      TYPE DD03L,

     LV_TAB      TYPE DD03L-TABNAME,

     WA_DD_FINAL TYPE DD03L.

IF S_EXC-LOW IS NOT INITIAL.

  LV_TAB = ‘/%’.

ENDIF.

IF S_FIELD1-LOW IS NOT INITIAL.

  SELECT C~TABNAME

    FROM ( ( DD03L AS C

         INNER JOIN DD02V AS P ON P~TABNAME  = C~TABNAME

                              AND P~TABCLASS = ‘TRANSP’)

*                              AND p~cityto   = @cityto )

         INNER JOIN DD09L AS F ON F~TABNAME = P~TABNAME )

    WHERE ( ( C~ROLLNAME EQ @S_FIELD1-LOW )

    OR ( C~FIELDNAME EQ @S_FIELD1-LOW  ) )

    AND P~TABNAME NOT LIKE @LV_TAB

       INTO TABLE @DATA(ITAB13).

ENDIF.

IF S_FIELD2-LOW IS NOT INITIAL.

  SELECT C~TABNAME

  FROM ( ( DD03L AS C

       INNER JOIN DD02V AS P ON P~TABNAME  = C~TABNAME

                            AND P~TABCLASS = ‘TRANSP’)

*                              AND p~cityto   = @cityto )

       INNER JOIN DD09L AS F ON F~TABNAME = P~TABNAME )

  WHERE ( ( C~ROLLNAME EQ @S_FIELD2-LOW )

  OR ( C~FIELDNAME EQ @S_FIELD2-LOW  )    )

  AND P~TABNAME NOT LIKE @LV_TAB

     INTO TABLE @DATA(ITAB14).

ENDIF.

IF S_FIELD3-LOW IS NOT INITIAL.

  SELECT C~TABNAME

  FROM ( ( DD03L AS C

       INNER JOIN DD02V AS P ON P~TABNAME  = C~TABNAME

                            AND P~TABCLASS = ‘TRANSP’)

       INNER JOIN DD09L AS F ON F~TABNAME = P~TABNAME )

  WHERE ( ( C~ROLLNAME EQ @S_FIELD3-LOW )

  OR ( C~FIELDNAME EQ @S_FIELD3-LOW  )    )

  AND P~TABNAME NOT LIKE @LV_TAB

     INTO TABLE @DATA(ITAB15).

ENDIF.

IF S_FIELD4-LOW IS NOT INITIAL.

  SELECT C~TABNAME

FROM ( ( DD03L AS C

     INNER JOIN DD02V AS P ON P~TABNAME  = C~TABNAME

                          AND P~TABCLASS = ‘TRANSP’)

*                              AND p~cityto   = @cityto )

     INNER JOIN DD09L AS F ON F~TABNAME = P~TABNAME )

WHERE ( ( C~ROLLNAME EQ @S_FIELD4-LOW )

OR ( C~FIELDNAME EQ @S_FIELD4-LOW  )

)

AND P~TABNAME NOT LIKE @LV_TAB

*                                AND f~connid = p~connid )

*       ORDER BY c~carrname, p~connid, f~fldate

   INTO TABLE @DATA(ITAB16).

ENDIF.

SORT ITAB13 BY TABNAME.

DELETE ADJACENT DUPLICATES FROM ITAB13 COMPARING TABNAME..

SORT ITAB14 BY TABNAME.

DELETE ADJACENT DUPLICATES FROM ITAB14 COMPARING TABNAME..

SORT ITAB15 BY TABNAME.

DELETE ADJACENT DUPLICATES FROM ITAB15 COMPARING TABNAME..

SORT ITAB16 BY TABNAME.

DELETE ADJACENT DUPLICATES FROM ITAB16 COMPARING TABNAME.

IF S_FIELD1-LOW IS NOT INITIAL.

  LOOP AT ITAB13 INTO DATA(WA_TAB133).

    IF ITAB14[] IS NOT INITIAL.

      READ TABLE ITAB14  INTO DATA(WA_TAB134) WITH KEY TABNAME = WA_TAB133-TABNAME.

      IF SY-SUBRC = 0.

        CREATE DATA DREF TYPE TABLE OF (WA_TAB134-TABNAME).

        IF ITAB15[] IS NOT INITIAL.

          READ TABLE ITAB15  INTO DATA(WA_TAB135) WITH KEY TABNAME = WA_TAB133-TABNAME.

          IF SY-SUBRC = 0.

            IF ITAB16[] IS NOT INITIAL.

              READ TABLE ITAB16  INTO DATA(WA_TAB136) WITH KEY TABNAME = WA_TAB133-TABNAME.

              IF SY-SUBRC = 0.

                ASSIGN DREF->* TO <TABLE>.

SELECT  *

              FROM (WA_TAB134-TABNAME)

                  INTO TABLE @<TABLE>.

                IF <TABLE> IS NOT INITIAL.

                  WA_ALV-TABNAME =  WA_TAB134-TABNAME.

                  WA_ALV-FIELD1 =  S_FIELD1-LOW.

                  WA_ALV-FIELD2 =  S_FIELD2-LOW.

                  WA_ALV-FIELD3 =  S_FIELD3-LOW.

                  WA_ALV-FIELD4 =  S_FIELD4-LOW.

                  APPEND WA_ALV TO IALV.

                  CLEAR WA_ALV.

*      exit.

                ENDIF.

              ELSE.

                ASSIGN DREF->* TO <TABLE>.

SELECT  *

              FROM (WA_TAB134-TABNAME)

                  INTO TABLE @<TABLE>.

                IF <TABLE> IS NOT INITIAL.

                  WA_ALV-TABNAME =  WA_TAB134-TABNAME.

                  WA_ALV-FIELD1 =  S_FIELD1-LOW.

                  WA_ALV-FIELD2 =  S_FIELD2-LOW.

                  WA_ALV-FIELD3 =  S_FIELD3-LOW.

*                  WA_ALV-FIELD4 =  S_FIELD4-LOW.

                  APPEND WA_ALV TO IALV.

                  CLEAR WA_ALV.

*      exit.

                ENDIF.

              ENDIF.

            ELSE.

              ASSIGN DREF->* TO <TABLE>.

SELECT  *

            FROM (WA_TAB134-TABNAME)

                INTO TABLE @<TABLE>.

              IF <TABLE> IS NOT INITIAL.

                WA_ALV-TABNAME =  WA_TAB134-TABNAME.

                WA_ALV-FIELD1 =  S_FIELD1-LOW.

                WA_ALV-FIELD2 =  S_FIELD2-LOW.

                WA_ALV-FIELD3 =  S_FIELD3-LOW.

                APPEND WA_ALV TO IALV.

                CLEAR WA_ALV.

              ENDIF.

            ENDIF.

          ELSE.

            ASSIGN DREF->* TO <TABLE>.

SELECT  *

          FROM (WA_TAB134-TABNAME)

              INTO TABLE @<TABLE>.

            IF <TABLE> IS NOT INITIAL.

              WA_ALV-TABNAME =  WA_TAB134-TABNAME.

              WA_ALV-FIELD1 =  S_FIELD1-LOW.

              WA_ALV-FIELD2 =  S_FIELD2-LOW.

              APPEND WA_ALV TO IALV.

              CLEAR WA_ALV.

            ENDIF.

          ENDIF.

        ELSE.

          ASSIGN DREF->* TO <TABLE>.

SELECT  *

        FROM (WA_TAB134-TABNAME)

            INTO TABLE @<TABLE>.

          IF <TABLE> IS NOT INITIAL.

            WA_ALV-TABNAME =  WA_TAB134-TABNAME.

            WA_ALV-FIELD1 =  S_FIELD1-LOW.

            WA_ALV-FIELD2 =  S_FIELD2-LOW.

            APPEND WA_ALV TO IALV.

            CLEAR WA_TAB134.

          ENDIF.

        ENDIF.

      ENDIF.

    ENDIF.

*  endif.

  ENDLOOP.

ENDIF.

*  Populate Field Catalog

PERFORM GET_FIELDCATALOG.

CALL FUNCTION ‘REUSE_ALV_GRID_DISPLAY’

  EXPORTING

    I_CALLBACK_PROGRAM = SY-REPID

*   is_layout          = w_layout

    IT_FIELDCAT        = FIELDCAT[]

*   it_events          = i_events

  TABLES

    T_OUTTAB           = IALV

  EXCEPTIONS

    PROGRAM_ERROR      = 1

    OTHERS             = 2.

IF SY-SUBRC <> 0.

* Implement suitable error handling here

ENDIF.

************************************************************************

*      Form  Get_Fieldcatalog – Set Up Columns/Headers

************************************************************************

FORM GET_FIELDCATALOG.

  CLEAR: FIELDCAT.

  FIELDCAT-SELTEXT_M    = ‘Tablename’.

  FIELDCAT-FIELDNAME  = ‘TABNAME’.

  FIELDCAT-OUTPUTLEN  = ’36’.

  APPEND FIELDCAT TO FIELDCAT.

  CLEAR: FIELDCAT.

  FIELDCAT-SELTEXT_M   = ‘Field1’.

  FIELDCAT-FIELDNAME  = ‘FIELD1’.

  FIELDCAT-OUTPUTLEN  = ’12’.

  APPEND FIELDCAT TO FIELDCAT.

  CLEAR: FIELDCAT.

  FIELDCAT-SELTEXT_M   = ‘Field2’.

  FIELDCAT-FIELDNAME  = ‘FIELD2’.

  FIELDCAT-OUTPUTLEN  = ’12’.

  APPEND FIELDCAT TO FIELDCAT.

  CLEAR: FIELDCAT.

  FIELDCAT-SELTEXT_M   = ‘Field3’.

  FIELDCAT-FIELDNAME  = ‘FIELD3’.

  FIELDCAT-OUTPUTLEN  = ’12’.

  APPEND FIELDCAT TO FIELDCAT.

  CLEAR: FIELDCAT.

  FIELDCAT-SELTEXT_M    = ‘Field4’.

  FIELDCAT-FIELDNAME  = ‘FIELD4’.

  FIELDCAT-OUTPUTLEN  = ’12’.

  APPEND FIELDCAT TO FIELDCAT.

ENDFORM.

Here is the Selection Screen Parameter label

Conclusion

This will work for both SAP ECC and SAP S/4 HANA

Below is the video version

Read More
Arghadip Kar December 11, 2020 0 Comments
ABAP

How to Find a Search Help behind any SAP Field in SAP?

Introduction

One common Enhancement we get is add more fields in the Search Help in a Standard Transaction Code or Custom Transaction Code. This blog helps out to identify the Fundamental Search help that we need to Tweak.This blog helps in both SAP ECC and SAP S/4HANA

Solution

In this example we are considering Transaction Code VA03

Go to VA03

Now put a Debug by entering /H in Command Bar

Now put the Debug point on Function Module DD_SHLP_CALL_FROM_DYNP and Execute

You can also put the Debugger on Function Module DD_SHLP_GET

Debugger stops on the Function Module and we double click on HELP_INFOS Variable

Here is the Search Help VMVA

Now we can search the Search Help in SE11

SE11

Here it is

Conclusion

The search help is very important and is one of important reason Business Loves SAP

Below is the Video Version

Read More
Arghadip Kar December 11, 2020 0 Comments
  • 1
  • 2
  • Home
  • About
  • Contact
Categories
  • ABAP 8
  • FICO 23
  • General SAP 29
  • MM 1
  • SD 2
Products
  • SAP Accounts Receivable (AR) Training ₹999.00 ₹699.00
  • Controlling - Profitability analysis (CO-PA): Comprehensive coverage of the SAP CO-PA module
    Rated 4.40 out of 5
    ₹449.00 ₹299.00
  • SAP FICO (Finance and Controlling) Comprehensive Training
    Rated 4.50 out of 5
    ₹7,999.00 ₹6,999.00
  • SAP DME - A Simplified Guide
    Rated 4.50 out of 5
    ₹349.00 ₹280.00
Sign Up to get update of latest Blogs

Find Us

Address
123 Main Street
New York, NY 10001

Hours
Monday–Friday: 9:00AM–5:00PM
Saturday & Sunday: 11:00AM–3:00PM

About This Site

This may be a good place to introduce yourself and your site or include some credits.

Contacts
Website: https://erpcollege.co/
Email: expertsask994@gmail.com
Terms & Condition

Copyright © 2020 ERP College by Smarksys Technologies. All Rights Reserved.