Variable on atribute

Hi all,
I have  material group as attribute of material in Query designer.now i need to have variable on material group.How can i do it?
regards
murali

Hi,
<i>now i have dragged and dropped material group in the rows of Designer.Here we can see it as attribute of material</i>
It seems the BEx is not refreshed after changing the defination of cube. So after every change to cube, close all components relevent to BEx(sm04), and then reopen them.
you will see Material group as seperate characterstic under the dimesion to which the material is assigned.
With rgds,
Anil Kumar Sharma .P

Similar Messages

  • Variable Substitution - How do I use a segment atribute ?

    Hi all, I'm facing a problem with variable substitution in receiver comunication channel.
    I got the follow message:
    <?xml version="1.0" encoding="UTF-8"?>
    <lote nro="000262007">
        <etc>...</etc>
    </lote>
    I want to get atribute <b>nro</b> from segment lote to use in variable substitution, how can I do it?

    Variable sucstitution doesnt allow a way to achieve this.
    There could be some workarounds
    1. Use some dummy element in ur xml message with same value as tht of the attribute.
    2. Use adapter specific message attributes or dynamic file name functionality
    Regards,
    Prateek

  • Use of adapter specific mess atributes,variable transportbinding in mailada

    hi all.
    i just want to know what is the purpose of adapter specific message  atributes,variable transportbinding in mail reciever adapter .
    one more thing is wat for VARIABLE HEADER NAME1,NAME2,NAME3.
    waiting for your any great answer.
    bye.
    regards.
    seet

    check this for the receiver mail adapter
    http://help.sap.com/saphelp_nw70/helpdata/en/ae/d03341771b4c0de10000000a1550b0/frameset.htm
    this blog would help u more
    /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure

  • Using attributes from AdapterSpecificMessage in 'Variable Substution"

    Hi all,
    Is there any possibility of acceding to an atribute determined dynamically during mapping from Variable Substitution in a receiver FTP communication channel?
    This is the scenario:
    Inside mapping, we are determining a folder and storing it under header variable 'directory'. If I use 'Adapter Specific Message Attributes" directory, it works ok and writes the file into the appropiate folder.
    The thing is we need for development to store that file under the same structure but under another extra folder:
    If in QA it's /out/file, in DEV it should be /DEV/out/file .
    I was trying to do this this way:
    target directory = /DEV/%var1%
    Variable Substitution
    var1 = message:directory
    And obviously, it's not working. Do anybody know any way to access to that value from Variable Substitution?
    Thanks in advance, Iñaki.

    java.util.Map map = container.getTransformationParameters();
    String MSGID = (String)map.get(StreamTransformationConstants.MESSAGE_ID);
    return MSGID;
    Could not make it out what exactly you are asking for.....if you want ot access the Message Header variables then using the above code you can do so....just write which value you wan to access..check this link to know the message header fields:
    http://help.sap.com/saphelp_nw04/helpdata/en/b3/9a2aeb24dc4ab6b1855c99157529e4/content.htm

  • Variable creation on navigational attribute?

    HI all ,
    Can we create navigational  variable on navigational atribute .
    regards,
    Srinivas .

    Hi,
    When we make an attribute as navigational..then that attribute behaves exactly like any other characterstics.so
    you can create variables for the same in order to drilldown the query for detailed analysis on navigational attribute level.
    hope this is clear for you.
    Regards
    Ramsunder

  • Member variable verses method parameter to pass information

    Hi all,
    Is the a performance penalty in using method parameter, such as a String, to pass information into multiple methods( method1(String X), method2(String X), etc ) in a class verses using a class member variable to pass the information to the methods?
    Thanks.

    Never, ever, ever make a decision as to what should be parameter and what should be field based on this kind issue. If the value is reasoably part of the state of the object it should stored (or referenced by) a field. Otherwise it should not and so your left with it being a parameter or an atribute of some other object.
    There is little if any performance cost in passing a parameter (on the order of 10's to 100's of nanoseconds on modern computers and JVM's. Optimizing in this area will only noticeably impact performance of such calls if it needs to get performed 100's of thousands or millions of times per second. That generally excludes everything any of us is likely to write.
    Chuck

  • Variables on Attributes

    Hi,
    I have a requirement wherein I have to create variables on the attributes of the info object. Is it possible?
    For example, I have made keyfigures like Standard Price, Planned Price etc or for that matter Material Type, Material Group as the atributes of info object 0MAT_PLANT. Now I have to create variables on them. So, my question is can we do it?
    Thanks.

    Hi Bobs.
    Yes this is possible. You have to check the attributes as navigational attributes in both the info object and in the infocube definition.
    Hope it helps.
    BR
    Stefan

  • Embedded JARs and renaming variables

    Hi,
    I have two (quite unrelated) questions:
    1. While deploying my apps, I spotted a line in server.log:
    ".... contains one or more embedded jars. This will significantly decrease deployment performance. It is recommended to move the embedded ja
    r file(s) to top level of the EAR...."
    I have no idea what embedded jars are, but I'd be real happy to know any ways of speeding up deployment (it is painfully slow). Is it possible to configure .jar generation to follow the above recommendation ?
    2. Renaming variables in Business Rules:
    While editing BPs / PageFlows I can rename BPEL action nodes (i.e. from DBSelectOne to FindMyData) but the associated variables in the Business Rules are not renamed (i.e. they remain DBSelectOne.Output1 etc.).
    How can I rename these ?
    thanks,
    Tivadar

    2. The trick to getting oyu business process attributes to be named the way you would like them to be named is to create empty activities on the canvas, name them the way you would like to name them and then drag the operations into them. For example drag an emoty activity box, rename it to MyJMSSend then drag the JMS.send operatin into it. The BP atribute name will be MyJMSSend rathe rthan the customary JMS.send. If it is too late for you you can switch to BPEL source mode and so a juditious sear/replace on attribute names

  • Attributes : Variable

    Hi,
    I have requirement line this....
    I have plant which has an display attributes region for which i would like to create a varaible.. is it possible to create a variable for display atributes....
    because i have plant which has diffrent region and user would like to enter the value manually for the region which is an display attribute..
    Any one has exp the same .. please let me know...
    thanks
    Sonu

    You cannot create a variable for a display attribute. If the attribute is data or number, we can do restriction by round-about ways by creating a formula variable and then applying a condition on that.
    However, the ideal approach would be to make the attribute a navigational attribute. This will make it available for making restrictions and for creating variables.
    ~ Arun KK

  • VARIABLES IN FORM NOT IN PROCEDURE: CHECKBOX

    We have started getting intermittant errors on a page, in places that were previously OK, yet no change was made to those particular objects.
    The browser displays the following:
    Not Found
    The requested URL /pls/apex/wwv_flow.accept was not found on this server.
    Oracle-Application-Server-10g/10.1.2.0.2 Oracle-HTTP-Server Server at <host> Port 7778
    The Apache error log shows the following:
    mod_plsql: /pls/apex/wwv_flow.accept HTTP-404
    wwv_flow.accept: SIGNATURE (parameter names) MISMATCH
    VARIABLES IN FORM NOT IN PROCEDURE: CHECKBOX
    NON-DEFAULT VARIABLES IN PROCEDURE NOT IN FORM:
    Application Express version: 3.2.0.00.27
    RDBMS version: 10.2.0.4
    Just wondering if we have reached some sort of resource limit here, and if so, is there a solution that doesn't involve deleting page objects?
    Further info: For troubleshooting, the entire application was exported from production and imported into the other 2 environments.
    Results: Production - OK
    UAT - OK
    Development - errors as above
    The code and db structures between these environments are identical - even the data is the same having refreshed the schemas from prod also.

    I was given this exception when trying to submit a form with radiobuttons, and no default cheked.
    It's intermittent behaviour was explained because of the nature of the code. It printed the input depending on some clients atributes, so that in some cases it would only print input without the 'cheked' property.
    Some workflow wouldn't print any radiobutton wirh the 'cheked' value, giving the user the posibility of not sending data on the parameter:
    <input type="radio" name="boletin" value="S" checked>
    Hope it helps!

  • Empty Dropdown after adding variable reference to

    Hi ,
    I am facing a problem while trying to convert the currency from the report result.After right click and select Gloal currency translation ,it is giving me an empty dropdown menu.
    If I give a fixed date in the currency translation type in T- code RSCUR ,it works fine ,I get all the translation type I created in the dropdown menu.When I give a variable for time reference
    dropdown menu is empty.have anyone faced this earlier?
    we are on BI platform
    Thx
    sheeba

    Hi,
    First step is the check the data insde P table ( example /BIC/PXXX which will be there in the in master data and text tab)
    if you find the data for newely added attributes then it works fine.
    or else
    Delete the master data
    programs for individual IinfoObject  master data deletion:
    RSDMD_DEL_BACKGROUND or RSDMD_DEL_MASTER_DATA_TEXTS
    then delete the transformation and recreate the transformation followed by DTP once again
    activate all atributes individually once again
    load data to the infoobject and check it.
    you should be able to relove the problem
    santosh

  • Which is worse: awkwardly long or vague/arbitrary variable names?

    I'm programming in C++, but that shouldn't matter.
    I'm working on a small chunk of code that is a module for a much, much larger project. Part of my code is to make several hundred histograms and then run some statistics over them.
    My dilemma is that there are so many, that naming them is becoming difficult. So, I opt for incredibly long, cumbersome names rather than short arbitrary names. Heck, even I wouldn't know what was going on if I just named them "histo1, histo2." Instead I name them things like "MomentumTimesDeltaPhiEta1" which MIGHT make sense to someone who is working on another part of the project.
    And actually, that wasn't a real example. Some of my names are longer than that. Is that normal? I have programmed in C++ for a year, but I'm still not good at programming etiquette, so my code looks clumsy.

    Local vars can be short, if you find the need to give further explanation, comment. Try to give meaningful names more for class atributes, interfaces, and where a variable name can help documenting the code itself. E.g. (Pseudo-code, as I don't remeber a lot of C++):
    Instead of:
    z = sqr(a^2 + b^2)
    This is better:
    // Pythagorean theorem
    z = sqr(a^2 + b^2)
    This is even better:
    hypotenuse = sqr(catheti_a^2 + catheti_b^2)
    If you find yourself using incredible long variable names, it's a signal that your program is too flat, and you need to start refactoring it into a function, class, or using a namespace.
    So, e.g:
    namespace Geometry {
    function Hypotenuse(float a, b) {
    return sqr(a^2 + b^2)
    The code expresses a lot more meaning, while staying concise.
    Edit: I forgot square root
    Last edited by freakcode (2008-08-06 19:49:58)

  • BEx Variable filtering over MatchCode

    HI,
    is there any way to filter on the matchcode?
    I need to create a Variable on 0EMPLOYEE. This variable, should filter the employees that have "X" on ZGDEE atribute, and so the user can choose from this filtered list.
    thanks for the help.
    Mauricio

    Thanks for the tip, and sorry for the delay.
    I tried you suggestion, but the data shown in the Matchcode list is not filtered.
    I also hay another problem: I'm creating a WAD page and I'm using several queries to show data, from different infoproviders. some of this infoproviders don't have the navigational attribute, what can it happen if I turn it on?. Some of the queries are based on 0EMPLOYEE masterdata infoobject, so there is no navigational attribute to turn on, what can I do?
    thanks again for the help.
    Mauricio.

  • Why no defining variable?

    Hi abapers,
    In next code of example:
    1) Why no defining <b>var</b> variable?
    2) Is not necesary?
    2) What contain <b>var</b> variable ( is a type c ?)
    thanks for your attention.
    Class Definition
          CLASS main DEFINITION
    CLASS main DEFINITION.
      PUBLIC SECTION.
        METHODS add_data IMPORTING i_data TYPE i.
        METHODS get_data EXPORTING e_data TYPE char20.
      PRIVATE SECTION.
        DATA atribute TYPE char01.
    ENDCLASS.
    Class Implementation
          CLASS main IMPLEMENTATION
    CLASS main IMPLEMENTATION.
      METHOD add_data.
        ADD i_data TO atribute.
      ENDMETHOD.
      METHOD get_data.
        CONCATENATE 'Atribute value' atribute
                                   INTO r_data SEPARATED BY space.
      ENDMETHOD.
    ENDCLASS.
    Creation Object
    DATA: object_reference TYPE REF TO main.
    Instance Creation
    CREATE OBJECT object_reference.
    Calling Methods
    CALL METHOD object_reference->add_data( i_data = 3 ).
    <b>var</b> = object_reference->get_data(  ).
    WRITE <b>var</b>.
    The atribute value is printed
    " Atribute value 3 "
    Cordial greetings

    Hi here you have to declare VAR. Otherwise it should be a global variable. Otherwise the program dont work.
    Here is the code..
    *Class Definition
    CLASS main DEFINITION
    CLASS main DEFINITION.
    PUBLIC SECTION.
    METHODS add_data IMPORTING i_data TYPE i.
    METHODS get_data returning value(e_data) TYPE char20.
    PRIVATE SECTION.
    DATA atribute TYPE char01.
    ENDCLASS.
    *Class Implementation
    CLASS main IMPLEMENTATION
    CLASS main IMPLEMENTATION.
    METHOD add_data.
    ADD i_data TO atribute.
    ENDMETHOD.
    METHOD get_data.
    CONCATENATE 'Atribute value' atribute
    INTO e_data SEPARATED BY space.
    ENDMETHOD.
    ENDCLASS.
    *Creation Object
    DATA: var type char20.
    DATA: object_reference TYPE REF TO main.
    start-of-selection.
    *Instance Creation
    CREATE OBJECT object_reference.
    *Calling Methods
    CALL METHOD object_reference->add_data( i_data = 3 ).
    var = object_reference->get_data( ).
    WRITE var.

  • Problem with Threads and a static variable

    I have a problem with the code below. I am yet to make sure that I understand the problem. Correct me if I am wrong please.
    Code functionality:
    A timer calls SetState every second. It sets the state and sets boolean variable "changed" to true. Then notifies a main process thread to check if the state changed to send a message.
    The problem as far I understand is:
    Assume the timer Thread calls SetState twice before the main process Thread runs. As a result, "changed" is set to true twice. However, since the main process is blocked twice during the two calls to SetState, when it runs it would have the two SetState timer threads blocked on its synchronized body. It will pass the first one, send the message and set "changed" to false since it was true. Now, it will pass the second thread, but here is the problem, "changed" is already set to false. As a result, it won't send the message even though it is supposed to.
    Would you please let me know if my understanding is correct? If so, what would you propose to resolve the problem? Should I call wait some other or should I notify in a different way?
    Thanks,
    B.D.
    Code:
    private static volatile boolean bChanged = false;
    private static Thread objMainProcess;
       protected static void Init(){
            objMainProcess = new Thread() {
                public void run() {
                    while( objMainProcess == Thread.currentThread() ) {
                       GetState();
            objMainProcess.setDaemon( true );
            objMainProcess.start();
        public static void initStatusTimer(){
            if(objTimer == null)
                 objTimer = new javax.swing.Timer( 1000, new java.awt.event.ActionListener(){
                    public void actionPerformed( java.awt.event.ActionEvent evt){
                              SetState();
        private static void SetState(){
            if( objMainProcess == null ) return;
            synchronized( objMainProcess ) {
                bChanged = true;
                try{
                    objMainProcess.notify();
                }catch( IllegalMonitorStateException e ) {}
        private static boolean GetState() {
            if( objMainProcess == null ) return false;
            synchronized( objMainProcess ) {
                if( bChanged) {
                    SendMessage();
                    bChanged = false;
                    return true;
                try {
                    objMainProcess.wait();
                }catch( InterruptedException e ) {}
                return false;
        }

    Thanks DrClap for your reply. Everything you said is right. It is not easy to make them alternate since SetState() could be called from different places where the state could be anything else but a status message. Like a GREETING message for example. It is a handshaking message but not a status message.
    Again as you said, There is a reason I can't call sendMessage() inside setState().
    The only way I was able to do it is by having a counter of the number of notifies that have been called. Every time notify() is called a counter is incremented. Now instead of just checking if "changed" flag is true, I also check if notify counter is greater than zero. If both true, I send the message. If "changed" flag is false, I check again if the notify counter is greater than zero, I send the message. This way it works, but it is kind of a patch than a good design fix. I am yet to find a good solution.
    Thanks,
    B.D.

Maybe you are looking for

  • Should I upgrade Intel Core Duo 1 Mac Mini (2006) to Snow Leopard?

    Okay I have a 80 GB Apple Mac Mini with Intel Core Duo 1 proccessor that shipped with Mac OS X Tiger (10.4.7) currently running 10.4.11 that I want to upgrade to either Leopard or Snow Leopard in a few months just in time for Christmas which I acquir

  • SOAP to RFC Scenario (automatic updation)

    Hi All, I have a requirement, i.e we have a web system. In that gold rates will update in every one hour. When ever the update will happen that should be update in SAP system via RFC call  automatically. Here sender side I am using SOAP adapter. I kn

  • Printing with Lion and Adobe Reader 9.4.5

    Today, after installing Lion Wed, I needed to print a pdf document with mixed landscape and portrait pages. With AR 9.4.5 all the landscape pages were rendered in portrait, occupying about half of each sheet. With Preview, all pages printed as they s

  • If ... else.... help!

    I have a field that if it is empty, needs to be filled, but if it has data, I need that data to be left as is... I know how to write the if and have it fill in the info I need, however, what do I put for the else? So far I have var iVar=0; if ((ECR_N

  • Iptable-filter problem

    I am having trouble using iptables on my computer. When I try to start the iptables service, it fails with the error iptables-restore v1.4.19.1: iptables-restore: unable to initialize table 'filter' So it seems that iptable_filter isn't being loaded