Application Development and Automation 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: 
Read only

PERFORM

Former Member
0 Likes
457

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
Read only

Former Member
0 Likes
441

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
Read only

Former Member
0 Likes
442

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

Read only

Former Member
0 Likes
441

RESOLVED