Function cannot be called in this context

SOLVED

Hello everyone Slight smile

I built a generic screen "ZTRANSPORTCO" for a customer. The screen is used in multiple windows.

The problem is when I try to "Jump to" another window which also has a tab with the generic screen "ZTRANSPORTCO" I get the following error:

When I remove the generic mask from the tabs in the window of the customer the error no longer occurs.

I know it would be possible to just copy the mask and use this mask with the same specific script in the customer window. But this way we have to maintain two masks.

Would it be possible to open the tab in the customer window with another alias? So that I can use the same mask for both windows without duplicating?

Has anybody an idea for a possible solution without duplicating the generic mask?

Thank you in advance.

Kind regards 

Parents Reply
  • 0 in reply to Martins de Almeida

    Hello ,

    Thanks a lot for your reply Slight smile

    Good idea with opening the new object in a new tab. 

    Unfortunately our customer wants to use the "Go to" tunnel for going to the other function and I think there is no action executed when clicking "Go to". At least no object action seems to be called and I also think there is no field action for it. Please correct me if there is one.

    It would be  probably possible to place an icon / symbol next to the field. When the icon gets clicked we could open the object in a new tab.

    Thank you for your help.

    Kind regards

Children