Hi all,
I am trying to create a button in a list uibb, that adds a new line to an existing list. I am doing this in the lean sales order web dynpro application using class CL_LO_OIF_GUIBB_ITEM_LIST. I can get the additional line if i implement an enhancement in the flush and just "piggyback" on an existing change in the context. However if i click my button and try to call the flush method, then my coding isn't working. I tried to trigger a new event loop but then my changes are gone.
I tried to trigger a new event loop that catches the flush method. However my enhancement isn't being caught as there is a return statement that are being executed before this.
As i see it i can modify the class, which i would prefer not to do.
Is there any way to manipulate the context of the web dynpro uibb through an interface or something like that?
I would appreciate any help i can get.
Kind regards Jakob