on 03-16-2009 3:59 AM
Hi All,
I have internal table defined in reports which has the output data. now i want to pass in smartforms. i have defined in form interface. and also in looping part i have defined the code. but i am getting an error as " "IT_FINAL1" is neither specified under "TABLES" nor defined as an internal table."
let me know what do i do in this case?
Hi,
Please recall the FM generated for the smartform in the print program if there is any interface change in the smartform.
Regards,
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Poonam,
Refer this wiki
https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/printing+invoices
Regards,
Sravanthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You need to declare the internal table as follows.
IT_FINAL1 LIKE Z_GT_FINAL
Where Z_GT_FINAL is to be declared in the dictionary.
Regards,
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Poonam,
Just tell me what is your requirement and what are you trying to do with the smart form.
What are you passing from the driver program and with that internal table what are you trying to do?
Please let me know this piece of info so that I can be able to tell you where to define what?
I am completely confused here.
ok.
i have some code written in printprogrm where i have defined a final internal table where the data is present.
now this intenal table will also be defined in smartforms. so i have defined in form interface and workarea in global definitions. i have defined loop and in that i have created a node text and displayed the workarea with fields.
i am not having any errors when i check, but when i execiute i get the error.
hope u got it now.
Hi,
Please make sure that you define the internal tables in the Tables section of the form interface and also activate the form.
Moreover, please also check the FM interface called in the print program whether the interface is correctly being reflected or not.
Regards,
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi....
For declaration, Example is given below
Variable declaration:
COMPANY_CODE TYPE EKKO-BUKRS
Internal Table declaration:
IT_TAB TYPE TABLE OF EKKO
Work Area declaration:
WA_EKKO TYPE TP_EKKO
Hope this helps you.
Also, if you are using the table you need to maintain them in Global Definitions by following the systax given above.
Hope this helps you.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.