cancel
Showing results for 
Search instead for 
Did you mean: 

text output

Former Member
0 Kudos

hello experts

I met a strange problem as below

the item can not be output in the same line.

like

item no decription currency amount

-


aaaaaaas

1--


USD--


10000

the SAPScript

/E HEAD_TEXT

/: INCLUDE &VARI1& OBJECT BELEG ID Z008 PARAGRAPH IE

/E LINE_ITEM

H8 &item&,,

/: IF &T_INV_ITEM-SGTXT& NE ''

= &t_inv_item-SGTXT(50)& &it_rebzg(20)&,,

/: ELSE

= &t_inv_item-SGTXT(62)& &it_rebzg&,,

/: ENDIF

= ,,&t_inv_hdr-waers&,,,,&it_pay_tot1&

would u please help me to solve it

Thank u in advance

Kevin

Message was edited by:

Kevin Gao

actually i maintianed the text in the header of fi document

Message was edited by:

Kevin Gao

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi kevin,

can u explain the problem in detail...

regards,

prashant

Former Member
0 Kudos

hello prashant

thanks for you quick reply.

The requirement is that output the decription of item.

when the header text exist, the text should be output in the decripiton column.

otherwise , the text of item will be output in same position.

the latter is okey. but the former is not okey.. like above mentioned

thank u

do u understand what i said?

Message was edited by:

Kevin Gao

Former Member
0 Kudos

hi kevin,

can u use a single text element instead of 2 diffierent text element.

and in that text element u can check for the header text variable.

if it is having some value print it...else print the item detail...

hope this may work,

please reward incase usefull...

regards,

prashant

Former Member
0 Kudos

yes, this is a solution,

but you know sometimes the text of header text is very long.

So it is not same to the iteam text.( besg-sgtxt).

anyway, i will try it.

other solution will be appreciated

thank u