2008 Sep 23 7:07 AM
I want to display errors starting from A-Z and 0-9 dynamically on the top-of-page.
suppose in file-1 i have some 5 errors like
sales org missing
no order type
no sales employee
no CRD
no CRD date
then it has to display the errors as
A-sales org missing
B-no order type
C-no sales employee
D-no CRD
E-no CRD date.
in the file-2 i have some 3 errors like
plant is missing
sold to party is missing
ship to party is missing
it has to display the errors as
A-plant is missing
B-sold to party is missing
C-ship to party is missing
2008 Sep 23 9:32 AM
Hi Kumar,
For A-Z use SY-ABCDE system variable.. it consists of 26 characters and basing on the offset choose the character.
Put a counter and lets say if error number is 4 then sy-abcde+4(1). check what value you get.. and
proceed with offset.
And after the counter reaches 26 set the things like from 27-36 then 0-9
Hope this would help you.
Good luck
Narin
2008 Sep 23 10:54 AM