‎2006 Jun 07 6:19 PM
Dear All,
I am working on SAP Scripts for a while and doing good but unfortunately I am not having good knowledge on print programs. I dont know where to do modifications and how ? It seems to be a very large programs about 3000 - 5000 Lines.
I am creating some subrouintes, Conditions in SAP editor when required, I am good at modifiying layout and creating styles. I have read Script help and able to understand print programs and how to write them but when it comes to real situation, Code is very very big and unable to understand it. please advice me, How can I understand the program. My friend says 'no need to woory about nig program and just find out Write_form and do modifications there. Please give me some tricks to modify print program or material which describes modifing print programs.
I am worried about Text Elements (/E XXX). Please advice me.
I guess this will be the problem for most of the begginers, who has knowledge in ABAP but worried about raly big problems. Any advice or links will be great help to me and other beginners.
Thanking you.
Regards
Venkat.
‎2006 Jun 07 6:23 PM
Venkat, first things first, copy the program to modify it and then do the config to point the output to the "Z" program instead of the standard program. Next if you are working with a particular area of the form and you see that there is an ELEMETN /E, not that element name. It will be somewhere in the print program, you can search for this in the program. Mostly likely you will see it hit against a WRITE_FORM function call. Just before this function call, is a good place to modify stuff that is being written during the WRITE_FORM.
Regards,
Rich Heilman
‎2006 Jun 07 6:33 PM
Thank you Rich for your quick reply.
It will be great help to me. meanwhile can you give me some links or material to explore more about modifying print programs.
Thanking you once again.
Regards
Venkat
‎2006 Jun 07 6:36 PM
I afraid you may not find much about modifying print programs as they are just programs, and for the most part of what I've seen, fairly straight foward. You get the data, you write out the data. It is a bit tricky to find out where you need to put code in some cases.
All I can really say is pay attention to the data that is being written, then search the program for where that data is being filled and printed.
Sorry I can't be more of help.
Regards,
Rich Heilman