How to create and share attributes or variables in Standard WebDynpro?

Tremendous 2010 guys!
I'm having trouble about a Web Dynpro ABAP application. It uses two Web Dynpro components: FITE_VC_GENERAL_DATA and FITV_VC_COST_ASSIGNMENT, and the users would like to delete showed-in-text-field default info in the first View (contained in FITE_VC_GENERAL_DATA) but they want the user provides his/her own info in a second view by a window (view, contained in the second web Dynpro component FITV_VC_COST_ASSIGNMENT) that appears after clicking a button in the fisrt view. So, I want to declare an attribute or variable (a flag) in the second Web dynpro component that is to be copied or transmitted or exported at the first Web dynpro component to indicate "The user already used the second Web Dynpro component", and thus, to avoid an enhancement point I set in the first Web Dynpro having effect and delete the valid data entered by user (because in the begining, yes, I want to delete the data, but once the user writes his/her data, I need a FLAG to know it).
Really I am a newbie, even a dummy in Web Dynpro ABAP, I dont know if it is possible to declare new attributes in a Standard Web Dynpro Component (but I used an enhancement point to declare a char variable inside a method, but it is only local and I cant communicate it to another WD component). Because it is OO ABAP, I know it is not possible to declare Global data usable by various Web Dynpro Components, isnt it?
Beyond, If I could create my own attributes in the second Standard Web Dynpro Component, How I should export them to the first Web Dynpro Component?
I was wondering if it would be a good idea to use a transparent table to store my flag and use it again when the run time is on the first Web Dynpro component... Or use ABAP or SAP Memories... Have mercy, help me please!

