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

Problem in CFL


I have a problem in CFL. I am taking the GRN No in the CFL. If i choose the GRN No automatically vendor code and item code should display to the particular GRN No if i choose from the CFL its displaying correctly in the text fields. But instead of going to the CFL screen if i type the GRN No in the GRN No text and press tab its not taking the correct grn no.

For GRNNo i am setting the Docnum to that field so while choosing its mapping the docnum correctly to the GRN text field. if i type the GRN No and press tab means it is not mapping correctly.

for example:

I want to inspect for the GRN No 314 so i am typing it in the text and press tab. i want the record for docnum 314 but when i press the tab it changes to 4 and taking the details of docnum 4. For docnum 4 the docentry is 314. What happens is if i type docnum 314 and press tab its taking docentry 314 and gives the details for docnum 4.

What i want is if i type 314 docnum it should not change to 4 i want the details of 314 docnum itself how to solve this problem.



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jul 07, 2008 at 09:36 AM

    Just leave the other fields, in ur GRN No if u type the number and press the tab means whether that particular GRN No got set in that control...................?

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Try this

         Case SAPbouiCOM.BoEventTypes.et_CHOOSE_FROM_LIST
         Dim CFLevents As SAPbouiCOM.ChooseFromListEvent = pVal
         Dim CFLList As SAPbouiCOM.ChooseFromList
         Dim StrUID As String = CFLevents.ChooseFromListUID
         Dim Datatable As SAPbouiCOM.DataTable = CFLevents.SelectedObjects
         CFLList = Form.ChooseFromLists.Item(StrUID)
         If Not (Datatable Is Nothing) Then
          If CFLList.UniqueID = "TabCFL" Then
           Datasource.SetValue("U_xxx", Datasource.Offset, Datatable.GetValue("DocNum", 0))                                                
          End If
         End If                                     

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.