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: 
Read only

Include text in smartforms

Former Member
0 Likes
639

Hi all,

While creating a smartform, im populating a certain cell of table with data using "Include Text".

the text name for this include text is '420000000500010' - which is a concatenation of ebeln and ebelp of ekpo table.

in my program code im doing the following coding:

data: text(15) type c,(in the ekpo internal table)

loop at ist_ekpo into wa_ekpo.

concatenate wa_ekpo-ebeln wa_ekpo-ebelp into wa_ekpo-text.

loop at ist_ekpo1 into wa_ekpo1 where ebelp = wa_ekpo-ebelp.

endloop.

modify ist_ekpo from wa_ekpo.

endloop.

and finally when im declaring the include text im proving the textname as &WA_EKPO-TEXT&.

despite all this im not able to get the include text in my table.

any suggestions ppl??

regards,

pk

5 REPLIES 5
Read only

Former Member
0 Likes
603

hi ,

goto the general attribute tab of the text and select text type as include text...

regards,

venkat.

Read only

0 Likes
603

ive done all that...

including giving the text id and language and text object..

but still no go.

pk

Read only

Former Member
0 Likes
603

hi Prasanth,

Have you given the Object id and all other details in the include screen.

Read only

Former Member
0 Likes
603

Hi

Dont use the loop at use the work area of the table in main window

pass the

NAME - EBELN+EBELP

NAME - in T code VA01 or VA02 click on header details

ID - in T code VA01 or VA02 click on header details

Try this

regards

Shiva

Read only

0 Likes
603

thanx all u guys....

actually the problem was from the Functional side.

apparently the document was not processed or something. so once that was done... it worked. everything ive done was right.

anyways appreciate all u guy's efforts.

pk