‎2006 Jul 03 10:55 AM
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.
‎2006 Jul 04 7:58 AM
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