08-30-2005 6:53 PM
Hello all,
Is here a limit in either ABAP or Sapscript to the number of parameters that can be used when performing a paragraph? When checking the SAP documentation I did not see any reference to a limit. Surely there must be some limit.
Perform XYZ using A B ... Z
Thanks
Bruce
08-30-2005 7:49 PM
08-30-2005 7:56 PM
Thomas - that's a kernel error not an ABAP restriction and had a fix.
Rob
08-30-2005 7:58 PM
08-30-2005 9:46 PM
Well, I have just tested it with 1600 parameter and it works fine. I have a feeling that the limit probably will depend on the memory available.
Cheers,
Sanjeev
08-30-2005 9:52 PM
08-31-2005 2:50 AM
Or may be he had used Excel ? Put something like A0001 in a cell and drag it down till you get all those 1600 .
08-31-2005 6:52 AM
You are close I used combination of copy and paste with find and replace to do this experiment. My dynamic program generation skills are a bit rustic, I did think of using dynamic program generation but it was too late in the night to motivate myself for trying that.
Cheers,
Sanjeev
08-31-2005 6:20 PM
Thank you to everyone who replied. My original question was really academic in nature.
My post is the only one that I can see any way to award points. I saw that earlier this month other people were having the same problem. Since I didn't really solve my own problem, no points have been awarded yet.
Thanks
Bruce
08-30-2005 7:51 PM
I would assume that if there were a limit, exceeding that limit would trigger a run time error. The help for PERFORM doesn't mention any such error, so I'd bet against a limit.
However, you might still run into other problems if you pass too many parameters.
Rob
08-31-2005 2:55 AM
Hello Bruce,
Like the others have said I don't think there's a limit to the number of parameters you can pass.
For that matter, I don't know if there's a limit in any other programming language either. It's up to the programmer to use his judgment and ahdere to good programming practices. For example, instead of having a thousand parameters, they could all be put in the global area of that program ? Or better still, he could write multiple subroutines to further split the task being performed by that subroutine.
Regards,
Anand Mandalika.
02-18-2009 6:25 PM