Center component frame in VBean area

I have a component that I want to show in a VBean container area in Forms. All works fine except that the component is not centered in VBean area. It sitts to the right and down a bit outside the bean container. When I add the component to the bean container I do this. Where m_jax is the component being added to the bean area.
try {
super.addImpl(m_jax, BorderLayout.CENTER, -1);
} catch (IllegalArgumentException ex) {
ex.printStackTrace();
super.validate();

Hi Prashant,
Go to Trans OKKP
Step 1:Simply double click the COArea which you wanted to configure.
Step2: In the Assignment Control
CoCd->CO Area - Change to Cross-Company-Code Cost Accounting
Note:Only if you change this setting the CoCd Validation will get activated.
Step 3: Go Back & select the COArea & Double click the Activate components/control indicators
Step 4:Double click the Fiscal Year in which you wanted to set.
You can see the CoCd Validation key activated..else you can tick to activate it
Regards
Andrew

Similar Messages

  • Activate Cost Component Split in Controlling Area Currency

    Hello,
    I have controlling area currency USD and company code currency INR. When I do WIP run then system is giving error messages "contr.area currecy is missing" and "not find valid cost component structure" and suggesting to maintain "Cost Component Split in Controlling Area Currency".
    When I maintain then after that I am not able to run CK11N for std.cost estimate only with the error "cost componenet spit costed with zero" and also system giving this message on front screen of ck11n, means not allowing to go into ck11n result screen.
    Could you please give me some tips or check point on this issue.
    Thanks
    Regards
    Ravi

    I'd revert to the Cost Component per Co Area currency config that you were forced to delete (as per your other post) - but this time, just for a Costing Type or a specific Val Variant and check the results.
    Maybe that'll throw some light... also check if you maintained all the Exchange Rate config in your system... check General Settings for all the config that is required.
    Cheers.

  • Today, I randomly happened to have less than 1GB of hard drive space left. I found very large "frame" files, what are they?

    I found very large "frame" files, what are they & can I delete them? (See screenshot). I'm a (17 today)-year-old film-maker and can't edit in FCP X anymore because I "don't have enough space". Every time I try to delete one, another identical file creates itself...
    If that can help: I just upgraded to FCP 10.0.4 and every time I launch it it asks to convert my current projects (I know it would do it at least once) and I accept, but everytime I have to get it done AGAIN. My computer is slower than ever and I have a deadline this friday
    I also just upgraded to Mac OS X 10.7.4, and the problem hasn't been here for long, so it may be linked...
    Please help me!
    Alex

    The first thing you should do is to back up your personal data. It is possible that your hard drive is failing. If you are using Time Machine, that part is already done.
    Then, I think it would be easiest to reformat the drive and restore. If you ARE using Time Machine, you can start up from your Leopard installation disc. At the first Installer screen, go up to the menu bar, and from the Utilities menu, first select to run Disk Utility. Completely erase the internal drive using the Erase tab; make sure you have the internal DRIVE (not the volume) selected in the sidebar, and make sure you are NOT erasing your Time Machine drive by mistake. After erasing, quit Disk Utility, and select the command to restore from backup from the same Utilities menu. Using that Time Machine volume restore utility, you can restore it to a time and date immediately before you went on vacation, when things were working.
    If you are not using Time Machine, you can erase and reinstall the OS (after you have backed up your personal data). After restarting from the new installation and installing all the updates using Software Update, you can restore your personal data from the backup you just made.

  • I wanted to know if others were having difficulties getting All Day Events appear in the Notification Center in iOS 7.   Currently my Calendar in the notification center will show events that are at certain times, but they will not display All Day Events.

    I wanted to know if others were having difficulties getting All Day Events appear in the Notification Center in iOS 7.
    Currently my Calendar in the notification center will show events that are at certain times, but they will not display All Day Events.

    Have you looked at the previous discussions listed on the right side of this page under the heading "More Like This"?

  • Error : profit center is locked for controlling area

    Hi Experts
    profit center is locked for controlling area. Like this error is comning while doing MIRO, excise invoice. Please let me know the solution. Profit center mentioned in material master is different.

    Dear,
    This profit center is locked in its master under Indicators tab. Use transaction KE52 to unlock it if you want.
    Your concern to Profit Center being picked up is different then Material Master then use transaction OBBH and notice the substitution assigned to your compay code for call up point 2. Then use transaction GGB1 and check any profit center derivation is done.
    Regards,
    Chintan Joshi

  • Can we Maintain two Cost Center Hierarchies in one Controlling Area

    Dear All,
    My client established a 2nd plant and he wants seperate Cost Center Hierarchy, cost center groups and cost centers for that 2nd Plant. Can we maintain two cost center hierarchies in one controlling area.
    Please suggest me steps related to this configuration.
    Regards,
    Balaji Bhonsle

    Hi,
    Standard hierarchy is a tree structure containing all the cost centers in a controlling area from the Controlling standpoint. You can create a separate node assigned to Standard hierarchy for your new Plant. You can have only one Std.hierarchy. Alternative hierarchy for any reporting purpose is definitely an option.
    Hope this helps.

  • For a wesite I get this error in firefox, "Sorry, Netscape 4 cannot show inline frames", other browsers are able to open it.

    For a wesite I get this error in firefox, "Sorry, Netscape 4 cannot show inline frames", other browsers are able to open it.

    I uninstalled all the old flash players and installed the flash player v16.0.0.235 from the Adobe website posted.
    And Firefox is still the same. It takes forever to web search, It takes a long time to get on Youtube, and a longer time now to open a video..
    It's actual worse since I upgraded to the newer flash player.
    I'll do one more fifefox reset (this is the 8th one in a week)
    and it works for a few hrs, and goes back to the slowww way of working...
    Many of my friends I talked to about this, told me to switch over to Chrome like they had to do..
    I guess that's the only alternative now..
    Thankyou all for your help and suggestions anyway.. :)

  • Is  Creating a Custom Component and Custom UIComponent are same in Flex ??

    Hi ,
    I am getting confusion in the terminology of words  with respect to Custom  Components .
    Please let me know whether  Creating a Custom Component and Custom UIComponent are same in Flex ??
    Because i have created some  Custom Components based on Form Container based on my business screens .
    Does they both Custom Component and Custom UIComponent mean the same ??
    Please tell me .
    Thanks in advance

    There seems to be a little confusion here. Think of it this way:
    A basic UIComponent by itself is not visible; you can add something you can see to it to make a visual custom component. For example, a ComboBox component is a UIComponent with a ComboBox added to it.
    The UIComponent is the lightest weight component available from which you can create other components. I use it as the base for custom components that the user cannot see, like a data manager.
    HTH,
    Carlos

  • Align left panels inside BoxLayOut / Center a frame center screen

    Hi,
    I've googled for a good while now so now I'm posting the question I have not found a satisfactory answer. It may be that I've been searching by the wrong terms, because it's an easy thing in concept. This is a JSwing question and all terms below apply to that.
    I have a method which takes a container that has a BoxLayout manager. Each item I add is a new row, which is good. The bad thing is that each item is centered aligned. I'm adding a label and textfield into a panel which I then add to the container. I have tried .setAlignmentX to the label, textfield, panel, and all combination pertaining. I can not for the life of me do it. Please see below for pertinent code.
    public void addComponentsToPane(Container pane) {
    pane.setLayout(new BoxLayout(pane, BoxLayout.Y_AXIS));
    JPanel user = new JPanel();
    JLabel userL = new JLabel("Username: ");
    JTextField userT = new JTextField(20);
    user.add(userL);
    user.add(userT);
    user.setAlignmentX(Component.LEFT_ALIGNMENT);
    I hate to put two questions in one thread, but I'm stuck and it's been a long weekend. How come frame.setLocationRelativeTo(null); doesn't set the frame to the center of the window. It's slightly off center; too far to the right and down.
    Thanks in advance for any help given by the community. I appreciate it and hope I haven't broken any guidelines for the forum.

    Go through the [url http://download.oracle.com/javase/tutorial/uiswing/layout/box.html]tutorial for BoxLayout where you will find working code samples. After that, if you still have a problem, post a [url http://mindprod.com/jgloss/sscce.html]SSCCE (Short, Self Contained, Compilable and Executable) that members can copy and run to see where you've slipped up.
    db

  • Proposed weather center / digital frame

    I just bought a new macbook pro and have been kicking around ideas for how to make use of my old macbook.  I think the best idea I've had is to disassemble it and use it as a mountable info center and digital photo frame.  I'd like to mount it somewhere on the wall (i'm relatively handy and will probably build a wooden box frame for it).
    I have several questions regarding how I should best go about this.  For starters, I've got snow leopard installed atm.  But this new macbook came with mountain lion -- not sure if I could install it on the old macbook too, or even if it would matter one way or another, but that's the situation.
    Modifying the OS:  I would like the computer to power up early every morning so I can check the weather before I leave for work, and ideally switch over to photo mode (maybe as a screensaver or something??) throughout the aternoon/evening, and either turn itself off or hibernate every night to save electricity.  Whether I need one or more apps to do this, of if I can just use the OS standard features, I don't know.
    For weather, I've been using Swackett, from the app store, and have taken a liking to it.  However, if there were an alternative which would better suit this project, I'd be open for suggestions.
    I also searched the app store for a photo frame app.  There are tons of them.  I don't need it to do anything fancy, just randomly display my photos and rotate them every 40 mins to an hour.  Which app would be my best bet??  I like extra features and would pay for them, but not essential... there are just so many apps that seem to be able to do this, its hard to tell which one(s) is/are the best for the job.
    Also welcome to any other ideas or suggestions on how I may use this alternatively to just these 2 features, but the general idea is info center and photo display.  Thanks for any advice!

    Okay, I found some time to sit down and play with this a little.  I feel like kind of an idiot because most of this functionality was already implemented directly within snow leopard.  I have it set up to auto shutdown/restart overnight, open my weather program on startup, minimize/hide all other processes, and trigger photo slideshows after 2 hours of inactivity, with sleep function deactivated.
    I did download a slideshow app that serves as the screen saver and has a big clock displayed along the top of the slideshow pictures.  Also, found another free app to chime like a grandfather clock on the hour.
    the last bit is just the assembly part... is it possible to separate the screen panel from the computer/keyboard body, without losing functionality of the screen?  I would like to be able to mount it flat (or disconnect completely), but the hinge only lets you open the screen to about 120 degrees... I'm afraid to take it apart!

  • JPanel not resizing BorderLayout.CENTER component

    I have a JPanel (panel_1) with a BorderLayout. In response to a mous event, I want to replace the component at BorderLayout.CENTER. I'm tracking which component is currently there, so when i get the event, I remove the component currently there, and then add a different one using add(component, BorderLayout.CENTER), and then for good measure I call getLayout().layoutContainer(this) (where "this" is panel_1). At this point, I've got another JPanel, panel_2, in the CENTER position of PANEL_1, and I can see that it's been resized correctly. However, panel_2 also has a BorderLayout, and has a JScrollPane in it's CENTER position. adding panel_2 to panel_1 at center, and redoing the layout, doesn't resize the ScrollPane inside panel_2, even though panel_2 itself is resized.
    Furthermore, in panel_2, I tried overloading setSize(int, int), setSize(Dimension), resize(int, int), resize(Dimension), and even reshape(int, int, int, int), and none of them got called during the layout, but it's size still comes out different on the other side of the layout.
    Can anyone suggest a good way to automatically resize the JScrollPane when the parent container (panel_2) is resized? Is this normal behvior? I thought that BorderLayout was supposed to do this automatically?
    Message was edited by:
    B.Mearns

    LayoutManagers uses the preferredSize to help layout components. The size means nothing, so using setSize() will not help. You should be using setPreferredSize(...).
    You may also want to look at using a [url http://java.sun.com/docs/books/tutorial/uiswing/layout/visual.html]Card Layout which is designed to flip back and forth between multiple panels in the same container.
    If you need further help then you need to create a [url http://homepage1.nifty.com/algafield/sscce.html]Short, Self Contained, Compilable and Executable, Example Program that demonstrates the incorrect behaviour, because I can't guess exactly what you are doing based on the information provided.
    And don't forget to use the [url http://forum.java.sun.com/help.jspa?sec=formatting]Code Formatting Tags so the code retains its original formatting.

  • Why profit center is created at controlling area leve and cost center is not

    Hi All,
    I want to know why we create profit center at controlling area level i.e., a profit center can be used by multiple company codes under that controlling area. While cost center is at company code level as in one cost center can only be used in one company code.
    Please explain the logic behind this design in SAP and in real business scenarios.
    Regards,
    Satan

    Hi,
    Cost centres (and other CO objects, e.g. internal order, WBS, etc.) are part of Cost Accounting component of SAP Controlling domain (CO). Profit centres are part of Enterprise Controlling (EC) domain, namely of EC-PCA. So, these two objects are not even belonging to the same domain and have, therefore, different perspective of business functionality. SAP has created reporting objects on different level of control: business areas on client level, cost centres - on company code level, profit centres - on controlling area level, etc. All this is a part of system design in functional prism of system's evolution.
    Of course, technically speaking, one could have created profit centres on company code level or vice versa, cost centres on controlling area level, but it would have provoked similar questions.
    Regards,
    Eli

  • Best SEO practices for text frames in content areas

    Hello,
    Is it best practice for SEO to keep all text (H1, H2, H3 <p> etc.) on a web page in one text frame and adjust with spacing between paragraphs to add additional elements (Video, widgets etc.) or is it better to use separate text boxes and place elements between them?
    Thanks! Below is an example. Should the H1 and both paragraphs be in one text frame space out to fit video or two separate text frames with the video between them?
    What is Lorem Ipsum?
    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

    In the example you give, I would put both sets of text in a single box with a blank spacer between them for the video which would then be layered over the top to appear in the middle.
    The video takes longer to download and may also be blocked by the users settings so having it separate allows my text to load (and appear) quickly even if the video encounters issues.
    I would only separate the two text sections if they are clearly different in style or content and that’s really only helpful if you want a phone and/ or tablet version of your pages… it makes your life easier then to have the text in separate containers when you want to sync them across the different layouts.

  • Profit center not found in controlling area

    Hello all,
    While trying to change the wbs element of a PO in ME22N, I am getting the error message "Profit center XXXX not found in controlling area".
    Do any one hava an idea how to fix this problem?
    Thanks in advance for your help,
    Soumaya

    Check whether the PC Hierarchy has been defined or not in KCH5N / KCH6N for your Controlling area.
    Single PC - Check in KE53.
    If not, you need to define the PC Standard Hierarchy
    Thanks

  • Profit Center Is not in Controlling Area BP01

    Hi
    I am getting the below error. Please help me
    Profit center 2100 is not created in Controlling Area BP01
    Message no. FAGL_ORG_UNITS001
    Thanks
    Surya

    Hi,
    It is what it's said: there is no profit centre in the CO area defined. You have to create one (KE51) or check if you are using the right one.
    Regards,
    Eli

Maybe you are looking for

  • Problem with Tweens and HitTest

    Hi guys, I have a problem with by code generated Tweens and HitTest. But first of all the backgeround info. I have a couple of dots. They are generated from a single movieclip and differ in scale. The idea is, that the biggest one ist set to the midd

  • Please Help: no internet on MBP (10.8.3) via iPhone 5 (6.1.4) personal hotspot, usb or bluetooth

    Hello all, I used to be able to get Internet on my MBP (mid 2009 13, OSX 10.8.3) through iPhone 5 (ios 6.1.4) using either USB or bluetooth. Now, the personal hotspot LINK between my MBP and Iphone via bluetooth is ACTIVE (the blue bar says there's a

  • Pictures Not Available in Photos

    I just got a new iMac and upgraded to the latest OSX. Photos said it upgraded my library and shows I have over 11,000 pictures. However, only a few of them actually are showing. Where are they? How do I get them back? I can't lose all these photos!!!

  • Load prompt values from Excel or CSV files?

    Hello all, We have report and users want to upload filters to prompts on the reports from excel or csv files. They cannot enter one by one because they some times have hundereds of values (customer numbers) to filter. Is there a way to do that? If it

  • Build and Export Cache

    I've already posted this in the Bridge forum, but I thought it might just be relevant to ACR too, so here goes... I've just bought a Panasonic GF2. ACR support was introduced with 6.3, so I have no problems with opening its raw files in 6.3 or 6.4RC.