Skip to Content
0
Former Member
Nov 27, 2009 at 08:00 AM

Add new field on standard form & using it's name to make transaction TCode.

79 Views

Dear Expert,

When I add new field on standard form as Sale Quotation, Sale Order...Etc. I made its name u201CTypeu201D, I gone to make coding that I used its name to processed transaction on this field. I will make step to show as below:

- Example on Marketing -> title.

- Dim oForm as SAPbouiCOM.Form

- Dim oItem as SAPbouiCOM.Item

- Dim oEditText as SAPbouiCOM.EditText

- u2018Event on load.

 oForm = SBO_Application.Forms.ActiveForm

 oItem = oForm.Items.Item(u201CU_Typeu201D) - > this point has problem

 oEditText = oItem.Specific

 oEditText.Value= u201CSivhouru201D

oItem = oForm.Items.Item(u201CU_Typeu201D) has problem when we has processing. And It alert message like this : u201CItem u2013 Invalid Itemu201D. So how can I use the new field for transaction other process? Please help me to handle..

Regards,

Sivhour.