on 08-28-2008 10:42 AM
Hi everyone,
In transaction ME23N, while previewing the printout, For any PO with regards to the
year it was modifed i am supposed to display the Terms & Conditions text based on
that year, i had copied the standard script but now i am stuck as i do not know if i
can write a condition statement to pick up the correct text element based on the
year? or is there any other way to solve this? Would be glad if any one can share
their knowledge or ideas if they had come across similar isues earlier?
Regards,
K
I agree with Subba that you should use includes of a standard text to handle the different terms but I prefer to put the logic in the print program. I've seen a lot of sapscripts with so many nested 'if' conditions that I just couldn't figure them out. You have more options and cleaner code in the ABAP program. Assuming you're allowed to touch the print program of course. B)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Ken,
U can write the condition to call different standard texts for different years.
I think u have multiple standard texts having terms&conditions
depending on the year.
If u don't have, create standard texts.
and call them in a window based on conditions.
Just like below:
if &YEAR& = '2008'
INCLUDE Z110_US_AVIS_TEXT1 OBJECT TEXT ID ST LANGUAGE EN
endif.
Regards,
Subbu
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.