on 03-16-2016 2:12 PM
Hi Pushpa,
You need to use && operator not and.
if (a.equals("DE") && b.trim().length() > 0)
return b;
if (a.equals("DE") && c.trim().length() > 0)
return c;
return "";
Regards,
Praveen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pushpalatha,
Also the trim text function is available like standard function, you should use the standard functions instead of the own development https://help.sap.com/saphelp_nwpi71/helpdata/en/43/c4cdfc334824478090739c04c4a249/content.htm
You should think that the SP or PI upgrades are better supported if you have the less own development possible.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.