Routine code in transformation
For filling Info Object ( ZPLANTYPE) , I am to fetch from other DSO, for that I have written code in routine please see below , but I am getting this error like this ''SOURCE_FIELDS-/BIC/ZCARR_ID" is unknown. It is neither in one of please help me in this the specified tables nor defined by a "DATA" statement.''
TABLES : /BIC/AZFLIGHTS00.
data : WA_ptype like /BIC/AZFLIGHTS00.
SELECT SINGLE /BIC/ZPLANTYPE INTO WA_ptype FROM /BIC/AZFLIGHTS00 where
/BIC/ZCARR_ID = source_fields-/BIC/ZCARR_ID AND
/BIC/ZCONNID = source_fields-/BIC/ZCONNID.
RESULT = WA_ptype .
Please correct me If something wrong in Code.