I am working on Invoice Smartform ZLB_BIL_INVOICE.
In output i want to display sales text which is in MM02.For that i use include text in smartform in which i want to define
TEXT NAME Material sales organisation distribution Ch
TEXT OBJECT MVKE
TEXT ID 0001
But my problem is how to pass fields in TEXT NAME which is combination of these three Material sales organisation and distribution ch?
there is any field in ZLB_BIL_INVOICE which i can use directly?
data : lv_name like THEAD-TDNAME . CONCATENATE wa_item-matnr wa_item-vkorg wa_item-vtweg into lv_name .
pass lv_name to NAME in read_text function module to get the text
hope it helps ....