‎2009 Mar 10 8:39 AM
Hi to all experts,
I have to create a structure for smart form to declare it in the smart form interface (importing ) .The structure should be of the type below. I tried but getting type mismatch dump ....please help
DATA: BEGIN OF ZISEG OCCURS 20.
INCLUDE STRUCTURE ISEG.
DATA: BTEXT LIKE T064B-BTEXT.
DATA: GIDAT LIKE IKPF-GIDAT.
DATA: MAKTX LIKE MAKT-MAKTX.
DATA: STEXT LIKE T064T-STEXT.
DATA: NAME1 LIKE T001W-NAME1.
DATA: END OF ZISEG.
‎2009 Mar 10 8:43 AM
Hi,
Declare like this :
DATA : ZISEG TYPE TABLE OF ISEG.Hope this helps,
Regards,
Rock.
‎2009 Mar 10 8:43 AM
Hi,
Declare like this :
DATA : ZISEG TYPE TABLE OF ISEG.Hope this helps,
Regards,
Rock.
‎2009 Mar 10 8:47 AM
Hi Rock,
what about the other 4 fields we are declaring only the iseg structure
‎2009 Mar 10 8:50 AM
‎2009 Mar 10 9:06 AM
Hi,
Have u declared that structure as a global type or in the GLOBAL DEFINITIONS -> TYPES.
Thanks,
Nithya.
‎2009 Mar 10 9:16 AM
Hi Abdul,
sorry my answer was incomplete.You need to declare two structures,one for u r data retrival(including other 4 fields) and other for the smartform(same as DDIC structure).After retrieving you need to transfer the data from one table to other.
Hope u got what Iam trying to say,if not PLZ rewert back.
Thanks & Regards,
Rock.