on 02-12-2009 10:52 PM
Hello,
I want to write a patch of code in SAP SCript which will fetch multiple lines of data(no of lines fetch is unknown). How can I do it? I tried Perform Endperform but it had limit to the varibales it can send back. I don't know the line items(values) it will return.
i cannot modify print program? How can I do it?
Thanks,
Amol..
If you do not want to modify the standard program and achive to display you can use sub-routine calls... firstly, you should identify the element that is displaying the line items and use your sub-routine call inside that element and display all the required fields.
Note: you there is no element which call for line items, I guess there is no other alternative then modifying the driver program.
Regards,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
if need to count the line items. do one thing call a perform such that the subroutine is called for each line item . now inside the subroutine use a variable to keep the count, incrment it and export it to memory id and then import it again in the next call then increment and export again this way u'll get the count at the end.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
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.