Skip to Content
author's profile photo
Former Member

how to create custom include text in smartforms

Hi Guru's,

i am having one task here is below mentioned details of custom include text used in smartform

Text Name MPJ1 Text Object LFA1 Text ID 0002 Language EN

when i am going with SO10 to see the text it is giving error message that text object and text id not created but i had checked it in se75 it is created

now my question is the above include text is not created with standard text so how come i can change the text for that object where i will get the text maintained for this text object and text id.

Regards

Honey

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • Best Answer
    Posted on Mar 08, 2013 at 12:06 PM

    This Object/ID you are using is a standard text object.

    The text name used is Vendor number, is MPJ1 a plant in your company?

    You can maintain this text in XK02 transaction.

    Use MPJ1 as Vendor and check any option (Address, for example).

    Next screen, click in Extras > Texts.

    Your text should be the second one.

    Hope it helps,

    Guilherme Frisoni

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Mar 11, 2013 at 04:05 AM

    Hi Bharat,

    In the tcode smartforms itself you can create a long text.

    1.open the tcode smartforms,select text radio button.provide zname for it.

    2.click on create button.it will opens you editor. write the long text which you want and save it.

    3.go to your smartform and then call this long text in the text window .

    4.it will be uploaded.

    still if you found any bugs let me know.

    Thanks.

    Pavan.

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 11, 2013 at 07:13 AM

    Hi Tummala,

    In your smartform,in the position you want to create it - right-click->Select TEXT .

    This will be created as a TEXT-ELEMENT. In the TYPE drop down select INCLUDE TEXT. It will ask you if you want to change the TYPE, click on YES.

    Now in this Include TEXT

    TEXT NAME - &MPJ1& (Try with this)

    TEXT OBJECT - LFA1

    TEXT ID - 0002

    LANGUAGE - EN

    Also please click on 'No error if no text exists'.

    Please Note - I am not sure if you should pass &MPJ1& or just MPJI, try with both. I have used this and it works hence giving this solution. Although I do not have that object in front of me to check if its with & or without.

    Hope this helps!

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 11, 2013 at 10:29 AM

    Hi Tummala,

    In your smartform,in the position you want to create it - right-click->Select TEXT .

    This will be created as a TEXT-ELEMENT. In the TYPE drop down select INCLUDE TEXT. It will ask you if you want to change the TYPE, click on YES.

    Now in this Include TEXT

    TEXT NAME - &MPJ1& (Try with this)

    TEXT OBJECT - LFA1

    TEXT ID - 0002

    LANGUAGE - EN

    Also please click on 'No error if no text exists'.

    Please Note - I am not sure if you should pass &MPJ1& or just MPJI, try with both. I have used this and it works hence giving this solution. Although I do not have that object in front of me to check if its with & or without.

    Hope this helps!

    Add comment
    10|10000 characters needed characters exceeded