I still don't understand if it's from SD, MM or FI, but maybe you should try using Smart forms if you are familiar with the tool. -----Original Message----- From: saphelp@xxxxxxxxxxxxx [mailto:saphelp@xxxxxxxxxxxxx] Sent: Thursday, June 19, 2003 11:18 AM To: saphelp@xxxxxxxxxxxxx Subject: [saphelp] Re: Calling text element within a text element. Is it possible? Well thanks! =) The one I'm working on right now is just specific to client. Actually it's just supposed to print labels for their products. I'm already raising it as an issue. I'm now requesting they allow me to make my own print program. Hopefully they'll approve. =) 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 05:11 PM Please respond to saphelp Don't worry, you are in good company!!! Which module are you supposed to print from? -----Original Message----- From: saphelp@xxxxxxxxxxxxx [mailto:saphelp@xxxxxxxxxxxxx] Sent: Thursday, June 19, 2003 11:06 AM To: saphelp@xxxxxxxxxxxxx Subject: [saphelp] Re: Calling text element within a text element. Is it possible? 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 ====================================================== ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ NOTICE: Please note that this eMail, and the contents thereof, is subject to the standard Sasol eMail disclaimer which may be found at: http://www.sasol.com/disclaimer.htm If you cannot access the disclaimer through the URL attached and you wish to receive a copy thereof please send an eMail to disclaimer@xxxxxxxxxx =====================================================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 ====================================================== ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ NOTICE: Please note that this eMail, and the contents thereof, is subject to the standard Sasol eMail disclaimer which may be found at: http://www.sasol.com/disclaimer.htm If you cannot access the disclaimer through the URL attached and you wish to receive a copy thereof please send an eMail to disclaimer@xxxxxxxxxx =====================================================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 =====================================================