Skip to Content
0
Aug 24, 2012 at 12:22 AM

set parameter not working for VL33N with call transaction

3494 Views

appropriate points will be awarded

i have ALV grid output screen from which with hotspot i should be able to navigate to outbound/inbound delivery document

the outbound is working fine its calling VL03n with correct outbound no

but inbound document is either stopping with initial screen VL33n not using the inbound delivery we provide with parameter id

or opening some other inbound document

i verified with "get parameter" to compare the values provided and they look good but somehow when they goto screen its not correct inbound document

IF gt_outdel IS NOT INITIAL and E_COLUMN_ID-FIELDNAME = lc_outdel.

clear gv_outdel.

READ TABLE gt_outdel INDEX e_row_id INTO gv_outdel.

IF sy-subrc EQ 0.

SET PARAMETER ID 'VL' FIELD gv_outdel-outdel.

CALL TRANSACTION 'VL03N' AND SKIP FIRST SCREEN.

ENDIF.

ENDIF.

IF gt_indel IS NOT INITIAL and E_COLUMN_ID-FIELDNAME = lc_indel.

clear gv_indel.

READ TABLE gt_indel INDEX e_row_id INTO gv_indel.

IF sy-subrc EQ 0.

SET PARAMETER ID 'VL' FIELD gv_indel-indel.

get parameter id 'VL' field lv_parid.

CALL TRANSACTION 'VL33N' AND SKIP FIRST SCREEN.

ENDIF.

ENDIF.