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

Similar Messages

  • Question for the experts on Video problem

    We are away on holidays but didn't want to miss this opportunity to ask for help from the experts. I'm not sure if I have a problem with my motherboard or video card or both. I posted the problem previously but here it is again.
    I have an HPE-250f HP desktop computer which has worked well although has not had a lot of use. Shortly after purchasing it I got a real deal on a 17" i7 laptop which has been used much more than the desktop. Yesterday numerous Windows updates were installed and a couple of reboots to complete the installations. On occasion in the past Windows updates have caused issues but am sure they are not the cause of the current problem.
    Upon turning on the computer yesterday it sounded like an airplane taking off so pulled the side cover off and it was the fan on the video adaptor that was making all of the noise. I have never heard it anywhere near that loud in the past even when under very heavy usage. In addition there was no video signal so my first thought was the adaptor had died. I took the adaptor out and reinstalled it to make sure it was seated properly however no change. I took the adaptor out again and then uncapped the VGA and DVI connectors that are on the rear of the computer but I did not get a video signal from either of those two outlets either. I don't know whether those ports are enabled on the motherboard or in the BIOS as this computer came with an upgraded video card. Either way there was no video. I have another low end video card here that I don't think was ever used so installed it and again no video. The hard drive seems to be making the normal sounds you would hear when it is booting but again with no video can't really say what is going on.
    I am sort of out of ideas as to what to try next as without video you can't see if there are any error messages coming up, whether it is trying to boot or is actually loading Windows.
    I don't want to scrap the computer and I guess an option would be to try and find the same motherboard and replace it but I am hoping someone may have some suggestions as to whether there should be video from the built in ports that come capped from the factory. It just seems odd that there is no video from the original card, the built in ports, or a different video card. It is also odd the original video card fan funs flat out when you turn the computer on before it even starts to get warm. If there is a problem with the slot the card goes in one would think the built in ports would still have video but that is assuming they are actually enabled but again don't know if they would be.
    If anyone has any suggestions or if anyone knows a reliable place to buy the same motherboard that is in this computer I would appreciate that information.
    Thank you

    Finally back from vacation and took a bit of time to get caught up from vacation. It appears somehow two threads got started so will continue on with this one as there is more activity here. There is no video from the original video card reinstalled in the computer. There is also no video on either of the integrated ports after removing the caps and removing the battery, and tried two different monitors just to be sure. I have a friend with the same computer and he said there is no setting in the CMOS/BIOS to enable the onboard video so don't know if it has been permanently disabled or not but again no video from either of the integrated ports. Also If there is a speaker on this computer they have done a very good job of hiding it and i have never heard it beep in all the time i have owned it. I know at this link under INTERNAL CONNECTORS it mentions a speaker connection. I would install a speaker for the purpose of troubleshooting but I cannot find a reference anywhere that says which pins are for a speaker so if anyone would know where to find this information I would gladly install a speaker so we could troubleshoot further. http://support.hp.com/us-en/product/HP-Pavilion-Elite-HPE-Desktop-PC-series/4162190/model/4262654/document/c02014355 It is certainly a possibility that one of the updates caused an issue but it would be surprising as these were updates to Windows and not the BIOS, so one would think if the update was causing an issue it would be after the POST and when it was about to start loading Windows. I will try the suggestions listed above to the extent I can without a speaker connected but it would be great if someone can post a manual for the motherboard that mentions which pins or header has the speaker connections so I can install a speaker. I just heard back from my friend that has the exact same conputer and his has no audible beep when it starts either and am sure there is simply no internal speaker on this computer. Thank you

  • UDF access problem for only 1 User

    Hi @ll,
    i got the problem, that one user is not longer able to search bp records by using UDF. Also the user is not able to change the UDF values. This problem only happen on bp data. In every other form the access to udf is possible. Every other using could access UDF in the bp data.
    Any idea ?
    Regards Steffen
    Ps. I grant admin rights for the user. The problem still exists.

    Hi Steffen.
    I'm not sure this could be helpful for you, but have try to check the ENABLE FLAG for this udf in UDF PARAMETRIZATION?
    Open the document whit UDF logging in with the user that have not permission in UDF. Then press CtrlshiftB and check the ENABLE flag for this UDF...
    Sorry for my english....
    Regards
    Gianluca

  • Plz helpme experts logical database problem

    hi experts
    plz help
    i am working in a upgrade project
    and in one report i am using logical database eqi(check selection of DIEQI)
    in which
    in selection criteria
    in 4.6 it have a checkbox icon
    and
    in 6.0 it is written ad_icon
    i am not able to know what is this ad_icon
    due to this icon i am getting a cross icon in my output
    but i want a checkbox
    expert plz help and tell me how i am getting this cross icon and how i can get the checkbox icon
    THANX IN ADVANCE
    FYI :IN 6.0
    PARAMETERS  dy_adrfl NO-DISPLAY FOR TABLE diequi.
    SELECTION-SCREEN COMMENT 71(30) ad_icon FOR TABLE diequi.
    IN 4.6
    parameters  dy_adrfl for table diequi as checkbox modif id ad1.
    anit gautam

    HI,
    Can you show us the code of your SELECTION-SCREEN.
    Also code from the INITIALIZATION and
    AT SELECTION-SCREEN OUTPUT.
    Regards,
    Sesh

  • Cell hiding problem in adobe form

    Hi,
    I am making a adobe form which contain 5 row and 5 column and i am filling this by using internal table . My requirement is  : when internal table doesn't contain some column(means suppose column 4 doesn't contain any value then i want to hide from 4th column) value i want hide from that column dynamically.
    Regards,
    Durga

    Hi Gupta,
    Please refer the below links
    Hiding a table column for a particular condition
    Adobe Community: How to hide table with empty content using Javascript? 
    Hope this helps you.
    Regards,
    Rama

  • Hi Experts... (problem with for do an SQL test)

    Hi people,
    I need to do a SQL test in production Environment. I must optimize a SQL statement like "SELECT field_name FROM table_name.". Normally, I'm doing yhis process:
    1. I make a  Z program, with the SQL statement.
    2. I upload the program to Test environment.
    3. Finally, I upload the program to Production Environment an Test it.
    I understand that this is a long way to do test (I think).
    Can someone help me with another idea?
    Thanks!

    Hi friend,
    This question is linked with SQL test issue.
    I 've this SQL sentence:
      DATA: it_ges LIKE zcctbltar OCCURS 0 WITH HEADER LINE.
      CONSTANTS: l_c_si(2) TYPE c VALUE 'SI'.
      SELECT zmandt zguid_oportunidad zgestor ztipo1 z~tipo2
              ztipo3 zestatus zprioridad zcliente
      APPENDING TABLE it_ges_
      FROM ( zcctbltar AS z INNER JOIN crmd_orderadm_h AS c
             ON zguid_oportunidad = cguid )
      WHERE z~tipo2 = 'ZAP'
      AND c~zztexto27 = l_c_si.
      This sentence needs  6,5 Seconds in INTEGRATION environmet (ZCCTBLTAR have 39.882 items, CRMD_ORDERADM_H have 1.853.334 items).
    The problem is that I need do this process more fast than actually. In PRODUCTION environment, We have 3.179.867 items in CRM_ORDERADM_H (double than INTEGRATION).
    ¿Do U know how optimize this SELECT?
    Thanks,
    Sergio

  • Any Expert Knows this Problem????

    Hi All,
    I have Done HTTP--RFC Scenario and i got the Bellow Error in Receiver RFC CC
    Receiver channel 'CC_RFC_Receiver_IB' for party '', service 'Sub_ssd_subdev'
    Error can not instantiate RfcPool caused by:
    com.sap.aii.af.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.af.rfc.core.repository.RfcRepositoryException: can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed
    Connect_PM TYPE=A ASHOST=10.1.1.203 SYSNR=00 GWHOST=10.1.1.203 GWSERV=sapgw00 PCS=1
    LOCATION CPIC (TCP/IP) on local host with Unicode
    ERROR partner '10.1.1.203:sapgw00' not reached
    Regards
    Suman

    Hi,
    Do we need to check any thing in J2EE Visual Admin for JCO RFC Provider??
    Error looks to be like that
    Just thought ??
    Regards
    Suman

  • Forms experts Very much problem since very beggining of execuation of form.

    Hi,
    i just installed the 9ids release 2..
    i started oc4j instance version 1.3.1.8
    i created one fmb in default path forms90 and comiled the same in the
    same directory..
    when i run the browser it is throwing following error:
    FROM 92050 Failed to connect to the server /forms90/190servlet-1
    Details
    Java Exception
    java.io.ioexception: Negative content length from
    http://servername:8888/forms90/
    the following error occured
    (code=dns_no_data) the ip address was not found during the
    Dns lookup
    Please tell me detailed configuration what i have to made in
    regedit or forms90.cfg and environment file..
    No idea how i can proceed now..
    Thanks in advance
    asp

    please help

  • Error while creating an UDF in a PI 7.1 Mapping

    Hi experts,
    I'm having problems after creating an UDF in a Message mapping. I receive the error:
    the length 0 of the array 'sortedFunctionKeys' is not equal to the number 1 of functions.
    It seems like forgeting initializing something...
    Regards
    Gonzalo

    Upgrading my JDK to 1.6 in my PC almost solved the problem. Anyway, sometimes that happens again.
    What I actually do:
    1.-Creating my Message Mapping
    2.-Saving it
    3.-Developping my UDF
    The problem occcurs when you create an UDF and just in that moment you don't save it. It will be a bug...
    Hope that helps you
    Regards
    Gonzalo

  • Problem with SNR on CME

    Dear Experts,
    I have problem with SNR on CME.
    When I make call from internal, SNR is working, but when calling from outside to one of my SNR extension, its not
    working - not ringing on mobile device.
    but from extension 43 I am allowed to call xxxxxxxxx  -so when making callforward to xxxxxxxxx its working.
    ephone-dn  43  dual-line
    number 43 no-reg primary
    pickup-group 4
    label xxx
    description xxx
    name xxx
    mobility
    snr xxxxxxxx delay 1 timeout 18 cfwd-noan 90
    snr ring-stop
    snr answer-too-soon 4
    allow watch
    call-forward busy 90
    call-forward noan 90 timeout 18
    need help

    There is a well know issue with SNR and Call forward all when the calling number is not a DID assigned by the Telco.
    Post here your debug isdn q931 to confirm if it is the case. Most likely you will have to convince your Telco to let you do this or implement translation rules on the voice gateway to override the calling number.
    Olease rate helpful answers!

  • Problem with breakpoints in Web Dynpro components

    Hello experts,
    I have problems with breakpoints in methods of Web Dynpro components. Sometimes everything works as expected and a new window with the debugger comes up. Sometimes the breakpoints are ignored, and debugging is impossible. It even happens that a colleague can debug and I can't or vice versa.
    I am setting breakpoints with button "Set/Delete External Breakpoint", and the message always is "Breakpoint is set for user xxx". But sometimes when I display a method there is a warning that external debugging is not active. What does that mean and what is the reason for that?
    As adviced in the SAP help document "Debugging Web Dynpro ABAP Applications" I have enabled the new Front-End Editor and the new debugger, but still the problem exists. Does anybody experience similar problems or have an explanation for this?
    A second question concerns the different types of break points. My Web Dynpro component has an assistance class, and if I want to set a breakpoint there, I can choose between a session breakpoint and an external breakpoint. What exactly is the difference between these types? And here in the forum I sometimes read about internal breakpoints. Is this even a third type, or the same as session breakpoints?
    Thanks, Karsten

    Hi Kartsen.
    External Breakpoint -> can be started from outside the SAP GUI (e.g. WebDynpro)
    Session breakpoints are used if you start a programm or something like that in SAP GUI.
    I have the same problem ... sometimes he does not recocnize a new break point ... so I just reload the page and the break point works.
    If external debugging is not active, you habve to activate it in SE80 Utilities->External Breakpoints.
    Also make sure that in your Settings the correct debugging user is set:
    Utilities->Abap_Editor->Debugging.
    Cheers,
    Sascha

  • Problem with sound in U350

    I bought  before one week lenovo u350. The problem is when am talking in skype or when am listening to music, from the files in my pc suddenly the sound mutes, but the graphics in the volume mixer are like am listening to music but i can't listen anything. I re-installed the driver that lenovo has in the net put i faced the same problem again. Someone help me .
    Thanks a lot and am looking forward to your experts answer

    Unfortunately the problem is steel going on...I was speeking in skype and suddenly i didnt hear the voice in the videocall like I pushed the mute button on the top. When i push it i can hear the voice but only for 58 seconds and this is going on and on. Please help me to find a solution to this problem because the time that it takes from my life trying to fix it, is very important for me.
    Thank you in advance

  • Problem while selecting BELNR from BSEG

    Hi Experts,
    I have a report performance problem while fetching BELNR from BSEG table.
    I have to print latest BELNR from BSEG where BUZID = ‘M’ but at the time of execution of report, It is taking too much time (More that hour and sometimes it gets hanged).
    I have also gone through the comments provided by experts for previous problems asked in this forum e.g. BSEG is a cluster table that is why data retrieval takes long time etc.
    Can any one has any other idea or suggestion  or any other way to solve this problem
    Regards,
    Neeraj

    Hi,
    1) Try to create an index on BUZID field
    2) Don't use SELECT/ENDSELECT statement. Instead of that extract all the concerned entries from BSEG into an internal table :
    select belnr from bseg appending table itab where buzid = 'M'.
    then do this :
    sort itab by belnr.
    describe itab lines n.
    read table itab index n.
    Please reward if helpful.
    Regards,
    Nicolas.

  • Crystal report authetication problem

    Dear experts,
    I have problem in my one of client regarding Crystal reports. crystal reports working fine in all other client machine but only one client machine system give the database logon failed error. please guide me.
    Thanks In advance

    Hi,
    Please refer thread:
    How could we solve this error "failed to retrieve data from the database"?
    Also check SAP note:
    1533412 - "Failed to login to database" error
    Thanks & Regards,
    Nagarajan

  • MRP Problem

    Hi Expert,
    I got problem in my MD01, in my plant parameter is set up like this CREAT PURCHASE REQ. 2 and SCHEDULE LINES 2, and my material is a RAW, with MRP type set up as PD, and PROCUREMENT is F, why does when i check in mD04 there are planned order for my RAW material since raw is externally procurred it must be PURCHASE REQ should appear? please explain this to me, what should i do?
    Thanks and Regards,

    Hi,
    Based on the Opening period defined at Schedule margin Key of  Material , MRP will creates PR & Planned order.
    During the backward scheduling system calcualtes the Opening date by subtracting openning period   ( the Number  days defined at SMK as openning period ) from  release date.
    If Requirements date  is earlier than the Opening period system will create planned order .
    some time is there to convert it to PR.
    If requirement date later than the openning period it will cretae PR directly.
    Set  create pur req = 1 at md01 sytem will create PR always.
    Regards
    Pradeep

Maybe you are looking for

  • Unable to get workflow id in ecma script

    I am using the following ecma script in a OR split function check() {    log.info("##########IN CHECK FUNCTION###########");    var path=workItem.getWorkflow().getId() + "/metaData"    var node=workflowSession.getSession().getItem(path);    if (node.

  • Color picker not working in Premiere CC running 10.9 Mavericks

    Im not able to use the color picker for text and even the color picker for ultra keys. When i want to select a color i want to use the cursor change to a text cursor. Please help asap. Thanks !!

  • 10.3 partial disappoint​ment

    I had a sneak look on a Passport with 10.3 and it's partialy dissapointing me. Flat UI - dont't like it, but tons of users demanded it ... sigh ... Calendar (as its the only app that i could test): I love the differing size of days numbers depending

  • Trainings for Mobile 7.1

    Hi, NetWeaver Mobile 7.1 is generally available since a few days now. When will it be possible to book a training (perhaps delta-training?) for the new technology? Thanks and kind regards, Norbert

  • Why has my support question apparently been deleted?

    This is a complaint. I posted a very detailed support question about my problem looking for help. I understand that, since this is apparently a volunteer-supported forum, I have to be patient in waiting for a response. No problem. I posted my issue l