Skip to Content

Error Maxlength in a field

Hi

I am facing a problem.

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

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

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

Capture.JPG (108.7 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Jan 28, 2014 at 07:08 PM

    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-a5460fc1f0b9?overridelayout=true

    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d06dff94-9913-2b10-6f82-9717d9f83df1?QuickLink=index&overridelayout=true&29038273894680

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 28, 2014 at 08:20 PM

    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 Hareesh Gampa.

    regards,

    Harish

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.