on 12-08-2009 9:16 AM
Hi experts,
I have generated an ALV which displays material number with hyperlink. Using OnClick event, i'm getting the values in
R_PARAM. But i dont know hw to get that values from it.. Even i tried with field symbols too..
field-symbols: <l_value> type any.
assign r_param->value->* to <l_value>.
Now hw can i read the value from this <l_value>..
Please help me out..
Thanks in advance..
Data lv_att type string.
assign r_param->value->* to <l_value>.
lv_att = <l_value>.
Now lv_att will have your value.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi..
data: value type string.
field-symbols: <l_value> type any.
assign r_param->value->* to <l_value>.
value = <l_value>.
set PARAMETER ID 'MAT' FIELD value.
call TRANSACTION 'MM03' AND SKIP FIRST SCREEN.
While activating, im getting an error like 'Value' is not a charater type likewise..
Edited by: RameshKumar on Dec 8, 2009 10:48 AM
>
> hi..
>
>
> > data: value type string. > field-symbols: <l_value> type any. > > assign r_param->value->* to <l_value>. > value = <l_value>. > set PARAMETER ID 'MAT' FIELD value. > call TRANSACTION 'MM03' AND SKIP FIRST SCREEN. >
> While activating, im getting an error like 'Value' is not a charater type likewise..
>
> Edited by: RameshKumar on Dec 8, 2009 10:48 AM
I think that is the least of your problems. You can use parameter IDs or issue a call transaction from Web Dynpro ABAP anyway. Even if you get around this syntax error (which you can by declaring value of type char18 or matnr) it won't matter as what you utlimately want to acomplish here won't work anyway.
To jump to an SAP Classic Dynpro tranaction consider using OBN or one of the other portal navigation APIs. If you aren't running in the portal, then you might want to build a URL link to the SAPGUI for HTML via Integrated ITS and fire it.
Hi,
Just use <l_value> as a simple variable after it has been assigned.
Refer the code below:
field-symbols: <l_value> type any.
assign r_param->value->* to <l_value>. " Now value has been assigned to <l_value>.
SELECT carrid connid fldate price currency planetype seatsmax seatsocc
from sflight into CORRESPONDING FIELDS OF TABLE itab1
where connid = <l_value>.
I hope it helps.
Regards
Arjun
Edited by: Arjun Thakur on Dec 8, 2009 2:54 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Arjun,
Thanks for ur reply..
But i dont want to write that query n all.. See wen i clicked that material number (say for eg 100-100) , im getting that value
in r_param->value and even in <l_value>..
By fething that number , i need to call transaction MM03.. so i need to get that value in one variable
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.