‎2006 Sep 05 8:10 AM
hi all,
can anyone help me in coding this:
Using the Parameter ID 'ABC', use the Get Parameter statement to get the value of the Customer Number entered by the User.
thanx a lot,
Jc
‎2006 Sep 05 8:13 AM
Hi,
Try this...
Set Parameter 'ABC' field name.
GEt parameter value.
Regards,
Sushil.
‎2006 Sep 05 8:13 AM
Hi,
Try this...
Set Parameter 'ABC' field name.
GEt parameter value.
Regards,
Sushil.
‎2006 Sep 05 8:16 AM
Hi,
If you want to get the Program Name entered by a user in tx. SE 38 into a variable :
Data : repid like sy-repid.
GET PARAMETER ID RID FIELD REPID.
Now the field REPID will have the program name entered by the user in tx. se38.
Reward if helpful.
Rgds
‎2006 Sep 05 8:16 AM
SET PARAMETER ID pid FIELD f.
Example
DATA REPID like sy-repid VALUE 'RSPFPAR'.
SET PARAMETER ID 'RID' FIELD REPID.
GET PARAMETER ID pid FIELD f.
Read the program name from SAP memory:
DATA : REPID LIKE SY-REPID.
GET PARAMETER ID 'RID' FIELD REPID.
Ramesh
‎2006 Sep 05 8:16 AM
Hello,
The syntax is as follows:
GET PARAMETER ID 'ABC' FIELD <fieldname>.
The parameter id has to be created using SE80 and has to be set in the SU01 if you explicitly use it.
Thanks,
Krishnakumar
Message was edited by: Krishnakumar
‎2006 Sep 05 8:38 AM
Hi Jaycee,
The <i>GET PARAMETER ID pid FIELD f</i> statement is used to retrieve the value presently stored in this Parameter ID field in the SAP Local or Global Memory (in simple words).
Copy and execute this sample code to get a feel of it.
REPORT zztest.
DATA : progname TYPE rs38m-programm.
START-OF-SELECTION.
GET PARAMETER ID 'RID' FIELD progname.
WRITE : / 'Current Program : ', progname.
Regards,
<b>AS</b>