Custom Tab not getting high-lighted

Custom Tab not getting high-lighted
Hi,
I have added a new tab TabX in Item Master data form.
When only my add-on is running, it is working properly:
When I click on the TabX, all the controls belonging to the tab are displaying correctly.
TabX control is getting highlighted.
When my add-on runs with another add-on (DBS):
When I click on the TabX, all the controls belonging to the tab are displaying correctly.
But, TabX is not getting highlighted. Instead, some other tab(purchasing tab) is getting highlighted.
1) I'm not sure what is done by the other add-on.
2) I cannot debug my add-on when the other add-on is running. (Because we cannot get the other add-on installed in our office network. It is running only in client site.)
So, I need to 'guess' what might solve this problem.
Please help me if you know any work-arounds, so that I can highlight TabX (The normal effect of pressing a tab) in this situation.
Thank you.
Regards,
Geetha

Hi Geeta,
on FormLoad event,add the panelevel and set the panelevel of the Items.(must ber unique on that form)
OnLoadAfter(ref SAPbouiCOM.ItemEvent pVal, out bool BubbleEvent)
            BubbleEvent = true;
            AddNew_IndirectCost_Tab()
private void AddNew_IndirectCost_Tab()
                 oForm.DataSources.UserDataSources.Add("Folder", SAPbouiCOM.BoDataType.dt_LONG_TEXT, 100);
                oItem = (SAPbouiCOM.Item)oForm.Items.Item("36");
                oNewItem = oForm.Items.Add("oFldrCost", SAPbouiCOM.BoFormItemTypes.it_FOLDER);
                // oNewItem.AffectsFormMode = true;
                oNewItem.Top = oItem.Top;
                oNewItem.Height = oItem.Height;
                oNewItem.Width = oItem.Width;
                oNewItem.Left = oItem.Left + oItem.Width + 50;
                oFolder = (SAPbouiCOM.Folder)oNewItem.Specific;
                oFolder.DataBind.SetBound(true, "", "Folder");
                oNewItem.AffectsFormMode = false;
                oFolder.Caption = "Indirect Cost";
                oFolder.GroupWith("36");
                oItem = (SAPbouiCOM.Item)oForm.Items.Item("60");
                oNewItem = oForm.Items.Add("LblMacCost", SAPbouiCOM.BoFormItemTypes.it_STATIC);
                oNewItem.Top = oItem.Top;
                oNewItem.Height = oItem.Height;
                oNewItem.Width = oItem.Width + 20;
                oNewItem.Left = oItem.Left;
                *oNewItem.FromPane = 222;*      // set pane level
                *oNewItem.ToPane = 222;*          //set panelevel
                oStaticText = (SAPbouiCOM.StaticText)oNewItem.Specific;
                oStaticText.Caption = "Actual Machine Cost";
on click of the your pane set the panelevel, like;
protected override void  etClickBeforeAction(ref SAPbouiCOM.ItemEvent pVal, out bool BubbleEvent)
            BubbleEvent = true;
             if (pVal.ItemUID == "oFldrCost")                    // oFldrCost-My pane,
                 oForm.PaneLevel = 222;
The main thing is that you have to set the form's panelevel on click_before event and youe pane will be high lighted

