Posts

Showing posts with the label ABAP Database Operations

Mastering ABAP Database Operations: Delete and Update Operations Unveiled

Image
 Welcome back everyone, So we were discussing about Database operations and we saw the practical implementation of insert operation, let’s continue the rest. 2. Delete Operation :- Requirement :- We will use our previous program, that we used during insert operation. We will delete the matching record based upon order number. Also, I want that when I tick the delete radio button, then the rest of the parameters should be invisible. Implementation :- Step 1 :- Use At selection screen output event to make sure that, When I tick the delete radio button, the rest of the radio buttons gets invisible. Step 2 :- Write a message in At selection screen event to show that, if the order number does not exist then, a message should be displayed on the selection screen. Step 3 :- Write the delete query in start of selection event. Code :- ********************************************* *Start of Program ********** *Declaring input parameters PARAMETERS : p_ono TYPE zar_ono O