Skip to Content
author's profile photo Former Member
Former Member

problem at find menu press..

Hi..

See the image ..

This is just like a my .srf file.

My requirement is

if i press find menu the screen mode will be change to the find mode..

at doc no: if i put * and then press enter button all posted records will be display..

or if i put doc no the doc no will be displaying..

In my program three screen are loading.............

first screen is open and then it will be changed to the find mode..

if i press first screen matrix column name s.no the another screen will be commming

here is the problem

the mode is changing.. the particular fields are changing to the yellow colour which means find mode..(at second and third screen)

first screen is working no problem..

why i am telling particular yellow colour is .. if i press enter button the code is not enter into the with in the if condtion( ofrom.mode = somethingsoemthing)

below bold colour is there ... it is comming out side from the if condition

i had used below two ways but not woking..

is b1 is allow only one screen ...

how can i work with another two screens in find mode...

'

'If (pVal.BeforeAction = True And pVal.EventType = SAPbouiCOM.BoEventTypes.et_KEY_DOWN And pVal.CharPressed = 13) Then

' If (pVal.FormUID = "T1") Then

' If (oform.Mode = SAPbouiCOM.BoFormMode.fm_FIND_MODE) Then

' oitem = oform.Items.Item("1")

' oitem.Click(SAPbouiCOM.BoCellClickType.ct_Regular)

' End If

' End If

'End If

'If (pVal.BeforeAction = True And pVal.EventType = SAPbouiCOM.BoEventTypes.et_KEY_DOWN And pVal.CharPressed = 13) Then

' If (pVal.FormUID = "T2") Then

' If (oform.Mode = SAPbouiCOM.BoFormMode.fm_FIND_MODE) Then

' oitem = oform.Items.Item("1")

' oitem.Click(SAPbouiCOM.BoCellClickType.ct_Regular)

' End If

' End If

'End If

'If (pVal.BeforeAction = True And pVal.EventType = SAPbouiCOM.BoEventTypes.et_KEY_DOWN And pVal.CharPressed = 13) Then

' If (pVal.FormUID = "T3") Then

' If (oform.Mode = SAPbouiCOM.BoFormMode.fm_FIND_MODE) Then

' oitem = oform.Items.Item("1")

' oitem.Click(SAPbouiCOM.BoCellClickType.ct_Regular)

' End If

' End If

'End If

-------------------------------------------------------------------

------------------------------------------------------------------------------------

If (pVal.BeforeAction = True And pVal.EventType = SAPbouiCOM.BoEventTypes.et_KEY_DOWN And pVal.CharPressed = 13) Then

If (pVal.FormUID = "T3" Or pVal.FormUID = "T1" Or pVal.FormUID = "T2") Then

If (oform.Mode = SAPbouiCOM.BoFormMode.fm_FIND_MODE) Then

oitem = oform.Items.Item("1")

oitem.Click(SAPbouiCOM.BoCellClickType.ct_Regular)

End If

End If

End If

ssse.JPG (128.1 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jul 24, 2012 at 09:54 AM

    Hi Seenu,

    Set Item.AffectsFormMode = false

    Thanks

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.