OMG! Please help me with some actionscript for a flash .php form
Wright I've been trying for ages to get this to work. I have
10 combo boxes and tow input text fields in a "_mc" named "form"
one send button with the following code on it.
on (release) {
form.loadVariables("email.php", "POST");
I then have this code on the ".php" file.
<?php
$sendTo = "[email protected]";
$subject = "Custom Sven Clog Order Form";
$headers = "From: " . $_POST["name"];
$headers .= "<" . $_POST["email"] . ">\r\n";
$headers .= "Reply-To: " . $_POST["email"] . "\r\n";
$headers .= "Return-Path: " . $_POST["email"];
$email .= $_POST["email"];
$name .= $_POST["name"];
$message .= $_POST["treadColor"];
$message .= $_POST["baseColor"];
$message .= $_POST["bendOrNon"];
$message .= $_POST["heelSize"];
$message .= $_POST["nubucColors"];
$message .= $_POST["galaxyColors"];
$message .= $_POST["suedeColors"];
$message .= $_POST["patentColors"];
$message .= $_POST["leatherColors"];
$styles .= $_POST["styles"];
mail($sendTo, $subject, $message, "nEmail = $email\nStyles =
$styels\nName = $name";
?>
I've looked at all the normal stuff that might be wrong, is
the "email.php" file on the server? Yes!. Is the ".swf" file on the
server? Yes! I just cant get the code wright! The form is made in
"flash 8 PRO" And the ".swf" file is in a Dreamweaver site. Well
the hole thing is in a Dreamweaver site.
I fill out the form hit send and all I get back is blank
email with the name, sent to and subject lines filed out.
AAAAAAAARrrrrrrrrrr!
Someone please for the of it all tell me wear the hell I have
gone wrong? I thank you all for taking the time to read
this!!!!
Firstly again, your php script, you have now put a '.'
infront of all of the variables.
The '.' consentinas a string. It should read....
<?php
$sendTo = "[email protected]";
$subject = "Custom Sven Clog Order Form";
$headers = "From: " . $_POST["name"];
$headers .= "<" . $_POST["email"] . ">\r\n";
$headers .= "Reply-To: " . $_POST["email"] . "\r\n";
$headers .= "Return-Path: " . $_POST["email"];
$email = $_POST["email"];
$name = $_POST["name"];
$message = $_POST["treadColor"];
$message .= $_POST["baseColor"];
$message .= $_POST["bendOrNon"];
$message .= $_POST["heelSize"];
$message .= $_POST["nubucColors"];
$message .= $_POST["galaxyColors"];
$message .= $_POST["suedeColors"];
$message .= $_POST["patentColors"];
$message .= $_POST["leatherColors"];
$styles = $_POST["styles"];
Also you need to close the brackets in your mail()
function....
mail ($sendTo, $subject, $message,$headers);
That is the first problem. Your big problem is that you
aren't sending any of the variables from your swf, to the php file.
You need to look up loadVars(). I don't think you can use
loadVariables, as you want to send the variables to php, not
recieve them. You can use loadVars to sendAndLoad variables to the
php... be it 'email','name' etc and the php script will email
them.
Similar Messages
-
Can you please help me with validation logic for Events in Table maintenance generator
Can you please help me with validation logic for Events in Table maintenance generator,i.e if i enter record in 1st internal table then automatically 2nd internal table should be updated.
Hi Glen Anthony,
Thanks for replay,
I used foreign key relationship between those 2 internal tables....
I used event 05: When creating a new entry. I want to know the custom logic by which my 2nd Internal table gets automatically updated when i update my 1st Internal table
Thanks Glen. -
Please help me with some questions with batch input session?
hello everyone.
I come to some questions like
1 What is a batch input session ,
2 What is the alternative to batch input session?
3 An ABAP program creates a batch input session. We need to submit the program and the batch session in back ground. How to do it?
would you please help me with the questions, couldn't thank you more.
Best regards
FrankHi
Batch Input Session:
BATCH INPUT SESSION is an intermediate step between internal table
and database table. Data along with the action is stored in session
ie data for screen fields, to which screen it is passed, program
name behind it, and how next screen is processed.
Three processing modes of executing Batch Input Session :-
Run Visibly : You can correct faulty transactions online & work step-by-step through the transactions not yet executed.
Display Errors only : You can correct faulty transactions online. Transactions not yet executed, but without error, run in the background.
Run in Background .
2) What is the alternative to batch input session?
Call transaction.
3) An ABAP program creates a batch input session. We need to submit the program and the batch session in back ground. How to do it?
go to SM36 and create background job by giving
job name,job class and job steps (JOB SCHEDULING) -
Please help me with some backup questions....
After suffering through two hard drive failures (not my main drive, fortunately), and being frustrated with trying to keep everything backed up, I'm taking a fresh approach to everything and I plan to do the following:
1. Purchase a new, 2 TB hard drive (enterprise class - Can you guys recommend a reliable one?) and clone my existing main hard drive to it.
2. Purchase a second identical drive and install it in bay #2.
3. Likely purchase G-Technology's G-Safe with Raid 1 capability. Likely 3 TB just cause.
4. I'll keep my current 1 TB Hitachi Deskstar in the 3rd bay. It serves only my Sonos music system. (I wanted a separate drive for that so my regular drives weren't always running.)
So far so good. I plan on putting all my files on the one main 2 TB drive. (Formerly roughly 500 GB of music was on a separate internal drive, the one that's died twice now. Seagate Barracuda FYI.) I'll then clone the main drive to the identical drive in the 2nd bay and make it bootable as well. That's backup #1 and I plan on having it also updated regularly. (Incrementally, not a complete erase and rewrite, but still keeping it bootable.) I'll then hook up the Raid 1 drive and clone the main hard drive to that as well, also making it bootable. That will give me backup #2 and #3 (through mirroring). These drives will be backed up less often and when not being used, will be stored in a fire proof safe in the garage. So far so good, I think.
What I'm stuck on is what software to use for doing the cloning and more importantly, the backups.
For the cloning, I understand I can simply use the Restore function in the Disk Utility. Is this correct? Or am I better off using SuperDuper or Carbon Copy Cloner? If so, which one? And why?
For the regular backups, I have been using Retrospect but frankly, I'm less than impressed with their interface and I've never liked the fact that even if the backups aren't compressed, I can't see the files unless I do so through Retrospect. I can't just go to the backup drive and view the files. They're all hidden in the one Retrospect icon. So, I'm considering the following:
Time Machine: However, I was less than impressed with it in the past as it seemed to completely fill whatever drive I pointed it to and then it would fail to backup. I never could figure it out that well.
SuperDuper: I was just checking them out and it seems that it's not only a good cloner, but will also then keep that clone up to date and bootable on a regular basis. It really sounds like it's what I need. And the screen shots I saw on their site seem pretty well thought out and explain a lot.
Carbon Copy Cloner: I know this app has been around for a long time, though I've never used it. I'm presuming it's good for cloning a drive onto a larger drive, just as SuperDuper is, but can it do scheduled backups of that clone like SuperDuper can?
And in all cases, I want to keep both the second internal drive and the external RAID drives backed up from their original clonings. Can any of these programs handle ongoing backups to two or more destinations from the same source?
And finally, a last question or two:
To repeat my first question, who makes a really reliable enterprise class drive?
And has anyone had any experience with G-Technology's G-Safe with RAID 1?
Thanks much for all your help.
Oh, here's my system: Mac Pro tower, 2008 2.8 GHz, 10 GB ram. Dual Intel processors. Currently 10.5.8, soon to be 10.6.8.valbelvalbel wrote:
After suffering through two hard drive failures (not my main drive, fortunately), and being frustrated with trying to keep everything backed up, I'm taking a fresh approach to everything and I plan to do the following:
1. Purchase a new, 2 TB hard drive (enterprise class - Can you guys recommend a reliable one?) and clone my existing main hard drive to it.
2. Purchase a second identical drive and install it in bay #2.
3. Likely purchase G-Technology's G-Safe with Raid 1 capability. Likely 3 TB just cause.
4. I'll keep my current 1 TB Hitachi Deskstar in the 3rd bay. It serves only my Sonos music system. (I wanted a separate drive for that so my regular drives weren't always running.)
Hitachi and Seagate both make enterprise class drives. Just visit their websites to find models.
So far so good. I plan on putting all my files on the one main 2 TB drive. (Formerly roughly 500 GB of music was on a separate internal drive, the one that's died twice now. Seagate Barracuda FYI.) I'll then clone the main drive to the identical drive in the 2nd bay and make it bootable as well. That's backup #1 and I plan on having it also updated regularly. (Incrementally, not a complete erase and rewrite, but still keeping it bootable.) I'll then hook up the Raid 1 drive and clone the main hard drive to that as well, also making it bootable. That will give me backup #2 and #3 (through mirroring). These drives will be backed up less often and when not being used, will be stored in a fire proof safe in the garage. So far so good, I think.
I don't know what your desires are for backup redundancy, but I would create a two drive mirrored RAID for your main backup. This could consist of two identical hard drives mounted in your Mac Pro's slots (this is what I do.) Or you could purchase a two-drive external case and use Firewire. (I also do this.) Drive size should be determined by how large a drive(s) you are backing up and if you plan to use Time Machine. TM's backup device must be at least twice the size of the drive(s) it backs up.
What I'm stuck on is what software to use for doing the cloning and more importantly, the backups.
For the cloning, I understand I can simply use the Restore function in the Disk Utility. Is this correct? Or am I better off using SuperDuper or Carbon Copy Cloner? If so, which one? And why?
For the regular backups, I have been using Retrospect but frankly, I'm less than impressed with their interface and I've never liked the fact that even if the backups aren't compressed, I can't see the files unless I do so through Retrospect. I can't just go to the backup drive and view the files. They're all hidden in the one Retrospect icon. So, I'm considering the following:
Time Machine: However, I was less than impressed with it in the past as it seemed to completely fill whatever drive I pointed it to and then it would fail to backup. I never could figure it out that well.
SuperDuper: I was just checking them out and it seems that it's not only a good cloner, but will also then keep that clone up to date and bootable on a regular basis. It really sounds like it's what I need. And the screen shots I saw on their site seem pretty well thought out and explain a lot.
Carbon Copy Cloner: I know this app has been around for a long time, though I've never used it. I'm presuming it's good for cloning a drive onto a larger drive, just as SuperDuper is, but can it do scheduled backups of that clone like SuperDuper can?
And in all cases, I want to keep both the second internal drive and the external RAID drives backed up from their original clonings. Can any of these programs handle ongoing backups to two or more destinations from the same source?
If you are running Lion then do not use SuperDuper. It has not yet been updated for reliable use with Lion and cannot handle Lion's Recovery HD. Carbon Copy Cloner's recent beta release would be a good choice as would Synk Pro from Decimus, or Tri-Backup. All of these will clone a drive as well as perform scheduled backups/updates of a clone. But only CCC properly deals with Lion's Recovery HD at this time. All of these make essentially file by file copies from the source to the destination. One can easily restore a file or a few items without needing to use the backup utility since everything on the backup is accessible through the Finder.
TM is not able to create a bootable clone. It is an archival backup utility intended for home users needing basic, automatic, and simple to use backup software. Restoring software from a TM backup can only be done through the TM application.
And finally, a last question or two:
To repeat my first question, who makes a really reliable enterprise class drive?
And has anyone had any experience with G-Technology's G-Safe with RAID 1?
Thanks much for all your help.
Oh, here's my system: Mac Pro tower, 2008 2.8 GHz, 10 GB ram. Dual Intel processors. Currently 10.5.8, soon to be 10.6.8. -
Please help me with an Actionscript overview....
I just got Flash Professional CS3. Questions about action
script.
I notice Actionscript 3.0 is much more complicated than 2.0.
I guess I just want to avoid complications if 2.0 is sufficient.
Question: Can I author in Actionscript 2.0 and publish that
way? I realize 3.0 is more efficient, however is there any downside
for the user if I publish as 2.0 as long as the swf works?You can use 2.0 just fine - 3.0 is a more fully-featured and
object-oriented language, but if you can accomplish the job with
what 2.0 offers, there won't be any downside to the enduser.
Sean -
Can anyone please help me with the logic for this..
hi all,
os has the value Windows 2000
IF os CP 'WINDOWS' OR os CP 'SUN'.
OS1 = 'X'.
ENDIF.
(if i test this,
os1 doesnot have any value, (should be x)).
This doesnot work for me.
Any suggestions.
Regards,
Sukumar.Dear Sukumar,
just use the F1 help on CP in ABAP code, there is a description.
I think you need to use the asterix '*' than it will work.
Regards
Tibor
Just check the example:
Report z_example.
data: os1, os type string.
os = 'WINDOWS 2000'.
IF os CP 'WINDOWS' OR os CP 'SUN' or os = space.
OS1 = 'X'.
ENDIF.
write: / os1. -
Please help me with some action event buttons
{color:#ff6600}i am trying to figure out how to capture two values from an action event button. i have already tried it 6 times and i cant figure it out.
Its a simple calculator with numbers 1 and 2 and does a multiplication calculation.
Can you help me figure it out it will be really helpful.
{color}
import javax.swing.*;
import java.util.*;
import java.awt.event.*;
public class Calculator implements ActionListener {
JFrame frame;
JPanel contentpane;
JButton one,two;
JTextField field;
JButton mult;
JButton adds;
JButton equals;
JButton go;
public Calculator() {
frame = new JFrame ("Calculator" );
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
contentpane = new JPanel();
contentpane.setBorder(BorderFactory.createEmptyBorder(20,20,40,40));
one = new JButton( Integer.toString(1));
one.setActionCommand(Integer.toString(1));
one.addActionListener(this);
contentpane.add(one);
two = new JButton(Integer.toString(2));
two.setActionCommand(Integer.toString(2));
two.addActionListener(this);
contentpane.add(two);
field = new JTextField(10 );
contentpane.add(field);
go = new JButton("calculate");
go.setActionCommand("go");
go.addActionListener(this);
contentpane.add(go);
mult = new JButton( "*");
mult.setActionCommand("mult");
mult.addActionListener(this);
contentpane.add(mult);
adds = new JButton( "+");
adds.setActionCommand("add");
contentpane.add(adds);
frame.setContentPane(contentpane);
frame.pack();
frame.setVisible(true);
public void actionPerformed (ActionEvent event ) {
String eventn = event.getActionCommand();
String text = field.getText();
String mult ="*";
{color:#800080}if (eventn.equals("1")||eventn.equals("2") ){ \\ *{color:#ff6600}i dont know how to store two different value from an action event{color}*
text+=eventn ;
int num = Integer.parseInt(text);
field.setText(text);
{color}
{color:#800080}if (eventn.equalsIgnoreCase("mult")){
field.setText("");
{color}
{color:#800080}};
{color}
public static void runGui(){
JFrame.setDefaultLookAndFeelDecorated(true);
Calculator r = new Calculator();
public static void main (String[]args){
javax.swing.SwingUtilities.invokeLater(new Runnable(){
public void run(){
runGui();import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class ListenerDemo {
private class DigitListener implements ActionListener {
private int digit;
public DigitListener(int digit) {
this.digit = digit;
public void actionPerformed(ActionEvent evt) {
JOptionPane.showMessageDialog(f, "You pressed " + digit);
private JFrame f = new JFrame();
private JButton button1 = new JButton("1");
private JButton button2 = new JButton("2");
public static void main(String[] args) {
EventQueue.invokeLater(new Runnable(){
public void run() {
new ListenerDemo().go();
void go() {
button1.addActionListener(new DigitListener(1));
button2.addActionListener(new DigitListener(2));
JPanel cp = new JPanel();
cp.add(button1);
cp.add(button2);
f.setContentPane(cp);
f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
f.pack();
f.setLocationRelativeTo(null);
f.setVisible(true);
} -
Script for a flash .php form!
Good day all! Right I have a flash _mc which I'm using in a
dreamweaver file. It has a form in it (as a _mc). And I'm using
combo box's for people to make a selection. Enter the name, e-mail
and hit send. And what I want is the information from the combo
box's, name and e-mail sent to an address. I have the page live so
I can test it. I fill in the form hit send, and I just get a blank
e-maill
Because I've used the combo box's there isn't a "var"
field to fill in so I put the "variables" name in the "data" field.
Is this right? And hear's the .php code. Hope someone can
help!You should post your acitionscript. as well to show how you
are sending the variables to php. However I am pretty sure you need
to add a '.=' to all the $message othersiwse it won't concentina
the $mesage.... like...
$message = $_POST["email"];
$message .= $_POST["name"];
$message .= $_POST["treadColor"];
$message .= $_POST["baseColor"]; -
Please help me with the following two questions, very urgent
Hi All,
Please help me with some scenerios about what are the common problems when modifying a standard script such a standard Invoice script and how can we overcome them.
What are the common problems encountered when working with SAP SMARTFORMS and how to overcome them?
Please help me with these questions, its very urgent.
Thanks in advance.
MD.hi
hope it will help you.
reward if ehlp.
How to create a New smartfrom, it is having step by step procedure
http://sap.niraj.tripod.com/id67.html
step by step good ex link is....
http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
Here is the procedure
1. Create a new smartforms
Transaction code SMARTFORMS
Create new smartforms call ZSMART
2. Define looping process for internal table
Pages and windows
First Page -> Header Window (Cursor at First Page then click Edit -> Node -> Create)
Here, you can specify your title and page numbering
&SFSY-PAGE& (Page 1) of &SFSY-FORMPAGES(Z4.0)& (Total Page)
Main windows -> TABLE -> DATA
In the Loop section, tick Internal table and fill in
ITAB1 (table in ABAP SMARTFORM calling function) INTO ITAB2
3. Define table in smartforms
Global settings :
Form interface
Variable name Type assignment Reference type
ITAB1 TYPE Table Structure
Global definitions
Variable name Type assignment Reference type
ITAB2 TYPE Table Structure
4. To display the data in the form
Make used of the Table Painter and declare the Line Type in Tabstrips Table
e.g. HD_GEN for printing header details,
IT_GEN for printing data details.
You have to specify the Line Type in your Text elements in the Tabstrips Output options.
Tick the New Line and specify the Line Type for outputting the data.
Declare your output fields in Text elements
Tabstrips - Output Options
For different fonts use this Style : IDWTCERTSTYLE
For Quantity or Amout you can used this variable &GS_ITAB-AMOUNT(12.2)&
5. Calling SMARTFORMS from your ABAP program
REPORT ZSMARTFORM.
Calling SMARTFORMS from your ABAP program.
Collecting all the table data in your program, and pass once to SMARTFORMS
SMARTFORMS
Declare your table type in :-
Global Settings -> Form Interface
Global Definintions -> Global Data
Main Window -> Table -> DATA
Written by : SAP Hints and Tips on Configuration and ABAP/4 Programming
http://sapr3.tripod.com
TABLES: MKPF.
DATA: FM_NAME TYPE RS38L_FNAM.
DATA: BEGIN OF INT_MKPF OCCURS 0.
INCLUDE STRUCTURE MKPF.
DATA: END OF INT_MKPF.
SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID 001.
SELECT * FROM MKPF WHERE MBLNR IN S_MBLNR.
MOVE-CORRESPONDING MKPF TO INT_MKPF.
APPEND INT_MKPF.
ENDSELECT.
At the end of your program.
Passing data to SMARTFORMS
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname = 'ZSMARTFORM'
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
FM_NAME = FM_NAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3.
if sy-subrc <> 0.
WRITE: / 'ERROR 1'.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
call function FM_NAME
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
GS_MKPF = INT_MKPF
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5.
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
Smartform
you can check this link here you can see the steps and you can do it the same by looking at it..
http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
SMARTFORMS STEPS.
1. In Tcode se11 Create a structure(struct) same like the Internal table that you are going to use in your report.
2. Create Table type(t_struct) of stracture in se11.
3. In your program declare Internal table(Itab) type table of structure(struct).
4. Define work area(wa) like line of internal table.
5. Open Tcode Smartforms
6. In form Global setting , forminterface Import parameter define Internal table(Itab) like table type of stracture(t_struct).
7. In form Global setting , Global definitions , in Global data define Work area(wa) like type stracture(struct).
8. In form pages and window, create Page node by default Page1 is available.
9. In page node you can create numbers of secondary window. But in form there is only one Main window.
10. By right click on page you can create windows or Go to Edit, Node, Create.
11. After creating the window right click on window create table for displaying the data that you are passing through internal table.
12. In the table Data parameter, loop internal internal table (Itab) into work area(wa).
13. In table there are three areas Header, Main Area, Footer.
14. Right click on the Main area create table line by default line type1 is there select it.
15. Divide line into cells according to your need then for each cell create Text node.
16. In text node general attribute. Write down fields of your work area(wa) or write any thing you want to display.
17. Save form and activate it.
18. Then go to Environment, function module name, there you get the name of function module copy it.
19. In your program call the function module that you have copied from your form.
20. In your program in exporting parameter of function pass the internal table(itab).
SAP Smart Forms is introduced in SAP Basis Release 4.6C as the tool for creating and maintaining forms.
SAP Smart Forms allow you to execute simple modifications to the form and in the form logic by using simple graphical tools; in 90% of all cases, this won't include any programming effort. Thus, a power user without any programming knowledge can
configure forms with data from an SAP System for the relevant business processes.
To print a form, you need a program for data retrieval and a Smart Form that contains the entire from logic. As data retrieval and form logic are separated, you must only adapt the Smart Form if changes to the form logic are necessary. The application program passes the data via a function module interface to the Smart Form. When activating the Smart Form, the system automatically generates a function module. At runtime, the system processes this function module.
You can insert static and dynamic tables. This includes line feeds in individual table cells, triggering events for table headings and subtotals, and sorting data before output.
You can check individual nodes as well as the entire form and find any existing errors in the tree structure. The data flow analysis checks whether all fields (variables) have a defined value at the moment they are displayed.
SAP Smart Forms allow you to include graphics, which you can display either as part of the form or as background graphics. You use background graphics to copy the layout of an existing (scanned) form or to lend forms a company-specific look. During printout, you can suppress the background graphic, if desired.
SAP Smart Forms also support postage optimizing.
Also read SAP Note No. 168368 - Smart Forms: New form tool in Release 4.6C
What Transaction to start SAP Smart Forms?
Execute transaction SMARTFORMS to start SAP Smart Forms.
Key Benefits of SAP Smart Forms:
SAP Smart Forms allows you to reduce considerably the implementation costs of mySAP.com solutions since forms can be adjusted in minimum time.
You design a form using the graphical Form Painter and the graphical Table Painter. The form logic is represented by a hierarchy structure (tree structure) that consists of individual nodes, such as nodes for global settings, nodes for texts, nodes for output tables, or nodes for graphics.
To make changes, use Drag & Drop, Copy & Paste, and select different attributes.
These actions do not include writing of coding lines or using a Script language.
Using your form description maintained in the Form Builder, Smart Forms generates a function module that encapsulates layout, content and form logic. So you do not need a group of function modules to print a form, but only one.
For Web publishing, the system provides a generated XML output of the processed form.
Smart Forms provides a data stream called XML for Smart Forms (XSF) to allow the use of 3rd party printing tools. XSF passes form content from R/3 to an external product without passing any layout information about the Smart Form.
SmartForms System Fields
Within a form you can use the field string SFSY with its system fields. During form processing the system replaces these fields with the corresponding values. The field values come from the SAP System or are results of the processing.
System fields of Smart Forms
&SFSY-DATE&
Displays the date. You determine the display format in the user master record.
&SFSY-TIME&
Displays the time of day in the form HH:MM:SS.
&SFSY-PAGE&
Inserts the number of the current print page into the text. You determine the format of the page number (for example, Arabic, numeric) in the page node.
&SFSY-FORMPAGES&
Displays the total number of pages for the currently processed form. This allows you to include texts such as'Page x of y' into your output.
&SFSY-JOBPAGES&
Contains the total page number of all forms in the currently processed print request.
&SFSY-WINDOWNAME&
Contains the name of the current window (string in the Window field)
&SFSY-PAGENAME&
Contains the name of the current page (string in the Page field)
&SFSY-PAGEBREAK&
Is set to 'X' after a page break (either automatic [Page 7] or command-controlled [Page 46])
&SFSY-MAINEND&
Is set as soon as processing of the main window on the current page ends
&SFSY-EXCEPTION&
Contains the name of the raised exception. You must trigger your own exceptions, which you defined in the form interface, using the user_exception macro (syntax: user_exception <exception name >).
Example Forms Available in Standard SAP R/3
SF_EXAMPLE_01
Simple example; invoice with table output of flight booking for one customer
SF_EXAMPLE_02
Similar to SF_EXAMPLE_01 but with subtotals
SF_EXAMPLE_03
Similar to SF_EXAMPLE_02, whereby several customers are selected in the application program; the form is called for each customer and all form outputs are included in an output request
Advantages of SAP Smart Forms
SAP Smart Forms have the following advantages:
1. The adaption of forms is supported to a large extent by graphic tools for layout and logic, so that no programming knowledge is necessary (at least 90% of all adjustments). Therefore, power user forms can also make configurations for your business processes with data from an SAP system. Consultants are only required in special cases.
2. Displaying table structures (dynamic framing of texts)
3. Output of background graphics, for form design in particular the use of templates which were scanned.
4. Colored output of texts
5. User-friendly and integrated Form Painter for the graphical design of forms
6. Graphical Table Painter for drawing tables
7. Reusing Font and paragraph formats in forms (Smart Styles)
8. Data interface in XML format (XML for Smart Forms, in short XSF)
9. Form translation is supported by standard translation tools
10. Flexible reuse of text modules
11. HTML output of forms (Basis release 6.10)
12. Interactive Web forms with input fields, pushbuttons, radio buttons, etc. (Basis-Release 6.10) -
Is there any link between oe_order_headers_all and hz_cust_accounts tables. I need to find the cust_account_id for some order_number. Please help me with this
you can link
OOH.invoice_to_org_id=CUST.cust_account_id -- invoice customer
OOH.sold_to_org_id=CUST.cust_account_id -- sold to customer
OOH.ship_to_org_id=CUST.cust_account_id -- ship to customer -
Please help me with the proper query for the below problem
Hi,
I have a table RATE which have two columns RT_DATE (date) and RATES(number).
This table have following data.
RT_DATE
RATES
1-JAN-2007
7
2-MAR-2008
7.25
5-JAN-2009
8
8-NOV-2009
8.5
9-JUN-2010
9
I wanted to get the rate of interest on 8-DEC-2009.
Output will be 8.5 as this given date is in between 8-NOV-2009 and 9-JUN-2010. Could you please help me with proper query?
Regards,
Aparna SHi,
That sounds like a job for the LAST function:
SELECT MIN (rates) KEEP (DENSE_RANK LAST ORDER BY rt_date) AS eff_rate
FROM rate
WHERE rt_date < 1 + DATE '2009-12-08'
MIN above means that, in case of a tie (that is, 2 or more rows with the exact same latest rt_date) the lowest rates from that latest rt_date will be returned. In rt_date is unique, then it doesn't matter if you use MIN or MAX, but syntax demands that you use some aggregate function there.
I hope this answers your question.
If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for your sample data, and also post the results you want from that data.
Point out where the statement above is getting the wrong results, and explain, using specific examples, how you get the right results from the given data in those places.
Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
See the forum FAQ: https://forums.oracle.com/message/9362002#9362002 -
I work on the CompactRIO 9068 that the password is lost for some time.
Please help me to reset it, for finish my end of study project.
Thank you,but the page of ni support does not work:
https://sine.ni.com/srm/app/newrequest
and I have the recovery.cfg file from NI with this steps :
1. Copy the recovery.cfg file, found in the zip folder attached at the bottom of the email, to the thumb drive.
2. With the cRIO device powered off, plug in the USB drive to the controller.
3. Hold down the reset button while powering on the controller. Continue holding the reset button until the status light turns on, then release the reset button.
4. Wait for the controller to boot. This should take less than a minute.
5. Check that the password has been reset to the default. (you will still be prompted for a password even if the default is blank)
6. Reinstall software to the controller. Using the USB reset will leave the system in a state where it is unable to run LVRT
I have followed the procedure as mentioned
Result: the LED "Status" is permanently blinking.
Would you please provide as with another alternative so that we can fix this issue. -
Please help me with user-exits or baids for TCode : FOE2 & FOE1
Hi Experts
Please help me with user-exits or baids for TCode : FOE2 & FOE1.
I found these but not picking values from VIMI01,VIOB03 and VIOB41.
User-exits
FVCH0001 CH-specific enhancements: Esp. POR
ISRE0001 Determine bank procedure account no.
ISRE0002 IPD reporting data retrieval
Business Add-in
FVD_HANDLE_FORMULA Processing of Condition FormulasHi,
ASk your basis regarding the CI_CSKB table active issue, and first of all i dont see any table with the name CI_CSKB.
And check this exit-COOMKS03 whether it works for your screen exits.
Cheers!!
VEnk@
Edited by: Venkat Reddy on Nov 4, 2008 5:59 PM -
I have to make a catalouge for my services as a financial planner.. earlier i used to do in MS publisher.. now i have a mac book.. can some one help me with some software info with which i can design a catalogue??
Depending on what your needs are, you may use Pages included in iWork or purchase it separately (usually there is an evaluation copy with any new mac, I guess) or try other publishing apps. I once used MS Publisher, I remember it was something like a more sophisticated word processor, right?
You may try the cheaper DTP iCalamus or Word for mac. -
Could you please help me with the problem. I have macbook with retina with mac os 10.7.4 ann want to update it to mac os 10.7.5. I had been waiting for 2 hours to do it and had tried 3 times but it appeared that it was impossible. What should I do?
You can download the standalone updates:
OS X Lion Update 10.7.5 (Client Combo)
OS X Lion 10.7.5 Supplemental Update
Maybe you are looking for
-
The same is true when I print in Evernote, though not when I print my Google calendar. Any suggestions?
-
Domain Controller resets time ahead one hour on reboot
I have a Windows 2003 R2 domain controller that is running on a Windows 2012 Hyper-V cluster. Time sync between the host and guest are disabled. The last two times the Domain Controller has been rebooted, time has jumped ahead one hour on the Domain
-
Head count planning ( FTE) services
Dear Have ever anyone worked on this scenario and in Indian context how should we work. Regs, Raj
-
Error while installing JDeveloper 12c
Hi, I am getting the following error while installing the windows version of Jdeveloper 12c. 'CMD property not found in autorun.inf' Thanks,
-
Workflow for server connect scheduling
Is there a workflow that will prompt my MBP to connect to my MacMini on a schedule. Reason being I am trying to setup a scheduled connection between the two, ie once a week. Is Automator the right way to go about this?