Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

' save_text' function for master inspection characteristics LONG TEXT

Former Member
0 Likes
1,433

Hi,

I am using 'save_text' function for creating text for master inspection characteristics ( transaction QS23).

Can anybody help me for the parameters to be passed to the function to create long text.

Thanks ,

Arun

Hi,

I am using 'save_text' function for creating text for master inspection characteristics ( transaction QS23).

Can anybody help me for the parameters to be passed to the function to create long text.

Thanks ,

Arun

2 REPLIES 2
Read only

Former Member
0 Likes
818

Hello,

This addition of long text is bit tricky and we can find similar Long texts in Routing, Project/network etc., In this case, the long text will have the short text in the first line.

To insert the long text for example in the Tx. which you have mentioned,

1. I go to QS23 and choose edit->longtextfrom menu, then introduce a '*' ( Field: TDFORMAT ) in the Tag field of the Text editor in the second line and save the object. Please note that in the first line of the long text you see a short text. I do it in BDC or LSMW.

2. In the second step we can either use 'SAVE_TEXT' or LSMW to add the actual long text. Keys being

Text ID: QPMT

Text Object: QPMERKMAL

Language: (system language)

Text Name: concatenated keys fields of table QPMK i.e. MANDT

WERKS

MKMNR

VERSION ( This is blank - 6 characters )

SPRAS (Single character 'E' for English)

You can see these keys in the Long text editor screen, menu option: go to-> header.

Please note that the first line in the long text to be created should be supplied as blank ( because of short text ).

This method works for me. I've tried this.

Internally SAP has a link in QPMT-LTXKZ between the Object and the LT.

Hope this helps you too.

Best Regards, Murugesh AS

Read only

christian_wohlfahrt
Active Contributor
0 Likes
818

Hi Arun,

just produce yourself an example. Set a break-point inside 'SAVE_TEXT' function module and change a text with QS23. When system stops, you can easily see all the needed values in debugger.

Regards,

Christian