cancel
Showing results for 
Search instead for 
Did you mean: 

copy from one pane to another pane

Former Member
0 Kudos

hi friends

my doubt is,i have a 2 fields in one pane and another 2 in another pane.. the result of an edit box in first pane should be displayed in the second pane..

thanks and regards

manoj nagaraj

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Its as David wrote, but there may be problem when you press update button before you change the panelevel - if youll change the panelevel programatically, its ok.

My suggestion is use formatted search on edittexts on other pane - formatted search works through all panelevels and there is not necessary to change the panelevel.

Former Member
0 Kudos

hi

but where to change the pane value.. can you give me some example codings?

Nussi
Active Contributor
0 Kudos

Hi Manoj,

in your eventhandler use

oForm.PaneLevel = 2

to switch to PaneLevel 2

lg Dvaid

Former Member
0 Kudos

catch event on your textbox you want to copy to other box in other pane et_KEY_DOWN or et_VALIDATE and change the panelevel with click on pane, somethink like

oOrderForm.Items.Item("UserFolder").Click(SAPbouiCOM.BoCellClickType.ct_Regular)

and then fill the values in textbox and then click back to previous panelevel.

Nussi
Active Contributor
0 Kudos

Hi Manoj,

the correct approach is:

save the value in a variable

change the panelevel

write it in the edittextbox from the variable

change the panelevel back

why this complicated steps ?

because you can't access the fields from another panelevel without chaning the panelevel

lg David

Former Member
0 Kudos

hi david

where to change the pane value .weather do i have to change the pane value of that editbox or for the folder?weather do i have to do the changes in the properties or in the coding?