som.papai
14th July 2007, 11:39
Hi all
I am working in ERP LN
Tcibd001.dsca for item description , Now it is showing in
Report in one row ,but I have to show in Two rows by that
It will take less place in report.
I make a variable of domain text, but this domain type
Variable take only long value, if I used lval(tcibd001.dsca)
It return 0.
Can I show it in Two Rows?

Regards
Sudipta
:(

bdittmar
14th July 2007, 13:09
Hi all
I am working in ERP LN
Tcibd001.dsca for item description , Now it is showing in
Report in one row ,but I have to show in Two rows by that
It will take less place in report.
I make a variable of domain text, but this domain type
Variable take only long value, if I used lval(tcibd001.dsca)
It return 0.
Can I show it in Two Rows?

Regards
Sudipta
:(

Hello,

split it in to fields.

Maybe Tcibd001.dsca is from type string with length 40.

extern domain tcmcs.str20 ibd.dsca.1
extern domain tcmcs.str20 ibd.dsca.2

In reportscript ibd.dsca.1 = tcibd001.dsca(1,20)
ibd.dsca.2 = tcibd001.dsca(21,20)

In reportlayout place the to fields as you want.

OR

Place the field two times in reportlayout, with "link with domain = no" and a length of 20 characters.

1. Field printexpression "tcibd001.dsca(1,20) 1st line
2. Field printexpression "tcibd001.dsca(21,20) 2nd line

Disadvantage, the item description is always split at character 20.

Regards

som.papai
14th July 2007, 14:34
Hi sir,
Thankx
It's working fine I replace "," this by ";"
tcibd001.dsca(1,20)

Thank you sir

Regards
Sudipta:)

bdittmar
14th July 2007, 18:30
Hi sir,
Thankx
It's working fine I replace "," this by ";"
tcibd001.dsca(1,20)

Thank you sir

Regards
Sudipta:)

Hello,

sorry for the typo, you're right.

Regards