<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Omer SAKAR on Medium]]></title>
        <description><![CDATA[Stories by Omer SAKAR on Medium]]></description>
        <link>https://medium.com/@01omersakar?source=rss-e811b8e6bc80------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*HNOo8nzx_vGIDuKp</url>
            <title>Stories by Omer SAKAR on Medium</title>
            <link>https://medium.com/@01omersakar?source=rss-e811b8e6bc80------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 01:56:36 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@01omersakar/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Screen Level is restricted to 50 List_too_many_lpros Dump -Oldies Goldies Series]]></title>
            <link>https://medium.com/@01omersakar/screen-level-is-restricted-to-50-list-too-many-lpros-dump-oldies-goldies-series-1c74d772c1b0?source=rss-e811b8e6bc80------2</link>
            <guid isPermaLink="false">https://medium.com/p/1c74d772c1b0</guid>
            <dc:creator><![CDATA[Omer SAKAR]]></dc:creator>
            <pubDate>Thu, 04 Apr 2024 21:18:38 GMT</pubDate>
            <atom:updated>2024-04-04T21:18:38.815Z</atom:updated>
            <content:encoded><![CDATA[<p>In ABAP, screens are defined using Screen Painter (SE51 transaction). You create a screen with its elements (input fields, buttons, etc.) and define flow logic (PBO — Process Before Output and PAI — Process After Input). Once a screen is defined, you can call it from your ABAP program using the “CALL SCREEN” statement.</p><p>The statement “LEAVE TO SCREEN” is used to navigate from one screen to another within a program. This statement is used when you want to control the flow of screen processing and explicitly specify which screen should be displayed next.</p><blockquote><em>The information so far is what you already know(probably you already know this article what I break it down), Whenever you pass to screen to another screen by “Call Screen”, you get a “LIST_TOO_MANY_LPROS” dump after the fiftieth calling screen.</em></blockquote><blockquote><em>To avoid this dump, the solution is simply to use “LEAVE TO SCREEN” instead of “CALL SCREEN”.</em></blockquote><p>If you want to go further, there is a whole bunch of information below about “CALL SCREEN” and “LEAVE TO SCREEN” that is taken from SAP F1 Help.</p><p>When nesting dynpro sequences and creating popup levels, it must be noted that a (nested) dynpro sequence has generally already been entered when the program is being executed and that the system itself can also create other dynpro sequences or popup levels (for example, field or input help or messages in dialog boxes). For this reason, the maximum values of 50 dynpro sequences or nine popup levels within a program should never be used.</p><p>Call Screen</p><p>This statement calls the dynpro with the dynpro number specified in dynnr. dynnr expects a data object of the type n and the length 4. The call starts a new dynpro sequence, which is embedded in the current dynpro sequence. The dynpro with dynpro number dynnr is the initial dynpro of the dynpro sequence. In a dynpro sequence started by a transaction code, up to 50 other dynpro sequences can be nested.</p><p>Set Screen</p><p>There is always a next dynpro defined while a dynpro is being processed. After a dynpro is called, the next dynpro whose properties are defined statically applies, which can be overwritten using the statement SET SCREEN for as long as the current dynpro is being processed.</p><p>LEAVE TO SCREEN dynnr</p><p>This statement is a short form of the statements SET SCREEN dynnr and LEAVE SCREEN.</p><p>This statement does not terminate the entire dynpro sequence and instead branches to another dynpro in the same sequence. Only if the number 0 is used to branch to the next dynpro does LEAVE SCREEN terminate the dynpro sequence.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6tU1fiBRUFZRew9q3ds-bA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1c74d772c1b0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Append Version ABAP on Hana New Syntax — Value Operator with/out Base Command]]></title>
            <link>https://medium.com/@01omersakar/append-version-abap-on-hana-new-syntax-value-operator-with-out-base-command-12d52a12b702?source=rss-e811b8e6bc80------2</link>
            <guid isPermaLink="false">https://medium.com/p/12d52a12b702</guid>
            <dc:creator><![CDATA[Omer SAKAR]]></dc:creator>
            <pubDate>Wed, 20 Mar 2024 15:52:47 GMT</pubDate>
            <atom:updated>2024-03-20T15:52:47.052Z</atom:updated>
            <content:encoded><![CDATA[<h3>Append Version ABAP on Hana New Syntax — Value Operator with/out Base Command</h3><p>There is an alternative APPEND value operator with new syntax and it can be able to use Value operator instead.</p><p>Tables can only be newly added using the value operator, without the addition of BASE. However, if the same table is specified after BASE, the constructor expression can be assigned and further lines can be inserted in the table.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h6l_DVMlZ7N-jvtvanOYmQ.png" /></figure><pre>TYPES : BEGIN OF gty_s_test,<br>          col1 TYPE char10,<br>          col2 TYPE char10,<br>        END OF gty_s_test,<br>        gty_t_test TYPE TABLE OF gty_s_test.<br><br>DATA : gt_test1 TYPE gty_t_test.<br>DATA : gt_test2 TYPE gty_t_test.<br><br><br>* USING BASE<br>gt_test1 = VALUE #( BASE gt_test1<br>                    ( col1 = &#39;freetext1&#39;<br>                      col2 = &#39;freetext2&#39; ) ).<br><br>gt_test1 = VALUE #( BASE gt_test1<br>                    ( col1 = &#39;freetext3&#39;<br>                      col2 = &#39;freetext4&#39; ) ).<br><br>gt_test1 = VALUE #( BASE gt_test1<br>                    ( col1 = &#39;freetext5&#39;<br>                      col2 = &#39;freetext6&#39; ) ).<br><br>*WITHOUT BASE<br>gt_test2 = VALUE #( ( col1 = &#39;freetext7&#39;<br>                      col2 = &#39;freetext8&#39; ) ).</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=12d52a12b702" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Sap Adobeform Printer Program Without Dialog and Print One Spool]]></title>
            <link>https://medium.com/@01omersakar/sap-adobeform-printer-program-without-dialog-and-print-one-spool-84f5fd436fe3?source=rss-e811b8e6bc80------2</link>
            <guid isPermaLink="false">https://medium.com/p/84f5fd436fe3</guid>
            <dc:creator><![CDATA[Omer SAKAR]]></dc:creator>
            <pubDate>Wed, 13 Mar 2024 17:19:56 GMT</pubDate>
            <atom:updated>2024-03-13T17:25:17.029Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Printing Several Forms in One Print Request</strong></p><p>There is a link that is standard details to print into one print request:</p><p><a href="https://help.sap.com/docs/ABAP_PLATFORM/e0ef07e1f76b4370b1baa502eace5ece/4e581d733a944f48e10000000a42189e.html">https://help.sap.com/docs/ABAP_PLATFORM/e0ef07e1f76b4370b1baa502eace5ece/4e581d733a944f48e10000000a42189e.html</a></p><p>You use these parameters to include several forms into one print request. <br>When calling the generated functions modules, set the parameters as follows:</p><p>1st call:</p><p>NO_OPEN = SPACE.</p><p>NO_CLOSE = ‘X’.</p><p>nth call:</p><p>NO_OPEN = ‘X’.</p><p>NO_CLOSE = ‘X’.</p><p>last call:</p><p>NO_OPEN = ‘X’.</p><p>NO_CLOSE = SPACE.</p><pre><strong>DATA gs_docparams TYPE  sfpdocparams.  <br>DATA gs_cont_param TYPE ssfctrlop. <br> <br>gs_outputparams-dest     = &#39;LP01&#39;.  <br>gs_outputparams-nodialog = abap_true.  &quot; this is to suppress dialog<br>gs_outputparams-reqnew = abap_true. &quot; create new spool   <br>*gs_outputparams-preview = &#39;X&#39;.  <br><br>CALL FUNCTION &#39;FP_JOB_OPEN&#39;  <br>  CHANGING  <br>    ie_outputparams = gs_outputparams  <br>  EXCEPTIONS  <br>    cancel          = 1  <br>    usage_error     = 2  <br>    system_error    = 3  <br>    internal_error  = 4  <br>    OTHERS          = 5.  <br><br>CALL FUNCTION &#39;FP_FUNCTION_MODULE_NAME&#39;  <br>  EXPORTING  <br>    i_name     = &#39;ZXXX&#39;  <br>  IMPORTING  <br>    e_funcname = gv_fm_name  <br>*   E_INTERFACE_TYPE           =  <br>*   EV_FUNCNAME_INBOUND        =  <br>  .  <br> <br>&quot; in this example, it is sent into a spool 3 times in the same form <br>&quot;but it can be different form as you need<br><br>gv_count = 3.&quot; form count<br><br>DO gv_count TIMES. <br> <br>gs_cont_param-no_open = &#39;X&#39;.  &quot;the others<br>gs_cont_param-no_close = &#39;X&#39;.  <br><br>IF sy-index = 1.  &quot;first call<br>    gs_cont_param-no_open  = &#39;&#39;.   <br>    gs_cont_param-no_close = &#39;X&#39;.  <br>  ENDIF. <br><br>IF sy-index = gv_count. &quot; last call  <br>    gs_cont_param-no_open  = &#39;X&#39;.   <br>    gs_cont_param-no_close = &#39; &#39;.  <br>  ENDIF.  <br><br>CALL FUNCTION gv_fm_name <br>    EXPORTING  <br>*     /1bcdwb/docparams = gs_docparams  <br>      iv_param1       = gv_param1  &quot;this is an example parameter<br>* IMPORTING  <br>*     /1BCDWB/FORMOUTPUT       =  <br>    EXCEPTIONS  <br>      usage_error    = 1  <br>      system_error   = 2  <br>      internal_error = 3  <br>      OTHERS         = 4.  <br>ENDDO. <br> <br>CALL FUNCTION &#39;FP_JOB_CLOSE&#39;  <br>  EXCEPTIONS  <br>    usage_error    = 1  <br>    system_error   = 2  <br>    internal_error = 3  <br>    OTHERS         = 4.</strong></pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=84f5fd436fe3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The odd f4 help wproblem and solution while picking a value from the list]]></title>
            <link>https://medium.com/@01omersakar/the-odd-f4-help-wproblem-and-solution-while-picking-a-value-from-the-list-6fa8044549d7?source=rss-e811b8e6bc80------2</link>
            <guid isPermaLink="false">https://medium.com/p/6fa8044549d7</guid>
            <dc:creator><![CDATA[Omer SAKAR]]></dc:creator>
            <pubDate>Thu, 09 Nov 2023 16:15:28 GMT</pubDate>
            <atom:updated>2023-11-09T16:15:28.207Z</atom:updated>
            <content:encoded><![CDATA[<h3>The odd f4 help problem and solution while picking a value from the list</h3><p>In the last few days, I have had an issue on a selection screen on a report. I am still determining the solution is the best answer for the problem that I have had. The problem is fixed though. The post is about what the problem was and how I solved it.</p><p>The problem was one of select-options on selection screen. The select-options is referred BSIK-GSBER. Whenever it is filled by writing one by one, it is okay but whenever press f4 and pick a value from the f4 help list, it is not populated value from the f4 help list.</p><p>The problem was solved by changing the referred table(changed to another table from BSIK) for select options.</p><p><em>SELECT-OPTIONS : so_gsber FOR bsik-gsber.</em></p><p>My best guess is the difference in table type before migrating to S/4Hana. I mean before S/4 Hana system BSIK table was a transparent table, and after S/4 Hana BSIK is a view now.</p><p>I would appreciate it if you found a standard document and shared it with me about the problem and solution.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6fa8044549d7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Making the Radio Button Text Length Longer Than 30 Characters (79 Characters) on the Selection…]]></title>
            <link>https://medium.com/@01omersakar/making-the-radio-button-text-length-longer-than-30-characters-79-characters-on-the-selection-9469a3b034fb?source=rss-e811b8e6bc80------2</link>
            <guid isPermaLink="false">https://medium.com/p/9469a3b034fb</guid>
            <dc:creator><![CDATA[Omer SAKAR]]></dc:creator>
            <pubDate>Wed, 26 Apr 2023 18:37:12 GMT</pubDate>
            <atom:updated>2023-04-26T18:37:12.632Z</atom:updated>
            <content:encoded><![CDATA[<h3>Making the Radio Button Text Length Longer Than 30 Characters (79 Characters) on the Selection Screen</h3><p><strong>Making the Radio Button Text Length Longer Than 30 Characters (79 Characters) on the Selection Screen and Sorting Radio Button Horizontally on Selection Screen</strong></p><p>There are many important elements in the selection screens in report programming, and one of them is the radio button. In a classic report (report with 1000 selection screen), the radio button is simply defined as follows on the selection screen:</p><pre>SELECTION-SCREEN BEGIN OF BLOCK 2020 WITH FRAME TITLE TEXT-001.<br>PARAMETERS : p_prm1 RADIOBUTTON GROUP gr1.<br>PARAMETERS : p_prm2 RADIOBUTTON GROUP gr1.<br>SELECTION-SCREEN END OF BLOCK 2020.</pre><p>When the code is written as above, the parameters display on the selection screen as follows:</p><figure><img alt="sap abap selection screen" src="https://cdn-images-1.medium.com/max/245/1*v1HejUe39D62PowXK8x_Ig.png" /></figure><p>While the parameter definition defined in this way (the radio button listed one after the other) is in the SE38 operation code, the desired parameter definition is written in the Goto-&gt; Text Elements section.</p><figure><img alt="sap abap selection screen selection texts" src="https://cdn-images-1.medium.com/max/519/1*k43lfc2oL9nUp6VpEbgYew.png" /></figure><p>The Radio Button definition written in Goto-&gt; Text Elements is limited to a maximum of 30 characters. This limitation exists only in the classic report, there is no such problem as the screen design can be done as desired when writing dynpro or module pool. This 30 characters limit problem can be overcome as follows:</p><pre>SELECTION-SCREEN BEGIN OF BLOCK 2020 WITH FRAME TITLE TEXT-002.<br>SELECTION-SCREEN : BEGIN OF LINE.<br>PARAMETERS : p_prm1 RADIOBUTTON GROUP gr1.<br>SELECTION-SCREEN COMMENT 2(79) TEXT-001 FOR FIELD p_prm1.<br>SELECTION-SCREEN : END OF LINE.<br>PARAMETERS : p_prm2 RADIOBUTTON GROUP gr1.<br>SELECTION-SCREEN END OF BLOCK 2020.</pre><p>In the above lines of code, “screen comment” must be written between “begin of line” and “end of line”, otherwise there will be a problem when generating the screen.</p><p>The text symbol part in the report is defined as follows:</p><figure><img alt="sap abap text symbols selection screen" src="https://cdn-images-1.medium.com/max/795/1*EQuBa-EdDihJi_kylLUgTw.png" /></figure><p>After this code and text symbol definition, the radio button text field is increased from 30 characters to 66 characters long.</p><figure><img alt="sap abap selection screen extend characters" src="https://cdn-images-1.medium.com/max/648/1*FX7DChU-k29yVCm8GU2oAw.png" /></figure><p><strong>Sorting Radio Button Horizontally on Selection Screen</strong></p><p>In the selection screen, if the radio button is defined as follows, it will be displayed as one under the other (vertical) (classical usage).</p><pre>SELECTION-SCREEN BEGIN OF BLOCK 2020 WITH FRAME TITLE TEXT-001.<br>PARAMETERS : p_prm1 RADIOBUTTON GROUP gr1.<br>PARAMETERS : p_prm2 RADIOBUTTON GROUP gr1.<br>SELECTION-SCREEN END OF BLOCK 2020.</pre><figure><img alt="sap abap selection screen" src="https://cdn-images-1.medium.com/max/245/1*v1HejUe39D62PowXK8x_Ig.png" /></figure><p>If these two parameters are to be displayed horizontally, they are written as:</p><pre>SELECTION-SCREEN BEGIN OF BLOCK 2020 WITH FRAME TITLE TEXT-004.<br>SELECTION-SCREEN BEGIN OF LINE.<br>SELECTION-SCREEN COMMENT 1(10) TEXT-002.<br>PARAMETERS : p_rd1 RADIOBUTTON GROUP g1.<br>SELECTION-SCREEN POSITION 30.<br>SELECTION-SCREEN COMMENT 30(10) TEXT-003.<br>PARAMETERS : p_rd2 RADIOBUTTON GROUP g1.<br>SELECTION-SCREEN END OF LINE.<br>SELECTION-SCREEN END OF BLOCK 2020.</pre><figure><img alt="sap abap text symbols selection screen" src="https://cdn-images-1.medium.com/max/799/1*qgVKhUQuJYlacNFuscOT3w.png" /></figure><p>These two parameters appear side by side as follows:</p><figure><img alt="sap abap selection screen parameters side by side" src="https://cdn-images-1.medium.com/max/581/1*2SGXyyYdEcukrTy3IcgfUA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9469a3b034fb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Logical unit of work (LUW)]]></title>
            <link>https://medium.com/@01omersakar/logical-unit-of-work-luw-f49539d8d49a?source=rss-e811b8e6bc80------2</link>
            <guid isPermaLink="false">https://medium.com/p/f49539d8d49a</guid>
            <dc:creator><![CDATA[Omer SAKAR]]></dc:creator>
            <pubDate>Mon, 17 Apr 2023 20:43:15 GMT</pubDate>
            <atom:updated>2023-04-17T20:43:15.833Z</atom:updated>
            <content:encoded><![CDATA[<p>The definition of Logical unit of work(luw) is mentioned in many places throughout SAP. In this article, the following topics are tried to explain, what is luw? what kind of luw are there? What are the differences between transaction and luw? , what is bundle method?</p><p>The time it takes for data to be transferred from one consistent state to another is known as an LUW. A program can be divided into many program components that are processed sequentially utilizing various work methods. Data consistency is an important issue not only for SAP but also for all other software systems. The primary goal of LUW is to assure data consistency in the system.</p><p>An SAP transaction is a program that can be made up of one or more SAP LUWs.</p><h3>Luws in SAP</h3><p>There is two type of luw; SAP LUW , Database LUW</p><p>SAP LUW is a logical unit of work that consists of many dialog phases. The change statements are not executed directly in an SAP LUW to ensure the data consistency of application programs that run across various work processes. When someone is registered, their information is saved in a database. Then, when it is time for them to be executed, their information is pulled from the database and carried out in a single work process.</p><p>Database LUW is a way for the database to keep track of how its data is related to each other. This helps make sure that the data is always consistent. The database LUW is either completely executed by the database system, or it is not at all. If your database is in a consistent state after a database LUW is executed, then no errors occurred during the LUW. Any changes to the database since the beginning of the LUW are reversed if an error occurs.</p><p>Changes in database records are only reflected in database records after commit work is run. If process rollback is requested, rollback can be triggered without changes at database level just before commit work. Rollback and commit work can be triggered explicitly or implicitly.</p><p><strong>Implicit Database Commit</strong></p><p>A work process can only run one database LUW at a time. This means that a work process must always end when it finishes its work for a user or an external call.</p><p>Explicit Database Commit</p><p>In the program explicit database commit can be done by calling DB_COMMIT function module or running commit work statement. Update, Insert, Delete, and Modify commands have implicit commit work, although commit work is not called explicitly.</p><p><strong>Bundling</strong></p><p>SAP Luw collects all needed data then it assigns the task Database Luw and it is distributed more than one work process.</p><p><strong>Using Function Module for Updates</strong></p><p>The calling function with CALL FUNCTION … IN UPDATE TASK command is a kind of different update work process than the calling function without IN UPDATE TASK. Whenever we use IN UPDATE TASK with the call function, the system inserts the log record to a table named VBLOG. Code statements inside function module are not executed until commit work statement is executed. After Commit work statement is executed,dialog work process is gotten free for another user input.</p><p><strong>Using Subroutine</strong></p><p>Calling a subroutine with on commit as is PERFORM ON COMMIT statement and it acts as a function module for updates means it is not executed until commit work statement executes. This method has an advantage in performance and has better performance because using a subroutine does not need any extra database table like VBLOG.</p><p><strong>Using TRFC to Another System</strong></p><p>Calling function statements is CALL FUNCTION … IN BACKGROUND TASK DESTINATION through TRFC . It is registered for background call, then commit work is executed and codes inside function module is executed. After the commit work , the dialog process does not wait for these function modules to be executed.</p><p><strong><em>Bonus Information :</em></strong></p><p><strong>COMMIT WORK vs COMMIT WORK AND WAIT</strong></p><p>Commit work is asynchronous and does not need any information to go on, but commit work and wait statement is synchronous and waits until the requested functions have finished processing. After all codes in functions are finished, the codes after commit work are executed.</p><p><strong>Important Note</strong>: As I know, after SAP 7.02 Release “Creating subroutines is obsolete” and also using Function Module is obsolete. In Sap Help documents, says “Only use function modules and subroutines if they are necessary from a technical viewpoint”. So we don&#39;t use subroutines and FM, then what do we do? The answer is class method (OO Methods). As far as I know, OO methodology has no alternative neither call RFC in update task, nor perform on commit.</p><p>Reference Link : <a href="https://help.sap.com/docs/SAP_NETWEAVER_701/6da3d9466c4b1014a5a2e370bd8c5dc8/417af4b6a79e11d1950f0000e82de14a.html">https://help.sap.com/docs/SAP_NETWEAVER_701/6da3d9466c4b1014a5a2e370bd8c5dc8/417af4b6a79e11d1950f0000e82de14a.html</a></p><p><a href="https://help.sap.com/doc/abapdocu_753_index_htm/7.53/en-US/abenfunct_module_subroutine_guidl.htm">https://help.sap.com/doc/abapdocu_753_index_htm/7.53/en-US/abenfunct_module_subroutine_guidl.htm</a></p><p><a href="https://help.sap.com/doc/saphelp_nw70/7.0.31/en-US/41/7af4bfa79e11d1950f0000e82de14a/content.htm?no_cache=true">https://help.sap.com/doc/saphelp_nw70/7.0.31/en-US/41/7af4bfa79e11d1950f0000e82de14a/content.htm?no_cache=true</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f49539d8d49a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Quick Analysis of Programme Content with One Click]]></title>
            <link>https://medium.com/@01omersakar/quick-analysis-of-programme-content-with-one-click-f6b320812517?source=rss-e811b8e6bc80------2</link>
            <guid isPermaLink="false">https://medium.com/p/f6b320812517</guid>
            <dc:creator><![CDATA[Omer SAKAR]]></dc:creator>
            <pubDate>Fri, 14 Apr 2023 19:55:06 GMT</pubDate>
            <atom:updated>2023-04-14T19:55:06.549Z</atom:updated>
            <content:encoded><![CDATA[<p>This article will show how to analyze the contents of any program quickly. This simple but effective method can be accessed from the SE38 opcode by pressing the F9 key.</p><p>Enter the transaction code SE38 and type the program name to be analyzed. After pressing the F9 key, a popup screen appears as below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/778/1*R3s6jV9M1barojQEKAOW1g.png" /></figure><p>In this program, it can be determined which tables are used as an example. For this, let’s say you want to learn for which tables “select”,” update” or “delete” operations are performed. In this pop-up, all four options(Select,Update,Modify,Delete) in the “Database Operations” section are checked:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/629/1*D8Cs79jD64MQFSbD9UcIKA.png" /></figure><p>For this simple example, the test report has the “select” codes for the “SCARR” and “SFLIGHT” tables and is listed as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/581/1*t8HFUPYgHvW-iccwImrNzA.png" /></figure><p>In the SE38 transaction code, many more selections can be made on the popup screen that appears with the F9 hotkey. It may help which functions are used in the program, which operation codes are called, which messages are written, etc.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f6b320812517" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Text Symbols Where-Used List with Z Report]]></title>
            <link>https://medium.com/@01omersakar/text-symbols-where-used-list-with-z-report-73ef7bef7fa8?source=rss-e811b8e6bc80------2</link>
            <guid isPermaLink="false">https://medium.com/p/73ef7bef7fa8</guid>
            <dc:creator><![CDATA[Omer SAKAR]]></dc:creator>
            <pubDate>Mon, 10 Apr 2023 09:38:53 GMT</pubDate>
            <atom:updated>2023-04-10T09:38:53.739Z</atom:updated>
            <content:encoded><![CDATA[<p>Searching and finding the exact word that you look for is so important in lots of ways. Most of cases, we do not remember what the program or transaction was, we have been created before. Then we need a search tool. When we need to find a word contains in a report or function etc., there is a standard report ‘RPR_ABAP_SOURCE_SCAN’. Using the report we could find a word or sentence in all programs/functions etc. in a system. Although the report is the best way to find a word in all programs, the report could not find a text symbol you have searched in a system. (I have looked for a standard report or something in lots of versions of sap gui and could not find it. If you know it already known like that, please feel free to comment down ). To stand in the breach, there is a code line “READ TEXTPOOL” and I have written a program to search text symbols in all programs/functions, etc. in a system.</p><p><strong>Find a word via “RPR_ABAP_SOURCE_SCAN” (already known before)</strong></p><p>There is Sap Standard Report as ‘RPR_ABAP_SOURCE_SCAN’ to find the right report according to the word searched. The report is used to find exact words all over the SAP program or the program only starts with ‘Z’.</p><p>Basically, usage of ‘RPR_ABAP_SOURCE_SCAN’ is just so :</p><p><strong>Firstly</strong>, we set the word what we want to search for ‘String searched for’ and ‘Z*’ for ‘Program Name’ (should set ‘Z*’ for quick answer)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/661/0*NnuY2-cN38BCvUM3.png" /></figure><p><strong>Secondly</strong>, as a result (it is just a part of all result screens)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/645/0*y419hK47mqF3fR_s.png" /></figure><p><strong>Find a text symbol via Z Report(newly created)</strong></p><p>The report newly I have created has a simple selection screen and results in alv. To find words considering text symbols wherever you want in a system, it is created and can be developed simply.</p><p><strong>Firstly, </strong>we set the parameters:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/420/0*z9q6XNW8AgJCnqWG.png" /></figure><p><strong>Secondly</strong>, run and the result of scan text symbols</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/599/0*tiTNC46QZ04N2Aep.png" /></figure><p><strong>The Codes:</strong></p><pre>REPORT  zos_test.<br>DATA : gs_rs38m TYPE rs38m.<br>DATA : gs_textpool TYPE textpool.<br><br>SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.<br>SELECT-OPTIONS :<br>    s_prog FOR gs_rs38m-programm NO INTERVALS NO-EXTENSION OBLIGATORY,<br>    s_langu FOR sy-langu NO INTERVALS NO-EXTENSION DEFAULT &#39;EN&#39;,<br>    s_search FOR gs_textpool-entry NO INTERVALS NO-EXTENSION .<br>SELECTION-SCREEN END OF BLOCK b1.<br><br>*----------------------------------------------------------------------*<br>*       CLASS cl_txt_symbol_finder DEFINITION<br>*----------------------------------------------------------------------*<br>*<br>*----------------------------------------------------------------------*<br>CLASS cl_txt_symbol_finder DEFINITION FINAL.<br>  PUBLIC SECTION.<br>    METHODS : get_data ,<br>              alv_setup,<br>              display_alv.<br>  PRIVATE SECTION.<br>    TYPES : BEGIN OF gty_s_tadir,<br>          pgmid    TYPE tadir-pgmid   ,<br>          object   TYPE tadir-object  ,<br>          obj_name TYPE tadir-obj_name,<br>          END OF gty_s_tadir.<br>    TYPES : BEGIN OF gty_s_final,<br>            programm TYPE rs38m-programm,<br>            key      TYPE textpool-key,<br>            entry    TYPE textpool-entry,<br>            END OF gty_s_final.<br>    DATA: gt_texttab TYPE TABLE OF textpool .<br>    DATA: gs_texttab TYPE textpool .<br>    DATA  : gs_tadir TYPE gty_s_tadir,<br>        gt_tadir TYPE SORTED TABLE OF gty_s_tadir WITH UNIQUE KEY pgmid<br>            object obj_name.<br>    DATA : gs_final TYPE gty_s_final,<br>           gt_final TYPE TABLE OF gty_s_final.<br>    DATA : gr_cust_container TYPE REF TO cl_gui_custom_container,<br>           gr_alv_grid TYPE REF TO cl_gui_alv_grid.<br>    DATA : gs_fcat_lvc TYPE lvc_s_fcat,<br>           gt_fcat_lvc TYPE lvc_t_fcat.<br><br>ENDCLASS.                    &quot;cl_txt_symbol_finder DEFINITION<br>*----------------------------------------------------------------------*<br>*       CLASS cl_txt_symbol_finder IMPLEMENTATION<br>*----------------------------------------------------------------------*<br>*<br>*----------------------------------------------------------------------*<br>CLASS cl_txt_symbol_finder IMPLEMENTATION.<br>  METHOD get_data.<br>    CLEAR gt_tadir.<br>    SELECT pgmid<br>           object<br>           obj_name<br>           FROM tadir<br>           INTO TABLE gt_tadir<br>           WHERE obj_name IN s_prog<br>           AND pgmid = &#39;R3TR&#39;.<br>    LOOP AT gt_tadir INTO gs_tadir.<br>      gs_rs38m-programm = gs_tadir-obj_name.<br>   READ TEXTPOOL gs_rs38m-programm LANGUAGE s_langu-low INTO gt_texttab<br>   STATE &#39;A&#39;.<br>      LOOP AT gt_texttab INTO gs_texttab<br>                         WHERE id = &#39;I&#39; AND entry CS s_search-low.<br>        gs_final-programm = gs_tadir-obj_name.<br>        gs_final-key = gs_texttab-key.<br>        gs_final-entry = gs_texttab-entry.<br>        APPEND gs_final TO gt_final.<br>        CLEAR :gs_texttab,gs_final.<br>      ENDLOOP.<br>      CLEAR gs_tadir.<br>    ENDLOOP.<br>  ENDMETHOD.                    &quot;get_data<br>  METHOD alv_setup.<br>    CREATE OBJECT gr_cust_container<br>       EXPORTING<br>*    PARENT                      =<br>         container_name              = &#39;CC_ALV&#39;.<br>    CREATE OBJECT gr_alv_grid<br>      EXPORTING<br>        i_parent = gr_cust_container.<br>    gs_fcat_lvc-fieldname = &#39;PROGRAMM&#39;.<br>    gs_fcat_lvc-tabname   = &#39;GT_FINAL&#39;.<br>    gs_fcat_lvc-scrtext_s =<br>    gs_fcat_lvc-scrtext_m =<br>    gs_fcat_lvc-scrtext_l = &#39;Program&#39;(001).<br>    APPEND gs_fcat_lvc TO gt_fcat_lvc.<br>    gs_fcat_lvc-fieldname = &#39;KEY&#39;.<br>    gs_fcat_lvc-tabname   = &#39;GT_FINAL&#39;.<br>    gs_fcat_lvc-scrtext_s =<br>    gs_fcat_lvc-scrtext_m =<br>    gs_fcat_lvc-scrtext_l = &#39;Key&#39;(002).<br>    APPEND gs_fcat_lvc TO gt_fcat_lvc.<br>    gs_fcat_lvc-fieldname = &#39;ENTRY&#39;.<br>    gs_fcat_lvc-tabname   = &#39;GT_FINAL&#39;.<br>    gs_fcat_lvc-scrtext_s =<br>    gs_fcat_lvc-scrtext_m =<br>    gs_fcat_lvc-scrtext_l = &#39;Entry&#39;(003).<br>    APPEND gs_fcat_lvc TO gt_fcat_lvc.<br>  ENDMETHOD.                    &quot;alv_setup<br>  METHOD display_alv.<br>    CALL METHOD gr_alv_grid-&gt;set_table_for_first_display<br>      CHANGING<br>        it_outtab       = gt_final[]<br>        it_fieldcatalog = gt_fcat_lvc.<br>  ENDMETHOD.                    &quot;display_alv<br>ENDCLASS.                    &quot;cl_txt_symbol_finder IMPLEMENTATION<br>START-OF-SELECTION.<br><br>  DATA gr_txt_finder TYPE REF TO cl_txt_symbol_finder.<br>  CREATE OBJECT gr_txt_finder.<br>  CALL METHOD gr_txt_finder-&gt;get_data.<br>  CALL METHOD gr_txt_finder-&gt;alv_setup.<br>  CALL METHOD gr_txt_finder-&gt;display_alv.<br>  CALL SCREEN 0100.</pre><p>Best Regards,</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=73ef7bef7fa8" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>