2011 Oct 17 2:58 AM
Hi
I want to pass URL(255) path from One program(module pool)
to another program(modulepool)
Module Pool prg1.
DATA : P_URL(255) VALUE 'Http://google.com'.
I am using SET PARAMETER 'ZURL' FIELD P_URL.
CALL TRANSACTION 'ZVIEWER' AND SKIP FIRST SCREEN.
Module Pool prg2 tr-cd ZVIEWER.
PBO
MODULE STATUS_0100 OUTPUT.
GET PARAMETER ID 'ZURL' FIELD URL.
ENDMODULE.
I have created custom Parameter id in TPARA table and
added PARAEMTER ID 'ZURL' in Screen parameter with check of SET/GET.
I am not using any data element in this case to set parameter.
Why URL value is not passed to Prg2 in above case.
Should i have to use Dataelement for transfer?
255 character value transfer is not possible using SET/GET?
Pls advice
Regards
Chandra
2011 Oct 17 5:28 AM
Hi,
In second pool program, change your field name to P_URL from URL.
Thanks.
Ravi
Hi,
In second pool program, change your field name to P_URL from URL.
Thanks.
Ravi
2011 Oct 17 5:28 AM
Hi,
In second pool program, change your field name to P_URL from URL.
Thanks.
Ravi
2011 Oct 17 5:46 AM
Hi,
Either use data element or use p_url (because you declared data element already)
MODULE STATUS_0100 OUTPUT.
GET PARAMETER ID 'ZURL' FIELD p_URL. "here
ENDMODULE.
2011 Oct 17 6:26 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |