Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

How to Dynamically Split records in Internal Table

$
0
0

In my Program am using Select Statement which executes fine if less than 5000 Handling units are passed in where condition but throws an error dump if its more .The Issue has been mentioned in the SAP Note 13607 - Termination of an ABAP with DBIF_RSQL_INVALID_RSQL.

 

I Tried with Package size in Select statement still no luck . Need a logic to Dynamically split Handling Units into 5000 and pass it to the Select Statement using Loop INTO statement or using FOR all condition. Need to tweak the following  Code :

 

 

SELECT EXIDV FROM VEKP INTO CORRESPONDING FIELDS OF TABLE ITAB_VEKP

                     package size 5000

                     WHERE

                                  exidv   IN   arr_exidv[]    AND  "Need Logic to Split Handling Units into 5000 "

                                  lgnum  IN  arr_lgnum[]  AND

                                  erdat   IN  arr_erdat[] .

 

ENDSELECT.

 

 

 

Thanks in Advance .

 

Best Regards,

Vicky


Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>