on 06-10-2008 5:58 AM
hi
can anyone give me some tricky questions on scripts and smartforms please....
points will be rewarded.
Hi
For Smartform:
Forcing a page break within table loop
Difference between 'forminterface' and 'global definitions' in global settings of smart forms
For Scripts:
1) How do you backup script layout sets?
2) What type of variables normally used in script to o/p data?
3) How do you use tabsets in layouts?
Reward points if useful
regards
vachana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi venkat
These are the answers for Smartforms:
1. Create a loop around the table. Put a Command node before the table in the loop that forces a NEWPAGE on whatever condition you want. Then only loop through a subset of the internal table (based on the conditions in the Command node) of the elements in the Table node.
2. The Difference is as follows.
To put it very simply:
Form Interface is where you declare what must be passed in and out of the smartform (in from the print program to the smartform and out from the smartform to the print program).
Global defs. is where you declare data to be used within the smartform on a global scope.
ie: anything you declare here can be used in any other node in the form.
These are for the scripts:
1) Use this Std program RSTXSCRP.
1) First Export to Presentation file(.doc).
2) Whenever you need that Export into SAP.
2) Normally we call them as Program symbols. Those are defined in Driver program. We can use in Script as for exp. &itab-matnr&
Other variables ---System symbols : ex &page&
---Std symbols :
---Text symbols :We define them in script editor itself.
Ex : /: Define &mysymbol& = 'XX'
3) We can control the tab feed in a paragraph with tab positions. The tab stops us define in the paragraph format replace the tab spacing we defined in the header data of the form. However, this depends on the extent to which we have defined tab stops in the paragraph format. If there are fewer tabs in the paragraph formats than in the header data, the tab stops of the header data are used for the rest of the line.
Regards
Vachana
hii
saplab.blogspot.com
Above sites will give you good questions & solutions for smartforms & script.
reward points if useful
thx
twinkal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sunil,
Please check these link
http://saplab.blogspot.com/2007/09/smart-forms-frequently-asked-questions.html
http://www.saptechies.com/smartforms-frequently-asked-questions/
http://www.geekinterview.com/question_details/37873
http://www.allinterview.com/showanswers/23627.html
http://abapprogramming.blogspot.com/2008/03/sap-smart-forms-brief-discussion.html
https://www.sdn.sap.com/irj/sdn/forums
Best regards,
raam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.