on 06-23-2008 9:48 AM
Good morning to everybody!
I've a smartform with a header, in this header there're some fields that I've to fill with some data of the table HRPY_WPBP, I don't know how to insert the data in the field, I've read through internet I need to put before the field something like this, for example, for the field PERNR If I want to write it I've to put:
FIELD_PERNR: &HRPY_WPBP-PERNR& Is this correct? Actually this doesn't work... I need a loop to the table? Where can I write this?
Please Help And sorry for my bad english!
Regards
Rebeca
Edited by: Rebeca R on Jun 23, 2008 10:48 AM
Hi Rebeca,
Pls refer the follwoing Links ,it may be helpful
http://www.saptechnical.com/Tutorials/Smartforms/SFMain.htm
http://www.saptechnical.com/Tutorials/Smartforms/GettingStarted/SimpleText.htm
http://www.sap-basis-abap.com/sapsf001.htm
http://sap.niraj.tripod.com/id67.html
Pls reward if helpful
Thanks,
Vasuki
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rebeca,
U want to define Table HRPY_WPBP in Global settings-->Form Interface and select Tables Tab,
Then declare internal Table like
ITAB LIKE HRPY_WPBP
Now Place this field &ITAB-PERNR& in SMARTFORM where u want.
In Print Program Select Data Like
SELECT PERNR
FROM HRPY_WPBP
INTO TABLE ITAB.
Use this ITAB in FUNCTIONMODULE.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In the text node use the syntax &HRPY_WPBP-PERNR&,
If HRPY_WPBP is not an input parameter of the form (Global Settings, Form interface) define it (Global Settings, Global definitions, Global Data) and fill the data in the Initialization (Global Settings, Global definitions, Initialization) or in a program node before the text node, in both case provide with the necessary input parameter and declare HRPY_WPBP as an output parameter.
(Look at [SAP Smart Forms (BC-SRV-SCR)|http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRSF/BCSRVSCRSF.pdf]
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.