on 07-11-2008 10:13 AM
hi ..
Is it necessary to create a structuer to develop a smartform, when we r going to print fields from diff tables? can't we do this by declaring a internal table in the driver program.?
regards,
sathish
thak u folks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yes u have to create the structure in data dictionary
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
you have to create structure to the print program and that structure you have to pass it to smartforms.
For smartforms :
http://help.sap.com/saphelp_nw70/helpdata/EN/a5/de6838abce021ae10000009b38f842/content.htm
http://saptechnical.com/Tutorials/Smartforms/SFMain.htm
With Regards
Nikunj Shah
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
you have to decalre the structure when you are fetching the data from different tables.
otherwise there is a lee fields from different tables you can fetch and display into your daclaration fields like.
data: i_vbeln like vbak-vbeln,
i_erdat like vbak-erdat,
i_posnr like vbap-posnr,
i_matnr like vbap-matnr.
select avbeln aerdat bposnr bmatnr into (i_vbeln i_erdat i_posnr i_matnr) from vbak as a inner join vbap as b ON <condition> WHERE <condition>.
regards.
sriram.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
We need structures in the smartform declared of the type of the tables which they would relate to later.
As the internal tables in the smartforms would be looped and there arises the need of the structure of the same type to hold the data record by record inorder to display the fields.
Hope this clears your doubt.
Regards,
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yes,
you need to craete a strucure inside the print program and pass to the smartform.
the smart form shoud cintain the similar structyre.. then u can display the fields.
pradeep
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.