on 01-11-2008 2:51 PM
hello all
i am new to smartforms and while working in smartforms, in the form interface while assigning TABLES, i gave
I_DELIVERY TYPE TABLE OF Z_DEL_DETAIL
it gave me error that type specification "TYPE TABLE OF" not allowed, and when i gave LIKE it was syntatcicaly correct.
now my question is why was that error occuring and why it is giving this error, when we should prefer TYPE TABLE OF instead of LIKE??
Hi Rohan,
Try to pass this into the import parameters of the interface.
Just Pass
I_DELIVERY TYPE Z_DEL_DETAIL
It will definitely work.
Reward Points if useful.
Cheers,
Deepthee Kasal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yeah i do agree it will work, but read my question carefully...
i am getting the desired output if i use LIKE in "TABLES" of form interface,
my question is if i want to pass my Table Name in TABLE tab of form interface [ which i should preferably do], is there a restriction of giving LIKE ???
because it works and accepts only LIKE and not any other syntax.
Hi rohan,
try out this
plz reward if helpful,
ty_t_tvst TYPE STANDARD TABLE OF ty_tvst,
regards,
srikanth Tulasi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Replace
I_DELIVERY // TYPE TABLE OF // Z_DEL_DETAIL
with
I_DELIVERY // TYPE // TABLE OF Z_DEL_DETAIL
It should work. ([SAP Smart Forms (BC-SRV-SCR)|http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRSF/BCSRVSCRSF.pdf])
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hey guys, it tried all your solution but my problem remains the same
Z_DEL_DETAILS [it has Z name] is clearly defined and made in se11 and that's why it is working fine with
IT_DEL_DETAIL LIKE Z_DEL_DETAIL
and it cannot be passed as global definiton,
as i have to pass the tables in
FORM INTERFACE >> TABLES
and not in GLOBAL DEFINTION..
both have different working i guess
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.