Skip to Content
0
Former Member
Oct 13, 2010 at 10:02 AM

How to changle input field value of screen that belongs to another program?

39 Views

Hello.

Here is a situation:

There is a program (PrName1) with active screen (screen1), which can call FM of another program (PrName2).

During PrName2 runtime i want to modify an input field (field1) of screen1.

I tried to do it this way:

ASSIGN '(PrName1)field1' TO <field-symb>.

IF <field-symb> is assigned.

<field-symb> = value.

Endif.

This code works fine if value of field1 is initial. But if it is not - field1 returns to it's previous value right after PAI.

Is there any workaround?