Can a div auto-detect the width of its contents?

By default, a div's width will extend as far as its container allows (100%) and we can restrict this by specifying width values. But I'm not looking to do either one. Instead, I'd like to know if there's a way to make a div adopt the width value of its contents dynamically?
In other words, wrap tightly around its contents, instead of expanding to fill whatever space allows.
<div>
  <img src="image.jpg">
</div>
Where image.jpg is 200px wide and so is the div that's containing it.

jyeager11 wrote:
By default, a div's width will extend as far as its container allows (100%) and we can restrict this by specifying width values. But I'm not looking to do either one. Instead, I'd like to know if there's a way to make a div adopt the width value of its contents dynamically?
Where image.jpg is 200px wide and so is the div that's containing it.
Yes you can do it.  You need to float the DIVs either left or right.  The process of floating the div shrinks the div to fit the contents.  Try it and let us know if this works in your case.
Good luck.

Similar Messages

  • Extending div's across the width of the browser

    I wan't to extend some div's across the width of the browser, for eg: background colors. My container has a max width, so its not straightforward. If I remove that constraint, I lose the ability to demonstrate the max width behavior, which I don't want either.

    Yeah, the grid in reflow is really just a visual and snap aid, it doesn't have any implications except for the min/max width in relation to the breakpoints. We use a lot of full width background images which don't really snap to the area outside the grid unless they're set to body, but want full page or at least much wider than half a gutter (via show outer gutter) content images and bgs. 
    So it really depends on the min col grid you need and the hard 16 col limit is an issue for a grid that that has a higher common multiple for it's column variations. I.e. a 5 and 3 column design would need 15 for the content and 2 for the outside margin but that's over the limit.
    For simplicity's sake we've moved to mostly 2-4 column designs which we can make work with a max 12+2 cols, but you have to figure out multiples that work out cleanly while maintaining a natural looking relationship of content to margins.
    For that reason, and because of the platform on which we build most projects (NationBuilder) requiring a sidebar,  we've gone heavily to 3,2,1 col layouts which we can break into just six layout cols.
    But another workaround we're using is to flop the grid and gutters so that we have 7 gutters of 12% and 6 cols of 4%. The grid is largely just a visual aid so it doesn't seem to have any implications so far. The issue we were having was that the outside gutters are only half width which doesn't work for our designs which tend to have a lot of common match ups and lineups. In that case you have the larger gutters which have a central snap guide as well which you may be able to repurpose to many more cols if you can come up with a clean grid is a lot of experimentation or a spreadsheet, the only way we were able to calculate all our variables into nice round numbers…
    The simplest fix though is probably a lifting of the arbitrary limit on number of columns. I saw on another thread the devs were willing to consider that, they just needed a solid usecase to do so. A grid that accounts for a design with both 4 and 5 columns in it would require at least 20 cols, and 2 extra on the outside would probably be pretty useful so a 24 col max should allow for almost all contingencies…

  • Is it possible to sign the transport and its content?

    Hey Everyone,
           Is it possible to sign the transport and its content when I release transport? So that when a particular transport is imported into destination system we can say with certainty that transport is not tempered with?
    I am more worried when we give data and cofile to be imported into some System it may be tempered with so that it may look like the same transport but its contents are modified. (I am not sure even if its possible for somone to modify these files and hence the actual ABAP Object in it are changed.)
    Of course, it is possible to sign the file content itself and send it over, but I am trying to minimize the risk even more so that when we release transport or when someone is importing it signing is automatically done or checked.
    Thanks,
    Nilay

    There is no way of sense water and CO2 by a single sensor.You could be able to measure CO2 and water seperately but before that i need to know much details and chemical specifications about your liquid.

  • Mac OS 10.5 /  I deleted the " Private" folder ... and emptied the trash. So the folder and its contents no longer exists on my computer at all !!!  I do have the OS dvd that i purchased years ago...  But my computer will not start from it on its own. My

    Mac OS 10.5 /
    I deleted the " Private" folder ... and emptied the trash. So the folder and its contents no longer exists on my computer at all !!!
    I do have the OS 10.5 dvd that i purchased years ago...
    But my computer will not start from it on its own.
    My question is what is the open source or terminal language code used to tell my mac to look in the DVD rom drive for startup info?  I know that im not the only person in this world who has deleted the "PRIVATE" folder and emptied the trash so it no longer exists on their machine...
    That said theres gotta be a common fix for a Power PC G4 that has the OS X dvd in the rom drive but wont look to it to reinstall the vital contents of the PRIVATE folder.
    Once again there is not a copy of this file or its contents in the recycle bin...
    Also rebooting the machine , pressing and holding the letter C does not prompt the machine to look to the dvd rom drive.
    I was reinstalling pro tools and figured I would make some room by cleaning my computers HD...
    Lol It was a bad choice to delete this file ...
    Thanks guys

    Okay sorry it took forever to respond... But for a while there I gave up on this computer!!!!
    Money's been tight lately , so taking it in to a professional was not yet an option... though I did consider it eventhough.
    Anyway long story short im glad I didnt spend any money because I already had all the tools necessary to fix this issue but was going about it in the wrong way. Okay so here is my scenario and the breakdown... Though this may not fix the issue for everyone :( which *****... But I know we all will have different circumstances.
    Anyway here we go...
    Okay so first things first....  Years ago I purchased the OS 10.5.1 disk ... So that has always been in my possession!!!!
    I realize that some may not have a disk to reflash your OS to your hard drive... but if you do your in luck.
    2ndly ... I had an external harddrive with all of my itunes downloaded music so it was more than okay with me to delete my primary HD because all the important stuff could either be copied over or repathed to be located.
    -------If you dont want to read through the whole story the fix is summed up in the bottom section-------
    Okay so now the SOLUTION!!!!
    By trial and error , and pure boredom I opened up my computer to clean the inside...
    AND
    "Disconnected the primary HD"
    and just because ....... REBOOTED my computer. Just to see what it would do.
    Upon restart and though it looked like it would repeat its usual cycle...
    About 1 minute in to that process my computer froze for about 2 seconds and flashed to the OS installation screen.
    Mind you I havent seen this screen yet... Probably hasnt been since I installed the OS years ago.
    After a bit of trial and error...
    I decided to tell my computer to startup from the OS 10.5 disk located in my dvd rom drive and restarted once again...
    this setting is under
    Utilities / startup disk
    After a little more trial and error ... I realized that I could reconnect the primary HD , restart the machine and return to the OS installation menu.
    So upon this discovery
    I went to the Disk Utility located under Utilities
    Highlighted my primary HD located in the left hand column
    Once highlighted ...
    In the heading section on the right I selected the option
    Erase
    in which I erased My current OS on my primary HD ...
    I used the first option in the list under security... Because it seemed like the least invasive and would take the least amount of time to see if this process would actually work.
    I FORGOT to add something... 
    Another reason why I deleted my primary HD!!!!!
    I forgot to say that it WOULD NOT!!!!! Show up in the STARTUP list as an option...Even After multiple reboots....
    But like clockwork... Once I deleted its name IT SHOWED UP as an option!!!!
    So back to the next step...
    I returned to the STARTUP option under utilities ... And was then able to see MY primary HD now as a startup option...
    But ofcourse it had no name because it we previously erased it.
    So when Clicking my newly erased HD ... I was almost immediately prompted to REINSTALL the OS ...
    Which said it would take about 57 minutes ... But I believe was alot less...
    My issue was resolved ... My computer then stated the install was SUCCESSFUL!!!!!!! :))))))))))) lol ;)
    It was like I was setting up for the first time ;) asking for my registration info...
    The dilemma of deleting the private folder and emptying the trash is finally over resolved. Done ... and no extra money spent!!!!!!!!! 
    Its really crazy that the information for such a simple thing is not readily available. Especially being such a simple fix.
    I know im not the only person who's had this issue , because i've seen numerous posts with similar wording.
    I also know I wont be the last person to have this issue... So I hope this synopsis makes sense.
    -------One more time the fix------
    *Insert your OS dvd into your dvd rom drive.
    *Unplug your primary HD or corrupted startup disk
    *Reboot your machine...
    Upon restart your primary HD will not be recognized...
    * you will then be prompted to select your language.
    Once selected
    *Click Utilities/startup... Highlight the the selection that refers to the OS dvd located in the dvd rom drive.
    * Click restart...
    !!!!!!!!!!Be sure to reconnect your Primary HD Before your computer restarts and you hear the chime!!!!!!!!
    If you do not replug your HD before the chime it will not be recognized.
    In that case restart again.
    Upon restart once again
    *Choose your language...
    *Click Utilities / disk utility
    In the left column select and
    *Highlight your HD ...
    Then towards the top portion / center of the page
    *Click the heading Erase
    Then on the page toward the bottom
    *Click security options
    This will then provide erase options.
    I USED THE FIRST OPTION
    "Dont erase data"...
    *click OK
    * click erase...
    Once erased which should take a few seconds
    *Cancel the disk utility...
    * Click Utilities / startup
    And your newly erased HD should now appear in the list.
    * Select your drive from the list by highlighting
    It should no longer have a name.
    *Once selected, you will then be prompted to restart and install the OS to your newly erased HD...
    Thats it!!!!
    Once everything reinstalls re-add your personal info or registration info and you are up and running.
    Goodluck ;)

  • Why, after all these years, can't Thunderbird auto-detect character encoding

    judging by all the existing messages and complaints about this, not to mention erroneous posts that say the problem is solved when it isn't, I have to conclude Mozilla either doesn't believe this is a problem or doesn't care to fix it. The bottom line is that there is no way to tell Thunderbird to automatically display emails in the character coding format they were written in. I could understand cases where the headers are not properly filled in, but I see tons of emails in which the encoding is plainly there in the headers within the message source. You can force it, but if you do so via the menu VIEW->Character Encoding->UTF8 (for example) it won't "stick" if you view another message. But who would want it to "stick" permanently anyway? What the average user really wants is to be able to toggle VIEW->Character Encoding->Auto Detect from its default "off" to simply "on", and not have to bother with it anymore.
    This is a problem that seems to have gone on forever, and it NEVER happens with other email clients. If there is some backdoor way to actually make autodetect work, I'd appreciate knowing about it. But more important, I think ALL users would appreciate it if it were not some secret "backdoor" setting, but a simple global menu choice for all accounts. Can Mozilla please fix this problem once and for all?

    You said...
    ''Thunderbird is supposed to be using the encoding in the mail.''
    I figured is "should", i'm just reporting that it doesn't
    You said...
    ''Setting auto detect to on disables that.''
    Please explain. I've looked at every setting I can find and there is no way to set auto detect to "ON". I DID try setting it to "universal" in an attempt top solve the problem, but I have since restored it to "off", because the universal setting doesn't help.
    you said...
    ''"Based on your earlier response I assume you need to press the F10 key to see the tools menu you were refered to." ''
    No... I never said that anywhere. I DID refer to Menu->View_>Character Encoding, and I did refer to right clicking on individual folders, to get to the properties dialog, and the general information tab. But F-10 doesn't do anything
    You said...
    ''I have examines dozens of mails in my inbox and each honours the character encoding set in the HTML''
    Well, mine NEVER did. A short example from an email I got today pretty much is exemplative of all mail I get from GMAIL...
    --089e013a0572a067a404fc73ceda
    Content-Type: text/plain; charset=UTF-8
    Ok, very good. Thank you. Phoenix sent you a friend request on Facebook by
    the way. Talk to you soon.
    --089e013a0572a067a404fc73ceda
    Content-Type: text/html; charset=UTF-8
    Content-Transfer-Encoding: quoted-printable
    <p dir=3D"ltr">Ok, very good. Thank you. Phoenix sent you a friend request=
    =C2=A0 on Facebook by the way.=C2=A0 Talk to you soon.</p>
    --089e013a0572a067a404fc73ceda--
    See those incidences pf "=C2=A0"? Each one displays as a strange character, a capitol A with a curved line over it. If I manually set my default encoding to UTF 8, the weird characters go away. If I leave it as Western, there is nothing I can do to tell Thunderbird to "auto detect".
    Anyway, I suppose at this point that no one responsible for the product coding is seriously looking at my issue, which is why its never been solved. If anyone does intend to help track it down and solve it, I'll be happy to provide all the examples and screen shots they ask for. Otherwise.

  • Content in my div goes beyond the width

    I have created a <div> to put my main content into.  I have given it a width of 810px.  However when I type a really long line of text into the <div> then it is not autowrapping the text to the next line when it goes beyond a width of 810 px.  What could be the problem?  It even creates a horizontal scroll bar when I preview the long line in a web browser.
    Here is the CSS for my content <div>
    #outerWrapper #contentWrapper #content_bigbody {
    float: left;
    width: 810px;
    background-color: #FFFFFF;
    min-height: 690px;
    -moz-border-radius:8px;
    -webkit-border-radius:8px;
    border-radius:8px;
    border-radius:8px;
    box-shadow:5px 5px 5px #6d6e70;
    padding: 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    margin-top: 15px;
    margin-bottom: 15px;
    margin-left: 15px;

    This might happen if you are typing in a long string of characters without any spaces.
    For best results, use some Lorem ipsum (dummy text) in your content areas.
    <p>
    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer id pellentesque lorem? In suscipit tellus mi, ut ornare nisi. Duis aliquam odio sit amet mi sagittis ut sollicitudin orci ultricies. Duis quam lectus, consectetur in luctus ut, ultricies vel risus? Morbi at nisl sodales metus porttitor hendrerit? Vestibulum in facilisis dui. Nulla ligula nibh, semper at consequat quis, dignissim eget mauris. Praesent quis tortor urna! Vivamus libero turpis, scelerisque vel placerat sit amet, fringilla eget diam. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Ut vel sodales augue. Sed tristique aliquam dolor, a hendrerit tortor lacinia eget. Nulla at accumsan orci. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Duis egestas massa fringilla nulla faucibus pharetra. Fusce scelerisque, ante sit amet tempus aliquet, ipsum lorem mollis sem, eget commodo turpis est ac lectus.
    </p>
    <p>
    Suspendisse facilisis lobortis interdum. Vestibulum ultrices ultrices cursus. Cras scelerisque massa in lacus suscipit facilisis. Pellentesque auctor tempus orci, venenatis lacinia quam hendrerit eget. Nulla a tellus sem, sed varius purus. Proin luctus venenatis fringilla. Donec vitae sapien sit amet massa auctor condimentum.
    </p>
    <p>
    Nam tristique elementum orci sed tempus. Donec viverra nibh sit amet magna consectetur sodales. Suspendisse sodales turpis vel leo venenatis vitae elementum dui eleifend. Etiam in neque vitae mauris pulvinar varius. Curabitur ut commodo tortor! Suspendisse sodales ante ac justo ultrices sagittis. Cras nisl tellus, adipiscing vel congue fermentum, euismod non nulla. Morbi tempor ornare augue at condimentum! Curabitur lorem dolor, consectetur et convallis.
    </p>
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com/

  • Hi can any prepare TS for the FS ?ITS URGENT

    1.0     Functional Spec Header
    1.1     Business Requirement
    The management structure for reporting is currently maintained in Hyperion by the Financial Analysis and Planning group.  This management structure is critical throughout Cessna for managing the business.  The interface is needed to download the management structure hierarchy from Hyperion and load to SAP as a cost center group.
    1.2     Purpose/Objectives/Reason for Need
    The purpose of this interface is to ensure the management structure in SAP remains in sync with the management structure in Hyperion.  This interface will eliminate the need for manual changes to both Hyperion and SAP and also reduces the chance for error to occur when both systems are updated.  This interface will save time when making changes to the management structure.
    There is no record retention requirement for the management structure in Hyperion.
    1.3     Assumptions
    The management structure for reporting will managed by Financial Analysis and Planning and a process will be in place to coordinate changes to the structure.  This interface will be run automatically daily.
    1.4     Alternatives
    If the interface doesn’t exist, then changes to the management structure in Hyperion and SAP will have to be done separately and manually in both systems.  This will increase the chance of error that could result in the management structure being different in Hyperion and SAP causing confusion and unnecessary reconciliations.
    1.5     Similar FRICE Item
    None found
    2.0     Security Requirements
    2.1     User profiles allowed to use this development
    N/A
    It is not known at this time what role this transaction will reside.  Financial Analysis and Planning will be responsible for maintaining the management structure in Hyperion but Finance management has not decided what Finance group will be responsible for the upload into SAP.
    2.2     Authorizations Included
    Controlling Area = 1000
    Access granted to project team.
    There are standard transactions available to view and maintain cost center groups in SAP.  This ability to change groups will be restricted to a small group of people.  Many users will be able to display the structure and use it in reporting.
    This is not ITAR sensitive data.
    [Below the transaction level, what auth objects should this development be controlled by?  (plant, company code, etc.)]
    3.0     Functional Requirements
    3.1     Report/Form
    3.1.1     Input
    [Electronic picture(s) of selection screen and screen flow including success/error messages, icons, colors.]
    3.1.2     Processing
    [Electronic text and picture of processing steps, including if/case logic, authority checks and runtime issues.  A good way to show this is with flow charts or dummied up screen shots, including arrows and text to tell the story.]
    3.1.3     Output
    [Electronic picture of desired output, including sort, totals, hotspots, drill-down and other functionality like ALV.]
    3.1.4     Example Data
    [Demo of example data moving thru each step of processing, including usual, exception and error cases.]
    3.2     Enhancement/Modification
    3.2.1     Input/New Screens
    [Electronic picture(s) of input and/or new screen(s) and screen flow including success/error messages, icons, colors.]
    3.2.2     Processing
    [Electronic text and picture of both current and requested processing steps, including if/case logic, authority checks and runtime issues.  A good way to show this is with flow charts or dummied up screen shots, including arrows and text to tell the story.]
    3.2.3     Expected Results
    [Data to be created/updated/deleted.]
    3.2.4     Example Data
    [Demo of example data moving thru each step of processing, including usual, exception and error cases.]
    3.3     Interface/Conversion
    3.3.1     Source
    The source data for the management structure is maintained in Hyperion.  Currently, the management structure data is extracted from Hyperion using a XML file.  A XML file can be utilized to upload the structure into SAP as cost center groups.  John Shelton (phone 316-517-4260) and Mike LaBarge (phone 316-517-3887) are the SME’s for the Hyperion management structure.  The file will be stored in a format and location so the interface in SAP can run to check for the file.  If an updated file is found the interface will execute and update SAP.  If no file or an old file is found, the interface will not execute.
    [Electronic text and picture of source system as it pertains to requested interface/conversion, including details.]
    3.3.2     Translation
    The entire management structure hierarchy should be loaded into SAP overwriting whatever previously existed in the cost center groups.  The cost center group should contain all active cost centers.  There are additional alias fields in Hyperion which can be populated with the cost center group name.  The field length for cost center groups in SAP is 10 and group name will always start with CM_. This can also be downloaded to excel in addition to the management level name with will become the cost center group description field in SAP.  Management levels 3, 4, and 5 in Hyperion will be loaded as cost center groups in SAP.  There is a relationship between each of these management levels: 
    Hierarchy for Management Structure:
               Management Level 3
                         Management Level 4
                                  Management Level 5
    Level 3 is the top level. Level 4 is linked to 3 and level 5 is linked to 4. 
    An email should be automatically generated when the update has run and should be sent to the assigned Finance group responsible for the SAP management structure regardless of error status.
    [Electronic text and picture of translation steps, including if/case logic, authority checks and runtime issues.  A good way to show this is with flow charts or dummied up screen shots, including arrows and text to tell the story.]
    3.3.3     Target
    Daily the interface should check for a file to upload to SAP.  If no file or an existing file is found, the interface will stop processing.  If a new file is found the interface should execute and update the cost center group in SAP.  The cost center group name will not change (CM_MGTHIER).  The new file should overwrite the existing hierarchy in SAP.  This cost center group should contain all active cost centers in SAP and no cost center can appear more then once in the structure.  To validate this logic a completeness and ambiguity check should be completed after the management structure is loaded into SAP. 
    The completeness check in SAP is a feature in the standard transaction that will check all the cost centers assigned to the group against the active cost centers in master data table in SAP, (Table CSKS, Field KOSTL).
    The ambiguity check is a feature in the standard transaction that will check for duplicate records in the hierarchy.   This could be either the group name, or the cost center value.  It returns a report of the results and the user can manually adjust the cost center group to remove the ambiguity inconsistencies.  This program should be used when the interface loads a new management cost center group.  The hierarchy structure will need to be locked while the update is running.
    The function module K_HIERARCHY_TABLES_READ in SAP maintains the parent / child relationships of cost center groups, sub-groups, and cost centers.  This functional module can be utilized when loading the hierarchy data from the Hyperion extract file. 
    There are also a few BAPI’s available for loading the hierarchy;
    BAPI_COSTCENTERGROUP_ADDNODE
    BAPI_COSTCENTERGROUP_CREATE
    BAPI_COSTCENTERGROUP_GETDETAIL
    BAPI_COSTCENTERGROUP_GETLIST
    The following IDOC’s  can also be used for loading the hierarchy;
    IDOC_INPUT_COSTCENTERGROUP_ADD
    IDOC_INPUT_COSTCENTERGROUP_CRE
    The technical decision for how to load the hierarchy will come from the technical team.  The Functional Modules, BAPI’s, and IDOC’s mentioned above are for reference and can evaluated during the development of the technical spec.
    Example of SAP Cost Center Group Hierarchy:
    Ambiguity and Completeness Check:
    Transaction code KSH1.  Enter cost center group name in field and follow menu path: extras> check and help functions
    [Electronic text and picture of target system as it pertains to requested interface/conversion, including details.]
    3.3.4     Example Data
    [Demo of example data moving thru each step of processing, including usual, exception and error cases.]
    3.3.5     Error Handling
    The detail log should state the following:
         Number of records converted successfully
         Number of records sent to the error report
         Details of the errors – what caused the errors?
    If the completion check finds missing cost centers, or the ambiguity check finds duplicate records and an email should be sent to a group defined by Finance for the given error conditions.  These issues can be researched and corrected by a user with access to create/maintain cost center groups.
    If there is an error in processing the file (i.e. IDOC error), the interface should stop and return an error message to be researched by a technical resource who monitors interface activity.
    There are no required fields or conditional inputs when creating cost center groups.  If the file is formatted correctly the interface should process without incident.  Errors that occur because of duplicate or missing records can be addressed through ambiguity and completeness checks and be corrected by a user with access to the standard transaction.
    An email should be automatically generated when the update has run and should be sent to the assigned Finance group responsible for the SAP management structure regardless of error status.
    [FMEA (Failure Modes and Effects Analysis) on possible run conditions and how to address them.]
    4.0     Electronic Attachments/Documentation
    [Required for Functional: 1) Unit Test Plan, 2) Related BPPs or Instructional Pertinent Functional Info]
    Document Name     Location
    Field mapping file     Hierarchy data is not maintained in a table in SAP.  The functional module K_HIERARCHY_TABLES_READ maintains the relationships of the group including the hierarchy level and parent/child relationship.
    Unit Test Plan     There are approximately 1,000 active cost centers at Cessna.   The Unit Test plan can send a sample of the data, (one or two nodes and associated cost centers).  The full file is available and can used for a more robust unit test. 
    Sample Data                  
    FIN0116 - Hyperion to SAP Management Structure.vsd     Cessna3\cessnaim\Prod\Projects\Specifications\D2 Interface_Summaries\
    5.0     Technical  Requirements
    5.1     Report/Form
    5.1.1     Technical Objects
    [Tables, APIs, structures, EDI segments, data elements, domains, indexes, function Modules]
    5.1.2     Technical Strategy
    [Outline processing steps: include 5.1.2 items with fields, selection/join conditions, perf, err handling, control]
    5.1.3     Production Support
    [Batch: electronic job flow with technical names]
    5.2     Enhancement/Modification
    5.2.1     Technical Objects
    [Tables, APIs, structures, EDI segments, data elements, domains, indexes, function Modules, user exits]
    5.2.2     Technical Strategy
    [Outline processing steps: include 5.1.2 items with fields, selection/join conditions, perf, err handling, control]
    5.2.3     Production Support
    [Only include info not already found in spec]
    5.3     Interface/Conversion
    5.3.1     Source/Middleware/Target (WBI/Middleware Technical Implementation Details)
    WBI will call the BAPI (RFC function module) from middle ware and populates the data into BAPI.
              Interface Overview
                   This section describes the detailed interface design with all the required information regarding the source 
                   system, WBI Components and the destination application of the FIN0116 Hyperion Mgmt Structure to SAP
                   The FIN0116 Hyperion Mgmt Structure to SAP integrates management structure data from the source
                   system (Hyperion) to the target system (SAP) in near real-time. This section describes detailed information
                   regarding the WBI Components and its Connectivity.
              Interface Assumptions
    1.     Hyperion mgmt structure XML file will be placed in the directory where WBI have access to read and archive.
    2.     WBI (Middleware) is going to have FTP get access and FTP service account to the Hyperion File System.
    3.     All Hyperion XML files placed in the directory are going to have unique file name (Ex: HyperionFile_MMDDYYYY.xml)
            Interface E2E Flow
    Step 1     
    Hyperion mgmt structure XML data file will be placed in E:\Hyperion\SAP\Event directory on Hyperion Server..
    Step 2     
    The CES_FIN01_JText_POLConnector will be polling on the E:\Hyperion\SAP\Event directory, which resides on Hyperion file system; whenever there is a new file in the directory, the connector will process that file to WBI Server and Archive file to E:\Hyperion\SAP\Archive directory.
    Step 3     
    The CES_FIN01_JText_POLConnector will send the XML document to Interchange server (WBI).
    Step 4     
    Interchange Server (WBI) will process the XML data and map the Hyperion Mgmt data to SAP BAPI. WBI will send the SAP BAPI formatted mgmt structure data to ASD_CES_SAPFIN1_UPRConnector Agent.
    Step 5     
    The ASD_CES_SAPFIN1_UPRConnector Agent will call ZC_BAPI_COSTCENTERGRP_MANGMNT and pass mgmt data to it.
    Step 6     
    Interchange server (WBI) will receive a response from SAP application and the response can be either a success or a failure/Error.
    Step 7     
    If the transaction is success, do nothing end success the process.
    Step 8     
    If the transaction is failed in SAP, SAP will send the return object to WBI server.
    If error information received from SAP via return object or the transaction is failed in WBI (Middleware), WBI is going to send an error email notification to business email distribution list.
        WBI Components
         Please refer the attached interface spread sheet.
        Interface Mapping Document
       Please refer section 4.0 for mapping document.
         Error Handling and Logging
              Successful Transactions:-
          Once WBI receives a success return code from SAP, WBI will end the transaction as End Success.
    System Failure Transactions:-
    Step 1     Any ICS component is down on production server.
    Business Process/Data Failure Transactions:-
    Step 1     Error while executing Collaboration (Business Logic) or Mapping of Lawson data to SAP format
    WBI will send an Email Notification to Business Email Distribution List.
    Step 2     WBI Received a TYPE = W or E from SAP in return structure.
    SAP system should be able to raise an error and send an email to Business Email Distribution List
    SAP SAMPLE RETURN OBJECT STRUCTURE To WBI:-
    sap_return = 1
    TYPE = S
    ID = MM
    NUMBER = 90104
    MESSAGE = The Cost Center Group 90104 has been successfully created
    LOG_NO = CxBlank
    LOG_MSG_NO = 000000
    MESSAGE_V1 =
    MESSAGE_V2 = CxBlank
    MESSAGE_V3 = CxBlank
    MESSAGE_V4 = CxBlank
    PARAMETER = CxBlank
    ROW = 0
    FIELD = CxBlank
    SYSTEM = SD6CLINT223
    ObjectEventId = CxIgnore
    From the return object for the field “TYPE” the following are the possible values that SAP is returning.
    Type     Meaning
    S     Success
    I     Information
    W     Warning
    E     Error
    For all Warning or Error messages received from SAP, WBI needs to send an Email notification to the Email distribution List mentioned in Section bellow.
    Email Distribution Information
    EMAIL ADDRESS     Successful Transactions     System Failure Transactions     Business Process/Data Failure Transactions
      WBI Performance Considerations
        Collaboration General Properties
    Property Name     Value     Notes
    Maximum number of concurrent events     1     The GBO size is going be huge for this collaboration, so we want it to process 1 at a time, to minimize the use of system resources.
    Recovery Mode     Deferred     By setting the Recovery Mode to ‘Deferred’, it will increase the ICS performance and reduce the ICS startup time. For more questions, please refer WBI documentation.
    Max Event Capacity     1     We don’t want this collaboration to process more than 1 event at any given time, so we set this value to 1.
    CES_FIN01_JText_POL Connector Properties
    Property Name     Value     Notes
    AgentConnections     1     It is a system default value, and for daily batch process interfaces, don’t need more than 1 agent connections
    ConcurrentEventTriggeredFlows     4     As of now this connector will be used by 4 interfaces.
    ControllerEventSequencing     true     This is a default and not much of a use for this interface
    Max Event Capacity     8     To give buffer to the connector, we just doubled the ConcurrentEventTriggerFlows.
    Poll Frequency     10000     As of now, we defined this parameter to poll every 10 sec, once we move the interface to production we can change the Poll Frequency to 10 min or 30 min depends on the requirement.
    Poll Quantity     3     Though we define Poll Quantity to 3, we are not expecting more than 1 at anytime.
    JvmMinHeapSize     1m     System Default, need to be tuned based on interface performance.
    JvmMaxHeapSize     256m     System Default, need to be tuned based on interface performance.
    JvmMaxNativeStackSize     128k     System Default, need to be tuned based on interface performance.
    ASD_CES SAPFIN1UPR Connector Properties
    Property Name     Value     Notes
    AgentConnections     1     It is a system default value, and for daily batch process interfaces, don’t need more than 1 agent connections
    ControllerStoreAndForwardMode     true     By setting this value to true, if the SAP connector agent to SAP is down, then the transaction will wait until the agent is restored and once it restored, connector will successfully complete the transaction
    JvmMinHeapSize     1m     System Default, need to be tuned based on interface performance.
    JvmMaxHeapSize     256m     System Default, need to be tuned based on interface performance.
    JvmMaxNativeStackSize     128k     System Default, need to be tuned based on interface performance.
    5.3.2     Processing/Translation (SAP Technical Details)
    [Outline processing steps: include 5.3.2 items with fields, selection/join conditions, perf, err handling, control]
    Assumptions:
    1.     All data that is received by RFC Function Module is pre-converted and ready to upload to SAP.
    2.     A set of records will be populated to RFC function module table.
    3.     The Main Cost center group name will be ‘CM_MGTHIER’ and it will be a constant.
    4.     Cost center group names will be provided along with cost center groups.
    5.     Controlling Area is assumed to be '1000'.
    6.     If an invalid cost center is found, Cost center group will not be created or modified and the error message will be returned along with the invalid cost center.
    Process Flow:
    1.     Create new RFC function module ‘ZC_BAPI_COSTCENTERGRP_MANGMNT’ in SE37 transaction with importing parameters includes a table with all the fields in the input file structure.
    2.     Source code written in this function module to create cost center groups in ‘KSH1’ transaction using the BAPI ‘BAPI_COSTCENTERGROUP_CREATE’.  
    3.     If Cost center repeats error message will be displayed through RETURN parameter.
    4.     Errors generated while cost center group creation, will be displayed as the Return table in the output of the RFC function module.
    Program Structure and processing:
    1.     Create a new  RFC function module ‘ZC_COSTCENTERGRP_MANGMNT’ with below parameters
    Parameters     Type     Description
    Exporting          
    RETURN     BAPIRET2     Return Parameter
    Tables          
    CCGRP     ZCSF_CCGRP     Cost Center Groups
    2.     Pass the contents of table CCGRP into another internal table IT_CCGRP where group names come first.
    3.     Sort internal table IT_CCGRP by MGMT3_NAM, MGMT4_NAM and MGMT5_NAM fields.
    4.     Loop at table IT_CCGRP into a work area WA_CCGRP.
    &#61607;     If Cost center is not initial, Select KOSTL from CSKS table into a variable V_KOSTL where KOSTL = WA_CCGRP-CCID.
    &#61607;     If SY-SUBRC is equal to zero, then pass the following fields to the BAPI structure
    WA_ HIERARCHYVALUES-VALFROM = WA_CCGRP-CCID.
    WA_ HIERARCHYVALUES-VALTO      = WA_CCGRP-CCID.
    Append WA_ HIERARCHYVALUES to IT_ HIERARCHYVALUES.
    &#61607;     Else, populate an error message saying ' Cost center groups contain invalid Cost Centers' into RETURN table. And exit from the loop.
    &#61607;     At FIRST,  do the following,
    a.     Pass the following fields to create Cost center group ‘Cessna Management structure’ initially.
    WA_HIERARCHYNODES-GROUPNAME = ‘CM_MGTHIER’
    WA_HIERARCHYNODES- HIERLEVEL = ‘0’
    WA_HIERARCHYNODES- VALCOUNT = ‘0’
    WA_HIERARCHYNODES- DESCRIPT = ‘Cessna Management Structure’
    Append WA_HIERARCHYNODES to IT_HIERARCHYNODES.
    &#61607;     At new of MGMT3_NAM_NAM field,  do the following,
    a.     Pass the following fields, to create Management level 3 group
    WA_HIERARCHYNODES-GROUPNAME = WA_CCGRP-MGMT3_NAM
    WA_HIERARCHYNODES- HIERLEVEL = ‘1’
    WA_HIERARCHYNODES- VALCOUNT = ‘0’
    WA_HIERARCHYNODES- DESCRIPT = WA_CCGRP-MGMT3_DES
    Append WA_HIERARCHYNODES to IT_HIERARCHYNODES.
    &#61607;     At new of MGMT4_NAM field,  do the following,
    a.     Pass the following fields, to create Management level 4 group
    WA_HIERARCHYNODES-GROUPNAME = WA_CCGRP-MGMT4_NAM
    WA_HIERARCHYNODES- HIERLEVEL = ‘2’
    WA_HIERARCHYNODES- VALCOUNT = ‘0’
    WA_HIERARCHYNODES- DESCRIPT = WA_CCGRP-MGMT4_DES
    Append WA_HIERARCHYNODES to IT_HIERARCHYNODES.
    &#61607;     ADD V_VALCOUNT = V_VALCOUNT + 1.
    &#61607;     At end of MGMT5_NAM field,  do the following,
    a.     Pass the following fields, to create Management level 5 group
    WA_HIERARCHYNODES-GROUPNAME = WA_CCGRP-MGMT4_NAM
    WA_HIERARCHYNODES- HIERLEVEL = ‘3’.
    WA_HIERARCHYNODES- VALCOUNT = V_VALCOUNT.
    WA_HIERARCHYNODES- DESCRIPT = WA_CCGRP-MGMT5_DES
    Append WA_HIERARCHYNODES to IT_HIERARCHYNODES.
    &#61607;     At LAST,  do the following,
    a.     Call BAPI ' BAPI_COSTCENTERGROUP_CREATE' by passing the below parameters.
    CALL FUNCTION 'BAPI_COSTCENTERGROUP_CREATE'
      EXPORTING
        CONTROLLINGAREAIMP       = '1000'
      IMPORTING
         GROUPNAME                        = GROUPNAME
         RETURN                                 = RETURN
      TABLES
        HIERARCHYNODES           = IT_HIERARCHYNODES
        HIERARCHYVALUES          = IT_HIERARCHYVALUES.
    5.3.3     Technical Objects
    [Tables, APIs, structures, EDI segments, data elements, domains, indexes, function Modules, user exits, BAPIs]
    Function Modules:
    ‘ZC_COSTCENTERGRP_MANGMNT'
    ‘BAPI_COSTCENTERGROUP_CREATE’
    ‘BAPI_TRANSACTION_COMMIT’
    Tables: EKPO, CSKS     
    Structure: ‘ZCSF_CCGRP’
    FIELD NAME     DATA ELEMENT     DOMAIN     DATA TYPE     LENGTH     FIELD  DESCRIPTION
    MGMT3_NAM     ZCMGMT_N     GRPNAME     CHAR     15     Management level 3 Name
    MGMT3_DES     ZCMGMT_D     TEXT40     CHAR     40     Management level 3 Description
    MGMT4_NAM     ZCMGMT_N     GRPNAME     CHAR     15     Management level 4 Name
    MGMT4_DES     ZCMGMT_D     TEXT40     CHAR     40     Management level 4  Description
    MGMT5_NAM     ZCMGMT_N     GRPNAME     CHAR     15     Management level 5 Name
    MGMT5_DES     ZCMGMT_D     TEXT40     CHAR     40     Management level 5  Description
    CCID     KOSTL     KOSTL     CHAR     10     Cost Center
    CCDES     KLTXT     TEXT40     CHAR     40     Cost center Description
    5.3.4     Technical Overview and Strategy
    [Performance, error handling, control]
    Error Handling:
    Errors generated will be displayed as the Return table in the output of the RFC function module, when
    1.     Cost center in invalid.
    2.     Cost center group name repeats.
    3.     Cost Center repeats.
    5.3.5     Production Support
    [Describe scenarios in which the interface components should/should not run. (Source/Middleware/Target systems down, etc.)]
    6.0     Technical Development Objects
    [Include development objects that would be required in order for the business to be able to provide production support.]
    Package/Dev Class: ZCK_INT
    RFC Function Module Name: ZC_COSTCENTERGRP_MANGMNT
    Function Group Name: ZCFMC_COSTCENTERGRP_MANGMNT
    Structure: ZCSF_CCGRP

    SDN is the place to discuss technical problems..
    Please avoid such weird post.
    G@urav.

  • My ipod touch 2g can't download most of the apps and its warranty has expired , is there any way to replace it ?

    Ipod touch 2g - updated to 3g by itunes
    My ipod touch has bad battery power, is there any way to replace the battery .
    Also it cant install most of the apps , so I was wondering if apple will replace my ipod touch 2g for another ipod touch better gen .

    Apple will only give you a 10% recycling discount if you turn in an old iPod when you purchase a new one.
    Apple - Recycling Program for iPod and Mobile Phones
    Apple will exchange your iPod for a refurbished one with a new battery for $79. May not be worth it for the old 2G. They do not fix yours.
    Apple - iPod Repair price              
    A third-party place like the following will replace the battery for less. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens
    Replace the battery yourself if you are up to it. Yo can purchases a replacement battery for about $10
    iPod Touch Repair – iFixit

  • If I delete a folder from my MacBook Air after backing my computer up with TimeMachine, will the folder and its contents stay on the external drive the next time I back up my computer?

    It's my understanding that TimeMachine intelligently backups computer system onto an external hard drive and keeps the backup up to date. Currently my MacBook Air is almost out of memory, so I was hoping to move all of my pictures and music to an external hard drive via TimeMachine and then delete the files from my laptop. As TimeMachine continues to backup my computer over the weeks and months after, will it see that the files are no longer on my computer and then delete them from my hard drive? I just don't want to lose the music and pictures I'm deleting in order to make more room.

    Time Machine won't delete them from the backup drive until it runs out of space, but other things can. Put them on a second external drive and set Time Machine to back it up as well.
    (110783)

  • How can I automatically crop a photo based on its content (a black border)?

    I scanned hundred of negatives.
    The scanner produced .jpg files.  Most of the scanned images show the negatives holder to one side as a black border.  The black border is thicker or thinner depending on the photo.
    Please see pictures attached. 
    Is there a way to automate the detection of such a border and remove it by cropping the photo?  Ideally I would like the processing to only remove the thickness that is required to keep the photo unaltered as much as possible.
    I have Photoshop 12 and I know about Actions.  I just don't know how to tell the engine to only crop if it is required, and by how much.
    This could save me days of manual work.  Thankyou.
    Environment Information:
    ·  I am running Photoshop 12.1 *64 bit
    ·  Windows 7 Professional 64 bit
    ·  Amount of installed RAM: 6GB
    ·       Scanner:  Canon CanoScan 8800F
    ·  Amount of free disk space:
                C:\ - OS and Software disk - Total size:139GB showing 20GB free
                G:\ - Data disk - Total size:1.81 TB showing 437GB free
    ·  Make/Model of Video Card: NVIDIA GeForce 9600 GT

    Thank you miss marple for your Image>Canvas Size... suggestion.  I used it to implement a semi automated process.
    I programmed a couple of actions:
    - one to trim all sides by 7 pixels
    - one to trim the top side by 7 pixles
    Then I assigned a shortcut key to each action.
    Since I have to open each photo individually anyway to remove larger scratches (see my other post), it is easy to hit a couple of keyboard keys to trigger the relevant 'border removal' action.
    The main thing is that in 95% of cases I don't have to use the mouse to fix the borders, but I use keyboard keys only.  It is a real time saver.

  • I can not open a disk image to install its contents

    Disk Image Mounter is missing from my system. Also Disk Utility and Disk Copy both quit in mid start as do a number of third party apps. Also System Preferences tends to lock up when changes are made to certain panes.

    Hi PLYNKMac, and a warm welcome to the forums!
    Could be many things, we should start with this...
    "Try Disk Utility
    1. Insert the Mac OS X Tiger Install disc that came with your computer, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu. (In Mac OS X 10.4 or later, you must select your language first.)
    *Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair. Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    (Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)
    The usual reason why updates fail or mess things up, is if Permissions are not fixed before & after every update, with a reboot... you may get a partial update when the installer finds it doesn't have Permissions to change one obscure little part of the OS, leaving you with a mix of OS versions.
    Some people get away without Repairing Permissions for years, some for only days.
    If Permissions are wrong before applying an update, you could get mixed OS versions, if Directory is the slightest messed up, who knows!
    If many Permission are repaired, or any Directory errors are found, you may need to re-apply some the latest/biggest updates.
    May even need to do an Archive and Install if you have room on the HD, but saves all your files and gives a new OS...
    http://docs.info.apple.com/article.html?artnum=107120
    I only use Software Update to see what is needed, then get them for real via...
    http://www.apple.com/support/downloads/
    That way I can wait a week or so, check the forums for potential problems, and get Permissions & such in order before installing.
    If all the above fails, then it appears to be time for a relatively painless Archive & Install, which gives you a new/old OS, but can preserve all your files, pics, music, settings, etc., as long as you have plenty of free disk space and no Disk corruption, and is relatively quick & painless...
    http://docs.info.apple.com/article.html?artnum=107120
    Just be sure to select Preserve Users & Settings.

  • How can i refresh my 5s that erase all its content to factry reset

    I tried to reset my 5s they asked me pascode in typed 0000 its my pascode then it again asked me pascode i retyped it never hapened before well i retyoed it says incorect in redbar i tried few atempts the jt says try after 5 minuts then 15 then 60 minuts

    Forgot Lock or Restrictions Passcode, Need to Restore Your Device: Alternative Solutions
    A
    1. iOS- Forgotten passcode or device disabled after entering wrong passcode
    2.Forgot passcode for your iPhone, iPad, or iPod touch, or your device is disabled - Apple Support
    3. iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
    Forgotten Restrictions Passcode Help
               1. iPad,iPod,iPod Touch Recovery Mode
               2. About Restrictions (parental controls) on iPhone, iPad, and iPod touch - Apple Support
    You will need to restore your device as New to remove a Restrictions passcode. Go through the normal process to restore your device, but when you see the options to restore as New or from a backup, be sure to choose New.
    You can restore from a backup if you have one from BEFORE you set the restrictions passcode.
    If none of the above work for you, then:
    Follow these steps to place your iOS device into recovery mode. If your iOS device is already in recovery mode, you can proceed immediately to step 6.
       1. Disconnect the USB cable from the iPhone, iPad, or iPod touch, but leave the
           other end of the cable connected to your computer's USB port.
       2. Turn off the device: Press and hold the Sleep/Wake button for a few seconds
           until the red slider appears, then slide the slider. Wait for the device to turn off.
                  * If you cannot turn off the device using the slider, press and hold the
                    Sleep/Wake and Home buttons at the same time. When the device turns off,
                    release the Sleep/Wake and Home buttons.
      3. While pressing and holding the Home button, reconnect the USB cable to the
           device. The device should turn on. Note: If you see the battery charge warning,
           let the device charge for at least ten minutes to ensure that the battery has some
           charge, and then start with step 2 again.
      4. Continue holding the Home button until you see the "Connect to iTunes" screen.
           When this screen appears you can release the Home button:
      5. If necessary, open iTunes. You should see the following "recovery mode" alert:
      6. Use iTunes to restore the device.
    If you don't see the "Connect to iTunes" screen, try these steps again. If you see the "Connect to iTunes" screen but the device does not appear in iTunes, see this article and its related links.
    Note: When using recovery mode, you can only restore the device. All user content on the device will be erased, but if you had previously synced with iTunes on this computer, you can restore from a previous backup. See this article for more information.

  • After reopening dreamweaver files, the table and its contents are not shown in design view

    I got a problem with deisgn view which has stucked me for the whole week. I've designed a webpage with dreamweaver CS4. After reopening this webpage, I got problem to see the tables and images inserted in dreamweaver (the sliced images from fireworks works well). Somehow this problem only existed in design view, but NOT is browswer view/ live view.  I thought it is the setting problem, but I tried to reopen the webpage I designed earlier... got no problem in either design or live view. I also tried starting over another new file, same problem existed (tables/images do not show in design view) I am really confused. Any thoughts?
    I've already done my research everywhere, but cannot find solution.

    Thank you so much... it works...
    I should come here earlier... wasted lots of time !! 

  • "Auto-Detect" BPM which matches the step sensor or accelerometer's BPM

    I was excited about Spotify running but now, not so much. You have to manually set your BPM! There are plenty of other products which promised to match the music to your footsteps, but this is not one of them.
    Please use my $600 pocket sized super computer to it's full potential and detect my foot steps per minute and play music to my steps not the other way around.

    Updated: 2015-07-21Hey there!
    On which platform are you on?
    On iOS it should auto-detect the speed at the beginning of your run.

  • Fax to Email using the Same DID (Auto Detect) Cisco 2911 GW

    Have a Customer that is wanting a Call into a DID that will Auto Detect the Fax tone and email that particular fax User's Email address using the same DID as their phone.  
    The system we are installing is CUCM 10.X and CUC 10.X on a UCS C220.  They have PRI's.
    * For Unity Connection to do this, it requires a Fax Server as far as we know.  We read that Cisco had a Feasable method Natively on CUC, but nothing real concrete as to the steps to get that working without a Fax Server.
    * For an IOS gateway to perform Fax detection, there is a 9 Second Call Delay (Major inconvenience) that must process before delivering the call as either Voice or Fax.  This would be for 90 user's, which could be an issue.
    What would need to be done in the Gateway to get this working if we went the Native method?
     Any help is appreciated.
    Thanks

    I've never done this natively in CUC.  Here's a guide that covers how to do it with the Fax server integration if that helps:
    http://docwiki.cisco.com/wiki/Configuring_Fax_Detection_%28Single-Number_Voice_and_Fax%29_with_Cisco_Unity_Connection

Maybe you are looking for

  • How to setup bypass the apps is not working

    i am go to setting and then i am set contact and teset add update this is called bypass but how to fix it apps is not working please

  • I have multiple devices and don't want everything shared between them. How do I fix that?

    I have and iphone and three ipods in my home. They are all connected to my apple id and everything ends up being shared between them. Can I make seperate accounts for each of them, but have them all attached to my credit card? Thanks for any help!!!

  • NW65sp8 multiple abends

    Hi, I have several netware servers that have been experience abends multiple times during the course of the day. I have applied several service packs n65nss8c, tcpip nwsp8, and one server (they are vm's running on esxi 4.10. I even went so far as to

  • Can't tag a file even using get info

    Using Macbook Pro, OS 10.9.5 Want to tag certain .dng files. Some files have the tag button greyed out. Went to Get Info, won't allow tags there. File not locked. I have admin read/write priviledges. This is a local file not networked. What is going

  • Hundreds of errors when loading Java WEBDynpro project .

    Hello all, Almost a year ago, we built some custom webdynpro iviews. Until now everything works fine, but the customer has requested some minor changes . So I connected to the dev server and loaded the track we had created for this project. The probl