Hi Parga,
You need to declare the variable at Interface controller and need to map this at the context level.
Like a variable declared at web dynpro component context level can be used among all views.
every web dynpro component have an Interface component. this can be used in other components where this perticular component is used it is also have a Context.
For more info Take Usage of Component Controller Examples.
[Check this thead|http://help.sap.com/saphelp_nw70/helpdata/en/3a/165da11551994db913f56829f8f3f1/frameset.htm]MPUSAGE
WDR_TEST_CMPUSAGE_CI1
WDR_TEST_CMPUSAGE_CI2
WDR_TEST_CMPUSAGE1
WDR_TEST_CMPUSAGE2
WDR_TEST_CMPUSAGE3
WDR_TEST_CMPUSAGE4
WDR_TEST_CMPUSAGE5
WDR_TEST_REF_CMP_USAGE_CI
WDR_TEST_USAGE_GROUPS_CI
WDT_COMPONENTDETAIL
WDT_COMPONENTUSAGECheerz
Ram

Similar Messages

  • How to create and share notes in icalendar

    how to create and share notes in icalendar
    i have created a reoccuring all day event for monday thru friday throughout the month.
    Each day I write notes in the event. I do not want the notes to duplicate each day.
    Now do I set up so notes for that day is only in that day.
    thank you
    angelscott1

    Hi Parga,
    You need to declare the variable at Interface controller and need to map this at the context level.
    Like a variable declared at web dynpro component context level can be used among all views.
    every web dynpro component have an Interface component. this can be used in other components where this perticular component is used it is also have a Context.
    For more info Take Usage of Component Controller Examples.
    [Check this thead|http://help.sap.com/saphelp_nw70/helpdata/en/3a/165da11551994db913f56829f8f3f1/frameset.htm]MPUSAGE
    WDR_TEST_CMPUSAGE_CI1
    WDR_TEST_CMPUSAGE_CI2
    WDR_TEST_CMPUSAGE1
    WDR_TEST_CMPUSAGE2
    WDR_TEST_CMPUSAGE3
    WDR_TEST_CMPUSAGE4
    WDR_TEST_CMPUSAGE5
    WDR_TEST_REF_CMP_USAGE_CI
    WDR_TEST_USAGE_GROUPS_CI
    WDT_COMPONENTDETAIL
    WDT_COMPONENTUSAGECheerz
    Ram

  • How to create and share streaming video?

    Hi -
    I have finally finished a project in PE8 and I'd like to upload it to my website so that others can stream it.
    I have created output in FLV, MOV and MPG formats.
    I have uploaded them to my web server.
    However, whenever I link to the video, my browser (IE or Firefox) just asks to download or run it.
    Then, it tries to download the entire video - this is a problem as the files are up to 1.3gb.
    I've tried this:
    <html>
    <a href="myvideo.flv">CLICK HERE</a>
    </html>
    and this:
    <OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
    CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab" WIDTH="160" HEIGHT="136" >
    <PARAM NAME="src" VALUE="myvideo.mov" >
    <PARAM NAME="autoplay" VALUE="true" >
    <EMBED SRC="myvideo.mov" TYPE="image/x-macpaint"
    PLUGINSPAGE="http://www.apple.com/quicktime/download" WIDTH="160" HEIGHT="136" AUTOPLAY="true"></EMBED>
    </OBJECT>
    and this:
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="400" height="400" >
    <param name="movie" value="myvideo.flv">
    <param name="quality" value="high" >
    <param name="LOOP" value="false">
    <embed src="myvideo.flv" width="400" height="400" loop="false" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></ embed >
    </ object >
    So, why isn't it streaming?
    Is it the video format?
    The embedding on the web page?
    My server?
    Perhaps you can share the details of how you created and setup a streaming video?
    Thanks....

    You need to embed a player for the file. This will differ by the file type that you choose. I'd probably go with a Flash player, but you have other choices.
    I'd post your request for the exact instructions, and HTML code needed, plus tips on optimization to the Muvipix "Community," probably under the "Water Cooler" sub-forum. The Webmaster there, Ron, is an expert in embedded players, as are several other subscribers. I'll bet that you'll get the exact code, with all sorts of useful tweaks, in no time. If Ron suggests another file type and player, listen to him, and not to me. I just deliver the streaming AV files in the exact format that my client asks for. They have their Webmaster use them in their particular page design. My job ends, before your's, now, begins.
    Good luck,
    Hunt

  • How to create and access Global variable in Microsoft Lightswitch(VB)?

    How to create an integer datatype Global variable in Microsoft Lightswitch 2011(VB) and access it in pre-process query to set value? Can it be accessed and set like Me.Application.<MyGlobalVariable> = 999
    Thnx.
    jajjaar123

    If you want to create integer datatype Global variable in lightswitch, you can refer to (Eric Erhardt) blog
    Create and Use Global Values In a Query

  • How to create customer exit for characteristic variables and for text vars.

    hi friends,
      can anybody tell me how to create customer exit for characteristic variables and for text variables in bw ides system.
    thanks,
    sree

    Hi,
    Please have a look at:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f1a7e790-0201-0010-0a8d-f08a4662562d
    Krzys

  • How to Set and Use a global variable within a session?

    Dear All,
    I'm new to jsp, and would like to ask how to set and use a global variable within a session?
    Thanks in advance.
    Regards,
    Cecil

    With session.setAttribute("name",object) you can store a Attribute in the session object.
    with session.getAttribute("name") you can get it.
    That's it.
    Regards,
    Geri

  • How to create and use dynamic queue in JMS

    Plz tell me how to create and use a dynamic queue in jms and can reciever file lookup it as it lookup any server configurred queue(written in the server).

    Hi,
    We can use Azure File services to do this, for more information, please have a look at this article:
    http://blogs.msdn.com/b/windowsazurestorage/archive/2014/05/12/introducing-microsoft-azure-file-service.aspx. The Azure File service exposes file shares using the standard SMB 2.1 protocol. Applications running in Azure can now easily share files between
    VMs using standard and familiar file system APIs like ReadFile and WriteFile.
    Best Regards,
    Jambor
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to create dynamic connection string with variables using ssis.

    Hello,
    Can anyone let me know on how to create dynamic connection string with variables using ssis?
    Any help would be appreciated.

    Hi vinay9738,
    According to your description, you want to connect multiple database from multiple servers using dynamic connection.
    If in this case, we can create a Table in our local database (whatever DB we want) and load all the connection strings.  We can use Execute SQL Task to query all the connection strings and store the result-set in a variable of object type in SSIS package.
    Then use ForEach Loop container to shred the content of the object variable and iterate through each of the connection strings. And then Place an Execute SQL task inside ForEach Loop container with the SQL statements we have to run in all the DB instances. 
    For more details, please refer to the following blog:
    http://sql-developers.blogspot.kr/2010/07/dynamic-database-connection-using-ssis.html
    If there are any other questions, please feel free to let me know.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How to Create and Define New faults to be used inside our BPEL Process

    Hi All,
    I have created a new BPEL process but unable to add fault handling messages which I'm unable to do because I'm not having any
    experience in creating my own custom fault or runtime faults.
    Can anybody can share any URLS of how to create and where to define these things in BPEL Process.
    Expecting a reply from ASAP. very urgent for me.
    Regards,
    CH

    Hi Arik,
    I opening in JDeveloper 11.1.1.2 but it is asking for migrations but not all migrating and unable to see the project.
    By seeing at the logs it is saying that upgrade failed.
    Please can you share any other URL other than this.
    Regards,
    CH

  • How to create and send clob value to SP?

    Hi,
    Does any one of an example of how to create and send
    a clob value(as a IN parameter to storedprocedure) from JAVA to
    the StoredProcedure. I need the JAVA code.
    null

    Hi 
    Following is sample code you can use.
    DECLARE @testID Int
    DECLARE @year int 
    DECLARE @testtype datatype
    SELECT @testtype=testtype from yourTable Where Your condition
    SELECT  @year= year from yourTable Where your conditon (you need to make sure you assign or get @year variable )
    SELECT @testid=id from test where  year=@year and testtype=@testtype)
    Hope this helps
    Regards

  • How to create a General Attribute

    Hi,
    I had a requirement to create a new General Attribute and i have to assign it to organizational Model .
    can any one tell me that how to create an Genereal Attribut in Org Model
    Thanks In advance
    SK.Ahmed

    Hello,
    There is a simple way. You need to create new f.modules.
    For every attribute in table/view T77OMATTR you can specify :
    - search help (f.m)
    - check (f.m)
    After that I've created Ztable for all the Z_parameters and put values for them.
    In search help fm I just select all values for selected z_parameter and using f.m. 'F4IF_INT_TABLE_VALUE_REQUEST' you can popup the list for select.
    In check fm I just check if value that user entered exists on the list.
    Hope this helps!
    Regards, Robert

  • How to create and install a toolbar to a browser using java

    Hi all,
    Can any one guide me about how to create and install toolbar to a browser using java ??
    please any one help me about this,i am not getting any idea about this..
    Thanks and Regards
    Sandesh S

    I doubt you can. Those browser toolbars are done by implementing to an API provided by the browser. That API, I don't believe, is provided via Java. But of course, that would be entirely up to the browser, not Java.

  • How to create and execute a function whose return value is  a table

    hi folks ,
    i would like know how to create and execute a function whose return value is a table ,
    am new to pl/sql ,
    my statement for the function is
    SELECT ct.credential_code, c.expiration_date
    FROM certifications c, credential_types ct
    WHERE ct.crdnt_id = c.crdnt_id
    AND c.person_id = person_id;
    i would like to have the result of the above query as return value for the function.
    Thanks in advance ,
    Ashok.c

    hi Ps ,
    Can you please do small sample ,
    that would help me in clear understanding
    thanks in advance
    ashok.c

  • How to create and call a COM component in Java

    Hi All,
    can you suggest how to create and call a COM component..or if have any sample simple application can you send it to me...i will try to develop my project.
    actually i am configuring a OCR Engine using SDK which is in VB .Net when i contacted their support they told that if i have any sample COM based component Project they will help me...
    So please can you help in this.
    Thanks in advance.

    As said by my fellow posters Java Devolopment Environment (Except Microsoft implementation of JVM,this is no longer supported by MS themseleves) does not provide an built-in support to serve this cause.
    If you are looking to devolop a custom based solution the below is a good place to start with where end user is talking about Java <=> JNI <=> Native <=> COM connectivity.
    [http://bloggershetty.blogspot.com/2004/12/java-jni-com-activex-bridge-lots-of.html]
    However,if you are looking for ready made solutions ?
    Implementation any one of the solutions stated below might serve your cause.
    Open Source Solutions:
    [http://j-interop.org/]
    [http://www.danadler.com/jacob/]
    Commercial Solutions:
    [http://javacombridge.com/]
    [http://www.jnbridge.com/]
    [http://www.nevaobject.com/j2cdetails.asp?kw=java%20com%20bridge]
    [http://j-integra.intrinsyc.com/]
    Hope this might help :)
    REGARDS,
    RaHuL

  • How to Create and Test a Zone of Type F1-APP-URL

    Hi,
    I would like to how to create and test a Zone of Type F1-APP-URL?
    What all is required to setup an ADF application based URL in F1-APP-URL, what to configure and what are the basics or definite steps required to have a Zone of Type F1-APP-URL up and running in the application? Any Sample ADF components to be created?
    Please kindly let me know. Any test or dummy URL existing already which is based on ADF?

    Refer to Doc. Id 1515146.1 on the support site. Although for the moment it refers to a MWM example and may not be much of a help but it'd give a basic idea as to how it should be done.

Maybe you are looking for

  • Connect TV to MAC

    what cables do I need to watch films I buy on my mac on my TV

  • EJB deployment/access from the Client Machine

    I want to deploy/access the EJB on the Oracle 8i server from the Client Machine. From the Oracle 8i server machine i am able to deploy and access the EJB When i am trying to deploy/access the EJB i am getting the following message javax.naming.Commun

  • PP CS6 Media Browser displays thumbnails upside down

    Hi, I'm using a 2010 MacBook Pro 17" 3.06 GHz, 4GB RAM, NVIDIA GeForce 9400M GT, OS 10.6.8 and PP CS6.02. When I'm viewing stills in media browser, it's displaying many of the thumnails upside down and side ways. Not sure what else to say about it or

  • Application 'Grab' an intermittent probblem.

    I've looked in the Grab discussions but most of the other peoples' problems were about it not opening at all or keeps quiting - not my strange problem. So far, I've not had an opening problem with it (from its dock icon) but every so often, after I h

  • WhatsApp in the Cloud?!

    after syncing my iPhone 4S with my new MacBookPro, all my Whatsapp conversations were gone, but when i go into my settings (on the iPhone) there is a total of 40mb stored in the Cloud, i assume, that those are my conversations... So is it possible, t