cancel
Showing results for 
Search instead for 
Did you mean: 

Error Maxlength in a field

rodrigoalejandro_pertierr
Active Contributor
0 Kudos

Hi

I am facing a problem.

i have a interface SOAP-PROXY(ABAP) pass-through

<?xml version="1.0" encoding="UTF-8"?>

<ns0:SupplierByElementsMQry xmlns:ns0="urn:tenaris.com:15-ProcureToPay:10-Purchasing">

      <MessageBody>

           <SupplierIDFrom>ww</SupplierIDFrom>

           <SupplierIDTo>wwwwwwwwwwwwwwwwwwwwwwww</SupplierIDTo>

     </MessageBody>

</ns0:SupplierByElementsMQry>

the problem is that <SupplierIDTo> has MaxLength = 10. so when the data is transfered to SAP the system dumps with this error

     

Is there any way to avoid the Dump handle the maxlength error in PI? Remenber, there is no Mapping Program.

Best Regards

Accepted Solutions (0)

Answers (2)

Answers (2)

Harish
Active Contributor
0 Kudos

Hi,

I would suggest to increase the length of the field SupplierIDTo in PI structure and perform the substring in PROXY code.

otherwise you need to go with mapping or schema validation as suggested by .

regards,

Harish

former_member184720
Active Contributor
0 Kudos

Without mapping you cannot take substring/handle the data.

Ofcourse you can let the message fail in PI instead of creating a dump in ECC.

You need to go for XSD validation for that. What is your PI version?

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d026d253-3108-2c10-69a0-a5460fc1f...

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d06dff94-9913-2b10-6f82-9717d9f83...