I have written the following piece of code:
FORM PC_SSL_UPLOAD USING WA_UPLOAD_DATA LIKE LINE OF LT_UPLOAD_DATA CHANGING P_UPLOAD_DATA TYPE STANDARD TABLE OF TY_UPLOAD_DATA.
where LT_UPLOAD_DATA was declared as an internal table of type TY_UPLOAD_DATA.
When I tried to do a syntax check, I've got the following message:
Different number of parameters in FORM and PERFORM (routine:PC_SSL_UPLOAD, number of formal parameters: 4, number of actual parameters: 2).
I thought all I have declared was 2 formal parameters: WA_UPLOAD_DATA as the work space and P_UPLOAD_DATA as the parameter, why there are 4 parameters? and how can I change the code such that it works the way I intend to get it to work?
Thanks a lot!