Adding CFL for UDO generated form

Hi I have created a form through Udo Form generator. i.e. UDO1(with Master Table=Users and master data rows table=OPDS)
On other form made through screen painter, I want to add cfl for udo generated form(UDO1).
Can anyone help me?

You can set the CFL alias like this :
oEditText.ChooseFromListAlias= "COLUMN_ID"
I think this is how it's suppose to be - you set the CFL alias as the column id of the master data table ( whose values you want to be placed in the EditText) . The only problem is that it doesn't work - it  won't place the value automatically in the EditText.
To make it work , you have to catch the CFL Event and put the value in the EditText manually. ( this is also covered in the CFL example in the sample files).

Similar Messages

  • CFL for UDO problem

    Hi all,
    I have made one form for operation master.
    I try to use this UDO as a CFL in another form call router.
    I am trying to add CFL on the Matrix field in the Router form.
    CFL is added perfectly. But when I try to press the tab on the Field. I got the following error.
    Internal Error(-1003) occured Message [131-183]
    I have checked the User define table and UDO length is less than eight character.
    Kindly give me the solutions for the same.
    Regards,
    Gunjan Shukla.

    Hi,
    There are a couple of reason why you're getting that error, but the most probable is that the CFL conditions are not correctly defined OR the ChooseFromListAlias is pointing to a field that does not exist. (example: You have ChooseFromListAlias = "U_Code" when it should be ChooseFromListAlias = "Code", or vice-versa).
    Regards,
    Vítor Vieira

  • How to popup form according to query by  CFL for user defined tables?

    Hi Experts!
    Please write a simple code for adding CFL in UDO and popup the window according to query. suppose i want to execute query
    "select code,name from [@WITM]". I want to add CFL in edittext which is on UDO. how can we add CFL in that Edittext by code.
    Thanking You
    vishwajit kumar

    Hi Vishwajit,
    Please response to your previous posting or close it first. Whatever the answer working or not, you need reply.
    Thanks,
    Gordon

  • CFL For Item groups

    hi,
    I need to set a item groups in cfl for  user defined form
    thanks & Regards
    B.Lakshmi Narayanan

    HI ,
    First u create UDT for Itemgroup and put value in UDT.
    And UDT table assign in Form when open Item group.
    Regards
    kalpen

  • CHOOSEFROMLIST FOR UDO

    Hello,
    please i wants to develop my own CFL for UDO,any suggestion or sample code to get it done.
    Thanks

    hi Ankit ,
    i have tried the choosefromlist sample but it gives me "Internal Error" when is mapped to my UDO ObjectType.
    sample code below
    Dim oCFLs As SAPbouiCOM.ChooseFromListCollectio
    oCFLs = oForm.ChooseFromLists
    Dim oCFL As SAPbouiCOM.ChooseFromList
    Dim oCFLCreationParams As SAPbouiCOM.ChooseFromListCreationParams
    oCFLCreationParams = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_ChooseFromListCreationParams)
                oCFLCreationParams.MultiSelection = False
                oCFLCreationParams.ObjectType = "ER_DED"
                oCFLCreationParams.UniqueID = "CFL1"
                oCFL = oCFLs.Add(oCFLCreationParams)
    binding it to my UserDefinedField below
    oEdit.ChooseFromListAlias = "U_szCode"

  • Form Generator for UDO

    Hello,
    I want to know about form generators for UDO.
    The default forms generated when we create our UDO contains only a grid, this forms are very simple and not very useful for big applications.
    My question is there is any form generator that allow us to generate complex forms with textfields, lablels and tabs from an UDO and his childs.
    i hear about a file "XmlFormGenerator.cs", i don't know if it's that i'm searching for, but i cant find it in sdn.
    Thanks.

    I found the tool i'm searching for, it's in the Development Environment Tools v1.4 for Business One 2007, and it's work perfectly, you have just to specify the UDO and it's creates an XML Form for the UDO and his childs, in the Form all operations are supportes : Add, Update and delete.
    There is the link to download it : https://www.sdn.sap.com/irj/scn/downloads?rid=/library/uuid/109ce044-6fbc-2a10-f59e-e92f3c775781

  • [svn:osmf:] 11848: Added check for argument error DRM subsystem throws while generating a DRMContentInfo Object .

    Revision: 11848
    Revision: 11848
    Author:   [email protected]
    Date:     2009-11-16 10:00:48 -0800 (Mon, 16 Nov 2009)
    Log Message:
    Added check for argument error DRM subsystem throws while generating a DRMContentInfo Object.
    Modified Paths:
        osmf/trunk/framework/MediaFramework/org/osmf/drm/DRMServices.as

    Well, I can tell you that this kind of error is not OS related, but rather a HW thing.  It happens where there is a general detection of something going wrong.  Sometimes it can happen randomly and might not be an indication of a problem.  But sometimes it can be caused by things that are improperly functioning within the system like bad capacitors. 
    Unfortunately I don't really know what to do about such things except give you machine a proper inspection.  But if things are working fine, and continue to do so, I wouldn't worry about it.  If it becomes a regular occurance, then I'd worry.

  • UDO Problem (I am Using UDO For My Custom Form.......)

    Hi   Friends
    I am Using UDO's For My Custom Form The Form Is Created using Screen Painter . In This Form Two Buttons One For OK and Another for Cancel  Button ID's Are 1 & 2. According to Form Mode The Button Caption is Changing. Second Button Caption is Always CANCEL. By Default form open with ADD Mode.But I want to OK MODE. or UPDATE MODE.
    My Main Quation is I Want to Open My Form in OK Mode or UPDATE Mode.
    Thanks & Regards
    Naresh.K

    It so simple Naresh,
            After loading xml file write the below code...
    oForm.Mode=SAPbouiCOM.BoFormMode.fm_UPDATE_MODE
    If it helps give reward points,
    Regards,
    Anitha

  • GENERATING FORMS FOR 11i IN UNIX ( ifrun60)

    GENERATING FORMS FOR 11i IN UNIX ( ifrun60)
    How to generate forms for forms 6i.
    Just like f45gen for Forms 4.5.
    null

    It is f60gen in the unix. It takes the following parameters.
    f60genm Module=<formname> Userid=<userid/password> [Parameters].
    Optional parameters are (default values given):
    Module_Type=FORM Module type (FORM, MENU, LIBRARY, PECS).
    Module_Access=FILE Module access (FILE, DATABASE).
    Statistics=NO Show statistics.
    Logon=YES Logon to database.
    Batch=NO Don't display messages on the screen.
    Output_File=<file> Write output to file.
    Script=NO Write script file.
    Parse=NO Parse script file.
    Delete=NO Delete module from database.
    Insert=NO Insert module into database.
    Extract=NO Extract module from database.
    Upgrade=NO Upgrade module to current version.
    Upgrade_Roles=NO Upgrade SQL*Menu 5.0 role information.
    Version=45 Version to upgrade (23, 30, 40, 45, or menu 50).
    Crt_File=<crt file> CRT file for version 2.x form upgrade.
    Build=Yes Build a runform/runmenu file when upgrading.
    Add_Triggers=NO Add KEY-UP/DOWN triggers during upgrade.
    Nofail=NO Add NOFAIL keyword to trigger steps.
    Debug=NO Build/Run with debug information.
    Compile_All=NO Compile all PL/SQL code.
    Strip_Source=NO Strip pl/sql source code from library.
    Window_State=Normal Root window state: (Normal, Maximize, Minimize.)
    Help=NO Show this help information.
    Options_Screen=NO Display Options window (on bitmap only).
    Widen_Fields=NO Add one character to display width.
    Print_Version=NO Print version used to save module.
    Forms_Doc=NO Print Forms Doc report.
    Make sure that ur .Profile is set in unix.
    Thanks
    Ram
    null

  • To the Adobe MUSE team....Have you considered adding an "Upload File" field for the contact forms?

    To the Adobe MUSE team....Have you considered adding an "Upload File" field for the contact forms?

    But seriously...
    Is there any development being done for this?  I have a careers section on our website that I have been asked to "make easier for applicants" (right now, there is a link that just opens an email).  I'm going to make a full version of an application, but I would really like a way to upload resumes and CV's. 
    I'm going to have to look into some kind of service if this isnt something on the Muse radar.  A reply of some kind would be fantastic! 

  • I am Using UDO's  for my custom forms i want to open.....

    Hi Friends
    I am working on UDO's for my custom forms, in my project i have four screens i want to open choosefromlist my custom form what is the process to open choosefromlist(Userdefined screens)
    anyone have solution
    Thanks & Regards
    GanjiMadhu

    For eg your udo name is "ud_CFL"
    Now open ur srf in xml.
    <item uid="1000003" type="16" left="123" tab_order="0" width="120" top="5" height="14" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
    <AutoManagedAttribute/>
    <specific TabOrder="0" ChooseFromListUID="ud_CFL" ChooseFromListAlias="ud_CFL(Write col name of that table)">
    <databind databound="1" table="@PM_ACTCO_HEAD" alias="U_machineID"/>
    </specific>
    </item>
    <ChooseFromList UniqueID="ud_CFL" ObjectType="ud_CFL" MultiSelection="0" IsSystem="0"/>

  • How many responses can i generate for an unpaid form?

    How many responses can i generate for an unpaid form?

    Free accounts allow you to collect 50 responses before you have to export to make room for more.
    Andrew

  • CFL For the edit text using screen painter

    Dear All,
    I had created CFL for the Edit box to display CardCode
    if i press tab button the list for the specified object type is obtained
    but the selected value is not binded with the edit box,i have attached the code here,
    Private Sub SBO_Application_ItemEvent(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.ItemEvent
            If pVal.EventType = SAPbouiCOM.BoEventTypes.et_CHOOSE_FROM_LIST Then
                Dim oCFLEvento As SAPbouiCOM.IChooseFromListEvent
                oCFLEvento = pVal
                Dim sCFL_ID As String
                sCFL_ID = oCFLEvento.ChooseFromListUID
                Dim oForm As SAPbouiCOM.Form
                oForm = SBO_Application.Forms.Item(FormUID)
                Dim oCFL As SAPbouiCOM.ChooseFromList
                oCFL = oForm.ChooseFromLists.Item(sCFL_ID)
                If oCFLEvento.BeforeAction = False Then
                    Dim oDataTable As SAPbouiCOM.DataTable
                    oDataTable = oCFLEvento.SelectedObjects
                    Dim val As String
                    Try
                        val = oDataTable.GetValue(1, 0)
                    Catch ex As Exception
                    End Try
                    If (pVal.ItemUID = "23") Then
                        oForm.DataSources.UserDataSources.Item("CardCode").ValueEx = val
                    End If
                End If
            End If
    Regards,
    Vijay

    Is the event generated ? What is the value of your "val" variable ?

  • Error in generating form with 6i

    I have installed designer 6i rel 2 with form developer 6i on NT
    4.0.
    When in design editor, I want to generate the form with generate
    module, the system generate "CDR-21600: A running Generator or
    Utility has failed."
    Also in action column writes: " It is possible that the internal
    cache is now in an inconsistent state. You are therefore
    recommended to close and restart the application."
    Could anyone tell me what is the problem and how to solve it.
    thanks

    Here is an document which describes some known causes of CDR-
    21600 errors. I hope it will help you.
    PURPOSE
    To describe some known causes of CDI-21600 errors and to
    suggest possible solutions and workarounds.
    SCOPE & APPLICATION
    This note was written for users of Oracle Designer releases 2.1.x
    and 6.0.
    CDI-21600 errors occur most frequently during Design Capture and
    when generating forms with the Forms and WebServer generators.
    Investigating CDI-21600 errors
    In Oracle Designer Release 2.1.2 and Release 6.0, this error has
    the form:
    CDI-21600 'A running generator or utility has failed'
    The Release 2.1.1 error message was: 'Generator or Utility throw
    an Exception'
    The CDI-21600 error message means that the generator is hitting
    an unhandled exception, also known as a GPF (general protection
    fault). The CDI-21600 error masks the underlying exception error.
    To see the real error do the following:
    1. Go into the Registry Editor (REGEDIT).
    2. Navigate to HKEY_LOCAL_MACHINE\software\oracle\des2_70
    3. Set EXCEPT_HANDLING to 0 (by default it is 1).
    Repeat the action that resulted in the error.
    Known Causes of CDI-21600 Errors and Possible Solutions
    Some of the reasons why CDI-21600 errors occur are listed below.
    1. A common cause of CDI-21600 errors is failure to install the
    necessary
    Developer patches.
    See [NOTE:64630.1] Developer Patches required to run
    Designer with Developer
    2. Check that Designer is running on a supported database. Also
    check that the
    TNS connection is correct.
    See [NOTE:60705.1] Designer Certification Matrix (HTML)
    3. Check for 'dangling' foreign keys, in other words FKs no longer
    owned by any
    table in the repository. Delete all invalid constraints.
    Invalid constraints may be created if you use the repository
    dump utility to
    dump and restore external foreign keys referencing tables
    shared into the
    application system, without dumping and restoring the tables
    that own them.
    If you restore a complete dump (rather than a 'skeleton' one),
    and then use
    the 'Reconnect Share Links' option when restoring, you may be
    able to
    resolve this problem.
    To get a complete list of 'dangling' constraints in your
    repository, connect
    using SQL*Plus and use the following query:
    SELECT app.name, key.name
    FROM ci_application_systems app, ci_constraints key
    WHERE key.table_reference IS NULL
    AND key.application_system_owned_by = app.id;
    You can also run CKAZANAL.ANAL_REFERENCES on your
    repository and delete all
    the invalid constraints that it finds. You can run the Repository
    Analyzer
    from: Front Panel -> Repository Administration Utility -> Utilities.
    NOTE: There may be inconsistencies in the repository that the
    Repository
    Analyzer cannot fix. You might solve such problems by
    dropping all the
    tables of your application, recreate them from the ERD,
    then use the
    DDT and recreate your modules.
    [BUG:847190] CDI-21600 during forms generation: 'dangling'
    foreign key
    "Since the generator is running on a repository that contains
    invalid
    constraints and the Repository Analyzer solves the problem,
    bug closed as
    unfeasible to fix."
    4. Check your modules for invalid or missing references such as
    missing window
    placements.
    5. Try generating your module against default templates and
    object libraries.
    6. When capturing forms or libraries, try capturing the form or
    library without
    application logic, then capture the application logic on its own.
    See [NOTE:1064690.6] CDI-21600 when capturing design of
    form with
    application logic
    [BUG:757541] DESCAP: CDI-21600 error reported when
    capturing with
    application logic
    Fixed In Ver: 6.0
    [BUG:926383] Duplicate of [BUG:757541] This has been fixed in
    2.1.2 patch
    779559. However you would be advised to apply a later patch
    such as 855635
    which fixes more bugs in this area.
    7. Make sure that all objects that are referenced by the form have
    been
    captured into the repository before capturing the form.
    8. A CDI-21600 will occur if a lookup usage displays only one
    column of
    datatype DATE or if the column of datatype DATE is displayed
    as the first
    item in the block.
    Workaround
    Add more column usages to the lookup block and do not
    display the DATE data
    type column usage as the first item in the block.
    9. [BUG:810472] CDI-21600 when 'Argument in Caller' is set
    Fixed In Ver: 6.5.3.0
    Workaround
    Make sure that you have an argument in the called module that
    is mapped to
    the "Argument Passed Value" in the calling module. The only
    way to get this
    mapping back once the APV has the <Module Argument> label
    is to delete it
    and recreate it.
    10. [BUG:801736] CDI-21600 on design capture of a form with
    subclassed object
    Fixed In Ver: 6.0.3.1.0 (backport)
    Fixed In Ver: 6.5
    You have an item that has been subclassed to an object.
    Checking the Design
    Capture option 'Capture Control Blocks' causes the CDI-21600
    error. Uncheck
    'Capture Control Blocks' and the problem does not occur. Open
    the FMB in
    Forms*Builder and look at Data Blocks -> Items. Break the link
    to the
    object, save the FMB, and the form will capture (similar to
    [BUG:794872]).
    Alternatively, ensure the link can be established.
    11. [BUG:850436] CDI-21600 on generation of a form with template
    having
    subclassed object group
    You try to generate a form out of Designer that uses a user-
    defined
    template. If a collection of objects in the template is grouped
    into an
    object group, dragged into the object library and then either
    copied or
    subclassed into a form, when the form is generated you get a
    CDI-21600
    error.
    12. [BUG:822659] Module generation fails (CDI-21600) with multi-
    column PK having
    long prompt text
    Fixed In Ver: 6.5.3.2
    Module generation with multi-column primary key having long
    prompt text
    causes CDI-21600 with preference MSGSFT set.
    Workaround
    Shorten the prompt text of PKs may not be not applicable. You
    may loose end
    user information.
    You may have the same problem with a mandatory compound
    FK. CASEOFG tries to
    generate a message '<P1> must be entered', where <P1>
    contains all the
    prompts of the bound items from the FK. If you reduce the
    length of the
    prompts, or set MSGSFT = NULL or WEDI = S or property
    Mandatory?=No, it
    works correctly.
    13. [BUG:792542] Capturing application logic causes CDI-21600
    (V2 style
    triggers)
    Fixed In Ver: 6.5.5
    After removal of the v2 triggers, the form captures/merges OK
    on 5.0.24.8,
    provided patch 875027 has not been applied.
    14. [BUG:790877] CDI-21600 if the primary/foreign keys have no
    key components
    Fixed In Ver: 6.5.11
    Generating a module with tables having a primary key not
    correctly defined
    (no PK component) will cause a CDI-21600 error. This can
    occur when
    unloading a module from the RON. If you pick up the module
    (and only the
    module) in the unload set, the table and its PK are unloaded as
    a skeleton.
    Loading the .DAT file into a new application will create a PK
    without a
    component.
    15. [BUG:771549] CDI-21600 if cannot connect to the DB with
    connect string in
    Options (Compile)
    Fixed In Ver: 6.5.13
    If you cannot connect to the DB with the connect string
    specified in options
    (Compile), the forms generator will fail with CDI-21600.
    This problem occurs when you cannot connect to the DB
    because:
    - the username or password is wrong;
    - or the SQL*Net alias is not defined in the TNSNAMES.ORA
    file;
    - or the SQL*Net listener is not started;
    - or the DB is down.
    16. [BUG:785106] CDI-21600 when generate master detail form
    with preserve layout
    [BUG:855812] is a duplicate of this bug.
    Fixed In Ver: 5.0.24.6.0 (Bug:860426 Backport request for 2.1.2)
    Fixed In Ver: 6.0
    Fixed In Ver: 6.5.3
    You have a master-detail Form with the Master having items
    partly on a TAB
    Canvas. Generate Module works OK. You enter Forms Builder
    and move some
    items on the tabs (just small changes, items are still on the
    same tabs).
    You change the look of the Detail and change Records
    Displayed. Now in
    Designer you generate the Module with Preserve Layout. You
    get a CDI-21600
    error. The problem might reproduce without doing any changes
    in Forms
    Builder, just by generating with Preserve Layout.
    17. [BUG:891306] If primary key column of lookup in check
    constraint comment of
    base table
    Fixed In Ver: 6.5.5
    Workaround
    Do not use the name of the bound item that is based on the
    primary key
    column of the lookup table in a check constraint comment of
    the base table.
    18. [BUG:896026] Forms gen throws assertion failure in
    CVINI/BUILDACTIONITEM@/CV/CVI/CVIBNI.CPP
    Fixed In Ver: 6.5.7
    A problem is caused by a PL/SQL definition (function, package,
    procedure)
    being defined as a called module for the module you are trying
    to generate.
    To resolve the problem and enable the module to be generated,
    remove all
    Called Modules that are PL/SQL definitions (functions,
    procedures or
    packages).
    See [NOTE:2107207.6] CDI-21600 during generation of module
    or Assertion
    Failure \cv\cvi\cvibni.cpp
    19. [BUG:812333] CDI-21600 generating a web module after
    adding an unbound item
    Fixed In Ver: 6.5.3.0
    Backport [BUG:1280667] raised to fix by 6.0.3.9
    You add an unbound item (SQL expression) to a Web module.
    When you try to
    generate the module you get a CDI-21600 error. If you delete the
    unbound
    item the Web module generates correctly.
    In a test case the problem occurred during validation of the
    derivation
    text, if the master module component was in a different module.
    A workaround
    was to rearrange module components so that this was not the
    case.
    20. [BUG:1627963] CCVDIAG::TRACEGENERATORMESSAGE
    WHEN GENERATING INCORRECT
    DERIVATION EXPRESSION
    Message
    CDR-21605: Failed while processing Module <mod> in function
    CCVDiag::TraceGeneratorMessage BOF
    Cause
    The generator failed due to an unexpected error - the
    error indicates the object the generator was processing
    when it failed.
    Helena

  • CFL for user defined object in matrix

    I am creating CFL for city .For this I created a user defined table and later registred it to create the object of City.I created the CFL for City as ,
    Private Sub AddCFL()
            Dim intI As Integer
            Dim objCFLsName As SAPbouiCOM.ChooseFromListCollection
            Dim objParaName As SAPbouiCOM.ChooseFromListCreationParams
            Dim objCFLName As SAPbouiCOM.ChooseFromList
            Dim objCons As SAPbouiCOM.Conditions
            Dim objCon As SAPbouiCOM.Condition
            Try
                objForm = SBO_Application.Forms.ActiveForm
                For intI = 0 To objForm.DataSources.UserDataSources.Count - 1
                    If objForm.DataSources.UserDataSources.Item(intI).UID = "CityName" Then
                        Exit Sub
                    End If
                Next
                objForm.DataSources.UserDataSources.Add("CityName", SAPbouiCOM.BoDataType.dt_SHORT_TEXT)
                objCFLsName = objForm.ChooseFromLists
                objParaName = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_ChooseFromListCreationParams)
                objParaName.MultiSelection = False
                objParaName.UniqueID = "CFL"
                objParaName.ObjectType = "City"
                objCFLName = objCFLsName.Add(objParaName)
                objCons = objCFLName.GetConditions
                objCon = objCons.Add
                objCon.Alias = "U_Active"
                objCon.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL
                objCon.CondVal = "Y"
                objCFLName.SetConditions(objCons)
            Catch ex As Exception
                SBO_Application.MessageBox("AddCFL()=" & ex.Message)
            End Try
        End Sub
    I want to load city names in matrix using this cfl.For this, I added few blank rows in matrix.Then I binded the matrix as ,
    Private Sub BindMatrix()
            Dim objColumns As SAPbouiCOM.Columns
            Dim objColumn As SAPbouiCOM.Column
            Dim matDetails As SAPbouiCOM.Matrix
            objColumn = objColumns.Item("CityName")
                objColumn.DataBind.SetBound(True, "", "CityName")
                objColumn.ChooseFromListUID = "CFL"
                objColumn.ChooseFromListAlias = "CityName"
                objColumn.Editable = True
    matDetails.LoadFromDataSource()
    End Sub
    Problem is created by ChooseFromListAlias .It gives error as,
    Data Source - Alias Not Found
    If I remove that statement, the cfl fires when I press tab in the matrix.But I can not set value in the matrix.

    I created CFL as,
    Private Sub AddCFL()
            Dim intI As Integer
            Dim objCFLsName As SAPbouiCOM.ChooseFromListCollection
            Dim objParaName As SAPbouiCOM.ChooseFromListCreationParams
            Dim objCFLName As SAPbouiCOM.ChooseFromList
            Dim objCons As SAPbouiCOM.Conditions
            Dim objCon As SAPbouiCOM.Condition
            Try
                objForm = SBO_Application.Forms.ActiveForm
                For intI = 0 To objForm.DataSources.UserDataSources.Count - 1
                    If objForm.DataSources.UserDataSources.Item(intI).UID = "CityName" Then
                        Exit Sub
                    End If
                Next
                objForm.DataSources.UserDataSources.Add("CityName", SAPbouiCOM.BoDataType.dt_SHORT_TEXT)
                objCFLsName = objForm.ChooseFromLists
                objParaName = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_ChooseFromListCreationParams)
                objParaName.MultiSelection = False
                objParaName.UniqueID = "CFL"
                objParaName.ObjectType = "City"
                objCFLName = objCFLsName.Add(objParaName)
                objCons = objCFLName.GetConditions
                objCon = objCons.Add
                objCon.Alias = "U_Active"
                objCon.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL
                objCon.CondVal = "Y"
                objCFLName.SetConditions(objCons)
            Catch ex As Exception
                SBO_Application.MessageBox("AddCFL()=" & ex.Message)
            End Try
        End Sub
    Private Sub BindMatrix()
            Dim objColumns As SAPbouiCOM.Columns
            Dim objColumn As SAPbouiCOM.Column
            Dim matDetails As SAPbouiCOM.Matrix
            Try
                If SBO_Application.Forms.ActiveForm.UniqueID = "TourDetails" Then
                    matDetails = SBO_Application.Forms.ActiveForm.Items.Item("matDetails").Specific
                Else
                    matDetails = objForm.Items.Item("matDetails").Specific
                End If
                objColumns = matDetails.Columns
                objColumn = objColumns.Item("#")
                objColumn.DataBind.Bind("objDT", "#")
                objColumn.Editable = False
                objColumn = objColumns.Item("CityName")
                'If strPara = "Edit" Then
                objColumn.DataBind.Bind("objDT", "CityName")
                'Else
                '    objColumn.DataBind.SetBound(True, "", "CityName")
                'End If
                objColumn.ChooseFromListUID = "CFL"
                'objColumn.ChooseFromListAlias = "CityName"
                objColumn.Editable = True
                objColumn.Width = 290
                objColumn = objColumns.Item("NoOfVisits")
                objColumn.DataBind.Bind("objDT", "NoOfVisits")
                objColumn.Editable = True
                objColumn = objColumns.Item("FromDate")
                objColumn.DataBind.Bind("objDT", "FromDate")
                objColumn.Editable = True
                objColumn.Width = 80
                objColumn = objColumns.Item("ToDate")
                objColumn.DataBind.Bind("objDT", "ToDate")
                objColumn.Editable = True
                objColumn.Width = 80
                matDetails.LoadFromDataSource()
            Catch ex As Exception
                SBO_Application.MessageBox("BindMatrix()=" & ex.Message)
            End Try
        End Sub
    Edited by: Dilip Kumbhar on Mar 31, 2010 10:02 AM

Maybe you are looking for

  • Avaialability control is checked only if the assigned value is increased in PO

    We are using former budgeting. We have have made the following setting. Warning message for AVC at Purchase requisition level and error message for AVC at PO and all other transaction groups. System is not issuing error message when the budget is exc

  • Migrating HD Express to MacPro

    This is my first post to this forum, so forgive me if this topic has been covered previously (could not find answer in archive). I have Final Cut Express HD running on a Powerbook G4. When I migrate this machine to my new MacPro, will FC Express HD s

  • Error 109 on download

    I've made multiple attempts tonight to download both Design Standard and Master Collection (gave up on one, then tried the other), and each time I am met with the following error message when the status bar reaches around the 30% mark: Error download

  • Error -1101 when trying to login and upgrade client.

    Hello Experts, Recently upgraded SAP 2007 from PL 38 -> PL 47 Most users are fine except for one which i get the following error Internal error - 1101 after looking this error up i found this in the SDK Help - 1101  Data Source - Bad Connection Any i

  • Vision Demo Database

    i tried to install a Fresh Install on NT4 of Vision Demo Environment. But when I tried to start the applications it gave a message :Invalid user name, password ro database. Should I try to install a vision Demo database in Vision Demo Environment. Th