cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC --

Former Member
0 Kudos

We are about to Start our File to IDOC Scenario.

We are going to receive a file which is going to contain INVOICE records from the Vendor. We need to post them into our R/3 system as an IDOC.

We have to do the validation for the File? Then convert them into the IDOC and send it to the R/3.

For the above process what are all the Good Practices? What are all the points that I always need to remember to make the Interface successful? Specially on the R/3 side as an XI developer what questions I need to ask about the IDOC?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi ,

one more point to remember....

/people/michal.krawczyk2/blog/2005/03/29/xi-error--unable-to-convert-the-sender-service-to-an-ale-logical-system

Thanks,

sekhar

Answers (2)

Answers (2)

Shabarish_Nair
Active Contributor
0 Kudos

>> We have to do the validation for the File? depends ... if your business asks for validation then maybe u can do it in a module.

>> Specially on the R/3 side as an XI developer what questions I need to ask about the IDOC?

all you need to know is the IDOC structure and the mapping logic (it wud be provided in your Fucn. spec)

Former Member
0 Kudos

Thanks Vijaya and shabarish.

Vijaya could you please throw more light on "Is the file going to contain data for multiple IDocs"? I am lost here what does it means?

Thanks.

Former Member
0 Kudos

Hi,

You can send multiple IDocs using IDOC bundling - the "trick" with the occurance change if your file contains multiple IDocs

/people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change

Thanks,

sekhar

Former Member
0 Kudos

Hi Rohini,

The file might contain data in the form of header and details.

Now the data can be for one IDoc only where in every file contains data for one Idoc or you might have data for multiple IDocs which is multiple Invoice data in a particular file.

You will have to ask this first as you will need to design you interface based on that.

If it's one to one then all you need to do is create header and detail MT and Import IDoc for Invoice and do the mapping.

In case it is multiple then you need to understand how data is placed. Also import the IDoc and create External definition which will take data for multiple record and then post them together.

Just chck this block for IDoc bundling:

/people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change

Regards

Vijaya

Shabarish_Nair
Active Contributor
0 Kudos

>> "Is the file going to contain data for multiple IDocs"? - at times a req. might be to collect IDOCS for mayeb a time duration or some other criteria and finally post a single file or the vice versa.

Ref the link what sekhar sent too ...

Former Member
0 Kudos

Hi,

1. Is the file going to contain data for multiple IDocs. The you can use conceept of package and avoid using BPM.

2. If the file has some validation wherein you need to reject the complete file , it's better to do that in the Adapter module.

3. Rest of the validation can happen in the mapping itself.

Regards

Vijaya