Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Doubt on IDOCS

Former Member
0 Likes
746

Hi Gurus,

I have some doubts regarding IDOCS.

1. If we are sending a IDOC from XI to R/3, where does we do validations from R/3 side and how do we do that. Suppose if we are sending a Purchase order IDOC form XI to R/3, how to do validations for that particular IDOC for PO number and some other fields from R/3 side.

2. Do we need to do validations in a aABAP Program.

please clarify me these Questions. Thanks in advance..

santosh.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
720

Hi Santosh ,

You can Either do the Validations in XI or in the ABAP coding.

When ever you retrieve the Data from the Segment to a table , you can do the validation.

Reward If Useful,

Regards,

Chitra

Hi Gurus,

I have some doubts regarding IDOCS.

1. If we are sending a IDOC from XI to R/3, where does we do validations from R/3 side and how do we do that. Suppose if we are sending a Purchase order IDOC form XI to R/3, how to do validations for that particular IDOC for PO number and some other fields from R/3 side.

2. Do we need to do validations in a aABAP Program.

please clarify me these Questions. Thanks in advance..

santosh.

5 REPLIES 5
Read only

Former Member
0 Likes
720

Hi,

You can use distribution model to do the validations. From here you can create Filters, rules etc..

If above solution is not feasible in your cases, your the user-exist for that perticulat inbound posting program and write the validations.

Rewards if this info is useful.

Thanks,

Read only

Former Member
0 Likes
721

Hi Santosh ,

You can Either do the Validations in XI or in the ABAP coding.

When ever you retrieve the Data from the Segment to a table , you can do the validation.

Reward If Useful,

Regards,

Chitra

Read only

0 Likes
720

Hi chitra,

if we are doing in ABAP coding, what ia the procedure to do so...do we need to create new Programs....and how do we link that program to the inbound IDOC....pls answer me...

santosh.

Read only

0 Likes
720

Hi Santosh ,

It depends on Whether you are working on IS-U or not.

In case of IS-u , you can do the validation in COMPR part of the code .

If it is a normal IDOC, You hav to create a FM in SE 37 and do the validation followed By your coding

Reward If Useful.

Regards,

Chitra

Read only

0 Likes
720

Hi chitra,

first we are trying to do for normal IDOC type ORDERS01. could pls send me step by step procedure for doing validation (if u have any document). pls help me as i am new to this concept. thanks,

santosh.