FYI. There's a very good sapscript tutorial on my totally outdated website www.sapstuff.cjb.net check it out. On Thu, 19 Jun 2003 17:06:17 +0800 (saphelp@xxxxxxxxxxxxx) wrote: > > >Well I've thought about that too. > >I just thought of separating each form segments into elements because I >need to print multiple pages. When the element is called by the print >program, I need to make a way to print as many pages as needed basing on >some computations. So what I thought was that in element A, I will call a >subroutine and in that subroutine there will be a loop. Inside that loop >the necessary elemnts will be called(elements 1,2,3 or 4). > >Since I cannot do this, and since there is no loop or do statements in >SAPscript, I guess am bound to request my US counterparts(or perhaps the >client) to allow me to make my own print program for this. > >I am just new to this field and this is the first time I'm working on >SAPscript. I never had formal training in ABAP and SAPscript. It's like >groping in the dark!!! > >Oh well... I'll survive... =) > > > > > > > > saphelp@xxxxxxxxxxxxx > Sent by: To: "" <saphelp@xxxxxxxxxxxxx> > saphelp-bounce@freelists. cc: > org Subject: [saphelp] Re: Calling text element within a text element. Is it possible? > > > 06/19/2003 04:40 PM > Please respond to saphelp > > > > > >Hmmm... >Sounds tricky Rommel. > >Why use elements at all.??? >Just perfom a routine and do your calculations pass them back to the >form and then have an if in your form to print what you want where??? > >/: if w_value = 'X'. >* ,,,,print stuff here. >/: elseif if w_value = 'Y'. >* >* >* ,,,,,,Print stuff over here instead. >/: ENDIF. > >or uses a case statement. > > > >On Thu, 19 Jun 2003 16:24:24 +0800 (saphelp@xxxxxxxxxxxxx) wrote: > >> >> >>Hi there, >> >>Thanks for the reply. >> >>I was supposed to do a layout set whose print program I could not >modify. >>Therefore, I am confined to the one element and the one window the >standard >>print program is calling. The form is supposed to have four sections, >each >>appearing depending on some conditions. I was thinking that within >the >>element, I'll call a subroutine which will contain all the select >>statements and all the computations I need. Then basing on the >>computations, I will print the necessary sections of the form thru >>elements. >> >>It's like defining five elements. The element the print program is >calling >>is element A. Then within element A, I will call element 1, element >2, >>element 3, or element 4 depending on necessity. >> >> >>___________________________________ >>| | | >>| | | >>| | | >>| 1 | 2 | >>| | | >>| | | >>| | | >>| | | >>|______________ |_________________| >>| | | >>| | | >>| | | >>| 3 | 4 | >>| | | >>| | | >>| | | >>| | | >>|______________ |_________________| >> >> >>I have tried doing this but it seems that it's really not possible. >> >> >>Thank you very much. >> >>Have a great day! =) >> >> >> >> >> >> >> saphelp@xxxxxxxxxxxxx >> Sent by: To: "" ><saphelp@xxxxxxxxxxxxx> >> saphelp-bounce@freelists. cc: >> org Subject: [saphelp] >Re: Calling text element within a text element. Is it possible? >> >> >> 06/19/2003 03:58 PM >> Please respond to saphelp >> >> >> >> >> >>Just a quick question Rommel. >> >>Why would you want to do this? >> >>>>Nope, I don't think so. It would have to be a sub-element which >>>>sapscript doesn't have, other scripting languages use sub-elements >>>>though. Which module are you printing from? If it's in EH&S then >use >>>>WWI. >> >>------ >>>>Hi everyone. >>>> >>>>I just came across your discussions thru a search engine as I was >>>>looking for a venue to ask for some help regarding Sapscript. I was >>>>wondering if maybe I could seek help from you guys. >>>> >>>>I would want to know if it is possible to call a text element >within >>>a >>>>text element. Thanks a lot. >>>> >>>>Regards, >>>>Rommel >>____________________________________________________________________ _ >__ >>LOOK GOOD, FEEL GOOD - WWW.HEALTHIEST.CO.ZA >> >>Cool Connection, Cool Price, Internet Access for R59 monthly @ >WebMail >>http://www.webmail.co.za/dialup/ >>====================================================== >>To Subscribe to SAPhelp mailing list send an email to >>saphelp-request@xxxxxxxxxxxxx with 'subscribe' in the >>Subject field. >>------------------------------------------------------ >>To post on the SAPhelp list, simply send email to >>saphelp@xxxxxxxxxxxxxx >>====================================================== >> >> >> >> >> >>This message is for the designated recipient only and may contain >>privileged, proprietary, or otherwise private information. If you >have >>received it in error, please notify the sender immediately and delete >the >>original. Any other use of the email by you is prohibited. >> >>====================================================== >>To Subscribe to SAPhelp mailing list send an email to >>saphelp-request@xxxxxxxxxxxxx with 'subscribe' in the >>Subject field. >>------------------------------------------------------ >>To post on the SAPhelp list, simply send email to >>saphelp@xxxxxxxxxxxxxx >>====================================================== > >_____________________________________________________________________ __ >LOOK GOOD, FEEL GOOD - WWW.HEALTHIEST.CO.ZA > >Cool Connection, Cool Price, Internet Access for R59 monthly @ WebMail >http://www.webmail.co.za/dialup/ >====================================================== >To Subscribe to SAPhelp mailing list send an email to >saphelp-request@xxxxxxxxxxxxx with 'subscribe' in the >Subject field. >------------------------------------------------------ >To post on the SAPhelp list, simply send email to >saphelp@xxxxxxxxxxxxxx >====================================================== > > > > > >This message is for the designated recipient only and may contain >privileged, proprietary, or otherwise private information. If you have >received it in error, please notify the sender immediately and delete the >original. Any other use of the email by you is prohibited. > >====================================================== >To Subscribe to SAPhelp mailing list send an email to >saphelp-request@xxxxxxxxxxxxx with 'subscribe' in the >Subject field. >------------------------------------------------------ >To post on the SAPhelp list, simply send email to >saphelp@xxxxxxxxxxxxxx >====================================================== _______________________________________________________________________ LOOK GOOD, FEEL GOOD - WWW.HEALTHIEST.CO.ZA Cool Connection, Cool Price, Internet Access for R59 monthly @ WebMail http://www.webmail.co.za/dialup/ ====================================================== To Subscribe to SAPhelp mailing list send an email to saphelp-request@xxxxxxxxxxxxx with 'subscribe' in the Subject field. ------------------------------------------------------ To post on the SAPhelp list, simply send email to saphelp@xxxxxxxxxxxxxx ======================================================