cancel
Showing results for 
Search instead for 
Did you mean: 

ChooseFromLists doesn't work with service calls (FormId 60110)

HorstDrescher
Explorer
0 Kudos

Hi,

I use this code for every marketing document and for the activities. In all Forms it works but not in the service calls. What is going wrong?

best regards

Horst

If ev.FormType = 60110 And ev.EventType = SAPbouiCOM.BoEventTypes.et_CHOOSE_FROM_LIST Then

If ev.ItemUID = "14" Then

If ev.InnerEvent And ev.BeforeAction = True Then

BubbleEvent = False

oForm = SBO_Application.Forms.Item(FormUID)

oCFL = oForm.ChooseFromLists.Item("2")

oCFL.SetConditions(Nothing)

oCons = New SAPbouiCOM.Conditions

oCons = oCFL.GetConditions()

If 0 = oCons.Count Then

oCon = oCons.Add()

oCon.Alias = "SlpCode"

oCon.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL

oCon.CondVal = oSales

oCFL.SetConditions(oCons)

End If

BubbleEvent = True

End If

End If

End If

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

Service call is a special type of form (Different from marketing documents) That's the reason why it is not working.

It will not work

To do:

1. Create an editbox , connect to the OSCL.cUSTOMER Fields, and define your CFL over it.

2. Hide the original item "14"

Regards,

J

Answers (0)