Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

how to pass selection option values in subroutine

i want to pass s_bukrs(select option field) in subroutine like

perform check_compcd using s_burks

form check_compcd using rs_bukrs type ???

  • validation code.


what type i have to use?

Former Member


when you pass s_bukrs without the [], it is interpreted as sending the header line as a parameter NOT the whole table. If you want to operate on the select option as a TABLE use this:

the perform will have to be:

perform check_compcd using s_bukrs[].

the form:

form check_compcd using rs_bukrs like s_bukrs[]. *validation code.


0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question