2008 Feb 26 12:10 PM
Hi,
I am declaring the subroutin as follows:
FORM entry_ch USING return_code us_screen TYPE C
But it's saying "HAVE TYPE DECLARATIONS FOR PARAMETERS PASSED IN SUBROUTINES"
can you please tell what is this???
2008 Feb 26 12:14 PM
well you forgot to give a type for return code. one type for 2 variables doesnt work.
2008 Feb 26 12:14 PM
well you forgot to give a type for return code. one type for 2 variables doesnt work.
2008 Feb 26 12:25 PM
Hey Florian Kemmer
yeh i had done stupidity...any ways thanks for the reply
2008 Feb 26 12:15 PM
Hi GInger,
Try:
FORM entry_ch USING return_code TYPE sysubrc
us_screen TYPE C
Regards,
John.
2008 Feb 26 12:16 PM
Hi
your code should be as below
FORM entry_ch USING return_code type sy-subrc
us_screen TYPE C
2008 Feb 26 12:17 PM
hi,
form entry_ch using return_code us_screen.
endform.this ll do bcoz type c is default type.........
2008 Feb 26 12:18 PM
2008 Feb 26 12:30 PM
Hi,
use
FORM entry_ch USING return_code type sy-subrc
us_screen TYPE C
or else you can use in this way also.
FORM entry_ch USING return_code type any
us_screen TYPE any.
before doing above please enure that you are passing the variables properly.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |