on 09-06-2007 3:52 PM
Hi,
I have a problem in SAPscript.I have created a Z-layout set and using a std driver program to print it. Now in main window inside text element 325 I am getting the invoice line item details and in text element 330 I am getting the grand total of net price of all line items.
My requirement is to access the grand total into text element 325(i.e. before printing the line items i want to print the total value).How can do this?
Thanks in advance..
Regards,
Amol
Hi,
In the Driver program, you need to call the WRITE_FORM function module with Element 330 before 325 then this is possible,
Regards
Sudheer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Since u r using standard Print program, we can't change the program.
so try under the Text Element 325, call a subroutine. in that subroutine
fetch the grand total values.
I think u might be knowing how to use the subroutines in SAP Scripts.
Might this help to solve ur problem.
Thanks
Dinakar.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes i can not modify the program.I have called subroutine in the element 325.But as this element is getting called inside the loop the total is printing before each item.Can get the total number of table entries in my subroutine which is called from the script.so that I can set reset the flag and depending on this flag i am able to print the total only once.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
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.