Currently Iam doing Smartforms for journal voucher. Iam taking multiple documents as input and displaying relavent item data for each.
Now, my requirement is i want to display invalid document numbers at selection screen level. For example there are 30 invalid document number i want to display them before start-of-selection.
Thanks in advance,
i have a query......say i am using a selet-options s_ebeln for ekko-ebeln.
i want to display error messages for
1>lower limit cant be greater than upper limit?
2>for special cahracters given in the select-options fields.....etc...
now when i am writing the code......
if s_ebeln-low gt s_ebeln-high.
it is showing SAP's message not mine.
but ....if my s_ebeln-high field is 0.
then my message is showing.
pls give me the codes for these?
You can validate the document numbers in AT SELECTION SCREEN events.
U can't display them before start of selection. Even through if u use write statements to display them, list generated with invalid documents is not available after complete execution. Only final item list will be displayed.