Api required to return componant name ?

Is there an API call to return the name of the current form based on a store procedure that you are executing
I want to pass the name of the current form based on a stored procedure as a param to another componant.
Thanks in anticipation
SD.

Jaya,
There is now to access navigation rules from faces-config with JSF 1.x. With JSF 2.0, you could check whether FacesContext.getApplication().getNavigationHandler() returns ConfigurableNavigationHandler, and if it does, call getNavigationCase() on it.
However, even with JSF 2.0, you should be calling these APIs from within JSF lifecycle, and not from a filter.
Why do you have to perform navigation in a filter? If you are doing a redirect after authentication, you should be redirecting to the original (pre-login) URL.
Hope this helps,
Max Starets

Similar Messages

  • Transfer of Requirements for Return Orders

    Hi,
    Please I need  help on TOR management with Return Orders in SD.
    I've already red  all the threads realted to TOR and ATP but I couldn't find a solution. As we know TOR is dependent on the following data: reqts type, reqts class, checking group and schedule line category.
    The reqts type and class are determined in the strategy group (material master - MRP3).
    Now if I switch on Transfer of Requirements for Returns, at Schedule Line level and Reqts Class level, the result is that I can see requirements related to Returns in the availability check overview of Sales Orders (ATP count) but if I check in the requirements list (i.e. transaction MD04) these requirements related to Returns are not recorded. Why?
    And also another point please: requirements generated from Return Orders, into ATP count are considered as normal Sales Orders (negative sign, reducing ATP quantity, when it should be the contrary because a goods receipt is expected).
    Can you help me please on these 2 points (perhaps something related with Sales Document Category)?
    Thank you very much
    Kind Regards
    AP

    I practically did a sample order / returns order to see your requirements and these are my observations
    a)
    If you create a standard sales order, then the availability check registers a minus sign with stock required in Rec./reqd qty field.
    Once you save the sales order, this is not seen again as the total quantity is reduced by sales order quantity.
    It was indicating a minus sign when you created a returns order because you checked the Transfer of requirements and availability check indicators in schedule line category.
    It was simulating a requirement as you checked the indicators in schedule line category.
    If you create returns order with standard DN (i.e. Transfer of requirements and availability check indicators are not checked), then you would not see any requirement for stock i.e. you don't see any new entry in availability overview screen.
    b)
    You are not seeing returned quantities in MD04 because of Movement types. This has nothing to do with Transfer of requirements.
    Schedule line DN uses movement type 651.
    Using movement type 651, you post returns from a customer with returns delivery to blocked stock returns.
    The blocked stock returns are are neither valuated nor part of "unrestricted-use" stock.
    Hence you are not seeing the returned stock in your available stock.
    If you click the magnifying glass on total stock i.e. top line of your stock/requirements list (transaction MD04), you could see the returned quantity in 'Returns field'.
    If you want to post returns from a customer with returns delivery directly to the valuated stock, you could use the following movement types in schedule line category.
    653 Returns from customer to unrestricted-use stock
    655 Returns from customer to stock in quality inspection
    With these movement types, you could see returned quantities in stock/requirements list.

  • Type '[component name]' in CSS selector '[component name]' must be qualified with a namespace

    I've recently upgraded my SDK to allow me encorporate other features such as the Text Layout Framework and such. To avoid issues i've had to make Flash player 10 as required, which is where the problems are occuring in my main project.
    We knew the switch would cause some issues, and we now have a lovely batch of 100+ Warnings, that are all along the lines of
    Type '[component name]' in CSS selector '[component name]' must be qualified with a namespace
    all the warnings are on line locations that have no reference to the component they are talking about.. so i'm kinda stumped on what to do. Anybody else run into this issue before?
    cheers

    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
          xmlns:s="library://ns.adobe.com/flex/spark"
          xmlns:mx="library://ns.adobe.com/flex/halo"  >
    <fx:Style>
    @namespace s "library://ns.adobe.com/flex/spark";
    @namespace mx "library://ns.adobe.com/flex/halo";
    Button
        // The warning
    </fx:Style>
    <s:Button label="提交"  textAlign="center" height="30"/>
    </s:Application>
    I think you have use flex4.
    Please change the code to :
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
          xmlns:s="library://ns.adobe.com/flex/spark"
          xmlns:mx="library://ns.adobe.com/flex/halo"  >
    <fx:Style>
    @namespace s "library://ns.adobe.com/flex/spark";
    @namespace mx "library://ns.adobe.com/flex/halo";
    s|Button
        // ok. The is style for spark button }
    mx|Button
        //ok. The is style for halo button
    </fx:Style>
    <s:Button label="提交"  textAlign="center" height="30"/>
    </s:Application>

  • How to get the component name in webdynpro

    Hi all,
            how can i get the name of the webdynpro component. The component is being displayed in the portal. Now i need the component name for this.Can any one suggest of how to get this.
    Regards,
    Kalyan Chakravarthi.M

    Hi ,
    get the object of  IF_WD_COMPONENT , by calling the method wd_get_api( ) of wd_component attribute , then call the method GET_COMPONENT_INFO( ) ,it will return the object of IF_WD_RR_COMPONENT in that call the method GET_NAME( ) .
    Regards
    Yash

  • InputListOfValues return display name but save the id

    Hi,
    I have a question about inputListOfValues. I have enabled the attribute xxxId in my VO as LOV and created the necessary view accessor. When running in the UI, I can see the LOV popup is launching correctly, and upon selecting the value in LOV, it returns the xxxId to the inputListOfValues input box. However, my requirement is to actually return xxxDisplay name to inputListOfValues inputbox, but when save, it is xxxId which got saved. Any ideas of how to achieve this? Seems like it's a common scenario and I tried to search for some sample codes for it, but could not find it.
    Please help.
    Thanks.
    -Mina

    May i know how to do this..
    I have a employee form. I enter the name of employee.
    I select the department name.
    I want the corresponding department id to get populated.
    The department id is the foreign key in the employee table.
    I am using toplink and EJb and JSF
    I have craeted data control from the EJB
    Im dragging and dropping the data controls from data control palatte.
    Thanks in advance
    Thanks
    Shri

  • Replace the component name to universal?

    Hi!
    I have put some code into the "FocusLost" event of the jTextField. Here is it:
    private void jTFprobaFocusLost(java.awt.event.FocusEvent evt) { 
    if(jTFproba.getText().equals("wrong"))
    jTFproba.setBackground(Color.red);
    else
    jTFproba.setBackground(Color.white);
    jTFproba.setText("OK");
    It works, but I have about 20 similar TextBox in my application and I am interested in whether it is possible to replace the name of the component (jTFproba) to something universal like "this"?
    For example:
    private void jTFprobaFocusLost(java.awt.event.FocusEvent evt) { 
    if(this.getText().equals("wrong"))
    this.setBackground(Color.red);
    else
    this.setBackground(Color.white);
    this.setText("OK");
    But it does't work!
    Do you have any ideas to replace the component name?

    See the documentation of FocusEvent. It has a getComponent() method that I assume returns the component that has lost the focus (in your case, a JTextField instance). You can add the same listener to all JTextField instances, and cast the source to JTextField.
    It also has a getOppositeComponent() method that presumably returns the component that has gained the focus, if that matters.
    I assume for a focusGained() callback it's the contrary.
    Edited by: jduprez on Nov 4, 2010 2:55 PM
    Mixed method names, so reverted to a conservative "I assume" description

  • Integration API method to get display name

    Is there a method in Integration API to get display name of columns.
    I want a method like getDisplayName(string fieldName) returns the name displayed on Primavera UI.

    Hi Onkar,
    not sure if you already testet it like that, but as far as I know the full username of an AD user is displayed just the way it is, for an enterprise user.
    Have you checked, if the full name is filled with AD information?
    If not, you might check your settings in the CMC -> "Authentication" -> "Windows AD" -> "Import Full Name and Email Address"
    I can not check it with our test system, cause our user names are identical to our full names.
    But it might give you a hint!
    Regards
    Jan
    Edited by: Jan Fröhlich on Jul 23, 2009 1:00 PM

  • Pass Component Name to Generic "Condition" w/o hardcoding it

    Hi, thanks in advance for your help.
    I'd like to create a generic PL/SQL "Condition" statement which references the Component Name of the component executing the Condition - without hardcoding the component name in the query. In other words, a statement which I could plug in to any component's Condition clause without hardcoding the name for each component. Is there a Substitution String, application variable or some other mechanism I can grab which has this value?
    What say ye Oracle... Can I get there from here?

    I'm not sure it does require an enhancement request, since I'm pretty sure you could code that using authorizations right now.
    For example, assuming that you have different levels of users (e.g. level 1, level 2, level 3 etc), where -
    Level 3 is the lowest level
    Level 2 can do everything level 3 can do, plus a bit more
    Level 1 can do everything level 2 can do, plus a bit more
    Then you could define a table mapping users to levels (e.g. "Joe" is level 2).
    Then in your Application you create authorization levels for Level 1, Level 2, Level 3 etc (i.e. you're specifying that a user must be at least Level 2 to see this item etc).
    You create a new item and assign it an authorization level of 'Level 2', therefore only users who are Level 2 and above will be able to see the item.
    Obviously I've missed out a huge chunk of the implementation here ;)

  • Exchange Online Management cmdlets return Display Name instead of Identity

    Hello,
    We've got an issue when managing our Exchange Online environment using remote PowerShell.
    We use Exchange management cmdlets to manage Exchange Online mailboxes. When we run, for example, the
    Get-MailboxPermission or Get-RecipientPermission
    cmdlets, it returns Display Names of the users with mailbox rights. Previously, when we initially tested remote PowerShell with Exchange Online, the cmdlets returned the
    Identity property, which is unique and worked well for us. However, currently the cmdlets return the
    Display Name, which is not unique and causes us issues. For example, in our environment there can exist two or more users with the same Display Name (see highlighted on the screenshot):
    In cases when only one of the users is granted a permission, we cannot distinguish programmatically, which of the 2 users this is. Also, we cannot run cmdlets, such as
    Get-SecurityPrincipal, to get more info about the principals who are granted the permission.
    Is it possible to get the old behavior of the cmdlets back so that they return the unique
    Identity instead of the non-unique Display Name? Or how do we workaround this?

    Hello,
    Can anyone update on this? The issue causes us HUGE problems :(

  • Need help returning correct name from a code created movie clip

    Hello. I am an AS3 n00b with hopefuly a simple question I am designing a simple game in flash. This code creates an array of movie clips and asigns a picture to each one. It is a map screen. What I need is when I click on one of the created movie clips, I need it to return either the index of the clip in the array or the name of the clip. Basicaly anything I can use to tell them apart in the code. Here is the code:
    import flash.display.MovieClip;
    var MapLoader:Array = new Array();
    var strJPGext:String = ".jpg";
    var intContTileNumber:int;
    var strContTilePath:String;
    var intDistStartX:int = 63;
    var intDistStartY:int = 64;
    var intDistMultiplyY:int = 0;
    var intDistMultiplyX:int = 0;
    var intDistCount:int = 0;
    var MapSquare:Array = new Array();
    for (var i:int = 0; i < 729; i++)
             //var MapSquare:MovieClip = new MovieClip();
            MapSquare.push (new MovieClip());
            MapSquare[i].x = intDistStartX + (intDistMultiplyX * 30);
            MapSquare[i].y = intDistStartY + (intDistMultiplyY * 30);
            MapSquare[i].name = "MapSquare" + i ;
            addChild(MapSquare[i]);
            intContTileNumber = i;
            MapLoader.push (new Loader);
            strContTilePath = intContTileNumber + strJPGext;
            MapLoader[i].load(new URLRequest(strContTilePath));
            MapSquare[i].addChild(MapLoader[i]);
            intDistCount++;
            intDistMultiplyX++;
            if (intDistCount > 26){
            intDistCount = 0;
            intDistMultiplyX = 0;
            intDistMultiplyY++;
    stage.addEventListener(MouseEvent.CLICK, reportClick);
    function reportClick(event:MouseEvent):void
        trace("movieClip Instance Name = " + event.target.name);   
    Now all this works fine, it creates the map and assigns the correct picture and places them in the correct X,Y position and it is the correct grid of 27x27 squares. The problem is with the name, when I click on the movie clip, it returns "Instance2" or "Instance5" or whatever. It starts with 2 and then increases each number by 3 for each clip, so the first one is 2, then 5 then 8 and so on. This is no good. I need it to return the name that I assigned it
    . If I put the code in trace(MapSquare[1]) it will return the name "MapSquare1" so I know the name was assigned, but it isnt returning.
    Please assist
    Thanks,
    -red

    Thanks for the resopnse,
    I know I dont really need the name, I just need the index number of the array, but I cant figure out how to get the index name without specificaly coding for it. That is why in the listener event I use event.target.name because I dont know what movie clip is being clicked until it has been clicked on. Basically when a movie clip is clicked it needs to return which index of the array was clicked.
    I could do it this way:
    MapSquare[0].addEventListener(
      MouseEvent.MOUSE_UP,
      function(evt:MouseEvent):void {
        trace("I've been clicked!");
    MapSquare[1].addEventListener(
       MouseEvent.MOUSE_UP,
       function(evt:MouseEvent):void {
         trace("I've been clicked!");
    MapSquare[2].addEventListener(
       MouseEvent.MOUSE_UP,
       function(evt:MouseEvent):void {
         trace("I've been clicked!");
    ... ect
    but that is unreasonable and it kind of defeats the purpose of having the array in the first place. The code that each movie clip executes is the same, eventualy that index will be passed into a database and the data at that primary key will be retrieved and returned to the program. So I just need to know, when one of those buttons is clicked, which one was clicked and what is its index in the array.
    I am a VB programer and in VB this is very easy, the control array automatically sends its own index into the function when one of the buttons is clicked. It seems simple enough, I just dont know how to do it in action script.
    Thanks again,
    -red

  • BP Fact sheet: how to translate component name?

    Hello
    At my customer BP fact sheet is custimized to include a custom component. The component name is Z-custom and the description in english is "custom". If I log on to the web UI in english I can see the title on the windo "custom". But if I log on in other languages it is empty.
    This is because there was no translation to the component name before. I added the translations in SPRO - Maintain Fact Sheet but still nothing is shown in the web UI. I also checked BSP_WD_CMPWB but found no place for translation.
    Can anyone help? It must be something really quick ans stupid !!
    Sotiris
    Edited by: Sotiris Hatzis on Jul 6, 2011 12:26 PM

    Actually I also made some other changes in transaction BSP_WD_CMPWB (like titles of columns) but these changes are not shown either onthe Web UI.
    Do I need to activate something, or run something?
    Sotiris

  • How to find out the Target Component name and Target view name

    Hi All Expert,
                      I want to know ,how to find out the target component and target view in WEB UI,when i click on a field which shows as a hyper link in WEB UI .At GUI level ,i know the how it will work.Any way to find out the component name and view name which is show the details of that field at GUI level .IF you go to transaction CRMD_ORDER then open the service contract id .then goto the item level value .there is 1 service data tab is available at item level.there is two button is available.first one is available time and second one is response time .if i click on any button then one popup is open which is shows the details of that button.I dont know how to find out the component name and view name from GUI level.
    Thanks in Advance....
    Vishwas Sahu

    Hi Vishwa,
                 The control would be something like this for navigation in Get_p_xxx method u mention as link and u mention a event name which gets triggered on the click of this hyperlink. So your GET_P_XXX method would have the following code:
    CASE iv_property.
        WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
          rv_value = cl_bsp_dlc_view_descriptor=>field_type_event_link.
        WHEN if_bsp_wd_model_setter_getter=>fp_onclick.
          rv_value = 'EXAMPLE'.
    Now you have to create a method as EH_ONEXAMPLE at your IMPL class and within which you would give an outbound plug method. Within the outbound plug the target data would be filled in the collection and window outbound plug would be triggered.
    This is a huge topic and  i have just mentioned you basic things.
    Regards,
    Bharathy.

  • When require to fill my name and particulars to an application and the auto fill is displayed and when I click on the auto fill reques turns bleu and refused to auto fill in the document. Your assistance is appreciated.

    When require to fill my name and particulars to an application form or document, thr AutoFill box appears and when directing to auto fill, the message box turns blue and refuses to auto bill. I went to AutoFill in Safari preference but could not find any adjustment to correct the shortcoming. Your assisance is appreciated.

    https://discussions.apple.com/message/23547507#23547507
    This work arround worked for me.. using the icon

  • Round Requirement quantity of component for subcontracting

    Hello,
    I need to round a requirement quantity of component   in subcontracting PO automatically? So in MD04 it shows as rounded quantities not just the base on BOM cmponent quantity ( Only for component what we send to vendor not the kit we recieving back ).
    Any help will be appreciated!
    Best Regards,
    Owais
    Edited by: Owais on Jul 8, 2011 3:13 PM

    Hello,
    It just help planners to plan better.
    We already cofigured so the components gets pick at rounded value on WM side. Its just MM side, if we can round the value for subsequent requirements. (Component requirement QTY - ERFMG)
    Any Help!!!
    Thanks.

  • How to return the name (or ID) of the Task FLow in Script

    Sitaution; two task flows created which can be accessed via Tools > TaskFlows within FDQM
    Task Flow "1.1 Multi Load - Import" --> Should run Batch Process Up to Import (enmBatchProcessLevel: 2)
    Task Flow "2.1 Multi Load - Import Up To Validate" --> Should run Batch Process Up to Validate (enmBatchProcessLevel: 4)
    I have developed one generic script which I would like to use for each task flow.
    Only the enmBatchProcessLevel differs between the task flows and therefore I would like to parse this enmBatchProcessLevel as a parameter my generic script.
    To be able to do this, the script needs to know on which task flow a user has clicked. So, I am looking for a function or statement which returns the name (or ID) of the task flow. Based on this name (or ID) a conditional statement can be performed in which a variable is dynamically filled. This variable can then be parsed as a parameter to my generic script.
    For instance:
    Sub GenericRoutine
         Dim strTaskFlow
         Dim intBatchProcessLevel
         '--Get the Task Flow Name
         strTaskFlow = ......<How to return the TaskFlow name or ID?>
         '--Validate the task flow and fill variable intBatchProcessLevel dynamically
         Select Case strTaskFlow
              Case "1.1 Multi Load - Import"
                   intBatchProcessLevel = 2
              Case "2.1 Multi Load - Import Up To Validate"
                   intBatchProcessLevel = 4
         End Select
         '--Execute generic script
         '--Call Batch script and parse intBatchProcessLevel as a parameter:
         Call sBatchProcess(intBatchProcessLevel)
         '--Execute generic script
    End Sub
    Sub sBatchProcess(Byval intBatchProcessLevel)
         Dim lngProcessLevel
         Dim strDelimiter
         Dim blnAutoMapCorrect
         '--Use intBatchProcessLevel to fill lngProcessLevel
         lngProcessLevel = intBatchProcessLevel
         strDelimiter = "_"
         blnAutoMapCorrect = 0
         Set BATCHENG.PcolFiles = BATCHENG.fFileCollectionCreate(CStr(strDelimiter))
         BATCHENG.mFileCollectionProcess BATCHENG.PcolFiles, CLng(lngProcessLevel), , CBool(blnAutoMapCorrect)
    End Sub
    Edited by: user13642656 on Jul 21, 2011 4:55 AM

    Hi, thanks for your reply.
    The Generic script contains 600+ records, which I would like to maintain once, when having multiple Task Flows for Import, UpToValidate, ValidateOnly, UpToExport, ExportOnly etc.
    Is there a central storage in FDQM workbench for script, like a "Module" in Excel VisualBasic environment? Thanks!

Maybe you are looking for

  • Auto install of 1.4.1_02 -- How?

    I can't seem to get web start to auto install 1.4.1_02. If I use the following JNLP, it installs 1.4.1, not 1.4.1_02. <?xml version="1.0" encoding="utf-8"?> <jnlp spec="1.0+" codebase="http://myapp.com/myapp" href="myapp.jnlp"> <information> </inform

  • Cannot release inventory allocated as Sales Order Stock

    Hi All,  I'm very new to SAP and am somewhat unfamiliar with the SD process.  We created a Sales Order (from a customer purchase order), everything was okay until we tried to do an ATF; a change was made to the strategy group (from 20 - MTO to 40 - M

  • COPA Values in the Profitability analysis for a credit memo request

    Hi All, When I am trying to create an Invoice document for a Credit Memo request having a Configurable material , in the accounting document profitable analysis Profit Center view fields are not getting updated. If we do the same thing for a referenc

  • Gap at bottom of maximized program

    Hi, first of all: I'm not sure if this 'problem' is related to Mountain Lion or exists in older OS X versions as well. I happened to notice, that when I maximized (important: maximized, not full-screen) any program in OS X it widens to the border of

  • Setting Sinleton property of tree

    How we can set Singleton property to FALSE of a context value created for a tree node?? Thanks & Regards Vipin