Application Development 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: 

Reg.. Display of errors dynamically using field-symbols

Former Member
0 Kudos

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

2 REPLIES 2

narin_nandivada3
Active Contributor
0 Kudos

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

0 Kudos

Could you send me the sample code .