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: 

Set/Get parameters

Former Member
0 Kudos

Hello Expets,

I have used set/get parameters in my code to pass the parameters from one main progarm to other programs which are called using "call transaction" statement.

When I perform extended check for the program, it is giving me the error

"Memory ID USER Not in the Table TPARA".

I have checked in the table TPARA. Parameter ID USER is not there.

Are the parameter ids created automatically in the table TPARA? In what cases they are not created?

What can be the solution in such cases.

Pls help.

Thanks in advance.

6 REPLIES 6

JozsefSzikszai
Active Contributor
0 Kudos

hi Radhika,

the SET/GET parameters have to be cerated in andvance (before you insert them in programs). You can do that in SE80.

ec

0 Kudos

Hi Eric,

Can you please explain how to create parameters ids in SE80?

Thanks.

former_member200338
Active Contributor
0 Kudos

Hi,

to create a parameter ID, goto se80. click on edit object. then select parameter id. give some name and press ok.

Parameter id will be created.

To assign this parameter id to a field, got se11, goto the data element, click on further characteristics, and assign the paramter id.

Reward points if usefull.

Regards,

Niyaz

Former Member
0 Kudos

Hi

SET parameter ID does not create an entry in TPARA table, you need to entry in the table, then only you need to use the SET PARAMETER statment ...

The parameter's are stored in TPARA table

<b>We can use SE80 To Create PARAMETER ID.</b> to creat parameter IDs

Goto SE80

Menu path :

Select Workbench->Other Object (Edit object) -> Select the Tab MORE ..

-> SET/GET Parameter ID

These parameter IDs are stored in table TPARA.

Now you have to assign this Parameter ID to the Field

You can Assign either in the Data Element or At The Screen field level.

<b>Reward if usefull</b>

Former Member
0 Kudos

Instead of using SET/GET parameter ids, I will advise you to use IMPORT/EXPORT since you need to pass the data from one program to other program.

It seems that your requirement can be easily achieved by using ABAP memory instaed of SAP memory since the values are required within one session.

Reward if useful.

0 Kudos

Hi Richa,

Can the import export parameters be used with the call transaction statements

for calling programs?

Thanks.