‎2018 Aug 30 3:22 PM
Scenario:
I am using CL_GOS_MANAGER->START_SERVICE_DIRECT in my program - to add a PDF file as a GOS attachment. Once this class is executed, I find values under GT_VIEWS (Standard Table - Protected Attribute). When this Class (CL_GOS_MANAGER->START_SERVICE_DIRECT) is executed multiple times, this table GT_VIEWS is populated with multiple line items.
---
Requirement: I need to delete a particular line item within the GT_VIEWS table using a WHERE condition. Can anyone help me with the syntax/approach I need to follow?
---
I tried ...
DELETE cl_gos_manager-gt_views WHERE instid = gv_instid_a.
But this statement throws a syntax error.
Request your support. Thank you.
‎2018 Aug 30 3:45 PM
You can't manipulate protected or private attributes in object orientated programming. That's why they are protected or private.
I don't know the class CL_GOS_MANAGER, but isn't it possible to craete another instance of this class before you call the START_SERVICE_DIRECT method again?