cancel
Showing results for 
Search instead for 
Did you mean: 

Text Element not triggering

former_member184551
Contributor
0 Kudos

Hi Guys

My problem is that I need to print the header text (text element marked in bold).

But when I debug the script after executing the text element "item_line" the control shifts to another page window and does not execute my text element (i.e. "header_text" ).

Can someone please suggest what might be going wrong.

Points for all the help

Thanks you so much.

/: SET SIGN LEFT

/E ITEM_LINE

IL ,,&VBDPr-fkimg(I7.2)& &VBDPr-VRKME(I3)&

= ,,&VBDPr-ARKTX(37)& &vbdpr-matnr&

= ,,&gs_item-netpr(10)&

= ,,&gs_item-discount(ZCI.2)' %'&

= ,,&gs_item-netwr(10)&

<b>/E HEADER_TEXT

/: PROTECT

/: INCLUDE &VBDKR-TDNAME& OBJECT VBBK ID ZB01

/: INCLUDE &VBDKR-TDNAME& OBJECT VBBK ID

/: INCLUDE &VBDKR-TDNAME& OBJECT VBBK ID Z027

/: ENDPROTECT</b>

/E EMPTY_LINE

/E SUPPLEMENT_TEXT

/*

/*

/: INCLUDE ZU8S440_INVOICE_GARANTIA OBJECT TEXT ID ST PARAGRAPH IT

/E EMPTY_LINE

AS

/E SUM_LINE

/: CASE &KOMVD-KSCHL&

/: WHEN 'ZPD0'

IL ,,,,Flete

/: WHEN 'ZHD0'

IL ,,,,Flete

/: WHEN OTHERS

IL ,,,,&KOMVD-VTEXT(15)&

/: ENDCASE

= ,,&KOMVD-KWERT(I13)&,,,,&KOMVD-KWERT(I13)&

/* ,,,,,,&KOMVD-KBETR(I12)&,,&KOMVD-KOEIN&

/* ,,&KOMVD-KPEIN(I)&,,&KOMVD-KMEIN&,,&KOMVD-KAWRT(I12)&

/* ,,&KOMVD-KWERT(I13)&

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member196280
Active Contributor
0 Kudos

Either one be the case... you text element is not called in your driver program, or your text elements is not existing.... to check whether your text element exists or not goto SE37 and use function READ_TEXt and pass the required parameters.

It is good to read all your text elements using FM READ_TEXT.

Regards,

SaiRam

former_member184551
Contributor
0 Kudos

You are right I forgot to add a write form for the new text elemnt

Thanks

former_member184551
Contributor
0 Kudos

It shows me a warning saying

When I do

Form--> Check --> text --> Include

Include expansion not possible, as at least one parameter is a symbol