2008 Dec 03 10:46 AM
Dear Experts,
I am Fetch the datas in table and store one internal table & Work Area..then i am already create table. How to print the value in smartform.
NOTE : i am already trying in DATA:-->loop at it_mbew into wa_mbew.
error : it_mbew is unknown.
regards,
raj
Hi,
Declare the internal tables which you are using in smartform (and the value for that internal table if you are getting from the driver program ) in the FORM interface that to in a TABLES OPTION...then write the loop in the line item table in a main window as u did earlier...
This will help.
Regards,
Rohan.
Edited by: Rohan on Dec 3, 2008 12:00 PM
2008 Dec 03 10:48 AM
NOTE : i am already trying in DATA:-->loop at it_mbew into wa_mbew.where are you writing this did you decalre this internal table
2008 Dec 03 10:50 AM
Hi,
i hope u have made table ty_mbew in type declaration and declared the fields in it.after the creation of internal table.make a work area wa_mbew.i hope it should work
2008 Dec 03 10:51 AM
hi
did u declare the internal tables and work areas in smart form
u need to declr in global interface
regards
Edited by: Rasheed salman on Dec 3, 2008 12:02 PM
2008 Dec 03 10:55 AM
Hi,
Declare the internal tables which you are using in smartform (and the value for that internal table if you are getting from the driver program ) in the FORM interface that to in a TABLES OPTION...then write the loop in the line item table in a main window as u did earlier...
This will help.
Regards,
Rohan.
Edited by: Rohan on Dec 3, 2008 12:00 PM
2008 Dec 03 10:59 AM
Hi,
Your question is not clear, but Iam replying you of what i understood, hope I'm clear.
If you pass your internal table values to write it in smartform, then you have to pass your internal table through "CALL FUNCTION v_fname" parameters.
>>> EXPORTING
>>> CONTROL_PARAMETERS = X_CONTROL_PARAMETERS
>>> OUTPUT_OPTIONS = X_OUTPUT_OPTIONS
>>> payslip = i_payslip " Example
>>> TABLES
>>> t512t = i_t512t.
>>>>
the same type of structure should be assigned in smartform - Forminterface import tab.
>>>>PAYSLIP TYPE YPAYSLIP_T " Example
Just try and do the coding as per your requirement.
regards
sankar.
2008 Dec 03 11:01 AM
Check whether that table exists in the Global variables of the smartform and then compile the report!!
Regards\sAS
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |