Skip to Content
0
Former Member
Mar 13, 2010 at 08:07 AM

batch restriction in the FM 'VB_READ_BATCH'

249 Views

i want TO restrict the batch in the FM 'VB_READ_BATCH'

because it is giving the error of internal table size > 999999 value

in all the select query below i want ot add CLABS > 0 to restrict the entry .

IS THEIR ANY WAY FOR THIS .

is their any user exit

e.g query OF THE VB_READ_BATCH GIVEN BELOW

SELECT * FROM v_cf_mchb INTO TABLE xv_cf_mchb

FOR ALL ENTRIES IN s0_mchb

WHERE matnr EQ s0_mchb-matnr

AND werks EQ s0_mchb-werks.

SELECT * FROM v_cf_mkol INTO TABLE xv_cf_mkol

FOR ALL ENTRIES IN s0_mchb

WHERE matnr EQ s0_mchb-matnr

AND werks EQ s0_mchb-werks

AND sobkz EQ k.

Edited by: Surinderpal on Mar 13, 2010 1:38 PM