on 12-22-2012 9:46 AM
Hi
I want to transer the contents of table MSEG + material description from my print program to my smartform.
In my program I have defined my table like this:
Types: begin of ty_main,
mseg type mseg,
maktx type maktx,
end of ty_main.
Data: gt_main type table of ty_main with header line.
Data: gs_main like line of gt_main.
In Smartform I try to do the same, but I got different errors.
I have done following in SmartForm:
Global Settings --> Global Definitions:
Types begin of ty_main,
mseg type mseg,
maktx type maktx,
end of ty_main.
Then in Global Settings --> Form Interface I try to define the Internal table, that should receive the data from the print program:
GT_MAIN TYPE TY_MAIN
Error is: Type TY_MAIN does not exist.
Can anybody help me, please?
Thanks,
Hi,
In se11, make a structure of 2 table with required field of mseg & makt(maktx field) ,
Then make a table type of that structure,
pass that structure name at smart forms(Form interface).
Thanks
Gourav.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.