on 01-12-2007 12:26 PM
Hi All
Is thr any way 2 avoid Structure & Table type creations (for passing the internal table data thru interface) Smartform dev?
Any suggestions will be appreciated...
Thanks & Regards
Moni
Message was edited by:
ABAP Techie
Hello,
If it is for passing values throught the interface, you can define a type in a type-pool in the dictionary and use that type to pass the values through the interface.
Regards,
Manoj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Goto tranaction SE11, select the option Type Group, enter a name for the type group in Y or Z namespace and create. Enter a short description and click on Save. In the editor, type the code for your structure and activate. Now you can use the structure anywhere you want it.
Regards,
Manoj
In transaction SE11, goto Utilities -> Other Dictionary Objects and see if you have the Type Group option there. If not goto transaction SE38, create a report and type in TYPE-POOLS: and a type pool name, double-click on that and create the type group and type in the structure definition there.
Hope this helps.
Manoj
Dear Manoj
I have created one structure called ZPLST.
Then i created type group ZPWL in SE11 as follows
TYPE-POOL ZPWL .
TYPES BEGIN OF ZPWL_TITAB.
INCLUDE STRUCTURE ZPLST.
TYPES END OF ZPWL_TITAB.
TYPES: ZPWL_PACK TYPE STANDARD TABLE OF ZPWL_TITAB .
But when refering this ZPWL or ZPWL_PACK in Smartofrm interface it throws that
ZPWL or ZPWL_PACK unknown ....
How to achieve this without creating a Table-type ?
Message was edited by:
ABAP Techie
Under Types tab it says : Statement not allowed in context2....as we r trying to redefine the already define type ZPWL again.....
Under Intialization tab ....it doesnt throw any error
TYPE-POOLS: ZPWL.
DATA: ITAB TYPE ZPWL_PACK.
but it deosnt solve my purpose as it continues to throw interface error ....
Under Table tab of Form interface ....only Table Types are allowed absolutely nothing else ....
Message was edited by:
ABAP Techie
Hi,
I used to handle this situation by creating a structure in SE11 and then pass the tabel parameter from program to smartform.Since we use to refer
type-pools zpwl.
I don't think we can do so in smartform->forminterface.
Anyway, you try
<b>itab like /ZPWL/ZPWL_PACK in form interace->Table</b>
or
itab like ZPWL_PACK in form interface->table
hi If you don't want to pass the structures and table to smartforms whn u r calling the Form.. then you can go for other way.. it is retrieve the data in the Smart form layout..
u can write the code in the Global Defination-->initialization.Tab.
you can declate variables in Global Definations-->Global data TAB...
<b>Please Close this thread.. when u r problem ise solved</b>
Reward if Helpful
Regards
Naresh Reddy K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.