cancel
Showing results for 
Search instead for 
Did you mean: 

Enter / new line in Text Edit UI element

Former Member
0 Kudos

Hi,

How to send a new line entered in the text edit, to the field of Web service?

I tried:


=REPLACE(store@INVOICE_TEXT,CHR(10),"[CRLF]")

but unfortunately it results in error:

#1.5 #000FFE725EC2002B0000048B00000B740079B41AF1C00EE3#1211874966949#/Applications/wd4vc#sap.com/temp~sms_impl#com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.fillInput: #dharmi.tanna#799##NTHVSPRODIN16_PCD_3425650#Guest#58915b302bbc11dda098000ffe725ec2#HTTP Worker [1]##0#0#Info#1#com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent#Plain###Complete Input structure: {companyId=SCHELDETEST, userId=dharmi.tanna, shipmentId=2000200, updShipment=[invoice

[CRLF]text][test

[CRLF]shipment

[CRLF]text]}#

#1.5 #000FFE725EC2002B0000048C00000B740079B41AF1C00EE3#1211874967028#/Applications/wd4vc#sap.com/temp~sms_impl#com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.#dharmi.tanna#799##NTHVSPRODIN16_PCD_3425650#Guest#58915b302bbc11dda098000ffe725ec2#HTTP Worker [1]##0#0#Info#1#com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent#Plain###FINISH: Evaluate RemoteFunction source ABK_SRV#

#1.5 #000FFE725EC2002B0000048D00000B740079B41AF1C00EE3#1211874967028#/Applications/wd4vc#sap.com/temp~sms_impl#com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.XGLInterpreter#dharmi.tanna#799##NTHVSPRODIN16_PCD_3425650#Guest#58915b302bbc11dda098000ffe725ec2#HTTP Worker [1]##0#0#Error#1#com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent#Plain###Stopped further execution since the interpreter is unusable#

Can somebody help?

Best regards,

Dharmi

Edited by: Dharmi Tanna on May 27, 2008 10:01 AM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

As far as I know the '[CRLF]' means 2 characters (Carriage Return and Line Feed). What you want is to replace both of them. Try using the following code:

=REPLACE(store@INVOICE_TEXT,"\r\n","\[CRLF\]")

I hope it helps,

Udi

Former Member
0 Kudos

Thank you once again Udi.

Answers (0)