Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Clearing Parameter ID

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Check below code:

clear person.
GET PARAMETER ID 'PER' FIELD PERSON.

Regards

Edited by: chandra madapati on Sep 9, 2008 2:13 PM

8 REPLIES 8

Former Member
0 Kudos

Hi,

Check below code:

clear person.
GET PARAMETER ID 'PER' FIELD PERSON.

Regards

Edited by: chandra madapati on Sep 9, 2008 2:13 PM

0 Kudos

Hi,

I don't think this method is feasible. It is impossible to do this for all elements of the screen.

Regards,

Rajvansh

Former Member
0 Kudos

set parameter is 'ANR' field input_aufnr.

call transaction 'CO03' and skip first screen.

clear: input_aufnr....

so, the values gets cleared which was set for parameter id.

Former Member
0 Kudos

Hi,

I don't think that there is a way to clear all Parameter ID's at once .. All these Parameter ID's will be stored in table USR05 ... so delete all the ID's that you want from this table (based on the User) before you Submit the report ... Or else u need to use SET PARAMETER ID 'XXX' FIELD w_xxx for all the Parameter ID's, with w_xxx values initial.

Regards,

Srinivas.

Former Member
0 Kudos

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.

asik_shameem
Active Contributor
0 Kudos

Hi

Use FREE MEMORY ID 'MEM'.

0 Kudos

Hello,

You can try ,


SET PARAMETER ID 'ParameterID' FIELD space.


This clears the parameter value form the memory and should solve your problem.



Regards,

Nandan

quanlehai
Discoverer
0 Kudos
Try: SET PARAMETER ID 'xxx' FIELD space.