cancel
Showing results for 
Search instead for 
Did you mean: 

printing long text from material master in from MM07ET

Former Member
0 Kudos

Hello,

I'm using WEE1 output condition to print labels for gr. I'm using the standard object MM07ET and I need to include in the label the long text from material master - table STXL. I know that there is a function READ-TEXT in ABAP for this but I don't have access to abap development. I need to know if it's possible to include a command in the sap scrip to retrive the long text without modifing the program SAPM07DR.

Thank you!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Sorry for the late Reply, Please use the following code in SAPSCRIPT

/: INCLUDE &EKPO-EMATN& OBJECT MATERIAL IDGRUN LANGUAGE EN

&EKPO-EMATN& material Number ( Here please maintain the Field value which is used to print Material Number )

MATERIAL is the Object Name

GRUN Is Text ID

EN Language

You can use the above code for priting long text in the SAPSCRIPT FORM. to find the object name and ID please follow the below Steps

Go to the window were you have maintained Long text... Double click on the text, then it will open a new window.. there Click on the top Goto-->Header.. here you will find the relevant data as follows:

Language: EN

Text ID : GRUN

Text Object: MATERIAL

Name: Material Code

Regards

GK.

Answers (0)