Categories
SAP Interview Questions

How to bind a textbox with datasource?

How to bind a textbox with datasource?

SAP Online Classes provides Best SAP training Online based on current industry standards that helps attendees to secure placements in their dream jobs at MNCs. SOC is one of the most credible ERP SAP Online training provider, offering hands on practical knowledge and full job assistance with basic as well as advanced level ERP SAP Implementation Training. At SOC ERP SAP training Online is conducted by subject specialist corporate professionals with 14+ years of experience in managing real-time ERP SAP projects.

How to bind a textbox with datasource?

Answer

Johnathan

Information Security Analyst at Wipro

Textbox can be binded to datasource as follow

  • Dim objForm As SAPbouiCOM.Form
  • Dim txtDocEntry As SAPbouiCOM.EditText
  • objForm = SBO_Application.Forms.ActiveForm
  • objForm.DataSources.UserDataSources.Add(“DocEntry”, SAPbouiCOM.BoDataType.dt_LONG_NUMBER)
  • txtDocEntry = objForm.Items.Item(“txtDocEntry”).Specific
  • txtDocEntry.DataBind.SetBound(True, “”, “DocEntry”)
  • In the above code,I have considered the textbox txtDocEntry.I want this textbox to accept numeric input only.So I have binded it with dt_LONG_NUMBER as shown above.

Leave a Reply

Your email address will not be published. Required fields are marked *

×
Placement Report
How to bind a textbox with datasource?

How to bind a textbox with datasource?
×
Interview Questions
How to bind a textbox with datasource?

How to bind a textbox with datasource?
×
Learn More
How to bind a textbox with datasource?

How to bind a textbox with datasource?
×
Sign Up Now
How to bind a textbox with datasource?

How to bind a textbox with datasource?
×
Join Us
How to bind a textbox with datasource?

How to bind a textbox with datasource?
×
Get started
How to bind a textbox with datasource?

How to bind a textbox with datasource?
×
Buy Now
How to bind a textbox with datasource?

How to bind a textbox with datasource?
×
Download Course Content
How to bind a textbox with datasource?

How to bind a textbox with datasource?
×
Call Back
How to bind a textbox with datasource?

How to bind a textbox with datasource?
×
Ask for Demo
How to bind a textbox with datasource?

How to bind a textbox with datasource?
×
Enquiry
How to bind a textbox with datasource?

How to bind a textbox with datasource?
×
Please fill form to see Video
How to bind a textbox with datasource?

How to bind a textbox with datasource?
×
Schedule Your Demo
How to bind a textbox with datasource?

How to bind a textbox with datasource?
×
Apply for scholarship