Hiya,
I need to check if a select option (sl_vbeln) holds a single document.
I've come up with the following code but I wanted to know if there was a more elegant way to code this:
select-options: sl_vbeln for g_vbeln.
count = lines( sl_vbeln ).
if count = 1 and sl_vbeln-low is not initial and sl_vbeln-high is initial and sl_vbeln-sign = 'I' and sl_vbeln-option = 'EQ'.
*Do logic processing
endif.
Thanks in advance for any help.