SAP Managed Tags: ABAP Development, ABAP Testing and Analysis Hello,I am trying to write a unit test to cover all the executable statements for the below method; METHOD create_file_id. TRY. rv_file_id = cl_system_uuid=>create_uuid_c32_static( ). CATCH cx_uuid_error INTO DATA(lx...
By setting the boolean lv_abap_trial to abap_true mock data will be used. Added information that RAP and custom entities are only available on premise as of SAP S/4HANA 1909 Introduction In this blog I want to show how to build and implement a custom enti...
As you probably already know, you can use the Custom Code Migration app in the SAP BTP, ABAP environment to check your ABAP custom code in an SAP Business Suite, SAP
SAP Managed Tags: ABAP Development Hi, Is there a FM or process defined for deleting HR master data? During our hiring process an employee is created and locked but can then be rejected at a later stage. I need to remove all data for this employee. Can this be done in code or do ...
Used to change the state of individual buttons at runtime. If the button should be removed, use thedelete_buttonmethod. CALL METHOD go_toolbar->set_button_state EXPORTING * ENABLED = 'X' * CHECKED = ' ' fcode = "Note: This is the function code of the button that should be changed ...
SAP Managed Tags: ABAP Development Hello, 1. SORT itab 2. DELETE ADJANCEMENT DUPLICATES from itab COMPARING ALL FIELDS. You will get distinct records in internal table . If you want to have distinct records based on only few fields of internal table then use 1. SORT itab by field...
Solved: Hi, I need to cast a data but i don't kow how to do it in ABAP. Actually, I have a variable typed QUAN (quantity i guess) and i want to concatenate it in a
The great thing about the implementation of the SAP ABAP stack on SQL Server is that it does allow leveraging all these hints in ABAP Open SQL Statements. SQL Server table hints in ABAP If we want to specify one of the SQL Server table hints, the syntax in ABAP is more or less the...
SAP has introduced a new kind of lock, independent of the database system. These are called lock objects, and allow data records to be locked in multiple database tables for the whole duration of the SAP transaction, provided that these are linked in the ABAP dictionary by foreign key relat...
To be able to exit the program, add a pushbutton with the function code EXIT. In the elements list enter the name OK_CODE for the element of type OK. The code REPORT sapmz_hf_controls1 . 1. CONSTANTS: 1. line_length TYPE i VALUE 254. ...