cancel
Showing results for 
Search instead for 
Did you mean: 

length in creation of data type

Former Member
0 Kudos

Hi Experts,

I have one doubt regarding field length.i will get data from proxy(ECC) through status field and it would be a 25 character.

i have created a status field as data type in my proxy source structure .

could you please suggest do i need to create a status field with length 25 if yes where is the option length to be extended in datatype creation

it would be appreciate if u people give me the answer

thanks,

Bhaskar

Accepted Solutions (0)

Answers (3)

Answers (3)

dharamveer_gaur2
Active Contributor
0 Kudos

Hi

In PI 7.1 you can validate field length. u can Validate XML message.

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5002ac06-aff3-2a10-6798-cbe11ca3...

/people/morten.wittrock/blog/2006/03/21/validating-messages-in-xi-using-xml-schema

Former Member
0 Kudos

Hi,

You just create the field as string and don't worry about the field length. XI will take care of it.

Regards,

Sarvesh

Former Member
0 Kudos

Thanks sarvesh

Shabarish_Nair
Active Contributor
0 Kudos

>

> Hi Experts,

>

> I have one doubt regarding field length.i will get data from proxy(ECC) through status field and it would be a 25 character.

>

> i have created a status field as data type in my proxy source structure .

>

> could you please suggest do i need to create a status field with length 25 if yes where is the option length to be extended in datatype creation

>

> it would be appreciate if u people give me the answer

>

> thanks,

> Bhaskar

Are you on XI3.0/Pi 7.0 or PI 7.1?

if its XI3.0/Pi 7.0, then note that XI doesn't validate the length of the data/field even though the option is there.

http://help.sap.com/saphelp_nw04/helpdata/en/b2/439347ce019848bf3ad9c000d414c3/content.htm

Else if you are on PI 7.1, you can expect validation.