Wednesday 12 September 2012

Passing Parameter to SAP Smartforms Part I

Passing Parameter to Smartforms from Driver Program

1. Go to transaction SMARTFORMS
2. Enter smartform name then click create


3.  In the Global Settings double click the Form Interface.
4. In the import tab, define the parameter name to be pass on from driver program
    ex: below is the PR_Number

 5. Now goto Pages and Windows, then right click to create a Text in the Main window to display the parameter.

     
6. Text1 has been created. To display the value of the parameter in text1, you need to insert field, to do that   click button with Plus sign (+)

  7. Enter the field name between the ‘&’ (Ampersand) as shown below. Then click continue
  8. All words highlighted by black in text, it means this a variable as shown below


   
 9. Save and Activate the Smart Form.
 10.  Test run the Smart Form by clicking on Execute


   11. Enter Value in PR_Number then click Execute
    12. The Result




2 comments:

  1. this is very helpful...i will follow your blog..hope you'll post more samples.. :)

    ReplyDelete