Skip to Content
0

simple transformation create counter

Dec 21, 2017 at 08:37 AM

42

avatar image
Former Member

Hi,
I'm using simple transformation (TR XSLT_TOOL) and I wonder how to create a counter and increment it.
i have this piece of code
<tt:variable name="count" val="0"/>

How can I increment it by 1?

Regards,

Joseph

10 |10000 characters needed characters left characters exceeded

Avoid using XSLT_TOOL, its name is misleading (simple transformation is not related to XSLT). Use STRANS instead (or SE80) (or use Eclipse).

0
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Sandra Rossi Dec 21, 2017 at 09:56 AM
1

It can at least be done using an ABAP method and called via tt:call-method (calling static methods)

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Yes this what I've done. I thought there were another method....
Thank you Rossi

0