Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to use LENGTH function In transformation file

Hi,

Currently we are working on NW BPC 10.0

I am trying to validate below transformation file, but I am getting error near length function.

Can anyone help me how to use length function or any other option.

Here ACCOUNT is coming from flatfile with value similarly like 123,it should be converted into AA_00000123 if length of ACCOUNT is equal to 3.

Thanks in Advance.

Regards

Anitha

Former Member
replied

I still think that single line: js: "AA_"+("0000000"+%external%.toString()).slice(-8) is better then multiline: ?,??,???,?????...

Vadim

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question