cancel
Showing results for 
Search instead for 
Did you mean: 

refresh data in a system form

Former Member
0 Kudos

Hi all,

i have the following scenario:

i developed an addon to enable the user to modify the invoice billing address after the invoice has been created.

to achieve it i used a UDF with a text edit field.

everythings seems to works fine but i'd like to refresh the system invoice form (form 133 - item 6) with the new value submited in the UDF when i go back to the main form.

i already tried to use refresh and update form method without success.

can someone help me?

thanks in advance.

best regards

Andrea

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

hi used the Petr Verner code without calling the click method because seems to be not necessary.

Former Member
0 Kudos

Emulate ctrl+f for find mode, set document number in edittext and click on Find button.

Former Member
0 Kudos

how can achieve it through code?

Former Member
0 Kudos

something like

Dim oform As SAPbouiCOM.Form

Dim docnum As String

Dim edit As SAPbouiCOM.EditText

oform = SBO_Application.Forms.ActiveForm

edit = oform.Items.Item("8")

docnum = edit.Value

SBO_Application.Menus.Item("1281").Activate()

edit.Value = docnum

oform.Items.Item("1").Click(SAPbouiCOM.BoCellClickType.ct_Regular)