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

how to change the name of header of UDT through coding?

hi expert,

I am new in sap b1 sdk.so please help me.

Q:how to change the name of header of UDT through coding?

actually i want to change 'Name' to 'Email Address'.

thanks

sanoj yadav

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 08, 2011 at 11:58 AM

    Hi Sanoj Yadav,

    Code and Name are 2 reserved field headers for UDT. You are not allowed to change them.

    Thanks,

    Gordon

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 08, 2011 at 12:19 PM

    Hi Sanoj........

    Code and Name these two fields are System Created. You can not change those field structures. But you can use different Fields as UDF as per your own Field Description.......

    Regards,

    Rahul

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 09, 2011 at 04:52 AM

    Hi Sanoj,

    Try This.....

      sbo_application.ActivateMenuItem("51213")  'Activates Your UDT with menuid 51213
                        Dim omat As SAPbouiCOM.Matrix
                        oform = sbo_application.Forms.GetFormByTypeAndCount("11059", "1")  'UDT Form Name
                       omat = oform.Items.Item("3").Specific   'Matirx Id in the UDT i.e Item =3
                       omat.Columns.Item("Name").TitleObject.Caption = "Email Address"  'changing the coloumn 'Name' to  'Email Address'
    
    

    Thanks

    Shafi

    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.