Similar Messages

  • How can I get High Lighted text from JTextPane?

    I can get Selected text when right click.
    But, I have to get high lighted text without Right click.
    How can I do this?
    Is it possible any way?

    Hi,
    you could try it with Document doc = editor.getDocument();
    int start = editor.getSelectionStart();
    String selectedText = doc.getText(start, editor.getSelectionEnd() - start);(editor above being your JTextPane).
    Ulrich

  • Changes in Texts in custom editor not getting saved in QM02 tcode

    Hi Expert,
    I am working on a screen exit in QM01. I have created a editor box(like the description box under Description tab in QM01) using class cl_gui_custom_container and cl_gui_textedit. I am able to create and display the text I type in the box alongwith other standard changes but if I try to change and save the text only in the custom text box, it is not getting saved. I debugged and found out that the standard does not recognize any change in the custom controller box.
    Please suggest.
    Thanks in advance,
    Sangeeta.

    Hi Sangeeta,
    After doing changes which method are you using to capture the text in the text editor ?
    There is a method GET_TEXT_AS_R3TABLE in class CL_GUI_TEXTEDIT . in that pass 'X' to ONLY_WHEN_MODIFIED parameter,
    Hope these may resolve your issue.
    Regards,
    Kumar M.

  • Warranty tab not getting displayed in service order

    DEAR ALL,
    I have an issue with crm services, I HAVE NOT ACTIVATED/USED INSTALL BASE IN MY SCENARIO AND HAVE CREATED PRODUCTS DIRECTLY/ DOWNLOADING FROM R/3.
    NOW WHEN I MAKE A SERVICE ORDER THEN WHEN I ENTER THE PRODUCT (EG: FINISHGED GOOD) ITEM CATEGORY BEING YANN (TEXT ITEM CREATED BY US) THEN THE WARRANTY TAB IS NOT COMING UP.
    when we add an expense item in the next line item warranty tab is getting displayed.
    KINDLY HELP.
    REGARDS,
    AMIT

    Hi for this u can use VCT but you to check for doc flow action settings and work flow before, then only you will get Guranty Data tab hope this will helpful
    Regards
    Venkat

  • Custom fields not getting updated in Mass Maintenance-MM17

    Hi,
    I have created a custom field in MARC table and the data is getting updated to the MARC table through MM01/MM02 but it is not getting updated by MM17.  I have checked the notes 44410, 576160, 414020 and 116311.  I have done the following changes as per the sap notes.
    1. Created a custom segment ZE1MARCM by copying the standard segment E1MARCM and added the custom field in that  
        segment.
    2. I have extended the IDOC 'MATMAS03' and added the custom segment ZE1MARCM to E1MARAM.
    3. Created a new entry in we82 and provided the extension type 'ZMATMAS03' and release '701'.
    4. Adjusted the partner profile in we20 for matmas with port and providing the extension idoc type.
    5. Added the custom field in the table MASSFLDLST.
    6. Implemented the code in BADI 'MG_MASS_NEWSEG' and exits 'EXIT_SAPLMV01_002' , 'EXIT_SAPLMV02_002' as per the 
        sap notes.
    The custom field is not getting updated through mass maintenance.  Please let me know if i have missed anything?
    Thanks,
    Geeta

    I had this same question several years ago. Please check my answer at Initialize MARC Custom Fields Using MM17 Does Not Work

  • Custom field not getting populated in the "Show Results where" drop down

    Hi all,
    In appointment detail page by clicking on Add button on the user related information section , it takes us to a search layout showing the list of available users.
    Here we have to filter the user's based on a custom field which has already been created in the user object. But I am not able to add the custom field in the "Show results where" drop down for which the search has to be done.
    It is getting reflected in the normal search layouts.So Can any one tell me why the change is not getting reflected in the user related info search layout?

    I tested your use case and you are correct. I would recommend that you submit a service request to CRM On Demand customer care in reference to this issue.

  • Customer Address Not getting replicated to CRM

    Hi,
    In CRM system we had created on BP and replicated to ECC system. Replication was done successfully. In ECC now we had modified some of the details like Name, Address, contact details. From this updated details only address is not getting replicated to CRM system.
    While all the other data which are modified are getting replicated to CRM system. In case if some one has encountered this issue then please me know the solution step.
    Does SAP support the modification and replication of business partner address from the third system (System in which it is not created)
    With Regards
    Ankush Rai

    Hi Rai
    Please check the following thread , It may helpful your query
    Re: When replicating customer from ERP, the address is not replicated to CRM.
    Hope it solved your issue
    Regards,
    Naga.Srikanth

  • PO Custom Field not getting filled from Shopping Cart

    Hi Gurus,
    I am new to SRM. The requirement I had was to add a new field to the SC. I read several posts and articles on this but couldn't find the solution to it. I managed to do this modifying the corresponding structures in SRM and making the necessary changes in R/3 so the new filed can be seen in ME21/22/23N.
    I checked Andreas Milbredt document to achieve it as mentioned:
    Document: How to transfer custom fields from SRM to Backend.
    http://www.sdn.sap.com/irj/sdn/index?rid=/library/uuid/20b36c12-685f-2c10-4fb4-ba2e0b969c27
    After that, when I create a Shopping Cart, the value in the New field is not transferred to the Back end.
    I coded the following BADIs and User Exits:
    In SRM:
    BBP_CUF_BADI_2 (MODIFY_SCREEN) ->To enable or disable the field depending on conditions. Works fine.
    BBP_DOC_CHECK_BADI (BBP_DOC_CHECK) -> To do some checks. Works Fine
    BBP_CREATE_BE_PO_NEW (FILL_PO_INTERFACE1) ->Here I fill structures BAPI_TE_MEPOITEM and BAPI_TE_MEPOITEMX. I added another u2018Xu2019 to indicate the new field to BAPI_TE_MEPOITEMX. But I think I am not doing it right. This structure BAPI_TE_MEPOITEM/X, does the order of the fields correspond to the order of the fields in any of these 3 structures (which I am using)?
    INCL_EEW_PD_HISTORY_CSF
    INCL_EEW_PD_ITEM_CSF
    INCL_EEW_PD_ITEM_CSF_SC
    I also checked the following link:
    Map a custom SRM field to a standard field in R/3
    In R/3 I populated the Exits Andreau2019s mentions on his article. Am I missing anything else?
    Thanks & Regards,
    Ernesto.

    Hi Ernesto,
    You can find out how your BAPI structure is being populated (by generating the test data ) using FBGENDAT program and activating the BAPI_PO_CREATE1 (and you will need to set the parameter for the specified user id)... This will provide you ability to execute the BAPI offline and figure out what is happening...
    Note 517767 - Generate test data for function modules
    Things to look for, Is any of your custom fields quantity fields or integer?
    Check out the following OSS note
    Note 509898 - BAPI enhancement concept and Unicode
    Also check out the following SDN Thread,
    problem using  BAPI_BUS2001_CREATE to create project definition
    Check out a similar thread that we are discussing (for PR)
    Custom Fileds Data Was Not Getting Updated In BAPI_PR_CREATE

  • After saving GRN part1 tab not get enabled

    Hi,
    All excise details get reflected in GRN from PO , i have entered all details such as excise number, Excise date etc related all data
    excise.
    But after saving GRN part 1 tab not got enabled which contains serial number , part1 number . which is not case of other GRN.
    Please help me why this is so ?
    Regards,
    Rajendra D. Sawant.

    Hello,
    Please can you confirm are you working in ECC 6.0.
    Please check the material and vendors are mentioned in J1ID table. If J1ID does not contain the material and chapter id combination ,then system will not give you, excise tab in MIGO.
    And
    After save of MIGO system will not show excise or part1 tab in MIGO display   This is sap standard. you have to check in J_1IPART1 table with ref to Material doc number.
    Regards
    Mahesh Naik

  • Custom tab not reflecting in ME21N & ME22N

    Hello,
    I need to add an additional tab on the Header level of PO. I have implemented the BAdI ME_GUI_PO_CUST & ME_PROCESS_PO_CUST as specified in the sample example.
    However, I'm unable to see the custom tab in ME21N & ME22N, whereas I can see the tab in ME23N.  I have code in the method FIELDSELECTION_HEADER but it doesn't stop at breakpoints when I run ME21N & ME22N. 
    When I debug, I can see the breakpoints but the program never reaches them. 
    Thank you for any help on this and implementing these BAdIs in general.  This is the first time I have worked with these BAdIs and it has proved to be very frustrating. 
    Kind regards,
    Chris Mowl

    Hi Chris,
    Madhu is right. Check the point he suggests. For instance in IF_EX_ME_PROCESS_PO_CUST~FIELDSELECTION_HEADER
      DATA: l_persistent TYPE mmpur_bool,
            l_changeable TYPE mmpur_bool.
    * if the item is already on the database,
    * we disallow to change field badi_bsgru
      l_persistent = im_header->is_persistent( ).
      l_changeable = im_header->is_changeable( ).
    * after coding
       IF CONDITION IS TRUE.
          IF l_changeable = 'X'.
            <fs>-fieldstatus = '.'. " READY FOR INPUT
          ELSE.
            <fs>-fieldstatus = '*'. " view
          ENDIF.
        ELSE.
          <fs>-fieldstatus = '-'.    "SUPRESS IT
        ENDIF.
    Remember note, if all fields that you add are suppressed, then the dynpro will not be viewed.
    I hope this helps you
    Regards
    Eduardo

  • CUSTOM library not getting picked up

    We have our custom business code written in HR_ADMIN.pll and it will be called through CUSTOM.pll for few forms ( like people, Assignment, Element Entry forms)
    In Our CLONE instance after every weekend outage for backup, we get error opening people form because of HR_ADMIN.pll not getting picked up. we used to bounce forms port, everything would then work. but since last week bouncing forms port also not working.
    I took frd trace, error is exactly at calling hr_admin package. Did anybody got the same error before and have any solution to this ?
    Error we get is:
    FRM-40735: WHEN-CREATE-RECORD trigger raised unhandled exception ORA-06508.
    ORA-01403: no data found
    Message was edited by:
    user552453

    check whether task name is same as session/workflow name. also check any spaces in name. if dac didn't fin corresponding session/workflow it may not create paramater file. if other custom tasks are working from dac this should also work.
    Thanks
    Jay.

  • Method in custom controller not getting called from view

    Hi experts,
    I have a very strange problem. My web dynpro application works fine on the development portal. i am in the process of deploying to the production portal there is no issue it deploys perfectly without any problems. However i have noticed that some methods in my custom controlller which are called from the view do not run. there is no error message or anything data just doesnt get picked because the execute function which fills the context are in the custom controller methods.
    For some reason the method in the custom controller does not get called even though i'm calling it for the view. I have this problem with two methods. the other methods work without any issue.
    Now i overwrote what i have on production at the moment so am stuck and in need for a solution.
    I have tried undeplying, restarting and re-deploying to no avail. what could be wrong?
    thanks and regards,
    dilanke

    Deal all
    This is the code. basically im calling it from the plug on the detail screen.
    This is the method that doesnt get called anymore.
    wdThis.wdGetGetPurchaseOrderCustController().getPODetail();
    The reportSuccess() works fine.
    regards,
    Dilanke
      public void onPlugFromListView(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onPlugFromListView(ServerEvent)
         try
             String po = wdThis.wdGetGetPurchaseOrderCustController().wdGetContext().currentContextElement().getPO_Id();
              wdContext.currentZGETPODETAILS_INPUTElement().setI_Ebeln(po);
              wdThis.wdGetGetPurchaseOrderCustController().getPODetail();
              wdComponentAPI.getMessageManager().reportSuccess(po);
              String fileName = "F://XML_Downloads//" + po + ".xml";
              IWDResource resource = WDResourceFactory.createResource(new FileInputStream(new File(fileName)),fileName,WDWebResourceType.XML,true);
              wdContext.currentContextElement().setXml_Resource(resource);
         catch(Exception e)
              e.printStackTrace();     
        //@@end

  • Tab not getting focus on left-click after suspend in Windows 7 64-bit.

    When I left-click on a tab in Firefox 4 rc 2 after my pc wakes up from suspend in Windows 7 64-bit the tab is not getting focus. I have to use the hotkeys in order to move to that tab. My mouse works fine in other programs.

    I have an imac
    I have an magic pad (same thing as the touch pad on a macbook really)
    I have an usb mouse I use both in windows and osx
    if your trackpad somehow was registered as actived for some reason it would seem as if it was the mouse
    had some *** situations both in windows and osx when my cat sit on the magicpad

  • History Tab Not Getting Populated

    As i Edit / inspect any assets in the WebCenter Sites the History Tab is not getting pouplated with the edited Assets. The Histroy Tab is visible to me, However there is no Data In it (Blank History Table).
    I am currently using java 1.7.0_03-b05.

    This is a known issue, bug 14341496. To avoid it please use java 1.6 on the browser.
    Phil

  • Custom log not getting generated in weblogic 10.3.5

    We have weblogic 10.3.5 as application server and deployed DAM(Digital Assets Management ) application on it. Also we have deployed 2-3 more application which is sharing connection properties file (dfc and log4j) outside from application war in shared location.
    Now, we have configured the log path but logs are not get generated where as it comes in out log of weblogic.
    Is there any configuration changes which can create the log files as mentioned in our log4j.properties?? Seeking help urgently.

    How are you writing to the log file in your application?
    When, for example, use System.out.println the entry will show up in the .out file.
    You need to get the right loghandler to write the logging you configure.

Maybe you are looking for

  • VA01 Sales order - Header-- Accounting tab need to add a field

    Dear All, The requirement is, 1. I need to add a field in Sales order. Path for the same is as follows: VA01> Goto> Header--> Accounting tab 2. The field will be a date field that needs to calculate date on. a)create a new field. ex - zchdt (chq due

  • Manually-entered date information doesn't stay with photos outside iPhoto

    Hello-- I'm having problems trying to share the date information I've manually added in iPhoto to all my scanned photos. I understand because they are scanned photos they are really new files where the image creation date is the day they were scanned

  • Hp Color Laser Jet 5550dn Print Quality Issues

    Good Afternoon, I have a Hp Color Laser Jet 5550dn that has some print quality issue.  I've attached a black and white scan, but the color is a light blue to blue that form the blotches.  On the back of the page there are blue and pink streaks.   I c

  • Re: [Fwd: Java Applet IIOP Call-In with Release 3C--How dowe speed up d

    Hi Michael, We have done exactly what you describe and have avoided the slow applet download times. Although it can be a bit tricky, it is possible to use the ORB bundled inside the Netscape 4.0 browser (Visibroker for Java by Visigenic). Most of the

  • Cant use Itunes

    I have packard bell easynote laptop, and i am so dissapointed that i cannot use itunes. Every time i download itunes i cannot connect to the internet at all (my internet provider is BT) i am so dissapointed as i cannot use my i touch as i have to kee