on 06-15-2009 8:38 AM
Hi Guys,
we have requirement to develop script for Va02 Transaction. For this i Developed layout by copying standard layout and changed some windows in custom layout for extra fields i write logic in forms i called that external subroutines in layout.
functional consultant configured in nace print program is RVADOR01 and form is Zlayout( what i developed).
is there Any program required to pass data to layout (in includes or some where) or any events required to pass data?
Thanks In advance for your help
Regards,
Raj
Hello Raj,
The driver Program send the data neede by the script.
In case your have added some new fields then you can call a Program from script and retrieve the data that is needed by you. follow the code below.
/: PERFORM fetch_data IN PROGRAM ZREPORT.
/:USING &INPUT_VALUES&.
/:CHANGING &OUTPUT_VALUES&.
/:ENDPERFORM.
-
Now Create a Report with name ZREPORT.
REPORT zreport.
FORM fetch_data TABLES in_tab STRUCTURE itcsy
out_tab STRUCTURE itcsy.
<Here you can fire select query using the dta of IT_TAB and populate OUT_TAB.
OUT_TAB fields can now be used in SCRIPT>
ENDFORM.
Hope this helps. Please revert back incase you face any other problem.
Cheers,
Suvendu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks & Regards
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you have not added any windows to that existing script it is not needed to call WRITE_FORM in print program. Otherwise it is needed to call WRITE_FORM. For subroutine program it is important to save that program in Script transaport request. Any other program is not needed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.