cancel
Showing results for 
Search instead for 
Did you mean: 

LSMW for deleting Basic Data Texts

Former Member
0 Kudos

Hello,

I need to create an LSMW project to delete Material Basic Data Text.

I've tried using BAPI

Business object: BUS1001006

Method: SAVEDATA

I've also tried using DIRECT INPUT

Object: 0020

Method: 0000

I've tried entering a blank field were the text should be and it doesn't work.

I've tried Batch Input Recording, but because there are subscreens I can't do it in the background. It works only in foreground.

Has anybody done this before and can help?

Thanks,

Sivan

Accepted Solutions (0)

Answers (1)

Answers (1)

amit_maheshwari2
Contributor
0 Kudos

Hi,

Use Common Long Text Object to update the Basic Data Text as Empty.

Object: 0001

Method: 0001

Program Name: /SAPDMC/SAP_LSMW_IMPORT_TEXTS

For material basic data text

TDOBJECT: MATERIAL

TDID: GRUN

Take help of Abaper if rquired.

Regards

Amit

Former Member
0 Kudos

Hi Amit,

Thank you for your answer, it works now.

But, do you know if there is a way to delete whole record.

At the moment it is deleting the text, but leaving the record for the language in which we had the text.

When I go to function READ_TEXT the record comes as empty.

Do you know if there's a way to totally delete the record?

Thanks,

Sivan

amit_maheshwari2
Contributor
0 Kudos

Hi Sivan,

Please try recording with LSMW for deletion if it works.

Regards

Amit

Former Member
0 Kudos

Hi Amit,

I've tried Batch Input Recording, but because there are subscreens I can't do it in the background. It works only in foreground, and in this case I need to click enter on every move of the recording.

Do you know of another way.

Thanks,

Sivan