on 2010 May 26 5:47 AM
Dear all,
As per my requirement, i need to display three different internal table data in my main window.
Plz help me.
Regards
margani
REPORT YPRINTPRG_SMARTFORM1 .
DATA : ITKNA1 LIKE KNA1,
ITVBAK LIKE VBAK OCCURS 0 WITH HEADER LINE.
PARAMETERS : PKUNNR LIKE KNA1-KUNNR.
SELECT * FROM KNA1 INTO ITKNA1
WHERE KUNNR = PKUNNR.
ENDSELECT.
SELECT * FROM VBAK
INTO TABLE ITVBAK
WHERE KUNNR = PKUNNR.
CALL FUNCTION '/1BCDWB/SF00000011' u201CTHIS FUNCTION MODULE CALLS THE
SMART FORM WE WILL GET THIS AT MENU ENVIRONEMENT u201D
EXPORTING
ITKNA1 = ITKNA1
TABLES
ITVBAK = ITVBAK.
IN SMART FORM
FORM INERFACE---------IMPORT (TAB)
Parameter name Type assignment Reference type Default value
ITKNA1 LIKE KNA1
FORM INERFACE---------TABLES (TAB)
ITVBAK LIKE VBAK
PAGES & WINDOWS----- MAIN WINDOW-----LOOP 1----DATA(TAB)
ITVBAK INTO ITVBAK
PAGES & WINDOWS-------MAIN WINDOW------LOOP 1-----TEXT 3(EDITOR)
&ITVBAK-VBELN& &ITVBAK-ERDAT& &ITVBAK-ERNAM& &ITVBAK-NETWR&
PAGES & WINDOWS-------HEADER WINDOW-----TEXT 2(EDITOR)
Customer No. &itkna1-kunnr& CustomerName :&itkna1-name1&
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Bhavana Amar ,
I need to print the data after completion of first tables data it will start printing the second table data and 3 table.
i am using this function module
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
plz help where should i use this function module
CALL FUNCTION '/1BCDWB/SF00000011' u201CTHIS FUNCTION MODULE CALLS THE
SMART FORM WE WILL GET THIS AT MENU ENVIRONEMENT u201D
HI,
i have three internal tables, so shell i do like
CALL FUNCTION '/1BCDWB/SF00000011' u201CTHIS FUNCTION MODULE CALLS THE
SMART FORM WE WILL GET THIS AT MENU ENVIRONEMENT u201D
EXPORTING
itab1 = itab1 "" this is first internal table
itab2 = itab2 "" for second internal table
TABLES
itab3 = itab3. "' this is 3 internal table
PAGES & WINDOWS--- MAIN WINDOW-LOOP 1--DATA(TAB)
itab3 INTO itab3
HI,
I am very thankfull to u, for sending your valueble time........
I will try it. and i have one small query on this, for this one i need to display header text saparate to all 3 out put internal table in main window.
and i need one or two row gap between displaying output..
so how should i got this one in my smartform.
Regards
margani
Edited by: margani79 on May 26, 2010 8:25 AM
Hi Margani,
Its possible.. U have desind ur three internal table in main window . Then U have to declare table ur Main window. As per ur requirement.
If u have more doubt on that please go through SAPTECHNICAL.COM.. there step by step hw to create Smartform using tables available...
Thanaks
Prabu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
check this Examples
Go to saptechnical dot com select Tutorials select Smartforms select Table select Create dot htm please delete select and type / in place of select ,becoz iam unable to send you the link
go to sap-img dot com select smartforms select internal-table-in-smartform dot htm
User | Count |
---|---|
68 | |
11 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.