‎2008 Mar 06 5:47 AM
Hi all,
Can anyone explain me what does this syntax mean?...
" FORM get_rate TABLES intab STRUCTURE itcsy outab STRUCTURE itcsy ".
Here what for TABLES and STRUCTURE is used?......
what is the purpose of using tables and structure in this statment?....
Usefull suggestions will be rewarded.
Thanks,
Subbu.
‎2008 Mar 06 5:50 AM
tables means u r passing internal table to the subroutine and structure describes line type of internal table.
whenever u pass an internal table/ structure to a subroutine u 've to specify its structure explicitely.
plz reward points if dis helps
‎2008 Mar 06 5:50 AM
tables means u r passing internal table to the subroutine and structure describes line type of internal table.
whenever u pass an internal table/ structure to a subroutine u 've to specify its structure explicitely.
plz reward points if dis helps
‎2008 Mar 06 5:51 AM
Hi,
tables is used from which table the data is being retrives and
structure itcsy: in order to pass data from print program to script form data must be of type structure itcsy.
http://help.sap.com/saphelp_47x200/helpdata/en/d1/803279454211d189710000e8322d00/frameset.htm
Regards
‎2008 Mar 06 5:54 AM
Hi,
Check this thread
Sample:
data : val1 type i value 1,
val2 type i value 0.
perform calc using val1 changing val2.
Write / : 'Changing :' , val2.
write / : 'Using :' , val1.
&----
*& Form calc
&----
*text
-
-->P_VAL1 text
<--P_VAL2 text
-
form calc using p_val1
changing p_val2.
p_val2 = p_val1 + 100.
*p_val1 = p_val1 + 100.
*Since p_val1 is passed as using,the above is not *permitted
endform. " calc
This link will clear all your Doubts reagrding Perform Statement.
Have a look:
http://help.sap.com/saphelp_erp2005/helpdata/en/9f/db977635c111d1829f0000e829fbfe/frameset.htm
Regards,
Eshwar