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: 

Sale text in material master

ratana_pouy
Participant
0 Kudos
199

Dear all,

I am using SQ02 to reading sale text from material master. I create a new field "A" by using "Concatenate Material SaleOrg. Distr.Channel" to get data from STXL.

Material: AA

Sale Org.: 1234

Distr.Channel: 9000

output of field "A" = AA12349000 ;but field "Name" in table STXL is AA[Space]12349000

that's why, i cannot use read FM to get sale text.

please help.

Regard,

Rtn

2 REPLIES 2

former_member241258
Active Participant
0 Kudos
153

use like this

data:lv_str ty pe string.

lv_matnr = AA.

lv_vkorg  = 1234.

lvwte = 9000.

concatenate lv_matnr lv_vkorg lvwte into lv_str respective blanks.

tdname = lv_str.

use this logic you will get out of AA[Space]12349000.

akil_syed1
Explorer
0 Kudos
153

This message was moderated.