on 07-10-2008 1:05 PM
I have this declaration in my print program.
DATA : BEGIN OF withtab OCCURS 0.
INCLUDE STRUCTURE with_item.
DATA: budat LIKE bkpf-budat,
bupla LIKE bseg-bupla,
secco LIKE bseg-secco,
j_1iextchln LIKE j_1iewtchln-j_1iextchln,
j_1iextchdt LIKE j_1iewtchln-j_1iextchdt,
bankl LIKE j_1iewtchln-bankl,
flag TYPE c,
no_print TYPE c,
method TYPE c,
print_order LIKE sy-tabix,
lifnr LIKE bseg-lifnr,
END OF withtab.
DATA: BEGIN OF invtab OCCURS 0.
INCLUDE STRUCTURE withtab.
DATA: base_mod TYPE c.
DATA : seq LIKE t059p-wt_tpnr.
DATA: END OF invtab.
DATA : BEGIN OF printtab OCCURS 0 .
INCLUDE STRUCTURE invtab.
DATA : sno LIKE sy-tabix, "Note 891923
tds_amount LIKE bseg-wrbtr,
surc_amount LIKE bseg-wrbtr,
ecess_amount LIKE bseg-wrbtr,
cheque_no LIKE inrdp-fromnumber,
banka LIKE bnka-banka,
ort01 LIKE bnka-ort01,
brnch LIKE bnka-brnch,
j_1itdbank LIKE j_1icertif-j_1itdbank, " Note 912767
word LIKE spell-word,
paise LIKE spell-decword,
t_amtpaid LIKE bseg-wrbtr, " 13/11/07-madhu
END OF printtab.
I have to get data from the printtab table into smartform how to declare it please help me its urgent requirement.
hi
you need to declare the table structure in data dictionary and use it in the smartform declaration part.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
you can follow these methods:
1. call the ssf_functionmodule_ name
here u will get the name of fm which is generated from the smartform.
2. call the fm which is mentioned in importing parameter of ssf fm.
now you can give the exporting parameter
and tables
these parameter should be decalred in the form interface of smartform.
under importing and tables
these should have of the same type as of print program so better you can use the row type and line type should be created in SE11.
and refer this structure.
thanks
AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.