Skip to Content
0
Former Member
Jul 19, 2016 at 09:03 AM

Correct syntax for passing a table_parameter to SELECT statement in Stored Procedure

34 Views

Hello experts,

on my screenshot you can see a snapshot of my stored procedure.

My problem is as follows:

I defined a table input parameter "IT_BELEGE" with two columns C01VBELN and C01POSNR.

Now I don't know the correct syntax how to integrate "IT_BELEGE" to my select statement.

When I call the procedure in ABAP, I want to pass an internal table, with pairs of C01VBELN and C01POSNR.

In the select statement I want something like "FOR ALL ENTRIES IN IT_BELEGE" like you know it from ABAP OpenSQL.

Is this possible?

Thanks in advance and best regards,

Heinrich

Attachments

SP.JPG (104.8 kB)