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

Long Text using LSMW for Tcode XD02

Former Member
0 Likes
1,804

Hi friends,

I have to update a long text object( id 0002 in tcode XD01 )using LSMW,

object : 0001

method : 0001

prgname :/SAPDMC/SAP_LSMW_IMPORT_TEXTS

When I run the LSMW object it is giving the message as successfully updated

but when i go to the transaction code XD03 and check it is not getting displayed

The parameters I have taken is:

Header File : OBJECT,NAME , ID ,SPRAS

Item File : TEXTFORMAT,TEXTLINE

Please help me if any one knows it urgent

Thanks a lot.

Moderator message - ABAP forum does not cater to the members' urgency. Please read the RoE before posting.

Message was edited by: Suhas Saha

8 REPLIES 8
Read only

Former Member
0 Likes
1,712

There should be a link between between header and items. So that tool understands which items are connected to Header.

Read only

Former Member
0 Likes
1,712

is your source data in excel or text file ?

Use SAVE_TEXT FM to Upload any Long text in SAP , Check Some Sample Code.

Regard's

Smruti

Read only

vamsixk
Active Participant
0 Likes
1,712

Hi Gizelle,

Could you Please metnion which long text you are updating in XD01.

and the "long text Object" that you are trying to Update.

Some transaction check for certain flags to be set before populating any long text. into the screen.

So though you may have uploaded the texts, the Long text might not populate in the transaction in ur case XD03.

Please share the details of the long text object or a screenshot of the screen where you expect to see the long text .

Regards,

Vamsi

Read only

Former Member
0 Likes
1,712

Hi Vamsi,

First of all, thank you for the reply.

I will update Shipping Instructions of the Sales Data. Please refer below for the screenshot.

Its ID is 0002 and object is KNVV

Thank you so much for your help.

Read only

Former Member
0 Likes
1,712

For the program using LSMW:

NAME field should be given as TEXTNAME in your screen shot(concatenating vendor number + sales  org + dis channel + division).

Are you passing in this way to LSMW?

Read only

vamsixk
Active Participant
0 Likes
1,712

Hi Gizelle,

Thank you for the Information.

I have tried to use the SAVE text FM in the same way it is being used in the progam and updated the text in the Text.

To verify whether the text has been properly updated please use the read text Functin Module.

If you are able to see the text, (from Above test) then it should be available in the transaction.

i have tried and am able to see the text.

Please check your LSMW field mapping once again.

Please reach out to me in case of any further queries.

Regards,

Vamsi

Read only

Former Member
0 Likes
1,712

Hi ,

What Value you pass "TEXTFORMAT"  ?  is it " * "  or  ? .

Also check this Special Case: Migration of Long Texts (SAP Library - Legacy System Migration Workbench)

Example :

Long Texts (SAP Library - Legacy System Migration Workbench)

Regard's

Smruti

Read only

Former Member
0 Likes
1,712

Hi gizelle,

You should have below structure for the LSMW to load the standard texts:-

Hope this works for you.

Regards,

Somesh