Function Module for Progress bar

Do you know while your report is progressing during run a one indicator can represent the total progress just write a simple function module for it. DATA: A LIKE SY-UCOMM. DO 100 TIMES.DO 300 TIMES.GET TIME.ENDDO.A(3) = SY-INDEX.A+3 = ‘%’.CALL FUNCTION ‘SAPGUI_PROGRESS_INDICATOR’EXPORTINGPERCENTAGE = SY-INDEXTEXT = A.ENDDO. WRITE: / ‘Complete’. Some Other Standard Important Function Module … Read more

Data Validation Using Matchcodes

Another useful way to maintain data integrity during user input is to use matchcodes. A matchcode is an object that is used to find data records in the SAP Data Dictionary. More specifically, matchcodes access data records in a way similar to an index in that all key fields are not necessary, but they differ … Read more

Data Validation Using Foreign Keys

The SAP environment’s relational data model can contain many tables, views, structures, and linked tables. Foreign keys, it can be said, define these relationships between multiple tables. The functions that foreign keys perform include providing help data and creating dictionary objects, but the one that you will focus on will be in the data validation … Read more