How to clear Global Parameter ID.

Hello Friends.
How can I get clear Parameter ID value, which was set in the program. suppose, if value is set to 'X', How can I make it to '  '.
Sathish Kumar

hi
good
use like this
ABAP programs can access the parameters using the SET PARAMETER and GET PARAMETER statements.
To fill one, use:
SET PARAMETER ID <pid> FIELD <f>.
This statement saves the contents of field <f> under the ID <pid> in the SAP memory. The code <pid> can be up to 20 characters long. If there was already a value stored under <pid>, this statement overwrites it. If the ID <pid> does not exist, double-click <pid> in the ABAP Editor to create a new parameter object.
To read an SPA/GPA parameter, use:
GET PARAMETER ID <pid> FIELD <f>.
This statement fills the value stored under the ID <pid> into the variable <f>. If the system does not find a value for <pid> in the SAP memory, it sets SY-SUBRC to 4, otherwise to 0.
thanks
mrutyun^

Similar Messages

  • How to Clear Parameter IDs in ABAP?

    Hi folks,
    How to clear SET parameter ID Field ccccc.
    Can anyone explain.
    Thanks,
    Matt

    Just set the field to SPACE.
    SET PARAMETER ID 'SOME_PID' FIELD space.
    Regards,
    Rich Heilman

  • How do I clear query parameter in Oracle 10g ADF

    HI ,
    My question is
    1. when i am navigating to page B from Page A its querying data and showing . And I have same Pgae B which is attached to Menu also
    so . How do i trace whether I am comming from menu or comming from Page A ..??
    2. if i moved to page A and searched with some criteria , after then I moved to Page B from Menu , again come back to Page A from Menu
    its retaining the old search criteria in the page . not clearing my search criteria . ( as a result what is happening its not showing the data whatever
    in the Table ) . In order to show my existing data , i need to clear and then again clicking page B in Menu then only its showing the data .
    so how to clear query parameter

    [email protected] wrote:
    HI ,
    My question is
    1. when i am navigating to page B from Page A its querying data and showing . And I have same Pgae B which is attached to Menu also
    so . How do i trace whether I am comming from menu or comming from Page A ..??Add a setActionListner and set a sessionscope variable according to the action?
    >
    2. if i moved to page A and searched with some criteria , after then I moved to Page B from Menu , again come back to Page A from Menu
    its retaining the old search criteria in the page . not clearing my search criteria . ( as a result what is happening its not showing the data whatever
    in the Table ) . In order to show my existing data , i need to clear and then again clicking page B in Menu then only its showing the data .
    so how to clear query parameter

  • How do I clear the parameter after form post?

    Hi. I am learning my first JSP and was trying to do a form post. However, I found that after successfully submit to the database. If I press F5 (Refresh) from browser, the data will be re inserted into database. How could I clear the parameter (action) after data insert. My code structure is as follow.
    Thank you.
    <%@ page import="java.sql.*" %>
    <%! Connection conn;
    PreparedStatement stmtInsert;
    public void jspInit() {
    try{ ... }catch(SQLException e){}
    catch(ClassNotFoundException e){}
    public void jspDestroy() {...}
    %>
    <% if (request.getParameter("action") == null ) { %>
    <H2>Data Entry:</H2>
    <FORM METHOD="post" ACTION="<%= request.getRequestURI() %>">
    <INPUT TYPE="submit" NAME="Submit" VALUE="Submit">
    <INPUT TYPE="reset" NAME="Reset" VALUE="Reset">
         <INPUT TYPE="hidden" NAME="action" VALUE="insert">
    </FORM>
    <% } else if (request.getParameter("action").equals("insert")) { %>
    <%
    try{
    synchronized(stmtInsert){
    stmtInsert.executeUpdate();
    out.print("<br> Room has been inserted successfully");
    // once successful...how could I change the action to null?
    } catch (SQLException e){
    %>

    http://forum.java.sun.com/thread.jsp?forum=45&thread=78925

  • How to clear the open documents in case if document currency and local curr

    Hi,
        Can anyboday advise how to clear the open document of a particular vendor for a particular company code. Here the issue is that balace is netted to Zero in the document currency but not in the local currency. The document was posted in Currency CAD and the local currency is GBP.
    When i check the FBL1N, there is it showing net balance is ZERO, but document is still in open
    status. I tried using Transaction code F-44, but it is not allowing me.
    Can anyboday advise how to perform this. Points will be awarded.
    Regards,
    Sree.

    Hi,
    In the Company code global parameters(OBY6),select the check box "NO FOREX RATE DIFF.WHEN CLEARING IN LC"
    and try clearing again.(You can have a F1 help on the check box to see what exactly it is).
    Hope this will resolve
    Assign points if useful
    Thanks
    Aravind
    Edited by: Aravind Aitipamula on May 22, 2008 1:36 AM

  • How to clear the line items...

    hello friends,
    I am not able to clear line items with F.13 transaction for special G/L Account..i am inputing the values with the Transactions F-48 and F-43(In each transaction v have assigned the same assignment (BSIK-ZUONR)) line items has to be cleared based on Assignment....we can view the details in Tr.code-FBL1N.
    Can any one help me...plzzz
    vamshi

    Hi PK,
    1. Should we maintain OIM for all Excise G/Ls (BED, ECess, SHECess)?
    - Please DO NOT maintain OIM on BED, ECESS and HECESS, only to be maintained for Cenvat Clearing Account. Also note that clearing of Cenvat Clearing is not easy, as in standard SAP, the assignment field is not updated with the same information for the Dr. and cr. line items of Cenvat Clearing Account. You need to use an exit in Substitution for it to populate the P.O. no. and line item at the time of MIRO.
    2. How to clear the BED Excise GLs which is with OIM in our system, it is thru F.13 only?
    You can use F.13 only if the entries are matching not otherwise, else clear all of them manually if you have good control of your account balances.
    3. Can we activate or deactivate OIM any point of time, I mean can it be activated in case the G/L balance amount is not ZERO?
    OIM activation for a GL - Refer Note No.1356457.
    OIM Deactivation :  You can deactivate OIM after making the balance Zero on that Account and by changing the Message No. FH 190 to warning in OBA5.
    4. What is the use of T Code J2IUN, I have gone thru the SDN links, but I am not able to execute the screen. What parameter should we select while executing J2IUN, when we use Pay cenvat from ser tax cr and Pay ser tax from cenvat cr.
    J2IUN is to utllize Excise Duty. The liability of Excise duty is utilized from Excise balances of BED, PLA , Service tax etc.. as per business requirements.
    Hope this helps you.
    Regards,
    SAPFICO

  • How to create a parameter id on screen element

    How to create a parameter id on screen element
    reply urgent

    Hi Madan,
    Check this info.
    Parametere Id is the one which holds the memory for the particular field. when we need to pass the the field from one screen to another use the parameter Id.
    The SAP Memory is a user-specific memory area of the application server, which is accessed by all main sessions of a user session at once. ABAP programs have access to SPA/GPA parameters stored in the SAP Memory (also called SET/GET parameters).
    Eg. Of  how to use Set parameter
    you can give value of variable (dobj) to parameter ID 'pid'. This will store value in SAP memory
    SET PARAMETER ID pid FIELD dobj.
    When you want to use that value stored in SAP memory
    you can use GET parameter.
    GET PARAMETER ID pid FIELD dobj.
    To fill the input fields of a called transaction with data from the calling program, you can use the SPA/GPA technique. SPA/GPA parameters are values that the system stores in the global, user-specific SAP memory. SAP memory allows you to pass values between programs. A user can access the values stored in the SAP memory during one terminal session for all parallel sessions. Each SPA/GPA parameter is identified by a 20-character code. You can maintain them in the Repository Browser in the ABAP Workbench. The values in SPA/GPA parameters are user-specific.
    ABAP programs can access the parameters using the SET PARAMETER and GET PARAMETER statements.
    To fill one, use:
    SET PARAMETER ID <pid> FIELD <f>.
    This statement saves the contents of field <f> under the ID <pid> in the SAP memory. The code <pid> can be up to 20 characters long. If there was already a value stored under <pid>, this statement overwrites it. If the ID <pid> does not exist, double-click <pid> in the ABAP Editor to create a new parameter object.
    To read an SPA/GPA parameter, use:
    GET PARAMETER ID <pid> FIELD <f>.
    This statement fills the value stored under the ID <pid> into the variable <f>. If the system does not find a value for <pid> in the SAP memory, it sets SY-SUBRC to 4, otherwise to 0.
    To fill the initial screen of a program using SPA/GPA parameters, you normally only need the SET PARAMETER statement.
    The relevant fields must each be linked to an SPA/GPA parameter.
    On a selection screen, you link fields to parameters using the MEMORY ID addition in the PARAMETERS or SELECT-OPTIONS statement. If you specify an SPA/GPA parameter ID when you declare a parameter or selection option, the corresponding input field is linked to that input field.
    Check this link.
    http://help.sap.com/saphelp_47x200/helpdata/en/f5/6a853c61c5140ee10000000a11405a/frameset.htm
    Hope this resolves your query.
    Reward all the helpful answers.
    Regards

  • How to clear an NamedWhereClause

    Hi there;
    My code is like this;
    in an applicationModule;
          ViewObjectImpl vo = (ViewObjectImpl) findViewObject(views);
            vo.closeRowSetIterator();
            vo.applyViewCriteria(null);
            vo.setWhereClause(null);
            vo.setWhereClauseParams(null);                          //  already tried;
            vo.applyViewCriteria(vc);
            vo.removeNamedWhereClauseParam("pIdCenarioOrc");    -- clear one parameter from another viewCriteria  setted before
            vo.setNamedWhereClauseParam("pIdCenarioRur", wIdCenarioRur);   -- setting new parameter from the current viewCriteria;
        But , I run in two errors;
    one if i comment "removeNamedWhereClauseParam", that I'm trying to set one parameter that does not occur in my sql Code;
    If I leave removeNamedWhereClauseParam , it says that the parameter is not from an viewObjectImp, it belongs to viewObjectDefImpl;
    How can I run out of this ??
    Thanks;

    Hi,
    try
    getViewCriteriaManager().clearViewCriterias()
    getViewCriteriaManager().removeViewCriteria(java.lang.String name)
    Frank

  • How to clear an NamedWhereClause (Sorry ! I cant deleted It )

    Hi there;
    My code is like this;
    in an applicationModule;
          ViewObjectImpl vo = (ViewObjectImpl) findViewObject(views);
            vo.closeRowSetIterator();
            vo.applyViewCriteria(null);
            vo.setWhereClause(null);
            vo.setWhereClauseParams(null);                          //  already tried;
            vo.applyViewCriteria(vc);
            vo.removeNamedWhereClauseParam("pIdCenarioOrc");    -- clear one parameter from another viewCriteria  setted before
            vo.setNamedWhereClauseParam("pIdCenarioRur", wIdCenarioRur);   -- setting new parameter from the current viewCriteria;
        [code/]
      But , I run in two errors;
         one if i comment "removeNamedWhereClauseParam", that I'm trying to set one parameter that does not occur in my sql Code;
         If I leave removeNamedWhereClauseParam , it says that the parameter is not from an viewObjectImp, it belongs to viewObjectDefImpl;
    How can I run out of this ??
    Thanks;
    Edited by: MarcosOrtega on 14/09/2010 09:22                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    I think , that
    as my bind parameter declared inside ViewObject's binded parameters , has default value, ADF tries to set it and passes to the query (before executed it);
    see; it was previously removed, but as it was with default values at vo's bind parameters declaration, my gues is that ADF tries to insert then , even if then does not part of where sql
    So , as I've declared the both parameters with default values, and used just one inside each viewCriteria instead of using the two at the same time !
    Now , I removed the groovy default value expression, and it is working !! :)
    My Guess that it was it;

  • How to set global parameters? (Best Practice?)

    Dear all,
    I've experience with Infor Performance Management tools, Qlikview and also SAP Business Objects Reporting. As for last week i'm new to Microsoft Reporting Services. In our current environemnt we're setting up a Report Structure on top of an Analysis Service
    Cube.
    Currently I'm creating various reports (which works fine) on the mentioned Analysis Service Cube.
    My current question is, if there is a best practice to create reports with global variables? We'll have a package of ~20 reports which all relate to the same data source. My approach is that i'll define the reports, but the global parameters like "Current
    year", "Last year" etc. should be defined on a global page. That's the way I would have done it in the other BI tools.
    How is this done best in MS Reporting Services? Should i add an additional flat SQL server source and put the values in some ref tables? Or script the global parameter?

    Hi Praveen G,
    this blog was one of the sources I already found.
    I was searching for the "official" way to set the default-workbook - without manipulating the tables programmaticaly (and possibly inconsistant).
    Best regards,
      Marco

  • How to design a Parameter Form

    Hi,
    How to design the parameter form with image which can be shown in the discoverer viewer.

    if i got your question right you need a image or logo in discoverer viewer right??
    Discoverer viewer dont support images or logos....Images are only supported in discoverer plus.
    anything more be clearer on the question.

  • Global Parameter

    Hi All,
    I need to set a global parameter which can be used in all my mappings. How can this be done in OWB ? Is there any way of doing this without the use of a external flat file or temporary table to store the parameter?
    I sometimes wonder what is the use of a Mapping Input Parameter, I hope it cannot be used for this purpose !!
    rgds
    -AP

    Hello, AP
    If your global parameters are not volatile you may prefer to place them to the package as a constants or functions. You could latter refer them in your mappings.
    Advantage – performance throw PLSQL code caching (you could even pin this “parameter package” in memory), disadvantage – change parameter values requires recompilation of all dependent objects.
    Serhit

  • E-Recruiting - BSP application - How to clear buffer?

    Hi,
    I’m debugging one of BSP application (I set an external break point at method of model class).
    Very first time program flow stops at break point but after that it is not stopping there b/c records being fetched from buffer. May I know how to clear the buffer?
    Regards,
    ...Naddy

    Well,
    E-Recruiting Infotypes are buffered within the application as internal tables.
    The buffer is filled, when first time opening an subapplication. It's also filled, when those infotype records have not been read before.
    Refreshing the buffer is only triggered by the application. This is done by "Refresh"-Buttons or Buttons like "Start selection".
    You cannot refresh it yourself, while debugging. It's a global event called by button events.

  • How to configure Environment Parameter BW_SPEC_USAGE to get multiple Usages

    We are extracting EHS data from R/3 to BW system. The Environment Parameter BW_SPEC_USAGE can allow only ONE Rating and ONE Validity Area. Our EHS is maintained for many different Ratings and Validity Areas. Does any experts know how to configure Environment Parameter BW_SPEC_USAGE to get data from multiple Usages (the combinations of Rating and Validity Areas).
    The default usage is PUBLIC: REG_WORLD (Rating: Validity Area), so we configure the default Usage as sort sequence 0. EHS data maintained for PUBLIC: REG_WORLD is then extracted to BW system successfully. Then, I try to create another sort sequence of  BW_SPEC_USAGE as CUSTOMER: REG_EU, but the data maintained for CUSTOMER: REG_EU has never been extracted to BW. I guess this may be the solution to carry multiple Usages, but not sure it is the correct way to do it. Plus, I don't know what to input to the field "Parameter Value" and don't know if the "Parameter Value" matters. 
    Does any expert have experience to configure Environment Parameter BW_SPEC_USAGE?
    Thank you in advance
    Tina Wu

    Hello Tina
    I have done a small review of this paramater. I believe by using this paramter there is no "further option".  But: to my knowlegde you can define several "extractors" (via customizing etc.) (e.g. Data related to 0EHS_PHRASE_TEXT Extractor.)
    You can define any type of extraktor. EHS does have some "standard extraktors" (please consult corresponding release information). In preparing a "customer specific" extraktor it is clear that you can do there what you would like to get. (retrieve data with several usages). We have done that recently successfully.
    take a look here:
    SAP NetWeaver -> SAP Business Information Warehouse -> BI
    Content -> Product Lifecycle Management -> Environment, Health and Safety (help.sap.com)
    With best regards
    C.B.

  • How to clear completed reminders in iCal

    Has anyone figured out how to clear completed (checked done) reminders in iCal?

    Joe,
    That clarifies the question for me. Go to iCal>Preferences>Advanced and make your choices:

Maybe you are looking for

  • Error while exporting cvi settings

    Hello all, I tried using Tools >> Import/Export Settings... facility to export the configuration of CVI to another machine, but I receive this error: What can be the cause? Is there any way to correct it? Using CVI 2009 SP1 on a fresh Win7Pro (64 bit

  • Disable Context Menu - Flash Professional Export (Flash 11.2 - CS6)

    Flash 11.2 added the capability to attach an right-click mouse-event to MovieClips. EX: var mc:MovieClip = new MovieClip mc.addEventListener(MouseEvent.RIGHT_MOUSE_DOWN, myFunction); When this listener is attached, it should be impossible for the Con

  • Variable URL in data service

    I'm new to Flex and trying to create a proof of concept Air App.  I have it connecting to an http service to retrieve data but I want the URL to be configurable.  I created a preferences page which is working, but I can't seem to load the URL prefere

  • I wanna change the tab name in tcode ie02  :)  i'll give u points !!!

    Hi abapers, In screen ie01 i want to change the tab name, like instead of general, i want to put some other. If it is possible, do help me. <b>I ensure u for giving ur share of point.</b> Regards, [email protected]

  • My iPhone 4 overheated then shut itself off.

    I had to connect it to my computer and pull up iTunes to hard reset it because it wouldn't work when I tried wihout it plugged in (it was even more dificult because my lock button only halfway works). When I did this my phone came on for a couple of