Sorting of Variables

Hi,
A Currency translation variable is created for a key figure and and is pulled at query level as an variable.Everything is working fine but the user wants the variable positioned as the last variable and as of now it is appearing at second position in the list of variables.
Could anybody guide me in this regard?
Thanks & Points would be rewarded for good answers.

Hi,
Try this out:
firstly remove the currency translation key (the one which has variable) from your Query and save the Qurey...Now add the currency translation key and save the Query.hope it will work out.
Thanks

Similar Messages

  • Sorting on variable

    Hi friends,
    I want to sort my output by deliver date and i fetch del date in one variable
    see like that
    SELECT SINGLE eket~eindt FROM eket INTO (l_eindt)
        WHERE ebeln = iekpo-ebeln AND ebelp = iekpo-ebelp.
        iekpo1-eindt = l_eindt.
    here I fetch delivery date in l_eindt. ok
    so now i want to sort this field.
    so plz tell me.its urgent so.
    Thnaks in advance.
    Prashant.

    Hi,
    How can you SORT one variable.It contains only one values.
    For this foolow below code.
    create internal table
         DATA : BEGIN  OF i_eket OCCURS 0,               
                          eindt LIKE eket-eindt,             
                     END OF i_eket.
    IF not iekpo[]  IS INITIAL.
    SELECT  eindt
    FROM eket
    INTO TABLE l_eket
    FOR ALL ENTRIES IN iekpo
    WHERE ebeln = iekpo-ebeln AND
                  ebelp = iekpo-ebelp.
    ENDIF.

  • How to Sort I variable of type VariableOneToOneMapping

    I am having a object mapping like this
    interface IUserName {
    public String getUserName();
    This method will be implemented by two class say A & B,Both the implementation looks like this
    class A implements IUserName {
    String name;
    public String getUserName() {
    return name;
    public void setUserName(String na) {
    name = nm;
    class c {
    ValueHolderInterface name= new ValueHolder();
    public IUserName getName(){
    return (IUserName ) name.getValue();
    Similarly the Class B also has the same implementation.The variable name in Cis mapped as VariableOneToOneMapping .i.e, name is mapped to Interface IUserName.
    Please let me know how to sort this expression name in the class C.
    I tried this
    ExpressionBuilder eb = new ExpressionBuilder()
    Expression exp = eb.get("name").get("name").ascending();
    ReadAllQuery ra = new ReadAllQuery(c.class);
    ra.setOrderByExpressions(exp);
    But I am getting the exception like this ----->
    (ERROR) Exception thrown while executing query. EXCEPTION [TOPLINK-6072] (TopLink - 9.0.3.5 (Build 436)): oracle.toplink.exceptions.QueryException EXCEPTION DESCRIPTION: Querying across a VariableOneToOneMapping is not supported.
    Please let me know how to overcome this issue.

    It is not possible to perform a joining query across a variable class 1:1 mapping. If you need this sort of querying I would recommend using a shared table between your interface implementers and inheritance. Then you can have a relationship to the root class and query on the shared attributes.
    Doug

  • Sorting in the variable screen

    Hello,
    I use BW 7.0 and have a problem with the variable screen.
    In the web-report I have three queries with different and same variables. I know that I can adjust the sorting of variables in the query designer. But this has no affect to the sorting of the variable screen.
    Does anybody know a solution?
    thanks
    bertl

    Hi,
    You can sort the Char.Values by doing settings in Query Designer :
    Say for 0calmonth :
    In its Display properties tab,You select appropriate options in
    Sort Char -> select the name
    sort by -> Key/Text
    Sort Direction -> Ascending/Descending.
    You will then have them in required order.
    ALso if you want it only for F4 help:
    In F4 help screen,you will see two arrow buttons next to Char. name. they are useful for sorting the values to either descending or ascending.
    Hope it helps:)

  • Report Painter selection variables sorting

    I have added a number of characteristics to my report painter report and set some as variables
    i.e. plan version 1, plan version 2, plan version 3, plan version 1 year, plan version 2 year, plan version 3 year.
    These variables appear on the selection screen in the following order;
    plan version 1,
    plan version 2,
    plan version 3,
    plan version 1 year,
    plan version 2 year,
    plan version 3 year.
    What the business require is the variables to appear on the selection screen as follows;
    plan version 1,
    plan version 1 year,
    plan version 2,
    plan version 2 year,
    plan version 3,
    plan version 3 year
    Has anyone any idea how the selection screen sorts the variables?
    Can the selection screen sort order be changed for a report?
    Your assistance is appreciated
    John

    For Selection Screen, you can try to use Selection Variant.
    The steps are like this:
    a. Go to GRR2 (change report painter)
    b. Then choose the report you are developing
    c. Execute the report
    d. On the selection screen, choose Go To-> Variant -> Save As Variant
    e. At Variant Attributes screen, you can do the following as your requirement:
        ·        Description
    Enter a short, meaningful description of the variant. This can be up to 30 characters long.
    ·        Only for background processing
    Select this field if you want the variant to be available for background processing but not in dialog mode.
    ·        Protect variant
    Select this field if you want to prevent your variant being changed by other users.
    ·        Only display in catalog
    Select this field if you only want the variant name to be displayed in the variant catalog (and not when the user calls the F4 value help).
    ·        System variant
    This field cannot accept input. It is set automatically when a system variant (beginning with CUS& or SAP&) is created.
    You can also assign the following further attributes to the selections in a variant:
    ·        Type
    The system indicates here whether a field is a parameter (P) or a selection option (S).
    ·        Protected
    Select this column for each selection that you want to write-protect on the selection screen. These fields are visible on the selection screen when the user starts a program with the variant, but do not accept user input.
    ·        Invisible
    If you select this column, the system hides the corresponding field on the selection screen. This allows you to change the appearance of the selection screen.
    ·        Selection variable
    If you select this column, you can set the value of the corresponding selection dynamically at runtime. The different ways of doing this are explained in the section Variable Values in Variants.
    ·        Without values
    If you select this field, the contents of the corresponding field are not saved with the variant.
    This is useful if you do not want to overwrite the contents of this field on the selection screen.
    For example, suppose you create a report 'SAPTEST', with the parameter 'TEST', for which you create the variant 'TESTVARIANT'. In the variant, you set the 'Without values' flag for the parameter. Then, you run time program and enter the value 'ABCD' in the TEST field. If you now retrieve the 'TESTVARIANT' variant, the TEST field retains the value ABC instead of being overwritten by SPACE.
    ·        SPA/GPA
    This attribute only appears if you created the corresponding selection criterion using 'MEMORY ID xxxu2019. You can switch the SPA/GPA handling on and off in the variant. This means that fields filled using SPA/GPA appear with their initial values after you have loaded a variant in which those fields have an initial value.
    f. When you are finished, you can save it and name the variant (e.g.: Z_S_Screen for simpler selection screen)
    After that, every time you want to have the selection screen, you can choose Get Variant or Go To-> Variant-> and select the variant you have saved.
    More information at:
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/c0/980374e58611d194cc00a0c94260a5/frameset.htm
    Hope it helps
    Regards,
    -=Meila.S=-

  • How to sort selectionv variants in web applications?

    Hi,
    we have a web application comprising several queries into a dashboard built with WAD.
    The web application has to be started using a selection screen. Several selection variants have been setup, but they are sorted in a strange way.
    Is there a setting to sort the variants in a certain way?
    Thanks,
    Alexander Prill

    Dear Alexander,
    At the moment I don't think that there is a way to sort the variants. The sort order is according to the ID in table RSRPARAMETRIZA.
    Best regards,
    Janine
    Dear Eric,
    I think that your request is quite different. You are talking about sorting of variables in the variable screen of a web application. Please open a new request for this issue.
    Best regards,
    Janine

  • Report Attribute - Column Attribute - Sort

    I have a SQL Query (PL/SQL function body returning SQL Query) report. I have the number of returned limited to 100 rows (Report Attributes - Layout and Pagination - Max Row Count). When I run this report without any column sorts (none of the Column Attribute Sort columns are checked) it runs fast. If I set either the Sort Sequence, or check any one of the Sort columns, the report takes forever to run. This with only 100 rows on the report.
    Where is the sort being performed - Is the sort being performed within Oracle (meaning, in the database) or is it being sorted in Apex or on the Client?
    Note that there is no "order by" nor "group by" contained within the SQL - just a simple 2 table join (an inner join).

    Thank You, Thank You, Thank You.
    That is indeed the point I am trying to make.
    My report is a SQL Query (PL/SQL Function body returning SQL Query) and is based on information provided in several PopUp LOVs. The more LOVs used, the more information provided to the WHERE CLAUSE, and therefore the less data returned to the screen.
    When the End User produces a small report, they are likely to want to sort it.
    But when they bring back huge amounts of data, they don't want it sorted. Especially not automatically sorted.
    In most cases, this is happening when we are joining two or three tables with say 10 million rows on each table. The join condition is good (meaning there is not a Cartesian Product) but the resultant data is 10 million rows - something you not likely want to sort. Even with a limit on the number of rows returned (Report Attributes - Layout and Pagination - Max Row Count) to something reasonable, like 500, the 10 million resultant rows are first being sorted and then the first 500 returned.
    So, yes, a "sort-enabled" report should NOT automatically sort. Which is what is happening.
    Of course, it might be a good thing to have some sort of Variable that we could set on a page to decide if we want automatic sorting. On most pages, an automatic sort is great - as the amount of data returned will always be small.
    On the pages where I have this problem, it would be great to do the automatic sort when one or more of the PopUp LOVs are populated. So, within a "After Submit" process I might want to turn automatic sorting on.
    Hey, if we are going to ask for an enhancement/change, we might as well ask for something really flexible.

  • Sort-group in alv

    hi wat r the possible values tht can be passed for sort-group variable in alv report

    The only possible values for this field are.....
    *     Page feed    (incl. underline)
    UL     Underline
    This comes directly from the domain SLIS_CTRLS which is tied to this field.
    Regards,
    Rich Heilman
    Message was edited by:
            Rich Heilman

  • Webi report: Issue Cannot retrieve dimensions from Cube

    Hello Experts,  We're facing an issue with a partical set of Webi reports in Quality environment. The reports are BW reports based on OLAP BICS connectivity on top of Bex queries.y  Below is the scenario and the issue:  1. The backed Bex queries have been trasported to Quality BW system and they're running fine when run from RSRT or Bex analyzer. 2.The Webi reports along with the BICS connections have been migrated to the Quality box and the BICS connections have been editied so that they point to the Quality BOX bex queries and they're testing and responding to the connection successfully. 3. The Webi reports pointed to the Dev Box in the Dev BOBJ system are working fine, but when the same reports for which the connections were repointed in Quality as above, are giving the error "Cannot Retrieve Dimensions from Cube".  Steps taken: a. Deleted the reports and the BICS connection from Quality environment and remigrated the reports,connecitons and changed the connecitons but still the issue persists. b.Tried finding the root cause and got the following issue in the Bex query in Quality: There are filters put in the Bex query . All other filters are working fine except 0CALMONTH. We tried putting all sorts of variables on 0CALMONTH, but the moment a variable is put on 0CALMONTH, this issue occurs. But when we tried removing the variable from 0CALMONTH in filters and restricted it to a single value, the Report works fine.  However the same is not an issue in the Dev Box and all queries with similar variables are working fine.  So we're thinking this might be an issue on the BW backend and the cube might have to be transported again to the Quality Box.  ANy quick suggestions or inputs on this would be greatly appreciated.  Thanks and regards, Abhishek

    Hi Abhishek,
    I am facing same issue.Have you resolve this issue?
    Regards,
    Rajesh

  • How to create a type of 'alarm event' based on acquired sensor data and system time?

    Hello all,
    I'm fairly new to LabVIEW and have successfully created a VI that reads voltage data from sensors.  Each sensor outputs 2 voltage values and I treat these values as 2 different DBL values.  I'd like to be able to record each voltage value as a base and then compare the subsequent data readings with that base.  Once the base is determined, I'd like a sort of 'variable' set as "TIME" to be recorded at the moment the base voltage is recorded.
    The alarm should occur (or anything Boolean set to TRUE I guess) once the continuously read voltage remains within certain limits for about 2 hours.  I know I can compare the system time w/ the "TIME" that the voltage base value was recorded.  If the voltage readings escape those limits, I'd like the voltage base value reset and the TIME set to the corresponding system time again.
    I apologize in advance if this I haven't' described my problem well, but if anyone could help me figure out the best way to create this code, I would appreciate it much!
    Thanks!
    Solved!
    Go to Solution.

    ill try to illustrate a couple scenarios:
    keep in mind that i dont necessarily want the voltages in these specific ranges, but just a range of +/- 20 mV ... in an above post i refer to a "base" voltage reading, in this case that would be 200 mV for V1 and 400 mV for V2, just because the voltage has shifted to those values for an extended amount of time each (> 2 seconds)
    Scenario 1
    1:00 pm
    Sensor readings
    Voltage 1: 200 mV
    Voltage 2: 400 mV
    between 1:00 and 3:00 pm:
    Voltage 1 does not deviate from 180-220 mV range
    Voltage 2 does not deviate from 380-420 mV range
    at 3:00pm I want an alert/alarm/Boolean to change to 'true'
    Scenario 2
    1:00 pm
    Sensor readings
    Voltage 1: 200 mV
    Voltage 2: 400 mV
    at 1:45 pm:
    Voltage 1: 2 mV
    Voltage 2: 600 mV
    Since the voltage has shifted out of the range, i want the new base voltage to equal whatever it changed to out of the range, and also the time spent within the new range (2 +/- 20 mV and 600 +/- 20 mV, respectively for V1 and V2) would be reset, so a new 2-hour counter would begin

  • Sending reports to various recipients using a data field on the report

    Hi,
    I am currently running Crystal Reports Server 2008 with SP 3  applied.
    I was wondering if this was possible.
    I have a report that I would like to be sent to an email address field on the table that the report runs from. Fields are something like this:
    Amount Due, Invoice #, Client's email address, Date
    What I would like CRS to do is send out emails depending on what's on the table. Obviously I would need the server to send out the report to a particular client with only the records that should be for them.
    I, for some reason, thought there was an ability to add a field from the report on the email itself using brackets or some sort of variable but I'm not sure if this is true.
    If anyone can help, I would appreciate it greatly.
    Thanks!

    You can use Publications for that. As far as I know this should be supported natively in CRS 2008 with SP3.
    Take a look at the demo on building a data-driver publication here:
    http://www.sap.com/solutions/sap-crystal-solutions/information-infrastructure/sapcrystalserver/featuresfunctions/index.epx
    You have to have CALs (concurrent access licenses) though.
    Regards,
    Stratos

  • Login with conditions problems

    What is wrong with this function? I am trying to create a
    user login that
    checks to make sure the user is in the database first, then
    check the active
    level. If the level is 1 then set sessions and redirect, if 2
    then redirect
    to the login page and send a URL variable of
    account=suspended, if 0 then
    redirect to the login page sending a URL variable of
    account=inactive, etc.
    I want to query the db first to see if the user is in the
    datasbase. If yes,
    then check the active number. I am getting this error in the
    conditional
    statement to check the 'active' column.
    'You have attempted to dereference a scalar variable of type
    class
    java.lang.String as a structure with members'
    What am I missing?
    <cffunction name="UserLogin" access="remote"
    returntype="void">
    <cfargument name="username" type="string"
    required="yes">
    <cfargument name="password" type="string"
    required="yes">
    <cfquery name="login" datasource="***">
    Select username, password, priv FROM users_database
    WHERE username='#arguments.username#' AND
    password='#arguments.password#'
    </cfquery>
    <cfif login.recordcount NEQ 0>
    <cfif login.active EQ 1>
    <cflock scope="session" timeout="30" type="exclusive">
    <cfset Session.MM_Username = #arguments.username#>
    <cfset Session.SitePriv = #login.priv#>
    </cflock>
    <cflocation url="/clinic/contribute/main/index.cfm"
    addtoken="no">
    <cfelseif login.active EQ 0>
    <cflocation
    url="/clinic/contribute/index.cfm?account=inactive"
    addtoken="no">
    <cfelseif login.active EQ 2>
    <cflocation
    url="/clinic/contribute/index.cfm?account=suspended"
    addtoken="no">
    <cfelseif login.active EQ 3>
    <cflocation
    url="/clinic/contribute/index.cfm?account=banned"
    addtoken="no">
    </cfif>
    <cfelse>
    <cflocation
    url="/clinic/contribute/index.cfm?login=failed" addtoken="no">
    </cfif>
    </cffunction>

    Sabaidee as covered why your code didn't work. here's some
    more pointers
    where your code could be improved...
    > <cffunction name="UserLogin" access="remote"
    returntype="void">
    Set output="false" on all methods unless you actually are
    outputting stuff
    from them (which generally you should not).
    I doubt this method would be appropriate for calling as a
    webservice (given
    it ends with a <cflocation>), so don't expose it as
    one. access="public".
    Add hints to all your <cffunction> and
    <cfargument> tags. It assists
    sanity checking and code documentation.
    > <cfquery name="login" datasource="***">
    You have not VARed the login variable. This is poor practice
    unless you
    explicitly mean to not VAR it.
    > WHERE username='#arguments.username#' AND
    password='#arguments.password#'
    Always use <cfqueryparam> tags. It improves performance
    and reduces memory
    consumption on your DB server.
    > <cflock scope="session" timeout="30"
    type="exclusive">
    > <cfset Session.MM_Username = #arguments.username#>
    > <cfset Session.SitePriv = #login.priv#>
    > </cflock>
    There's no need to lock this sort of variable assignment.
    > <cflocation url="/clinic/contribute/main/index.cfm"
    addtoken="no">
    It's pretty poor practice to use <cflocation> within a
    function. You CFM
    page should call a method, and get a response back from it.
    And then the
    CFM page should decide whether to <cflocation> or not.
    Possibly your
    function should set the URL for the <cflocation> and
    return the value.
    Then the calling code should use than in a <cflocation>
    call.
    > <cfelseif login.active EQ 0>
    This if/elseif/else construct would be better done as a
    switch. Rule of
    thumb: evaluating the same variable for many conditions:
    switch.
    evaluating different variables for many conditions:
    if/elseif/else.
    Adam

  • Formulas containing stringVar assignments will not display with CrystalReportViewer.jsp

    <p>I have removed the last post because I have done extensive testing today and have narrowed down my problem. The following formula will display in Crystal Reports XI just fine:</p><p>stringVar x := {Command.STREET} + " : " + {Command.VALID};</p><p>x;</p><p>Yet when deployed onto our weblogic server, this formula field comes up blank. If I change the formula to:</p><p> {Command.STREET} + " : " + {Command.VALID};</p><p> </p><p>the formula is displayed fine both in Crystal and on our website. </p><p>Our formula is for appending a massive address field together that has possible null values and inserts a special character if a null value is present so the end user knows "Hey, this guy didn&#39;t supply us with his zip code" or whatever the case may be. We NEED some sort of variable declaration in our formulas and then have them displayed over WebLogic. If there is any hack around or any update or something that we need to implement, please let me know. </p><p>-Sam M</p><p>HBF Group, Inc </p><p> </p>

    <p>fixed this by changing the formula to: </p><p>Local StringVar x := {Command.STREET} + " : " + {Command.VALID};</p> <p>x;</p><p>Talk about sensitive code.</p><p>-Sam </p><p> </p>

  • Screen - exits - step by step simple examples

    hi ,
    i am new to user exits.
    pls help me by giving step by step example for creating a subscreen with 2 fields , and incorporate with some standard sap transactions.
    there are many who discussed the same topic in the forum ,but i find confusing.
    *so please don't give me the links, take standard transaction and provide me step by step .
    Thank you.
    regards
    Sree

    hi,
    SAP provides standard transactions to enter data into database. But a client may want to maintain some additional information in SAP other than what is provided.
    To make provisions for this, additional screens have to be provided and additional fields must be added into appropriate database table.
    To pave way for this, SAP has provided the option for screen exits. Usually, SAP provides the following:
    An append structure in the database table with the new fields.
    A subscreen area into the standard screen u2013 where the programmer can attach his subscreen of his own program with the new fields.
    A function group under which the new subscreen has to be created with the new fields.
    Function exits to synchronize the PBO and PAI of the standard SAP program with the PBO and PAI of the subscreen u2013 so that data can flow back and forth between the standard SAP program and the program written by the developer for the subscreen. These function modules also exist in the same function group under which the subscreen will have to be developed.
    Finally, a linkage has to be done between the subscreen area of standard SAP screen with the custom subscreen constructed by the developer.
    Typically, SAP provides an enhancement in which the developer can create an append structure, use the function exits to synchronize the PBO and PAI of the standard SAP program and the custom subscreen program, and make the necessary linking( as mentioned above in step 4. But, again, this is not a hard and fast rule. Linking in some case, is also done by configurations.) SAP also usually provides the name of the function group under which the subscreen has to be developed.
    Necessary guidance about implementing a screen exit development is usually available in the Documentation section of the enhancement ( can be availed by transaction SMOD).
    Pre-Requisites
    The developer to work on screen exit should have essential knowledge on the following:
    DDIC concepts, including the knowledge of append structure.
    Concept of SAP Enhancements and implementing them using Projects.
    Concept of function exits.
    Knowledge on Module Pool u2013 including subscreens, Tabstrip controls etc.
    Steps
    Guidelines
    So, a developer can follow the guidelines mentioned below to implement a screen exit to a standard SAP transaction, as and when required:
    Find out the Required Enhancements
    Go to SMOD. Press F4 in the Enhancement field. In the next popup window, click pushbutton u2018SAP Applicationsu2019. A list will appear that contains information on all the enhancements, categorized under functional areas. Developer must search for the enhancements relevant to his functional area of interest u2013 for e.g., Purchasing, Asset Accounting, etc.
    Note down the enhancements. Then, come to the initial screen of SMOD and view the documentation of each enhancement to find out which one is required for your development.
    Utilize the Enhancement in a Project
    After you have found one, do as directed in the documentation. Generally, the steps are as follows:
    Create a project using CMOD including your enhancement.
    Create the append structure with new fields.
    Go to the desired function group and create a subscreen with the new fields. Write PBO and PAI for the subscreen, if required.
    Use the function exits in the enhancement to link the PBO and PAI of the subscreen with that of the main SAP program supporting the SAP transaction.
    Maintain necessary linkage between the subscreen area of standard SAP program with the custom subscreen developed along with the custom program name. This can be done in the project (developed by CMOD including the enhancement) or outside as a part of configuration.
    Activate the project.
    Test to ensure that required functionality are met.
    Case Study 1
    Add three new custom fields for Asset master and maintain information for them
    Requirement
    Three fields in the legacy system have to be maintained in Asset master. These fields are:
    Original Asset number u2013 20 characters
    Location 2 u2013 15 Characters.
    Model no u2013 20 characters
    Location 2 should start with u2018Lu2019.
    Pre-Analysis
    Finding out the Enhancement
    As described above, the enhancement is determined. It was found, that enhancement AIST0002 will serve the purpose. It contains the following components (can be viewed by transaction SMOD):
    Exit Type Description EXIT_SAPL1022_001 Function Exit Check of User-Defined Fields when Using Create and Change BAPI EXIT_SAPLAIST_002 Function Exit Transfer Data for User Subscreens in PBO. EXIT_SAPLAIST_003 Function Exit Transfer of User-Defined Fields to SAP Master Data Transactions CI_ANLU Customizing Include Include structure to add new fields
    Studying the Function Exits
    The function module level documentation for the function exits are then viewed from transaction SE37. The documentation clearly laid out for the purpose for their use:
    EXIT_SAPLAIST_002
    Function module Level Documentation
    This function module is called by asset master data maintenance at the start of the dialog. (When changing, it is called after reading of the data from the database; when creating it is called after the transfer of the default values from the asset class and reference asset.) The purpose of the function module is to enable this function group to recognize the master data. For interpreting or controlling master data fields that are important for user fields, it is possible to transfer to global variables at this point, so that they can be recognized when the user subscreens are processed.
    Import Parameters
    Understanding
    This function module is called at the PBO to pass the information retrieved from the database to pass them to the custom subscreen and its underlying program. Import parameter : I_ANLU will be populated with the values for user-defined fields which will be passed to the subscreen program. So, there must be some sort of variable assignment from I_ANLU.
    EXIT_SAPLAIST_003
    Function module Documentation: This function module is called by SAP asset master data maintenance after the screens are processed, but before saving. The purpose of the function module is to transfer fields entered on user sub-screens of SAP asset data maintenance to the database for updating. The export parameter for this function module is:
    Understanding
    This function module will be used to transfer the user entered data in the subscreen fields to the main SAP program, which will then be saved into the database.
    Studying the Documentation of the Enhancement
    The enhancement documentation (as is viewed from the initial screen of SMOD] also supports the idea. Moreover, it informs that we need to develop a subscreen under function group XAIS. This is the function group under which the two function exit modules also exist. So, if the custom subscreen refers to the global data of the function group XAIS, then those values will also be available to these function exits as well.
    Going to SE80 and viewing the function group XAIS helps us to inform that there are three DDIC tables declared for it:
    Deciding the Final course of Action
    After making all the investigations, the final course of action was determined.
    SrlNo Step Justification
    A project has to be created using transaction CMOD where the enhancement AIST0002 will be included.
    Customizing include CI_ANLU has to be created with the custom fields demanded When CI_ANLU will be developed, the custom fields will get appended to the database table ANLU. Also, these fields will be used to create screen fields in the new subscreen.
    A custom subscreen, say, 9000 will be developed under function group XAIS. The screen group for the screen will be u2018CUSTu2019 (or any name). The three custom fields added to table ANLU (by creating CI_ANLU) will be used to create new fields in the screen.
    In the PAI of the subscreen, validation for Location to start with u2018Lu2019 will be added. The subscreen with three new fields has to be developed so that it can be attached to a subscreen area of the asset master screens.
    In the custom include of the function exit module u2018EXIT_SAPLAIST_002u2019, the following code will be written:-
    ANLU = I_ANLU. I_ANLU is the import parameter of this FM. The value is assigned to the global variable ANLU, referring which the three new subscreen fields are developed. So, data retrieved from database table ANLU will be passed to this FM as I_ANLU by the standard SAP main program. The value will be taken and passed to the global variable of the function group XAIS, so that the three custom fields (referring to ANLU of XAIS) get populated.
    In the custom include of the function exit module u2018EXIT_SAPLAIST_003u2019, the following code will be written:-
    E_ANLU = ANLU. The changed values in the subscreen fields exist in global variable ANLU for the function group XAIS. This function exit module will pass the data back to the SAP main program as E_ANLU.
    Proper linkage/configuration has to be done so that the new subscreens get linked to the appropriate subscreen area of the Asset master screen. This has to be done u2013 otherwise, the new custom subscreen will not be displayed in the Asset master screens.
    Development
    Creating a Project to include the enhancement
    Go to transaction CMOD and create a project.
    Enter a description for the project. Then, click on the pushbutton u2018Enhancement Assignmentsu2019 in the Application Toolbar.
    Enter the name of the enhancement and Save.
    Go to u2018Componentsu2019.
    Creating Custom Include for ANLU
    The screen shown below will appear, showing all the enhancement components under the assignment AIST0002. Double-click on the name of the Include Structure to create it.
    Create the include structure with three new fields, as required. Then, save and activate it.
    Develop the subscreen and the program
    Go to transaction SE80. For the function group XAIS, create a new subscreen 9000.
    Create it as subscreen.
    Then, go to the Layout of the screen and create three new fields from Database table ANLU.
    Drag the fields in the screen body and place them.
    Then, save and activate the screen and come back to screen flow editor.
    Create the PAI module to add validation for field u201CLocation 2u201D, as required .
    Activate the whole function group and come out.
    Write code in the Function Exits to synchronize the programs
    Now, code has to be written in the function modules EXIT_SAPLAIST_002 and EXIT_SAPLAIST_003 so that data flows to and fro between the main SAP program and custom subscreen program. For that, go back to transaction CMOD and change the function exits.
    Write code in the function module EXIT_SAPLAIST_002 called once at the beginning of the transaction:
    Write code in EXIT_SAPLAIST_003 to pass the data from the subscreen to SAP main program.
    Then, activate everything u2013 the whole project and come out.
    Complete the configuration to link the subscreen
    The development portion is complete. Now, linking of the subscreen has to be done with the subscreen area of the main program. In most of the cases, this linking can be done in the enhancement itself. But, here, requirement is a bit different. It is done by configuration using SPRO.
    Assets are created under Asset class. And for each asset class, there is a layout assigned to it. For a layout, there are multiple tab pages assigned to it. And, for each tab page, there are multiple screen groups/field groups assigned.
    Here, the requirement is to create these three custom fields in the tab page u2018Generalu2019 of asset master screen ( AS01/AS02/AS03/AS91).
    Determine the Layout
    To achieve this, first of all, we need to find out which layout is assigned to asset class 1000.For that, go to transaction AOLK( information has to be obtained from functional consultant).Select the Asset Class u20181000u2019 and click on folder u2018General Assignment of Layoutu2019.
    Here, for Asset class 1000, for all the user groups, tab layout SAP is assigned. Since layout u2018SAPu2019 cannot be changed, it has to be copied and manipulated to include our screen group. Later, the new layout has to be assigned over here.
    Create new tab layout
    Go to transaction AOLA. Copy the tab layout u2018SAPu2019 to create another layout, say, YSUB.
    System will copy all the settings and will inform you about that.
    Select your newly created layout and double-click on the folder u2018Tab page titlesu2019.
    You want to put your custom fields in the tab page u201CGeneralu201D. So, select this tab page entry and double-click on the folder "Position of Groups".
    Here, all the field groups currently residing in the tab-page u201CGeneralu201D are shown. Add an entry for your newly created fields.
    Select the group box from the list. An entry will come with u201CUu201D padded with the custom subscreen prepared by you.
    Then, save and come out.
    Assign the new Layout to Asset Class
    Now, go to tcode AOLK and assign tab layout YSUB for asset class 1000.
    Save and come out.
    Test the Exit
    Everything is over. Now, go to transaction code AS01/02/03 or AS91 to deal with an asset of asset class 1000. You will see your new fields added to the screen. Add values to themu2026save. Then, enter into the tcodes again to see whether the values entered by you are being displayed or not.

  • How to use an dynamic text from Flash in FlashBuilder with swf ?

    Hello,
    i'm trying to develop a game in flex builder and i got a problem with the dymanic text i've imported from flash. I want to insert a scoreboard in my application and for doing that i should use dynamic text in flash. I create a dynamic text in flash and then a import it to Flash Builder in a movie clip, and i called the dynamic text "Score". Now i've tried to use the "Score" variable to change the value of the dynamic text box un my flash builder application, but it doesn't change anything.
    I read somewhere that i've got to use the score.text value to change the number of my score but that doesn't works because Flash Builder tells me that this sort of variable don't contain the .text value.
    Thank you for trying to help me.
    bye.

    Thanks Ned,
    I always welcome learning something new.
    I did not know creating a new keyframe,
    creates a new instance.
    Yes, I had used the same dynamic text field instance name in
    numerous, new layers (great observation).
    With the objective to display the User's name throughout
    the timeline (on and off)...
    I'll attempt to paraphrase your solution;
    Use a single layer to display the dynamic text field.
    Extend this layer's timeline throughout the movie, or end use of the dynamic text field.
    Help with this one ??
    Set the visible properties to true or false as need through out the timeline.
    ( Does require an AS3 ? )
    I'll give that a try.....
    ~~
    Side of effect of using the above solution;
    The SWF in it's attempted state, uses the dynamic text field instance, in
    different places, different text sizes, on the stage, throughout the Movie.
    (i.e. the User's first name appears in different sentences...)
    Per the solution above,
    I believe I will be limited to One location, one format setting.
    Is this assumption correct?
    I can make this work from a display / Movie point of view.
    However, your first VAR concept, noted above, might be
    worth exploring should more flexibility be required.
    Thanks for making the time to coach...
    D-

Maybe you are looking for

  • New Camera RAW in Photoshop CC 2014 won't open multiple Panasonic RAW (.rw2) at the same time from Windows Explorer.

    New Camera RAW in Photoshop CC 2014 won't open multiple Panasonic RAW (.rw2) at the same time from Windows Explorer.  If I select 2 raw files and click "Open" Camera RAW will only open 1 raw, then when I click "Done" it will close and open the second

  • Connecting Yamaha keyboard to iMac through Midi

    Help!! I am trying to connect my keyboard to my iMac (10.5.8) for GarageBand. It is going from Midi out to USB. I went into the Utilities pane and saw the keyboard there. I went into GarageBand under preferences and it stated that it detected 1 midi

  • Report to generate all custom objects

    Dear experts, Is there any report or tool to generate all custom objects in system. I have to retrieve all custom reports, function modules, fuction groups, tcodes, data elements, domain, tables, views, search helps, partner profiles, rfc connections

  • SMB connection is read only

    I have tried several different ways to connect to a windows network drive using SMB and CIFS, using the sharename and the IP address.  I get the drive to appear on my computer, but it is always Read Only.  I can connect to the same drive using a VMWa

  • Can not download Windows Support Software on Bootcamp 5.0

    Hi guys, I'm running OS X Mountain Lion 10.8.2 and Bootcamp 5.0. Recently bought Windows 7 Home Prof. and installed it already via Bootcamp. All nice and well so far Only when I'm trying to download the windows support software it starts with the dow