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

CFL condition for employee data

Greetings,

can we develop a cfl with condition for employee object that lists the employees with a specific role, say technician.

Regards,

gokul K.

Edited by: Rui Pereira on Dec 23, 2008 3:51 PM

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Nov 20, 2008 at 10:28 AM

    Yes for that you have to add condition as

    Dim oCFL1 As SAPbouiCOM.ChooseFromList

    Dim oCons As SAPbouiCOM.Conditions

    Dim oCon As SAPbouiCOM.Condition

    Dim emptyCon As New SAPbouiCOM.Conditions

    oCFL1 = oApplication.Forms.Item(FormUID).ChooseFromLists.Item(CFL_ID)

    oCFL1.SetConditions(emptyCon)

    oCons = oCFL1.GetConditions()

    oCon = oCons.Add()

    oCon.BracketOpenNum = 1

    oCon.Alias = "Dept"

    oCon.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL

    oCon.CondVal = "technician"

    oCon.BracketCloseNum = 1

    oCon = oCons.Add

    regards:

    | Sandeep Saini | Roorkee | India on Nov 20, 2008 3:58 PM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 20, 2008 at 01:14 PM

    Hi Sandeep,

    Thanks for the reply. You have used the department field in the cfl condition, but what i want to know is can we use the the role option in the membership tab of the employee master data

    Regards,

    Gokul K.

    Edited by: Rui Pereira on Dec 23, 2008 3:59 PM

    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.