Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

PERFORM

Former Member
0 Kudos

PLZ EXPLAIN HOW TO PASS AND CHANGE TABLES WITH PERFORM AND USING AND CHANGING.

PLZ DONT EXPLAIN TABLES IN THATAS IT IS OBSOLETE

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

2 REPLIES 2

Former Member
0 Kudos

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

Former Member
0 Kudos

RESOLVED