Dear SAP community,
In PaPM system SP20, we have a writer function reading data from calculation function and writing results to a data dictionary table with writer type set to Delete and Insert.
When the writer function is triggered through PaPM using only the process template selections for company code, the writer implements selective deletion on target table and works fine for subsequent runs.
However, when the writer is invoked through a custom Fiori application by passing package selections for company code instead of process selections, the selective deletion feature no longer works. Is there a way of achieving this functionality using only package selections?
Thank you for your assistance in advance.
Dear vinda_thali ,
With respect to the selective delete and insert capabilities of a Writer, this can only be done through a selection via Process Template or thru a selection definition in a Writer's Input Tab. This is further discussed in my blog post PaPM Writer: Delete and Insert.
I can see you are aiming for the same behavior however, thru a custom Fiori application by passing package selections instead of process selections. The thing with selective Delete and Insert is the "Delete" part happens PRIOR run. Package Selection for instance is being defined DURING Runtime via Remote Call in the Run Manager for example if you are executing a Writer function straight from the Modeling Environment hence, would not have any effect as far as the selective deletion part of the Selective Delete and Insert scenario is concerned.