‎2007 Apr 10 7:22 AM
hi,
can anyone tel me wat is error in this coding
AT LINE-SELECTION.
DATA: g(30),
ref_parameter(30) VALUE 'parameter by reference',
val_parameter(30) VALUE 'parameter by value',
field_symbol LIKE itab-lifnr.
FIELD-SYMBOLS: <f> TYPE ANY.
ASSIGN itab-lifnr TO <f>.
GET CURSOR FIELD g.
SET PARAMETER ID 'Vendor' FIELD itab-lifnr.
CALL TRANSACTION 'ZAZU'." AND SKIP FIRST SCREEN.
Im not getting the corresponding value in the parameter it is not setting into the parameter box wat is the error
‎2007 Apr 10 7:26 AM
Hi,
Have u used the HIDE statement while writing the output on the first screen.
U shud code like this :
LOOP AT ITAB.
WRITE : ITAB-LIFNR.
HIDE ITAB-LIFNR.
ENDLOOP.
AT LINE-SELECTION.
Then do ur coding.
Hope this helps.
Regards,
Himanshu.
‎2007 Apr 10 7:30 AM
Hi,
for LIFNR, set the default parameter id as 'LIF',which is there in the data element of LIFNR.
Regards,
Sonika
‎2007 Apr 10 7:34 AM
u have to get the cursor values then only data will come , not itab-lifnr.
press F1 on cursor , u will get sytax to call.
Regards
Prabhu
‎2007 Apr 10 7:37 AM
Hi..,
U cannot write this code ..
SET PARAMETER ID 'Vendor' FIELD itab-lifnr.
CALL TRANSACTION 'ZAZU'." AND SKIP FIRST SCREEN.
u cannot use your own parameter ids..
<b>U can use the Parameter ids that are there in TPARA table only..
LIF is the Parameter id for LIFNR.</b>
To check the Parameter ids u need to go to SE11 transaction..
type the table field name as LIFNR in Data type input field and check the corresponding radio button. and press display..
In that go to Further characteristics tab.. here u can find the Parameter id .. U can use this...
regards,
sai ramesh
‎2007 Apr 10 7:41 AM
hi to all
i changed the parameter id also
set parameter id 'lif' field itab-lifnr
but then also im not getting it
‎2007 Apr 10 7:43 AM
‎2007 Apr 10 7:42 AM
‎2007 Apr 10 7:47 AM
LIF is in caps mode only
and i have used Hide itab-lifnr
but its stil not working
and im getting the value in debugging mode but while executing im not getting that
‎2007 Apr 10 7:49 AM
Hi,
You need to use
set parameter id 'lif' field itab-lifnr ..
and also check the transaction <b>ZAZU</b>, whether the field is having the correct data element that is LIFNR, if the Screen field of the transaction ZAZU should be the same data element
Regards
Sudheer
‎2007 Apr 10 7:54 AM
Dude,
This is a very common problem.
Activate the checkbox set parameter and get parameter on the transaction ZAZU screen. This check box you will find on the field property windiw.
Regards,