on 03-08-2019 3:56 AM
Hi,
I have a UPDATE FUNCTION MODULE, where it is triggered while clicking on SAVE button. While entering a value and storing that field as lead value for a record. likewise we can enter many values of type numbers and the latest one entered will be the lead value for that record. But when we are deleting the latest lead value, while debugging i am able to get the next lead. And i can see that value is getting stored in INTERNAL TABLE, but while updating database table with the statement
UPDATE (Table name)
SET zzlead_app_npo = lw_lead_base_data-external_id
zzlead_npi_desc = lv_zzlead_npi_desc
WHERE guid = lw_item_d_01-guid.
Sometimes it is failing, there is percentage of around 30% success and 70% failure. After the update i can see the sy-subrc is 0, calling the update function module like
*****Updating the record**************
CALL FUNCTION 'UPDATE FM NAME' IN UPDATE TASK
EXPORTING
is_item_d_01 = lw_item_d_01
is_item_d_02 = lw_item_d_02
iv_action = 'U'.
*******Deleting the record************
CALL FUNCTION 'UPDATE FM NAME' IN UPDATE TASK
EXPORTING
is_item_d_01 = lw_item_d_01
is_item_d_02 = lw_item_d_02
iv_action = 'D'.
Have stuck with the issue for quite a long time, help needed.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.