Hi,
I am trying to refer to a data element present in the line type of a table type which belongs to an import parameter of a smartform. How will i access the data element to use in the where clause of a select statement.
For Eg:
Import Parameter name: PARTNER_H
TYPE: CRMT_OUTPUT_PARTNER_H_COMT (table type)
The line type attached to this table type is CRMT_OUTPUT_PARTNER_H_COM.
This line type is the structure that contains the data element that i need to use. the details are as below:
Component: RELATION_PARTNER
Component type: BU_PARTNER_GUID
I have written a select statement as below:
SELECT SINGLE * from BUT000 into I_FS_BUT000 where
PARTNER_GUID = PARTNER_H-RELATION_H.
I have given the input parameter as PARTNER_H.
It throws me an error that "PARTNER_H" is a table without a header line and therefore has no component called "RELATION_H".
Is this the correct way to access the data element?Please help.