Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

concatenation of EKPO-EBELN and EKPO-EBELP into a variable

how can i concatenate the purchase document no (EKPO-EBELN) and item number (EKPO-EBELP) into a variable of type THEAD-TDNAME so that i can pass that variable into the FM 'READ_TEXT' .

when i try , it doest concatenate cuz EKPO-EBELN is a CHAR and EKPO-EBELP is a NUMC .

plz help me out..

Former Member

Not sure what you mean, this works fine.


data: xekpo type ekpo.
data: name type THEAD-TDNAME .

select Single * from ekpo into xekpo.

concatenate xekpo-ebeln xekpo-ebelp into name.

write:/ name.


Rich Heilman

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question