Skip to Content
author's profile photo Former Member
Former Member

Hi Experts

Moderator message: please use a meaningful subject in future

Hi All,

In my PO SMARTFORM one long text is printing.

In General attributes of a Text element it is like this.

Text Name : &WA_ESLL-SRVPOS&

Text object : ASMD

Text ID : LTXT

Language : E

But now they want to put a condition that is if

Text Object : ESLL

Text id: : LLTX

Language : E

then I want to give first preference to ESLL and LLTX . other wise same like first ASMD and LTXT.

How i can put condition here, Depending on which parameter i have to put condition.

What is the link here between all these parameters.

Please tell me the link betwwen Text Name and Text object and TextId.

Your help will be appriciable.

Thanks and regards,

Kumar.

Edited by: Matt on Nov 21, 2008 3:59 PM

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 21, 2008 at 04:28 PM

    If you use text type " Include text", Then enter "Text Name", Text Object : ESLL, Text id: : LLTX, Language : E and don't select check box "No error if no text exists".

    Now sy-subrc will not be 0. So add a condition sy-subrc = 0. Then this will trigger when subrc = 0.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 21, 2008 at 03:00 PM

    Please use a meaningful subject in future

    thank-you

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.