cancel
Showing results for 
Search instead for 
Did you mean: 

INCLUDE in header text not processed in Smartform

Former Member
0 Kudos

Hello all,

In transaction ME22N the user is adding header text in this manner:

They go into the SAPscript editor, go to insert and select standard text, select from the list of standard text, and it adds

/: INCLUDE Z_SPA_SINST OBJECT TEXT ID ST in the editor

Now going back to ME22N in the header text it also displays

INCLUDE Z_SPA_SINST OBJECT TEXT ID ST. How is this line processed in Smartforms?

If other header text is added by entering directly in the SAPscript editor it will show on the PO but not this INCLUDE line.

Thank you,

JR

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

declare a text type and use the include text instead of text element and

concanate the PO NO and the ITem No to Text Name G_TEXT_KEY

give the value for the field

Text Name &G_TEXT_KEY&

Text Object EKPO

Text ID ST

Language &SY-LANGU&

for more info refer form /SMB40/MMPO_A

Regards

Shiva

Answers (1)

Answers (1)

Former Member
0 Kudos

i do not about these procedure but you can call read_text fm in smartform by passing correct parameters