Clearing Parameter ID

Hi all,
Is there a way to clear all Parameter ID ? When i submit the report RFITEMAP from my Z program the old values that were entered in the screen for program RFITEMAP still exists.
I think this is because of the Parameter ID. Is there a way to clear this
Regards
Rajvansh

Hi,
try to implement below code
INITIALIZATION.
GET PARAMETER ID 'COMP' FIELD s_compcd-low.
  IF s_compcd-low NE ``.
    s_compcd-option = 'EQ'.
    s_compcd-sign = 'I'.
    APPEND s_compcd.
  ENDIF.
START-OF-SELECTION.
SET PARAMETER ID 'COMP' FIELD s_compcd-low.
regards,
Bhupal.

Similar Messages

  • HOW TO CLEAR PARAMETER ID?

    Hey experts,
    I use alv hotspot to call transaction tm_53 as follows:
      SET PARAMETER ID 'BUK' FIELD P_CCODE .
      SET PARAMETER ID 'FAN' FIELD P_LIST-DEAL_NUMBER .
      CALL TRANSACTION 'TM_53' .
    the first P_LIST-DEAL_NUMBER = 11.
    and it is successed.
    the second time the P_LIST-DEAL_NUMBER = 12.
    but  in the screen of tm_53,
    the field P_LIST-DEAL_NUMBER is also 11.
    how can i do?
    i used free momery id P_LIST-DEAL_NUMBER ,
    but it's not gone.
    thanks.

    hi,
    check this link
    clear the field you are using in the SET PARAMETER statement
    Clearing Parameter ID
    regards
    lakshmi

  • 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

  • Clear Parameter ID Problem...

    Hi Gurus;
    I write a screen program(dialog). I use structure on the screen because its very easy. My structure's some field's data element has parameterId. For example Matnr>MAT , Equipment>EQN.
    Sometimes I want to clear my structure in runtime. I clear it. But it remember old values and fill fields. But I dont know.
    I finded the some offer on internet and sdn. And I tried some offers (FREE MEMORY ID 'MAT', SET PARAMETER ID 'MAT' FIELD SPACE)
    But not success.
    Please help me.
    Thanks.

    CLEAR w_matnr.
    SET PARAMETER ID 'MAT' FIELD w_matnr.
    That's the same thing as SET PARAMETER ID 'MAT' FIELD SPACE, which he has already tried.
    To the poster, the space setting should work but you did not identify WHERE in your flow logic you put the statement.  You can also track the value of the parameter ID using the debugger and find out where it's coming back.

  • Parameterized Report - how to clear parameter

    I have a quick question with probably a quick answer ...
    I have a page that has two regions on it. The first region has parameter fields which you can use to add searchable values ( i.e., serial number ). The second region is a report which uses that parameter to get the appropriate rows. Everything works fine. However, when I call the page from a different one or from a tab it retains the value from the last search. I'd like it to first always clear the last value but also not execute the page/report until the user has clicked on the GO/SUBMIT button. Right now when I call the page it has the prior value already executed at time of page load.
    thanks
    John

    Probably I am too late to answer to your question. But I have implemented what you want.
    Suppose you have
    tab1 -> page1
    tab2 -> page2
    tab3 -> page3
    And you want that whenever you revisit your tab1 (after navigating to other tabs), the items on page1 are cleared. For that, you can create a process of type "session state" on page 2 and page 3 and process point can be "On load-before header" and in that process pick "clear cache on page...." . Here you can specify page 1 . So as a result, whenever you go to page2 or page3, items on page1 will be cleared and when you come to page1, the values selected on page1 previously would be cleared already.
    MG

  • 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^

  • "Set-aduser -clear" using variables

    Hello all,
    Is it possible to clear an attribute from a user using variables? For example, this little command works fine:
    get-aduser User31 | set-aduser -clear extensionattribute2, extensionattribute3
    However, I'd like to use this command with variables, like if I didn't know what attributes I wanted to clear beforehand, and could add these attributes to a variable and then pass them to set-aduser:
    $Variables = "extensionattribute2, extensionattribute3"
    get-aduser User31 | set-aduser -clear $Variables
    This command will not work, and I'm not sure if it's possible to use variables with the "-clear" parameter of "set-aduser"?

    Hi,
    You can do that this way:
    $attributes = 'extensionAttribute2','extensionAttribute3'
    Set-ADUser -Identity tester1 -Clear $attributes
    Examples:
    Before:
    Get-ADUser -Identity tester1 -Properties extensionAttribute2,extensionAttribute3 |
    Select SamAccountName,extensionAttribute2,extensionAttribute3
    SamAccountName extensionAttribute2 extensionAttribute3
    tester1 ex2 ex3
    After:
    SamAccountName extensionAttribute2 extensionAttribute3
    tester1
    Don't retire TechNet! -
    (Don't give up yet - 12,950+ strong and growing)

  • Report Groups - Selection screen on receiver report

    Hi there,
    When dealing with sender / receiver reports, do you know if it's possible to force a selection screen prompt when calling a receiver report during execution?
    A report was written in the Report Painter, and belongs to a report group called 1OAB.  This report group has three receiver reports defined, so when users double click on a value, it will forward navigate to another report (receiver report, selected after double click) using the same selection criteria of the current report (sender).
    My <b>problem</b>, is that the selection criteria that is passed by the sender isn't sufficient for the receiver report, and the report ends up running with a much larger selection than required. 
    My <b>question</b>, is whether or not we can either:
    <b>a)</b> Interrupt during the report call and prompt with the report selection screen for the receiver report.  This would allow the user to input any missing selections.
    <b>b)</b> Add in any missing selections via a user exit.  I have not had much luck in finding such an exit.  The closest I got was form 'USEREXIT1' from include LRSTIF90.  This exit appears to be called before and after the report call.  I'm not sure if it's a true exit though, as it's just a piece of code in an include and is referred to as an exit?  To implement would I just register the object and add in my code?
    Any suggestions would be appreciated!
    Thanks,
    L

    FYI the only solution I see is to put in a modification to prompt a selection screen during execution. Modification would go in include 'LRSTIF02' as follows:
    PERFORM report_check_obligatory TABLES it_fieldr
                                      USING flg_obl.
    ** MODIFICATION **
    if ld_tcode = 'FBL3N'.
        flg_obl = 'X'.
    endif.
    ** END MODIFICATION **
      IF flg_obl IS INITIAL.
        CALL TRANSACTION ld_tcode AND SKIP FIRST SCREEN.
      ELSE.
        CALL TRANSACTION ld_tcode.
      ENDIF.
    * clear parameter ids
    * perform clear_pid_fieldr tables it_fieldr it_dfies.
      PERFORM reset_pid_fieldr TABLES it_fieldr it_selpid.
    * if flg_return = 'X'.
    *   call transaction ld_tcode and skip first screen.
    * else.
    *   leave to transaction ld_tcode.
    * endif.
    ENDFORM.
    If anybody has a better idea on how to accomplish this I'd love to hear it!
    Thanks,
    L

  • Smartforms - dealing with decimal and thousand separators

    Hi,
    trying to reuse one of the standard SAP Smartforms - LB_BIL_INVOICE in an ECC 6.0 Unicode system I faced a problem with decimal and thousand separators for currency/quantity fields. In fact, default settings in User profile are not taken in consideration when printing this form. I have changed all the possible settings in the user profife and (after logoff/logon) nothing changes in my output.
    Just to be sure I tried to output the invoice with the original SAP smartform LB_BIL_INVOICE and the things were the same - means output takes wrong settings for decimal/thousand separators.
    For clarity I created a simple form with a single currency field and everything behaves well as expected. So this points me to the direction fo find out what is wrong with the LB_BIL_INVOICE. I downloaded the form into XML and checked the code, further uploaded it into a new one - no success.
    My question is:
    Is there a way to manipulate or overwrite default settings for decimal/thousand separators within smartform, and if yes - how to do this?
    I almost finished my quite complex form and wouldn't like to rewrite it from scratch.
    FYI: I'm not a Smartform expert, by have created/overwiten more than 15 different forms accros different systems - 4.6 C/D, 4.7, ECC 6.0 non-Unicode/Unicode, and never faced such an issue.
    I faced significant smartform 'improvement' in the ECC 6.0 release - especialy for text elements. The new integrated MS word control gives me a lot of throubles. According to this - is there an up-to-date documentation (even link to SAP course is acceptable) according to Smartform development in ECC 6.0?
    Thanks in advance.
    Regards,
    Ivaylo Mutafchiev
    Senior SAP Abap Consultant

    Hi,
    I took a quick glance into the print program, and the print program do a set country setting to reciving country. This will give you the separators that are confugured for this country.
    But if you change the print program and clear parameter country, the smartform will use the users settings instead.
    Regards
    Åsa Thenstedt

  • Debug EJB in JDev from JSP page

    Hi,
    I have read Oracle Note 120139.1 which has helped me debug EJB through JDeveloper. One problem is that it only works with a standard java client, not with a JSP page.
    I have tried setting "debug file as" Oracle8i EJB/CORBA and making the debug class oracle.jdeveloper.debugger.ServletMain with the jsp page as the first parameter (similar to how JDeveloper actually kicks off debugging a JSP), however this fails with the following output:
    Connecting to database service: sess_iiop://localhost:2481:IAS/etc/debugagent
    Attaching Aurora VM agent to JDeveloper: 172.27.1.104, 3539
    Aurora VM agent attached successfully.
    Cannot run: oracle.jdeveloper.debugger.ServletMain.main()
    null
    java.lang.reflect.InvocationTargetException: java.lang.ArrayIndexOutOfBoundsException: 1
    java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[])
    void oracle.jdeveloper.debugger.CorbaDebugAgent.main(java.lang.String[])
    If I add 4 "dummy" parameters, this error goes away, everything appears to work, except the page does not load in the browser which pops up and the breakpoint is never hit. I suppose this is to be expected as I don't actually know what those 4 extra parameters do as I don't have an API specification for the oracle.jdeveloper.debugger.ServletMain class.
    Is it possible to do this (even in an unofficial "workaround fashion?). I would love to know what the additional parameters for the oracle.jdeveloper.debugger.ServletMain class are so I can try running it that way...
    Cheers
    Nic

    By Clear parameter if you mean to remove a request parameter from HttpServletRequest, then you can't. And also, I think this is not an actual solution to what you are trying to solve.
    Moreover, you should better post questions related to JSP/Servlet in web tier here .

  • Memory Issue in SRM Shopping Cart

    Hi all,
    Apparently, I have implemented BAdI BBP_PGRP_FIND to map the purchasing group from z-table, based on Organization ID and Vendor. The mapping was successfully done based on the z-table entry.
    However, when one of the users tried to create a shopping cart from external catalog, he found out that purchasing group was not mapped successfully, and revert to default Responsible Purchasing Group (using FM BBP_OM_FIND_SC) in the above BAdI.
    This issue really puzzle me, as I have tried to replicate user's issue, and I am manage to map purchasing group from z-table, using the same test data as per what user did. I tried to replicate the same issue by using some of my colleagues' workstation, and its having no issue on the purchasing group mapping.
    When I told the user to re-test again, he still have the same issue, where he could not map the purchasing group. I suspect is it a browser setting or problem? My colleagues and I are using Internet Explorer 6.0, and mapping is working OKAY. Should I ask the user to clear all the cookies and Temporary Internet Files? Is this make sense?
    Also, in BAdI method DETERMINE_RESP_PGRP, I am getting current shopping cart item details by Importing item from MEMORY ID 'SCITEM', could this be the issue of ABAP Memory getting flushed when user performs the testing?
    Kindly advise.
    Many thanks,
    Patrick

    Hi all,
    Finally, I found the resolution to solve this issue. I have created Implicit Enhancement in include program LBBP_SC_APPF23, Subroutine orgdata_fill. I have cleared parameter is_global-proc_group to clear the original Purchasing Group.
    Not sure whether this is the SRM mistake or there is OSS note to fix that, where, I have mapped purchasing group successfully, but the standard program still stick to original purchasing group.
    Hope this can be shared to whom encounters this problem.
    Regards,
    Patrick

  • New tab in PVD0 transaction (Learning solution)

    Hi, everyone
    I need to add an additional tab that would display a custom infotype in PVD0 transaction (ECC 6.0)
    For that I have found a BADI HRTEM00MASTERDATA method REGISTER_SUBSCREENS . According to documentation this looks like the place to point to program screen that holds the additional tab I require. But I didn't manage to make it work so far. I can for example remove all existing tabs by clearing parameter table, but adding one doesn't work.
    Has anyone ever done a similar thing? An example code on how to fill parameters in REGISTER_SUBSCREENS or any other tips would be highly appreciated.
    Yuri

    I dont think you can delete any standard SAP tabs from screen.
    To add a new tab SAP usually has User Exits (screen exit) for that.
    Look around in forums on how to find user exits  or use program in this link http://www.erpgenie.com/abap/code/abap26.htm
    Then use tcodes SMOD/CMOD and if you find a screen exit use screen painter to create fields on "Customer data tab" and write another user exit with code to populate/use data for fields you created with the screen exit.

  • WPA2 Enterprise Script

    Hi, currently I am trying to run a script that installs software over the internet so I have to add our wifi with temp credentials. What I did was added the added the wireless network manually with the credentials saved, run a different script that extracts
    the wireless network to an XML, then within the script that installs everything I need I added the profile via
    netsh wlan add profile filename="etc"
    but it just adds the profile without the credentials. Is there anyway around this? Can I manually put in the credentials somewhere in the xml file?

    Hi,
    To save the credential in the xml file, you need to add the key=clear
    parameter.
    Example: netsh wlan export profile key=clear
    Then you import the profile.
    regards,
    - Yannick Plavonil

  • Insert Image and Load Image by VC# with Oracle 9i Database.

    I need save and load a Image to Database Oracle 9i, i use BLOB Datatype and VC#2003, i write code bellow:
    Load image data.
    m_Img is a parameter byte[], and :
    this.openFile.ShowDialog(this);
    string strFn=this.openFile.FileName;
    this.pcPerson.Image=Image.FromFile(strFn);
    FileStream fls;
    fls=new FileStream(@strFn,FileMode.Open,FileAccess.Read);
    m_Img=new byte[fls.Length];
    fls.Read(m_Img,0,System.Convert.ToInt32(fls.Length));
    fls.Close();
    //Add Parameter
    CnnOracle myBase = new CnnOracle();
    string reqSQL = "SP_PERSON_UPDATE";
    try
    OracleConnection myConn = myBase.OpenConnection(myBase.cnxString);
    OracleCommand myCommand = new OracleCommand(reqSQL,myConn);
    myCommand.Parameters.Add(new System.Data.OracleClient.OracleParameter("Faxno", System.Data.OracleClient.OracleType.NVarChar, 20));
    myCommand.Parameters["Faxno"].Value = myPerson.faxno;
    myCommand.Parameters.Add(new System.Data.OracleClient.OracleParameter("Email", System.Data.OracleClient.OracleType.NVarChar, 20));
    myCommand.Parameters["Email"].Value = myPerson.email;
    myCommand.Parameters.Add(new System.Data.OracleClient.OracleParameter("Photo", System.Data.OracleClient.OracleType.Blob));
    myCommand.Parameters["Photo"].Value = m_Img;
    myCommand.CommandType = CommandType.StoredProcedure;
    myCommand.ExecuteNonQuery();
    myBase.CloseConnection(myConn);
    catch(Exception myErr)
    throw(new Exception(myErr.ToString() + reqSQL));
    That code above don't run and have a error: "ORA-01460: unimplemented or unreasonable conversion requested\n",
    but i clear these row:
    myCommand.Parameters.Add(new System.Data.OracleClient.OracleParameter("Photo", System.Data.OracleClient.OracleType.Blob));
    myCommand.Parameters["Photo"].Value = m_Img;
    and modified StoreProcedure: clear parameter Photo, it run good
    Why? Help me, Please.
    Thank you very much.

    Can you post your table structure?

  • Reinstalling 10.4 after failed 10.4.5 upgrade

    Having trouble getting 10.4 reinstalled on my mini after the 10.4.5 upgrade (system was running fine on 10.4.4) borked the login process.
    The story up to now...
    Mac mini (1.25/40GB/1GB/Combo) was running 10.4.4 with no problems.
    Downloaded and installed 10.4.5 upgrade yesterday - on reboot system went from white screen to blue screen (no login prompt) to black (single user login mode). Produced a number of errors regarding "udsserver_init: bad file descriptor".
    Finally decided to just reinstall 10.4 from the DVD that came with the mini and redo the upgrade process.
    Problem: every time I try to install 10.4 from the system DVD, I get "There were errors installing the software - please try installing again" part way through the install process. So far I have:
    - install keeping previous system settings (eg user account info)
    - erase the internal disk using Disk Utility (on the DVD) and then install
    - clear parameter RAM, erase disk, and install
    The install fails each time, though not necessarily in the same place. Restarting and trying the install again seems to allow it to go a bit farther, but mayby that's just my imagination. System was problem-free with 10.4.4.
    I'm out of ideas - any other hints?
    K
    Mac Mini   Mac OS X (10.4.4)  

    More info -
    Decided to try installing using an unopened retail copy of Tiger I had laying about rather than using the mini's install DVD. No joy - same result - install always fails during the Essentials portion of the install. So the DVD doesnt seem to be at fault.
    The Tiger retail installer did invoke a crash log - the first line says:
    "BomFatalError - cpio read error: bad file format"
    As a last-ditch effort, I stuck the Tiger install DVD into my PowerBook, put it into Target Disk mode, and then plugged into the mini's FW port and used the PB's SuperDrive to run the install ... and got the same result - the install fails somewhere in the middle of Essentials. So I guess the combo drive is not at fault either.
    Interestingly, the mini happily booted from the 10.3.9 image on my PB's hard drive. I thought that OS installs were more closely tied to the hardware...
    At this point I cry uncle - I assume I have some sort of disk or IO subsystem problem beyond my control. Time to see if the extended warranty I bought with this system (it's about 6 months old) is worth the extra money I paid.
    Keith

Maybe you are looking for

  • Oracle dblink to mysql in Linux machines

    Hi, I want to make a dblink between to linux machines, one with oracle 11g database and the other with MySQL 5.0.77 database. The objective is to create triggers on a few tables in the oracle side and automatically synchronize it with same other tabl

  • P67A-GD55 (B3) Wont Post

    Hi guys, This has been my first build with msi board and has turned out to b a pain in the u kno what lol. I wanted a Sandybridge upgrade so got all my new components delivered the other day. core i5 2500k, msi P67A-GD55 (B3) and 8gb (2x4gb) corsair

  • AM300 + WRT54G: "Different Public IP for Diff Computer connected to Internet"

    Hi All, I have Modem AM300 + Wireless Router WRT54G. (Both have latest Firmware). Internet -> AM300 -> WRT54G -- two Computer with Wifi connection Scenario: 1. I have two Computer Connected to Wifi at WRT54G and can browse Internet. 2. I check both I

  • What does it mean when it says my insaginex profile will expire?

    What is an insaginex profile for starters, and why is it telling me it will expire in 30 days?

  • DropShadowEnabled no longer supported in Flex Hero build 17689

    Hi, I am using the latest "nightly" Flex 4.5  SDK, build 17689.  It seems the dropShadowEnabled property is no longer  supported with the Hero default skin.  I get this compilation error: The style 'dropShadowVisible' is only   supported by type   's