Data source enhancement
I am enhancing a data source.
When am ding the extraction, for a field(rout) am getting blank value.
When i extract a data source by giving single value(vbeln) then code is working fine.DAta is popultaing correctly.
Basically my logic in program is am getting a value for the field "rout", "Vbeln" from table LIKP.
For this am comparing Reference document number(VGBEL) form vbrp table.
So vgbel from vbrp = vbeln of LIKP table.
For the above logic. i wrote this code.
" IF NOT i_vbrp IS INITIAL.
SELECT vbeln route bolnr
INTO CORRESPONDING FIELDS OF TABLE i_likp
FOR ALL ENTRIES IN i_vbrp
WHERE vbeln = i_vbrp-vgbel.
ENDIF. " i_vbrp is initial
Could anyone tell me how to overcome my problem and corect this code???
Thanks in advance