2006 Nov 08 1:48 PM
Hello,
how to generate smartforms when we give a select-options i.e when we gine a range.
i am getting the form for only parameter( single value )..plz suggest how to proceed further
2006 Nov 08 2:14 PM
You can start with selecting the data from table to your internal table and then looping through that table.
for each entry create one document.
You can start with selecting the data from table to your internal table and then looping through that table.
for each entry create one document.
2006 Nov 08 2:14 PM
You can start with selecting the data from table to your internal table and then looping through that table.
for each entry create one document.
2006 Nov 08 4:23 PM
Hi Arun,
Go through the following steps,
Step 1: Create a structure in SE11, say <b>ZSMART</b>, with fields
<b>Field_name Datatype Length</b>
SIGN char 1
OPTION char 2
LOW char 18
HIGH char 18Save and Activate this structure.
Step 2: In Transaction SMARTFORM, create a form, and specify under <b>Form Interface</b> -> <b>Table</b> ITAB_SMART LIKE ZSMART
Step 3: In <b>Global Defination</b> -> <b>Global Data</b>
VBAK TYPE VBAK
ITAB TYPE STANDARD TABLE OF VBAK
WA TYPE MARAStep 4: In your Program Line ( %CODE1 ) node of SMARTFORM,
<b>Input Parameters Output Parameters</b>
ITAB_SMART ITABSELECT * FROM VBAK INTO TABLE ITAB WHERE VBELN IN <b>ITAB_SMART</b>.
Step 5: In LOOP ( %LOOP ) node -> Data
ITAB INTO WAStep 6: Drag and drop the WA contents from the <b>field List</b> (as you do in case of Parameter) on the TEXT node ( %TEXT1 ) of SMARTFORM.
Step 7: In the Report Program take a select option for VBELN field of VBAK table, and call the function module of SMARTFORM.
Whenever you execute the report program with a valid selection criteria for VBELN entry, only that perticular records will be displayed on your SMARTFORM.
Regards,
Abdul.
P.S: Mark Points, if useful!
Let me know if you still have doubts.
2007 Jul 24 8:42 AM
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |