Hi Vishwanath,
http://help.sap.com/saphelp_erp2005/helpdata/en/9f/db977635c111d1829f0000e829fbfe/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/9f/db984635c111d1829f0000e829fbfe/content.htm
perform-statement---using--changing
hope it will solve ur problem..
Thanks & Regards
ilesh 24x7
.
when refer passing,they using is the same as changing
but value passing is different,using is only value passing and changing is value and
resault passing,
maybe this can help you!
REPORT z_szq_test.
DATA:inter1 TYPE i,
inter2 TYPE i,
sum TYPE i.
START-OF-SELECTION.
inter1 = 2.
inter2 = 6.
PERFORM sum USING: inter1
inter2
sum.
WRITE:/ sum LEFT-JUSTIFIED.
CLEAR:sum.
PERFORM sum1 CHANGING inter1
inter2
sum.
WRITE:/ sum LEFT-JUSTIFIED.
----
FORM sum *
----
........ *
----
--> P_INT1 *
--> P_INT2 *
--> P_SUM *
----
END-OF-SELECTION.
----
FORM sum *
----
........ *
----
--> : *
--> P_INT1 *
--> P_INT2 *
--> P_SUM *
----
FORM sum USING: value(p_int1)
value(p_int2)
value(p_sum).
p_sum = p_int1 + p_int2.
ENDFORM.
----
FORM sum *
----
........ *
----
--> : *
--> P_INT1 *
--> P_INT2 *
--> P_SUM *
----
FORM sum1 CHANGING value(p_int1)
value(p_int2)
value(p_sum).
p_sum = p_int1 + p_int2.
WRITE:/ 'the inner output',p_sum.
ENDFORM.
Add a comment