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: 

Transaction code for updating SPA/GPA PARAMETER ID

Former Member
0 Kudos
2,471

Hi all

Can anyone tell me the transaction code to update the SPA/GPA Parameter id into TPARA table. Please also advice on how to delete SPA/GPA parameter from the memory.

Thanks

Ravindra Suvarna

1 ACCEPTED SOLUTION

jayanthi_jayaraman
Active Contributor
0 Kudos
464

Hi,

Press maintain in SM30.Enter the new parameter in the screen and <b>press enter</b>.Then a new screen will come and it will allow you to enter new one.

Then save the parameter.

Kindly reward points by clicking the star on the left of reply,if it is useful.

Message was edited by: Jayanthi Jayaraman

10 REPLIES 10

Former Member
0 Kudos
464

Hello Ravindra,

Just go to the SM30 transaction and type in the table name TPARA. Click on Maintain.

Regards,

Anand Mandalika.

0 Kudos
464

Hi Anand,

Thanks for your reply. I could change using SM30 but it is not allowing add new.

Please advice.

0 Kudos
464

Hello Ravindra,

You can do that by going to SE80. While you're displaying a development class, right-click on the Development Class name and choose the option <i>Create>More>SET / GET Parameter ID</i>.

Hope that helps,

Regards,

Anand Mandalika.

0 Kudos
464

In sm30 you can only <b>change/delete</b> but you cannot add.

Can you pls let me know your requirement.

Since the above is cross client you should have appropriate authorization.

0 Kudos
464

Alternatively, you can also do it from your ABAP Program.

REPORT ZTEST.

SET PARAMETER ID 'TEST'.

Just double click on 'TEST'.

Regards,

Anand Mandalika.

jayanthi_jayaraman
Active Contributor
0 Kudos
465

Hi,

Press maintain in SM30.Enter the new parameter in the screen and <b>press enter</b>.Then a new screen will come and it will allow you to enter new one.

Then save the parameter.

Kindly reward points by clicking the star on the left of reply,if it is useful.

Message was edited by: Jayanthi Jayaraman

0 Kudos
464

Thanks everybody.

I could insert parameter id through SM30. Now please advice how to delete this parameter id from the memory after use.

Thanks

ravi

0 Kudos
464

Hi,

Click Maintain in SM30.Then enter the parameter you want to delete.Then click the delete icon[Shift+F2] from above.

Kindly reward points by clicking the star on the left of reply,if it is useful and close the thread if your problem is solved by pressing the blue star against the reply which solves your problem.

0 Kudos
464

Thanks Jayanthi

I don't want to delete from TPARA table. I want to delete from the memory only.

I am created a memory id through my program and updating the value. I am calling transaction id COR6N to update the process order. Through user exit i am getting the value of that parameter id and updating required field with that value. After the control return to my program i want to delete that parameter id from the memory all together so that user-exit should not find that parameter id.

thanks.

(i will definetly reward points)

0 Kudos
464

Hello Ravindra,

There's no concept of deleting a Parameter ID. If you want to make sure that it cannot be used, then set it to space, by taking a value from an Initial field. For example,

SET PARAMETER ID 'TEST' field FIELD1.

In this case, FIELD1 should be initial.

Regards,

Anand Mandalika.