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

CATT script

Former Member
0 Likes
452

Hi,

I want to create an CATT script to update the partner function of the vendors present.

The problem is that in the transaction XK02 and FK02 the partner functions are in the tablecontrol format.

So if there is an mandatory PF existing(that cannot be changed) in the first line the script gives an error while updating as it will try to write in the same line.

Here it should have ideally inserted in the next row.

Can this kind of functionality be implemented through CATT?

Regards,

Rupesh.

1 REPLY 1
Read only

christian_wohlfahrt
Active Contributor
0 Likes
333

Hi Rupesh!

I think this is possible - but you need a little bit more work for data preparation, too.

1) Make two different recordings for the screen, one for the first line, one for the second line. You might also copy one screen and edit the line numbers in the CATT.

2) You have to use these screens alternatively (IF ... ELSE ...) -> you need a input-variable, which tells you to use first or second line.

3) In your input data you need to fill correct values to use first / second partner function.

Regards,

Christian