on 07-19-2016 10:03 AM
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
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can either use an inner join here, where your IT_BELEGE is just another table
or you provide the WHERE condition equal condition just like any other table:
("SD202"."/BIC/C01VBELN", "SD202"."/BIC/C01POSNR") =
(:IT_BELEGE."C01VBELN", :IT_BELEGE."C01POSNR")
All that is just simple standard SQL..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.