01-25-2008 2:00 PM
PLZ EXPLAIN HOW TO PASS AND CHANGE TABLES WITH PERFORM AND USING AND CHANGING.
PLZ DONT EXPLAIN TABLES IN THATAS IT IS OBSOLETE
01-25-2008 2:07 PM
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,
Satish
01-25-2008 2:07 PM
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,
Satish
01-31-2008 5:49 AM