Application Development and Automation 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: 
Read only

Clearing Parameter ID

Former Member
0 Likes
5,360

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
Read only

Former Member
0 Likes
1,983

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
Read only

Former Member
0 Likes
1,984

Hi,

Check below code:

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

Regards

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

Read only

0 Likes
1,983

Hi,

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

Regards,

Rajvansh

Read only

Former Member
0 Likes
1,983

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.

Read only

Former Member
0 Likes
1,983

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.

Read only

Former Member
0 Likes
1,983

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.

Read only

asik_shameem
Active Contributor
0 Likes
1,983

Hi

Use FREE MEMORY ID 'MEM'.

Read only

0 Likes
1,983

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

Read only

quanlehai
Discoverer
0 Likes
1,983
Try: SET PARAMETER ID 'xxx' FIELD space.