Source Table Maintenance Generator for event Number 01 and 05. Create Maintenance view for the database table and write the following code in Include. *&--------------------------------------------------------------* *& Form create_entry *&--------------------------------------------------------------* FORM create_entry. zvmaint-zcreatedate = sy-datum. " Creation Date zvmaint-zcreatetime = sy-uzeit. " Creation Time zvmaint-zcreateuser = sy-uname. " Created By zvmaint-zupdateuser = sy-uname. " Last Update user zvmaint-zupdatedate = sy-datum . " Last Update date zvmaint-zupdatetime = sy-uzeit. " Last Update time ENDFORM. " _CREATE_ENTRY *&---------------------------------------------------------------------* *& Form modify_entry *&---------------------------------------------------------------------* FORM modify_entry. DATA: lv_index TYPE sy-tabix. " Number of lines found CONSTANTS : lc_action_update TYPE c VALUE 'U', "Updating current record lc_action_create TYPE c VALUE 'N'. "Creating new record * Clearing data objects. CLEAR : lv_index. *-- Check the all entries of records in table by looping each record. LOOP AT zvmaint_total. *-- Check record updated. IF <action> = lc_action_update . * Read the EXTRACT table with current record. READ TABLE extract WITH KEY zvmaint_total. IF sy-subrc EQ 0. lv_index = sy-tabix. ELSE. [...]
Category: ABAP
Old New ABAP Editor | SAP Blogs
Source: https://blogs.sap.com/2017/08/01/old-new-abap-editor/# Capture Date: 16.09.2018 22:52:10 If you develop now UI for SAP, you use Web IDE. If you are doing backend and ABAP, you use ADT (ABAP in Eclipse). But sometimes you still need to come back to SAP GUI and ABAP Workbench and use the “New” ABAP Editor. For that rare cases when … Continue reading Old New ABAP Editor | SAP Blogs
What should an ABAPer continue to learn as an application developer | SAP Blogs
Source: https://blogs.sap.com/2017/01/19/what-sh...plication-developer/ Capture Date: 11.03.2018 19:41:33 1. Functional Programming 2. Spring 3. JavaScript 4. A kind of NoSQL Database for example MongoDB 5. Learn how to work on a kind of Cloud Platform – updated in 2018/01/02 Further reading There is an excellent blog written by Marco Hernandez <<And now for something completely different>> which … Continue reading What should an ABAPer continue to learn as an application developer | SAP Blogs
Functional Programming – Try Reduce in JavaScript and in ABAP | SAP Blogs
Source: https://blogs.sap.com/2017/02/27/functio...ascript-and-in-abap/ Capture Date: 11.03.2018 19:42:51 In my previous blog Functional programming – Simulate Curry in ABAP I simulate a very important concept “Curry” in functional programming world using ABAP. In that blog I use the curry idea in the example below: output: jerry-java In this blog, as blog title, I will show another approach by … Continue reading Functional Programming – Try Reduce in JavaScript and in ABAP | SAP Blogs