‎2009 Jul 24 1:16 AM
Hello guys:
Using the trxs LT44 and LX21 is executed the report RLKOMM40 (the standard from LX21). In its turn, this program calls SAPLLTOP (a function group). This group executes sapscript related instructions, to send to print LVSKOMMIL1 (the standard sapscript form). My functional was able to change the form to Z_LVSKOMMIL1 as the form used by the function group SAPLLTOP, so I can modify the Sapscript Form. But my trouble is in data to print: I need the data printed (that is from LTAP and LTAK tables) be printed in specific order. Further, I need print data from MAKT, VBFA, T001, etc. that is not used in standard function group, so I need make selects to get more info. If you check SAPLLTOP you will see that WRITE_FORM instructions are spreaded all over this program, so just before every function WRITE_FORM, I need make selects to add approppriate data (I need extra-data to print at main (more fields)). Every time WRITE_FORM could be used, I need get more data, because data changes, so I don't think user-exits could help me. I need insert page-breaks if certain data from the previously sorted table changes, too. What I have to do? Thanks so much guys.
‎2009 Oct 07 12:18 AM
Hi guys!
I was able to solve this trouble. I used enhancement points, the most difficult part was to find the exact point to use. In the Z sapscript, I used false labels to avoid the standard WRITE_FORMS were executed (void labels that do nothing), and before the form was closed (CLOSE_FORM), I used another enhancement point to send to print my data. Thank you anyway.
‎2012 Feb 15 11:14 AM
Hi,
I have a similar issue with TO format, could you explain me a little bit more on how did you solve your problem,
Thanks