Hi all,
(Warning! Newbie here, so please bear with me).
We have an extension to our VBAP table where we store a version of the LFA1-LIFNR field. Let's call it ZLIFNR.
If I check the VBAP table, I can see both, the “normal” value of ZLIFNR, say 123456 and the “Unconverted value”: '0000123456'.
On the other side, LFA1 has a record with the proper '123456' / '0000123456' value in LIFNR.
My problem begins when I try to do a:
SELECT ZLIFNR, NAME1
FROM VBAP LEFT JOIN LFA1
ON VBAP~ZLIFNR = LFA1~LIFNR
INTO CORRESPONDING FIELDS OF TABLE gt_mytable.
In this case ZLIFNR gets inserted into GT_MYTABLE without the leading zeroes AND the join seems to fail.
Any ideas? How could I retain the leading ZEROES when doing the SELECT?
TIA,
Luis.