‎2010 Sep 22 3:26 PM
Hi Friends,
In NACE transction for one outputype ZJO3 i configured three programs and sapscript forms as below
Program Name form name
1. ZVADIN_EX ZVINVOICE_EX_LI
2. ZVADIN01_UT ZVINVOICE01_UT
3. ZVGSPVVI0040 ZVGSPVVI0040
in driver porgram ZRSNAST00_UT i am having a checkbox to create spool'no.
At present 3 spool no are coming after running the program ZRSNAST00_UT.
I heard by using start_form it is possible to create single spool no for 3 programs.
So please suggest me in which program i have to use the start_form .
Regards
R.Vijayakumar
‎2010 Sep 22 3:35 PM
Hi,
Maybe the easy way is to check the CALL FUNCTION 'CLOSE_FORM' where the parameter result gives Spool information.
You have to change the other reports to use the same spool order. You can also check the system variable SY-SPONO.
Anything i can do to help say it.
Tks
‎2010 Sep 22 3:35 PM
Hi,
Maybe the easy way is to check the CALL FUNCTION 'CLOSE_FORM' where the parameter result gives Spool information.
You have to change the other reports to use the same spool order. You can also check the system variable SY-SPONO.
Anything i can do to help say it.
Tks
‎2010 Sep 23 8:11 AM
Hi,
I checked the closes_forms in the 3 programs configured in nace . Result parameter is getting values from ITCPP structure. In that i found two
2 components .
1. TDSPOOLID ( Spool request number)
2.TDNEWID (New Spool Request (Print Parameters)
in this which parameter i have to pass to the Result parameter.
please explain the point "You have to change the other reports to use the same spool order"
system variable SY-SPONO where i have to check in driver program or other the 3 programs which i am configured in nace
Regards
R.vijayakumar
‎2010 Sep 22 3:50 PM
Using START_FORM & END_FORM, you can make a single output of the 3 layouts.
And after all the START & END forms, if you use CLOSE_FORM, then all the 3 layouts will be clubbed together and finally it is going to create a single output and single spool.
Hope this sloves your problem.
‎2010 Sep 23 7:59 AM
Hi,
In NACE for the single outputZJ03 i included three programs.
1. ZVADIN01_UT
2. ZVGSPVVI0040
3. ZVADIN_EX
i checked this programs only start_form available there is no end_form.
So i am planning to write code as below.
Remvoing second and third program from NACE. After that in first program ZVADIN01_UT i am planning to put three start and end_forms . Is this the right approach?
Regards
R.Vijayakumar