Abstract class with set and get methods

hi
how to write set and get methods(plain methods) in an abstartc class
ex: setUsername(String)
String getUsername()
and one class is extending this abstract class and same methods existing in that sub class also..... how to write......plz provide some ideas
am new to programming....
asap
thnx in advance

yes... as i told u.... i am new to coding......
and my problem is ..... i have 2 classes one is abstract class without abstract methods.. and another class is extending abstract class.....
in abstract class i have 2 methods...one is setusername(string) and getusername() ..... how to write these two methods.... in abstract class i have private variables username...... when user logins ..... i need to catch the user name and i need to validate with my oracle database and i need to identify the role of that user and based on role of that user i need to direct him to appropriate jsp page.......
for that now i am writing business process classes..... the above mentioned two classes are from business process.....
could u help me now
thnx in advance

Similar Messages

  • Accessing Custom Controller from setter and Getter methods

    Hi Gurus
    How can we access the custom controller from setter and getter methods,is there any way to do that.
    Thanks & Regards
    Rajasekhar

    Hi Steve.
    Thanks very much for valuable information,  the main controller class is getting tracked in mo_owner which is declared as  CL_BSP_WD_VIEW_CONTROLLER, and I'm getting the reference through
    mo_owner ?= owner. (since mo_owner = owner is not getting converted of type mo_owner ). After doing this on whatever the contexnode class (say zl_xxxx_xxx_cnxx) the corressponding context node values are getting turned as  <#ERROR IN METADATA.
    I mean when I'm checking the configuration in bsp_wd_cmpwb configuration tab -> Available Fields->Enlarge the contex node->BTSTATUS (say for Example) there the values are showing as <#ERROR IN METADATA , After executing the above procedure
    I cross checked several times before and after redefining the context node method IF_BSP_MODEL~INIT, before redefining this method UI is working fine, after redefintion UI is throwing below error .
    Exception Details
    CX_SY_REF_IS_INITIAL - Dereferencing of the NULL reference
    Method: CL_BSP_MODEL=>IF_BSP_MODEL_BINDING~IS_ATTRIBUTE_VALID
    Source Text Row: 13
    Thanks & Regards
    Rajasekhar

  • Doubts in CMP Setter and Getter Methods

    Hi. Just like to clarify something on CMP.
    May I know if there are 6 fields in my database table and I declared only getter and setter methods for 5 of the fields only, will this post any problem in WL8.1?
    Also, suppose I have 6 fields in my database table and I declared 6 setter and getter methods. Throughout my program I only trigger 2 setter methods, will the other 4 setter methods that I didnt trigger set a null or 0 to the fields (since I didn't set any value to them)?
    Thanks and appreciate.

    Unset fields will usually be set to their default value, i.e. null for Objects. You don't have to define / execute setters for columns in the database unless they are non-nullable.
    -- markus.

  • Regarding setter and getter methods

    Hi,
    Can anybody tell me the use of setter and getter methods in webdynpro .
    It is generated when we set the calculate property of value attribute to true .
    Thanks a lot .

    Hi Jain
    <b>setter</b> and <b>getter </b>functions will be created when you set the calculated propertyto true
    Consider the following scenario where in you can get some basic idea
    1) First insert a Child "Image" UI Element
    2) Create a Context in a view in which you are using Image UI Element
    3) Value Node
    Name : Image
    Cardidality : 1..1
    4) create 2 Value Attributes
    4)a ImageAlt (Calculate property - true) //this will create getter and setter methods
    4)b ImageSrc (Calculate property - true) //this will create getter and setter methods
    5)Bind the properties of Image
    alt - Image.ImageAlt
    source - Image.ImageSrc
    6) in getImageSrc()
    retrun "XX.gif"
    7) in getImageAlt()
    return "Image Not Available"
    you can even achieve getter and setter methods by doing the following procedure
    goto <b>implementation</b> tab-> rightclick -> <b>source</b> -> <b>generate Getter and Setter methods...</b>
    Best Regards
    Chaitanya.A

  • Auto Javadoc for Setter and getter methods

    Hi
    Is there a way to include javadoc while creating a Setter and getter itself?
    Thanks
    Tanjith

    but why addign javadoc to a getter/setter anywhy?Oracle [url http://download.oracle.com/docs/cd/E16162_01/apirefs.1112/e17483/oracle/jbo/common/AccTravDefImpl.html#getAccTravQualifiers()]does, so it must be OK :)
    But as Timo says, there's no automatic way that I know of. I suppose you could do something like that by making your own code template.
    John

  • Customizing order for setter and getter methods in ViewRowImpl

    I have problem to calculate value for one attribute of my viewObjectRow which depends on values of other attributes in my row and result of stored function. I menaged to do all of this except getting value one of attributes that i need. Order of calling getter methods doesn't fit me. I tried lot of things, but nothig worked! Is there some way to customize calling order for getter and setter methods in ViewRowImpl and How?
    Thanks!

    but why addign javadoc to a getter/setter anywhy?Oracle [url http://download.oracle.com/docs/cd/E16162_01/apirefs.1112/e17483/oracle/jbo/common/AccTravDefImpl.html#getAccTravQualifiers()]does, so it must be OK :)
    But as Timo says, there's no automatic way that I know of. I suppose you could do something like that by making your own code template.
    John

  • Memory Problem with SEt and GET parameter

    hi,
    I m doing exits. I have one exit for importing and another one for changing parameter.
    SET PARAMETER exit code is ....
    *data:v_nba like eban-bsart,
           v_nbc like eban-bsart,
           v_nbo like eban-bsart.
           v_nbc = 'CAPX'.
           v_nbo = 'OPEX'.
           v_nba = 'OVH'.
    if im_data_new-werks is initial.
      if im_data_new-knttp is initial.
        if im_data_new-bsart = 'NBC' or im_data_new-bsart = 'SERC' or im_data_new-bsart = 'SERI'
           or im_data_new-bsart = 'SER' or im_data_new-bsart = 'SERM' or im_data_new-bsart = 'NBI'.
          set parameter id 'ZC1' field v_nbc.
        elseif im_data_new-bsart = 'NBO' or im_data_new-bsart = 'NBM' or im_data_new-bsart = 'SERO'.
          set parameter id 'ZC2' field v_nbo.
        elseif im_data_new-bsart = 'NBA' or im_data_new-bsart = 'SERA'.
          set parameter id 'ZC3' field  v_nba.
        endif.
      endif.
    endif. *
    and GET PARAMETER CODE IS....
      get parameter id 'ZC1' field c_fmderive-fund.
      get parameter id 'ZC2' field c_fmderive-fund.
      get parameter id 'ZC3' field c_fmderive-fund.
    FREE MEMORY ID 'ZC1'.
      FREE MEMORY ID 'ZC2'.
       FREE MEMORY ID 'ZC3'.
    In this code i m facing memory problem.
    It is not refreshing the memory every time.
    So plz give me proper solution.
    Its urgent.
    Thanks
    Ranveer

    Hi,
       I suppose you are trying to store some particular value in memory in one program and then retieve it in another.
    If so try using EXPORT data TO MEMORY ID 'ZC1'. and IMPORT data FROM MEMORY ID 'ZC1'.
    To use SET PARAMETER/GET PARAMETER the specified parameter name should be in table TPARA. Which I don't think is there in your case.
    Sample Code :
    Data declarations for the function codes to be transferred
    DATA : v_first  TYPE syucomm,
           v_second TYPE syucomm.
    CONSTANTS : c_memid TYPE char10 VALUE 'ZCCBPR1'.
    Move the function codes to the program varaibles
      v_first  = gv_bdt_fcode.
      v_second = sy-ucomm.
    Export the function codes to Memory ID
    EXPORT v_first
           v_second TO MEMORY ID c_memid.        "ZCCBPR1  --- Here you are sending the values to memory
    Then retrieve it.
    Retrieve the function codes from the Memory ID
      IMPORT v_first  TO v_fcode_1
             v_second TO v_fcode_2
      FROM MEMORY ID c_memid.                                   "ZCCBPR1
      FREE MEMORY ID c_memid.                                   "ZCCBPR1
    After reading the values from memory ID free them your problem should be solved.
    Thanks
    Barada
    Edited by: Baradakanta Swain on May 27, 2008 10:20 AM

  • Issue with set and get paramter

    Hi all,
    i am using set parameter id  in a module pool program and get parameter id in the FM .
    say iam passing a value ABC.
    IN BETWEEN USING THE FM IF I OPEN SE38 THEN I SEE THE VALUE ABC IN THE PROGRAM NAME.
    is there any thing that i need to do after using it in FM like clear memory etc.
    Thanks

    Hi ,
    i need to do this after the get parameter right.
    if iam right.
    say i am passing the value from module pool now i.e set parameter (value = abc)
    and using the fm later say tommorow in which i have get parameter
    and i have the statment
    clear: v_value.
    SET PARAMETER ID 'AAA' FIELD v_value.
    or
    SET PARAMETER ID 'AAA' FIELD space.
    so in the mean time between today and tommorrow if use se38 then i see abc in se38 right
    let me know if iam right and is there a way to avoid this
    thanks

  • Creating DAO layer from java beans(setter and getter methods)

    Can anybody explain me how to create an adapter layer (DAO layer) from java beans with no connection and transaction code inside DAO layer?

    Sure, have another layer do the transaction work.
    Your DAO would make us of this layer.

  • Set and get values with vector

    I have a class that that querys a db and sets a value of the result to a vector array. Is it possible to set and retrieve that vector array using the set and get methods?
    ex:
    my class:
    sql = "Select ...";
    Vector fName = new Vector();
    rs = sqlStatement.executeQuery(sql);
    if (rs != null) {
    while (rs.next()) {
    fName.add(rs.getString("fName") + "");
    rs.close();
    setFName(fName);
    how would I set up the set and get methods???
    thanks

    I am unsure of what you are asking:
    A Vector has set and get methods for it, you use indexes of the array to say what element you want to work with.
    If you are asking how do you know what elements of the Vector contain which data columns, you have to remember how you put them in.
    If you are asking if you can use set to load the Vector: then NO, you have to have elemenets already there to change, use the add method.
    If you are asking how to access the elements of the Vector you use an Enumeration:
    for(java.util.Enumeration e = v.elements(); e.hasMoreElements();){
    s = (java.lang.String) e.nextElement();
    vl.add(s.substring(0, 12));
    If you are asking something else: please elaborate what you want--my brain may not be very functional this morning.

  • Problem extending standard ViewReceiptsSearchVO view object with logic on get method

    Hi All,
    EBS 12.1.3
    Database 11.2.0.3
    I am trying to extend the 3 VOs related to ViewReceiptsSearch.  I extended a seeded ViewReceiptsSearchVO view object.  I haven't made any changes yet, no columns added, nothing altered.  When I run this substitution, the "Received" column is null.  This column in the view used for the view object only selects NULL and uses the getter method for the attribute to populate the value.  The generated extension getter calls getAttributeInternal and skips the logic in the standard getter and the substituted view object is displaying the null in the screen.  The below discussion explains the problem very well except that the original posted had the issue in 11.5.10.2.  I am having this issue with 12.1.3.
    Problem extending standard view object with logic on get method
    The 3 VOs that I am having the problem are:
    ViewReceiptsSearchVO
    ViewReceiptsSearchReqVO
    ViewReceiptsSearchSupplierVO
    What do I need to do to get the "Received" column populated?  Please let me know any additional information you want to troubleshoot the issue.
    Thanks.

    Hi,
    Can you Please Share Extended ViewReceiptsSearchVO.xml and .jpx File?
    Thanks,
    Dilip

  • Script label: Set and get it?

    Hi
    How can I set and get the script label of a frame in my plugin?
    Thanks for the help.
    Best regards
    Hans

    Hi,<br /><br />the IScript-Interface has a GetTag() and SetTag() method. While GetTag() is fine, you'll get Asserts when using SetTag() - thus I changed that to  processing kSetScriptingTagCmdBoss.<br /><br />Example (script-label on a splineitem, stripped of nil-pointer-checks):<br /><br />InterfacePtr<IScript> script(itemRef, UseDefaultIID());               <br />PMString label = script->GetTag();<br />ScriptList scriptList.push_back(script);<br />InterfacePtr<IScriptManager>scriptMgr(Utils<IScriptUtils>()->QueryScriptManager(kScript TagMgrBoss));<br />InterfacePtr<ICommand> cmd( CmdUtils::CreateCommand(kSetScriptingTagCmdBoss));<br />InterfacePtr<IScriptTagCmdData> scriptTagData(cmd, UseDefaultIID());<br />scriptTagData->SetScriptList(scriptList, scriptMgr->GetRequestContext(), label);<br />cmd->SetItemList(UIDList(itemRef));<br />ErrorCode err = CmdUtils::ProcessCommand(cmd);<br /><br />Regards,<br /><br />Bernt

  • SwapImage with Set cookie  - Get Cookie , Optimizing for internet explorer ?

    Hello
    I have a soon- to -be -published website. The homepage, index has quite a lot of session - cookies on it, which are connected to swapimage behaviour. They work fine in firefox, opera, Safari and chrome, but in Internet explorer the swapping of the images takes a looooooot of time.....
    Also, when  I reload the page, some of the cookies are not retrieved, which only happens in Internet Explorer.
    This is the inline javascript for the page:
    <script type="text/javascript">
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    </script>
    <script type="text/javascript">
    if (Get_Cookie('plug')) { document.getElementById('Image41').src="images/PluginsN_95.png" ; }
    if (Get_Cookie('homebutton')) { document.getElementById('homebutton2').src="images/HomeButton_03.png" ; }
    if (Get_Cookie('search')) { document.getElementById('searchBox2').src="images/searchbox2_18.png" ; }
    if (Get_Cookie('tooling')) { document.getElementById('toolingMain2').src="images/ToolingButtonMainN_05.png" ; }
    if (Get_Cookie('homeF')) { document.getElementById('homeF2').src="images/homeFilled_06.png" ; }
    if (Get_Cookie('flashButton')) { document.getElementById('flashButtonTWO2').src="images/flashMenuNew_12.png" ; }
    if (Get_Cookie('Disclaimer')) { document.getElementById('Disclaimer2').src="images/Disclaimer_46.png" ; }
    if (Get_Cookie('About')) { document.getElementById('About2').src="images/aboutSmall_87.png" ; }
    if (Get_Cookie('litter')) { document.getElementById('Litterature2').src="images/LitteratureN_99.png" ; }
    if (Get_Cookie('sky')) { document.getElementById('Skyscrapers2').src="images/Buildings_73.png" ; }
    if (Get_Cookie('arti')) { document.getElementById('Artificial2').src="images/Artificial_32.png" ; }
    if (Get_Cookie('intro')) { document.getElementById('IntroButton2').src="images/IntroMainN_15.png" ; }
    if (Get_Cookie('vector')) { document.getElementById('GVectors2').src="images/GVectorsN_21.png" ; }
    if (Get_Cookie('lsys')) { document.getElementById('LSystems2').src="images/LSystems_03.png" ; }
    if (Get_Cookie('recurse')) { document.getElementById('Recursivity2').src="images/RecursivityN_30.png" ; }
    if (Get_Cookie('anim')) { document.getElementById('AnimGrowth2').src="images/AnimGrowthN_32.png" ; }
    if (Get_Cookie('generate')) { document.getElementById('Genr').src="images/Genr8N_34.png" ; }
    if (Get_Cookie('algo')) { document.getElementById('Algorithms2').src="images/AlgsN_43.png" ; }
    if (Get_Cookie('map')) { document.getElementById('MappingGrammars2').src="images/MapGrammars_21_20.png" ; }
    if (Get_Cookie('blog')) { document.getElementById('blogMain2').src="images/bloggingButtonN_07_07.png" ; }
    if (Get_Cookie('frac')) { document.getElementById('Fractals2').src="images/fractalMain_20.png" ; }
    if (Get_Cookie('maya')) { document.getElementById('MayaApi2').src="images/MayaApiN_54.png" ; }
    if (Get_Cookie('link')) { document.getElementById('Links2').src="images/Links_61.png" ; }
    if (Get_Cookie('turtle')) { document.getElementById('TurtleG2').src="images/TurtleGN_63.png" ; }
    if (Get_Cookie('EmergentDes')) { document.getElementById('EmergentD2').src="images/EmergentN_77.png" ; }
    if (Get_Cookie('openSource')) { document.getElementById('shareWare2').src="images/SharewareN_75.png" ; }
    if (Get_Cookie('credits')) { document.getElementById('SiteCred2').src="images/SiteCredits_48.png" ; }
    if (Get_Cookie('Projecting')) { document.getElementById('Projects2').src="images/ProjectsN_97.png" ; }
    if (Get_Cookie('Disclaimed')) { document.getElementById('Disclaimer2').src="images/Disclaimer_46.png" ; }
    if (Get_Cookie('Projecting')) { document.getElementById('Projects2').src="images/ProjectsN_97.png" ; }
    if (Get_Cookie('designpa')) { document.getElementById('DesignP2').src="images/DesignPN_85.png" ; }
    if (Get_Cookie('toolingfilled')) { document.getElementById('toolingfill').src="images/toolingFilled_08.png" ; }
    if (Get_Cookie('homeFill')) { document.getElementById('filled').src="images/homeFilled_06.png" ; }
    if (Get_Cookie('flashFilled')) { document.getElementById('filledFlash').src="images/flashFilled_12.png" ; }
    if (Get_Cookie('blogFill')) { document.getElementById('filledBlog').src="images/blogFilled_10.png" ; }
    if (Get_Cookie('introFilled')) { document.getElementById('filledIntro').src="images/introFilled_20.png" ; }
    if (Get_Cookie('vectorFill')) { document.getElementById('filledVectors').src="images/vectorsFilled_21.png" ; }
    if (Get_Cookie('lsysFill')) { document.getElementById('filledLsystems').src="images/lsystemsFilled_23.png" ; }
    if (Get_Cookie('recurFill')) { document.getElementById('filledRecur').src="images/recursivityFilled_28.png" ; }
    if (Get_Cookie('animFill')) { document.getElementById('filledAnim').src="images/animgrowthFilled_30.png" ; }
    if (Get_Cookie('genr8Fill')) { document.getElementById('filledGenr8').src="images/genr8Filled_32.png" ; }
    if (Get_Cookie('linksFill')) { document.getElementById('filledLinks').src="images/linksFilled_51.png" ; }
    if (Get_Cookie('algoFill')) { document.getElementById('filledAlgo').src="images/algFilled_41.png" ; }
    if (Get_Cookie('artiFill')) { document.getElementById('filledArtificial').src="images/googleSearch_43.png" ; }
    if (Get_Cookie('mayaFill')) { document.getElementById('filledMaya').src="images/resize_48.png" ; }
    if (Get_Cookie('fractalFill')) { document.getElementById('filledFractals').src="images/fractalsFilled_46.png" ; }
    if (Get_Cookie('turtleFill')) { document.getElementById('filledTurtle').src="images/turtleFilled_53.png" ; }
    if (Get_Cookie('alifeFill')) { document.getElementById('filledAlife').src="images/alifeFilled_55.png" ; }
    if (Get_Cookie('pluginsFill')) { document.getElementById('filledPlugins').src="images/pluginsFilled_81.png" ; }
    if (Get_Cookie('extraFill')) { document.getElementById('filledExtra').src="images/extraFilled_81.png" ; }
    if (Get_Cookie('designpFill')) { document.getElementById('filledDesignp').src="images/designpFilled_71.png" ; }
    if (Get_Cookie('disclaimerFill')) { document.getElementById('filledDisclaimer').src="images/disclaimerFilled_73.png" ; }
    if (Get_Cookie('litteratureFill')) { document.getElementById('filledLitterature').src="images/litteratureFilled_85.png" ; }
    if (Get_Cookie('projectsFill')) { document.getElementById('filledProjects').src="images/projectsFilled_83.png" ; }
    if (Get_Cookie('emergentFill')) { document.getElementById('filledEmergent').src="images/emergentFilled_64.png" ; }
    if (Get_Cookie('emergentFill')) { document.getElementById('filledFooter').src="images/footerFilled_87.png" ; }
    if (Get_Cookie('headerFill')) { document.getElementById('filledHeader').src="images/headerFilled_06.png" ; }
    if (Get_Cookie('VectorFillExtra')) { document.getElementById('filledVectorT').src="images/vectorFilled2_21.png" ; }
    </script>
    As you can see there are a lot of function calls with getElementById, and I'm thinking there has to be a more efficient way of doing this....... I am using an external cookieScript for setting and getting the cookies, but the swapImage is standard Dreamweaver.
    I would be very happy if anybody could help me with this.. I know it is probably easy when you know how, but I don't, unfortunately :-(
    eivindt

    Hi JMH_NG,
    Thanks for the post and I hope your well today. I noticed you've not received any support so far.
    It is possible in LabVIEW to access the ActiveX event callbacks
    for the WebBrowser object. The "ActiveX Event Callback for IE.vi" is a
    good example found in the Example Finder that demonstrates this
    capability. The ability to poll whether the download is complete will
    be completely dependent on the DWebBrowserEvents that the WebBrowser supports. FileDownload will notify when a download file download begins. From Microsoft's MSDN page,
    "When the WebBrowser control is about to begin a download operation, it
    fires the DWebBrowserEvents2:: DownloadBegin event." A DownloadComplete
    event is also fired when the download operation finishes. From the
    information I've found, it sounds like these events (and
    ProgressChange) are only for page downloads and not for file downloads,
    but they are your best bet. I would suggest inquiring on the MSDN Forum for more information on these events.
    I hope this helps,
    Kind Regards,
    James.
    Kind Regards
    James Hillman
    Applications Engineer 2008 to 2009 National Instruments UK & Ireland
    Loughborough University UK - 2006 to 2011
    Remember Kudos those who help!

  • Setting and getting values to the viewcontroller from component controller

    Hi,
    I'm having a model node in the controller  and the value node int he view which are binded to the UI elements.
    How to set the values in the model nodes to the value nodes in the view through setter method and get the values from the view using getter???
    Could you help me in, how to call a viewController's value node in componenet controller, and set and get the values to it.
    Thanks & Regards,
    Suresh

    Thanks Murtuza..
    i have one more question regarding checkbox by group.
    I have binded the texxt property of the checkbox by group to a context contribute and its type property is selected from a simple type.
    In the view layout on NWDS its showing the label names which i hav given in the simple type. but when i deploy it and run it in browser its just showing only one check box. its not showing the label names.
    how to get the label names, using simple types. i,m able to get it using code.
    how to get it by simpletype??? 
    thanks, suresh

  • Set and get parameter id

    Hi,
    I need to store one variable value and I need to retrieve the same variable value in same program. For this I have written set and get parameter ids in the same program. It is working fine but if I log off the system and if I logon the system it is not working I mean before log off the variable is showing some value if I log on again that variable is showing empty. But I want to capture the field values after log off and log on also. Is there any other option can I use table?
    Please help me I will give points.
    Thanks.

    Hi
    SAP memory is a memory area to which all main sessions within a SAPgui have access. You can use SAP memory either to pass data from one program to another within a session, or to pass data from one session to another. Application programs that use SAP memory must do so using SPA/GPA parameters (also known as SET/GET parameters). These parameters can be set either for a particular user or for a particular program using the SET PARAMETER statement. Other ABAP programs can then retrieve the set parameters using the GET PARAMETER statement. The most frequent use of SPA/GPA parameters is to fill input fields on screens
    SAP global memory retains field value through out session.
    set parameter id 'MAT' field v_matnr.
    get parameter id 'MAT' field v_matnr.
    They are stored in table <b>TPARA</b>.
    ABAP memory is a memory area that all ABAP programs within the same internal session can access using the EXPORT and IMPORT statements. Data within this area remains intact during a whole sequence of program calls. To pass data
    to a program which you are calling, the data needs to be placed in ABAP memory before the call is made. The internal session of the called program then replaces that of the calling program. The program called can then read from the ABAP memory. If control is then returned to the program which made the initial call, the same process operates in reverse.
    ABAP memory is temporary and values are retained in same LUW.
    export itab to memory id 'TEST'.
    import itab from memory Id 'TEST'.
    Here itab should be declared of same type and length.
    http://www.sap-img.com/abap/difference-between-sap-and-abap-memory.htm
    ABAP Memmory & SAP Memmory
    http://www.sap-img.com/abap/difference-between-sap-and-abap-memory.htm
    http://www.sap-img.com/abap/type-and-uses-of-lock-objects-in-sap.htm
    Regards
    Anji

Maybe you are looking for