cancel
Showing results for 
Search instead for 
Did you mean: 

NRO with XML Validation

vk_k3
Participant
0 Kudos

HI Everybody,

I am using  NRO(Number Rage Objects) in our PO 7.4 Java Only systems,

for all the file transfers to customers.

There is also a requirement for XML Validation. Hence , we have enabled the XML validation in the integration scenario,

but we see the following Error:

**********B2B_END_UEBNR' with length = '51' is not facet-valid with respect to maxLength '9' for type

Hence, to summarize the problem is :

XML validation that happens before is throwing exception while trying to validate the value for the NRO object in the XML as the

conversion of the NRO object happens later.

Is there any work around to get away from the above ?

Regards,

VK

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi VK,

Create an UDF to get Number using the NRO API  in the mapping  and do the validation.

Best Regards

Amith Bhumu

iaki_vila
Active Contributor
0 Kudos

Hi Vk,

I haven't worked with B2B PI addon, but have you checked the validations are skipped in the ID?

Have you done the NRO configuration as the documentation said? Configuring the Communication Channels with NRO Module - SAP NetWeaver Process Integration, business...

Regards.

vk_k3
Participant
0 Kudos

HI Inaki,

I have enabled the B2B validation in the ID.

it is working but However, when it is trying to validate the segments which are not filled in the mapping but are filled later by the adapter then it is throwing Error. One such thing which is filled by the adapter later is NRO. Yes, I have followed it and is working.

So, do you have any Idea if we can handle this ?

Regards,

Vk

iaki_vila
Active Contributor
0 Kudos

Hi Vk,

I think you should wait any suggestion from someone that has more experience in B2B. But a simply view, why don't change the XML validation on the receiver side instead of the sender side?

Regards.

vk_k3
Participant
0 Kudos

HI Inaki,

I am  currently using it on the receiver side only.

It doesnt look like we have many people who have experience on B2B.

However, I will try  to find some solution for it.

Regards,

Vk

vk_k3
Participant
0 Kudos

Hello Experts,

Can you please help on this and share your thoughts?

Regards,

Vk