Skip to Content
0
Former Member
Nov 07, 2005 at 12:53 PM

Generate subroutine pool

23 Views

Hello,

I am building a subroutine pool with the statement 'Generate subroutine pool' and will create a form within this so I can call the form with statement 'Perform (FORM) in program (PROG) if found .....'.

However I am having difficulties building the code for this form.

What I need to do in this form is to build up a select statement using ranges as the selection parameters ie.

Select * from BSEG into itab where belnr in S_BELNR etc.

I cannot fill the values for the range S_BELNR (I cannot hardcode them since I am using values contained in another internal table).

Does anybody have a similar example?

Thank you,

Kevin