on 02-04-2009 12:43 PM
hi all,
i want to visible false udf in the marketing document.but field not show in the forms object.
how is possible.
HI,
Did u bind the UDF with the EditText or any other control on form.
If u didnot then u ll not see it on form,then why do u want to hide it.
I think u are giving the UDF name instead of the Item ID.
oForm.Items.Item("ItemID").visible= false; ' ItemID-this should be item id not UDF name in backend.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks for replpy
actually i want to add one udf in marketing document that is UIN(Unique identification number) for particular user.Any one can add documnet which have UIN .IF UIN is corrct the he can add document but for using browse option user can see the UIN number of other . i want to hide UIN udf when user Browse (next ,previous,last,first)option.
Regards
Rajkumar Gupta
Open the Screen which has the UDF and make the UDF Visible
Goto Tools -> User Defined Fields -> Settings. Here you can make it visible or Invisisble.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks to replr but i haven't got udf in the active form event.
If pVal.FormType = "142" Then 'Purchase Order Form
If pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_LOAD And BubbleEvent = True And FLAG = False Then
oFormAPOrder = SBO_Application.Forms.GetFormByTypeAndCount(pVal.FormType, pVal.FormTypeCount)
'Form = SBO_Application.Forms.ActiveForm
Dim oItem As SAPbouiCOM.Item
oItem = oForm.Items.Item("U_UIN")
oItem.Visible = False
end if
end if
i read in forum that u have to catch form with -142 then u get the udf of the form.
but i tried my problem not solved.
Regards
Rajkumar
Hi Rajkumar,
Once you add the udf in Marketing documents then that udf treated as system item.
so you cannot make system item visible false.you can make user item on the user defined form visible true or false.
One more option you have on Main Form add the Edittext and bind it with udf on form load event.you can make that edittext visible true and false.
Regards,
Mahendra
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.