cancel
Showing results for 
Search instead for 
Did you mean: 

Passing internal table to Smartform

Former Member
0 Kudos

HI,

I have already created a structure in SE11 and am trying to pass this structure at form interface tables tab. but it says

@8O@ Form Interface Tables using LIKE may only reference flat structures

This error does not allow me to pass this int table to smart form .

Please help.

Regards

Accepted Solutions (0)

Answers (5)

Answers (5)

jayanthi_jayaraman
Active Contributor
0 Kudos

Hi,

Just check whether the structure is having any datatype of structured type.

Former Member
0 Kudos

hi,

it can be work for like itself.check whether the structure u created has any reference field if so also some time it shows error.declare the reference field in global settings.

Regards,

Divya.

Former Member
0 Kudos

Form Interface and Associated Type of the Internal table has to be:

"ABAP associated type for an interface parameter. The associated type must be a global Dictionary type or exist in a type pool. In the latter case, the type pool must be declared in the function group."

There is no other way to pass Internal table. Please try the method I have given and you will achieve your result

Smartforms are same as sapscripts. The transaction code to create the smart forms is SMARTFORMS. Check out these sites for step by step procedure.

http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.h...

http://help.sap.com/saphelp_nw04/helpdata/en/9b/e3b0d9c2a711d3b558006094192fe3/frameset.htm

http://www.sap-img.com/smartforms/sap-smart-forms.htm

http://www.sapgenie.com/abap/smartforms_detail.htm

http://www.sap-press.com/downloads/h955_preview.pdf

https://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code...

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20...

http://www.sap-basis-abap.com/sapsf001.htm

http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/9b/e3b0d9c2a711d3b558006094192fe3/frameset.htm

http://www.sap-img.com/smartforms/smart-006.htm

http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm

http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.h...

http://esnips.com/doc/7e67af5c-6188-4252-8613-41816756d560/from-sappres.pdf

http://esnips.com/doc/58566115-54a4-4405-8872-8de952e245e5/smartform.pdf

http://esnips.com/doc/2276d194-dc47-4b1e-9c14-7af0ffe923ca/smartforms-xsf-output.pdf

http://esnips.com/doc/13b7ae7a-b32c-4b96-b588-881859d4ac99/Template,Table,Loop,Command-in-Smartforms...

http://esnips.com/doc/97acb00a-e513-4611-91f0-c626f460bfc5/Smart_Form_Overview.pdf

http://esnips.com/doc/77a981b9-8fe3-4fbb-8101-67745c1fe60c/SMART-FORMS_shail.ppt

http://help.sap.com/saphelp_nw04/helpdata/en/9b/e3b0d9c2a711d3b558006094192fe3/frameset.htm

http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html

Former Member
0 Kudos

Your structure (created in SE11) might be a deep structure. It will be having an internal table as a field. It is not possible to pass deep structures to smart forms. Create simple structures and pass that instead through Form Interface -> Tables

Please mark points if the solution was useful.

Regards,

Manoj

Former Member
0 Kudos

Hi,

Do not use the Like use the TYPE in the smartforms while declaring the internal table

http://www.erpgenie.com/abap/smartforms.htm

Regards

Sudheer