I canu00B4t  hide UDF

Hi all,
My problem is that i can´t hide the user defined fields. My idea is to hide some udf-s depending what form is loaded, but i can´t hide noone. I have SBO 2005 A PL 34 but i remenber that in low pl-s too the problem exist. Example of code:
                oForm = SBO_Application.Forms.GetFormByTypeAndCount(-149, 1);
                oItem = oForm.Items.Item("U_peso_t");
                //oItem.ToPane = 3;
                oItem.Visible = false;
                //oForm.PaneLevel = 1;
                //oForm.Freeze(true);
Not error appear but the item always show.
Exist a way to do this?
Thank you, regards.

Hi Aitor
If you have added the field in the form area you should be able to hide the field. But if you are tryin to hide the field that appears in the right pane then i dont think it is possible.. If you have added it on the form area then the alternate solution would be try setting the editable property to false. Instead of setting the visible property..
Regards
Aris.

Similar Messages

  • Hide UDFs in Marketing Docs (Not Displayed)

    Hi All,
    I have created 12 UDFs in Marketing Docs for the "Stock Transfer"....But they will appear in all the Marketing Docs (AR and AP and many, many, many more)  It seems like I would have to go into each and every Marketing Doc under each and every User Name and Edit the UDFs Settings.
    Is there a way I can hide these UDFs from all the Marketing Docs/Forms except the intended Form??? (Stock Transfer Form) without the use of coding.  I want to use the Std SBO Customizing functionality...
    Thanks Guys

    Hi Noor,
    I don't know a way to block the added UDFs to be visible and modified by the user...  unless changing the settings for the specific form (be careful the user has no rights to change them one more time and block your calculations).
    The best way to avoid problems is to block the user from modifying them by disabling them when the form is loaded (by using SDK).
    Anyone else has a better trick?
    Regards
    Trinidad.

  • How to disable (or) Hide the UDF Field in the Row level through Query

    Hi suda,
    thanks for your reply. i also want to know the formatted search query for the UDF present in the row level, i want to hide that also.so pls msg me the query.
    i have written as N$[item.column.row] but it is not working,so keep me posted if your query that works well.
    Regards
    Magesh.

    Magesh,
    I just saw your other messages...
    Go to Tools > User defined fields > Manage User Fields   --  Under Marketing Documents > Rows  check the field name here.
    Then go the Form itself and Click on Form Settings Icon or Click CTRLSHIFTS or Tools > Form Settings and from the Table format Tab make your changes..
    Good luck
    Suda

  • UDF at header level will not auto refresh before & after adding the invoice.

    Hi All,
    I have a FMS query in the UDF at AR Invoice header level. I have set the FMS query to auto refresh when tax rate field changes but the UDF doesn't auto refresh when there is a tax code in the document.
    I will need to add the invoice first then open the added invoice and press shift+F2 to get the calculated amount in the UDF to update the invoice.
    How to get the UDF to auto refresh whenever the tax code has changed? Or after the invoice has added?
    The FMS query:
    SELECT sum(T0.[TotalSumSy]) FROM INV1 T0 inner join OINV t1 on t1.docentry = t0.docentry WHERE T0.VatGroup in ('SR','DS','AJS') and t1.docentry = $[OINV.docentry]
    Thanks & BR,
    Leng

    Hi,
    I solved the problem following the steps in SAP note 633285 - Printing the total Vat amounts in each Vat group, https://websmp130.sap-ag.de/sap/support/notes/0000633285
    In order to print  in the  order  the Vat amount  in each vat group Please perform  the followed stages:
    Go to Tools (in the SBO tool bar ) and chose Manage User Field
    In Marketing Documents (Rows) add new fields according to the Num of the vat groups that you are using in Orders (e.g. A1, A2 ,A4) The type : Units and Totals  - the Structure: sum in the order each column will represent the vat amounts in the line but only for certain  Vat Group
    in order that each column will display the vat amount in the line only if it belong to certain Vat group we attach a query to each column: (e.g. we have 3 columns : A1, A2, A4) .the queries are;
    SELECT $[$38.82.NUMBER]  WHERE $[$38.18.0] = 'A1' FOR BROWSE  SELECT $[$38.82.NUMBER]  WHERE $[$38.18.0] = 'A2' FOR BROWSE SELECT $[$38.82.NUMBER]  WHERE $[$38.18.0] = 'A4' FOR BROWSE Now each column will display the vat amount only if it in the relevant vat group
    in the order document printing template you need to add those Vat column in our example we add 3  data fields : the file: Order - Rows , the Field: A1/A2/A4 - you can hide (un visible ) this columns as needed
    in the Repetitive Area Footer add a calculation field for each vat groupthe Type: Column Total , the Column: Order; A1/A2/A4 in each calculate field you will get the sum amount of the vat in the relevant Vat group. (in  addition you can add text fields with a relevant description for the calculation fields)
    Thanks & BR,
    Leng

  • Hide line items on an invoice

    Is there any way to pick and choose or define which line items will appear on an invoice?

    hi,
    I think if i am clear you want to hide some item that it should not print in the PLD is it correct.
    if so please create a UDF in Marketing Document in row level whether this item should print in the PLD are Not...
    If you do like this it is possible....
    in the PLD you have to use formula field and check the UDF created is 'Y' then print if it is 'N' not to print all the relevant information in the row....
    Regards
    Chidambaram

  • Hide and activate fields in SAP Business One

    Hi,
    How do I see the following in SAP Business one 2007 A?
    1 - Where do I see the option of hiding or making a filed mandatory, optional etc.? Can i hide some fields in A/P invoice entry? How do I do that?
    2 - How do I create a field or a column which will populate necessary details. For example..How do I create a column named amount in the A/P invoice so that it shows the corresponding amout of the invoice near the column named Invoice number?
    3 - How to access a particular column from a table structure? Do I need to write an SQL query for this?
    4 - How to pull up a field from a table and make is visible for the users? Do I need to be an ABAP expert for this?
    5 - What are stored procedures?
    Please let me know!! Thanks

    3 - How to access a particular column from a table structure? Do I need to write an SQL query for this?
    Try the link below:
    how do make link between query and UDF
    Yes, you write the query by going to Tools->Query Generator.
    You need to know the FMS number for the varialbe AMOUNT you created.
    You can know that by turning on debug info View->Ssystem Info, and then placing your cursor on AMOUNT. At the bottom left know its FMS variable number. There are multiple ways of dealing with.
    Use the above variable in the Query Generator with a $ sign. Save the query. General (some name)
    Then attach the above query to AMOUNT ShiftF2 and click to dril down to saved query and attach it. Choose the type refreshment.
    I am missing out on some small details, but you have to try it you will get there.

  • Change UDF field on system form to enabled = false

    When doing this, it works fine (on the item master form).  The udfs that I don't want to be editable are disabled (grayed out).  But as soon as anything is typed into ANY field on any pane in the main form or into any of my editable UDFs, the disabled fields immediately become enabled again!  (If I listen for key-down on a field & redisable my UDFS it works, and further entry into any field does not affect the enabled status!  This is obviously no solution, though.  There might be over a hundred fields on this form and it's impratical to listen for key down on all of them!)
    I'm doing this as a proof of concept, and if we get it right, we're likely to sell this customer SAP B1, so I'd really like to get this right!
    So, searching the forum, I see something about SetAutoManagedAttribute & I try setting the editable attribute to false for these fields.  That line of code crashes:
    item2.SetAutoManagedAttribute(BoAutoManagedAttr.ama_Editable, SAPbouiCOM.BoAutoFormMode.afm_Ok, BoModeVisualBehavior.mvb_False)
    with a message: "Exception from HRESULT: 0xFFFFE4A2."
    (NO text with ANY of these HRESULT messages - where can i find info on them?)
    I thought maybe the problem was that I can't use the SET feature for UDFS so I've tried it on the itemcode field itself and this bombs out too!
            <B1Listener(BoEventTypes.et_MENU_CLICK, False)> _
            Public Overridable Sub OnAfterMenuClick(ByVal pVal As MenuEvent)
                Dim form As Form
                form = B1Connections.theAppl.Forms.ActiveForm
                Dim it As Item = form.Items.Item("5")
                Dim pl As Integer = form.PaneLevel
                If pl <> 1 Then
                    form.Freeze(True)
                    form.PaneLevel = 1
                    form.Freeze(False)
                    Try
                        it.SetAutoManagedAttribute(BoAutoManagedAttr.ama_Editable, SAPbouiCOM.BoAutoFormMode.afm_Ok, BoModeVisualBehavior.mvb_True)
                    Catch ex As Exception
                    End Try
                End If
                If form.PaneLevel <> pl Then
                    form.Freeze(True)
                    form.PaneLevel = pl
                    form.Freeze(False)
                End If
    (I saw another post on the forum about not being able to change the visible attribute unless the current pane contained the field being changed, so that's why I'm trying to switch it & switch it back and I've tried the SET command without the panelevel switch and I always get the same error)
    PS I'm at p16  - THANK YOU!

    Hi John,
    Do the UDFs have to be on the Item Master window itself (ie can they be left on the UDF tab)?
    Would this work as a solution?...
    Use the UDF settings to create 2 different UDF categories and assign the 2 different sets to these categories. Then, when the user selects a particular item, your add-on can check the item group and automatically change the UDF category to reflect the correct item group. Sure, it doesn't set the other fields to inactive but it does hide them from the user. Only issue would be if you have other UDFs that are generic (ie non-group specific) as you can only assign a UDF to a single category.
    Kind Regards,
    Owen

  • Hi expert, UDF HIDING PROBLEM

    Hi all,
    my code below i m getting proble when i hiding udf .
    i done using this code but application got slow because each time this event called.
       If pVal.FormType = "-142" Then
                    Try
                        If BubbleEvent = True Then
                            oForm = SBO_Application.Forms.GetFormByTypeAndCount(pVal.FormType, pVal.FormTypeCount)
                            Dim oItem As SAPbouiCOM.Item
                            oItem = oForm.Items.Item("U_UIN1")
                           oItem.Left = 500
                            oItem = oForm.Items.Item("1000007")
                            oItem.Visible = False
                        End If
                    Catch ex As Exception
                        'MsgBox("cra" & ex.Message)
                        ShowErrMsg("U_UIN 1  Hide" & ex.Message)
                    End Try
                End If
    please  make change in above code  that only one time this code will call.
    i already test with form load event but no effect on udf.
    regards
    Rajkumar G

    create function for hiding udf as
    Sub hideUDF()
            Try
                Dim oforms As SAPbouiCOM.Forms
                Dim oform As SAPbouiCOM.Form
                oforms = SBO_Application.Forms
                For Each oform In oforms
                    If oform.Type = "-139" Then
                        Dim oItem As SAPbouiCOM.Item
                        oItem = oform.Items.Item("U_UIN1")
                        oItem.Left = 500
                        oItem = oform.Items.Item("1000007")
                        oItem.Visible = False
                    End If
                Next
            Catch ex As Exception
                'MsgBox("cra" & ex.Message)
                SBO_Application.MessageBox(ex.Message)
            End Try
        End Sub
    to ItemEvent add code
    If pVal.FormType = "-139" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_ACTIVATE And pVal.BeforeAction = False Then
                    hideUDF()
                End If
    to formadataevent add code
    If BusinessObjectInfo.FormTypeEx = "139" And BusinessObjectInfo.BeforeAction = False Then
                hideUDF()
            End If

  • USER Wise UDFs

    Dear All,
    I have created for example 20  UDFS in marketing document.
    Out of this i have set 10 UDFs for Sales order to user A.
    Can i copy the same setting to User B for sales order.
    Since manually loging in to respective user and setting UDF consumes more time.
    Solutions if any will be appreciable.
    swapnil

    Hi swapnil,
    Row Level UDF's
    Try this,
    ->> Login Perticular User ID. (User 1 or User 2)
    ->> Open Marketing Document. Ex: Purchase Order.
    ->> Go to Menu bar and Open Form Setting Window then Set the UDF's for Perticular User.(User 1 or User 2)
    Header Level UDF's
    Try this,
    ->> Login Perticular User ID. (User 1 or User 2)
    ->> Open Marketing Document. Ex: Purchase Order.
    ->> Go to Top of the Menu bar and Click Tools ->> User_Defined Fields ->> Setting
    ->> Else (Ctrl + Sgift + B)
    ->> Open the Setting - User Defined Field Window and Check the Visible or Hide the Fields for Perticular User.(User 1 or User 2)
    Thanks,
    Madhan.

  • UDF for Checks for payment

    Hi Friends
    Can anyone help me to create UDF for Checks for payment form (header level).
    regards
    kamlesh

    Dear Kamlesh,
    I am sure you can't add it since some tables in SAP B1 like OCHO can't be added a UDF and make the field inactive or hide (form setting is disable). One way out is to add UDF via addon. SAP support told me about this when I was asking how to add UDF in process external bank statement (OBNK table).
    Rgds,

  • Udf Data is not being displayed in the report

    Hi all,
    i have designed one report in which i am displaying some udf fields along with other system fields.
    i have not used any selection criteria.
    when i run report it doesn't display udf data of some random rows in the report even if data is peresent in that udf field.
    If i open sales order and press 'Shift-F2'  and update the document and now if i run report then i get that udf value in the report.
    why this happening. data is there in the udf field only its not displayed in the report with out updating the that udf.
    pls suggest some solution.
    regsrds,
    Chetan.

    Hi Ashish,
    I ran the "ZPS/!ZPS" in RSRT where ZPS is the infoset name. In Dev, it displayed the values. In QA, it displayed the below messages:
    ECharacteristic 0TCAKYFNM does not exist. Check authorizations
    WThere are calculated elements. These results are bracketed [  ]
    and below that, it displayed the values for Number of records. But, it has not displayed the values for the other figures.
    Does this has any impact in QA.
    Thanks & Regards,
    AVN Rao.

  • In ALV report.The user wants to hide specfic fields

    Hi
    In ALV report.The user wants to hide specfic fields  but the user must be able to add these fields to the report:
    can any one give the suggestions

    in reuse alv list display or grid
    i_save  = 'A'.
    now user can choose the layout.
    for hiding
    in fieldcat
    wfieldcat-No_out = 'X'.
    regards
    shiba dutta

  • How to hide member Account dimension from BPC Administrator for Reporting

    Hi experts, i need to hide some members of the Account dimension for reporting, because those members dont use it anymore, but i dont want delete them.
    The question is: Does it exist any propierties for this dimension type that allows hiding members in reporting without set members in the BPC for Excel?
    I can create a report which contain the members i want to show, but if any change occurs (client desire) the report is outdated.
    Thank you in advance
    Ignacio Vazquez

    Ignacio,
    There is no function like that.
    You can choose below two options.
    1. Create a property like  'NOUSE'  and set a value 'Y' for unused member
         When you create EVDRE report, set a filter against that property that has value 'N'
         then those members will not be shown at the report.
    2. Create 'NOUSE' parent member and put members under this parent member.
    Maybe option 1 is more easier to do that.
    I hope it will help you
    James Lim

  • How can I set OWA to use Public by default and hide that section from OWA?

    I have an Exchange 2013 deployment that needs a customized OWA page.  I've already run Set-OwaVirtualDirectory "ex1\owa*" -LogonPagePublicPrivateSelectionEnabled $True to show the Public option.  I've also edited the logon.aspx
    file to set the checkbox to be unchecked by default.  My problem is I need to hide that entire line, I don't want users to see that section at all as if I never ran the above command.  When I was testing hiding it with <!-- --> it hid it but
    caused that piece to stop working as it went back to private.  Has anyone been able to accomplish this or can clue me in on how to do this?  Thank you in advance.

    Hi,
    I suggest we ask the question on Exchange Development Forum:
    http://social.technet.microsoft.com/Forums/en-US/home?forum=exchangesvrdevelopment&filter=alltypes&sort=lastpostdesc
    Regards,
    Simon Wu
    TechNet Community Support

  • Hide night hrs in iCal week view?

    I am trying to hide my sleeping hours from view in iCal. I go to preferences>advanced> and select 8 to 6 with 12 viewable hours, but the grayed out sleeping hours are taking up the top third of my calendar. Can't you customize it not to display those? I am wondering if I have missed an iCal upgrade?

    How did you resolve this? I've been trying to figure it out all day!!

Maybe you are looking for

  • Installing 11gR1 CRS and receive error when executing root.sh on 2nd node of 2 node cluster

    This is the error from the execution of root.sh on 2nd node of 2 node RAC cluster: dhzusbx98: /u01/app/crs # ./root.sh WARNING: directory '/u01/app' is not owned by root Checking to see if Oracle CRS stack is already configured /etc/oracle does not e

  • Bug: bad default save directory

    When saving files (e.g. a stored procedure definition) in "File ... Save As", the default directory is always "C:\windows\system32\config\systemprofile". That's stupid and senseless. What's worse is that a changed directory isn't remembered, it alway

  • Writing File and File Member to AS400 using Access Classes

    Hi! All, I am in a fix here and would sincerely appreciate any help I can get. I need to write a pogram that will allow me to write a file and many FileMembers to the File in the AS400. I have the following method which I thought would help me do it,

  • Accordion variable panel height got stuck

    Hi, I've a couple of collapsible (dynamically generated) panels in a accordionpanel (the accordion has three panels in total). When the page opens all is oké. When i open one of the collapsible panels, the accordionpanel auto change its height. But w

  • 6.3.1 Client on Red Hat 5.4

    I have a new client for DS 6.3.1 ; the client runs on Red Hat 5.4 . What is the procedure for obtaining the Directory Server client ? JYard UCLA