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

3 fields choosing problem from ChooseFromList

Hello,

I've made a UDO form where 3 fields are taken one after other.

Sales Order No.

Sales Order Date

Customer Name

User will press TAB button on the Sales Order No. field.And he will choose the order from ChooseFromList Window .I can do this.

When the user will choose Order no. ; Sales Order Date and Customer Name

value of that particular order will fill up their corresponding fields.

But the problem is ---my program getting all data Sales Order No. ,

Sales Order Date , Customer Name and showing all data

except Sales Order Date

.

Part of my code for this work as follows--

If oCFLEvento.BeforeAction = False Then

Dim oDataTable As SAPbouiCOM.DataTable

oDataTable = oCFLEvento.SelectedObjects

Dim val, val1, val2 As String

Try

val1 = oDataTable.GetValue(10, 0)

val2 = oDataTable.GetValue(13, 0)

val = oDataTable.GetValue(0, 0)

' 'SBO_Application.MessageBox(val)

' 'SBO_Application.MessageBox(val1)

' 'SBO_Application.MessageBox(val2)

Catch ex As Exception

End Try

If (pVal.ItemUID = "OrVal") Or (pVal.ItemUID = "Button1") Then

oEdittext = oForm.Items.Item("CustVal").Specific()

oEdittext.String = val2

oEdittext = oForm.Items.Item("OrdtVal").Specific()

oEdittext.String = val1

oEdittext = oForm.Items.Item("OrVal").Specific()

oEdittext.String = val

End If

End If

Rgds

Subrata

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2007 at 05:43 AM

    Subrata,

    Can u tell me which variable is date u specifiy??

    Regards,

    Anitha

    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.