cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC Processing

Former Member
0 Kudos

Hi All,

I have IDOC---File Scenario

When i Trigger the IDOC which is having 100 line items from SAP R/3.

It reached to XI

If the Error ( Some Impropper data)is there in 5th Line Item means,

Q1) Will this Whole Idoc get Error out???

Q2) Will the 4 Line Items get Processed???

Q3) Will Receiver System atleast can receive upto 4 Line Items or not????

Regards

Suman

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Q1) Will this Whole Idoc get Error out???

YES......If you missed out any mandatory segments in that particular line item.

Q2) Will the 4 Line Items get Processed???

NO

Q3) Will Receiver System atleast can receive upto 4 Line Items or not????

NO

Former Member
0 Kudos

Hi Sekhar,

Its not like Any Mandatory Segments and all.

Say like in Inbound Idoc Payload we have the Field Date

The format shld be DD/MM/YYY

So the same date Format i entered in first 4 records

I entered in 5th record as MM/DD/YYY

So the Record got Errored out here

So in this case what will happen???

Regards

Suman

Former Member
0 Kudos

So in this case what will happen???

IDOC will be processed succesfully.You will get error in mapping if you use any date transformation function with different date format.

Former Member
0 Kudos

Hi Sekhar,

You mean to say Even if the 5th record is having the impropper data out of 10 records in a single Idoc,

Q1) Is The Idoc be fully procesed all the records( 10 records)??

Q2) Then this time Is there any records will i get to receiver side????

Finally i want to know the thing is:::::

If any one of the record is errored out in the Idoc which is having multiple line items, then will ther be any chance to receive some records( Processed 4 records in this case)

OR

do we need to correct the 5th record and send the whole 10 records data once again???

Or those first 4 records will be posted to the Receiver application??

Regards

Suman

Former Member
0 Kudos

IDOC would be posted to XI with entire data at a time if everything fine in SAP side and XI side.

Former Member
0 Kudos

Hi Suman,

In the case of your previous example, the message is logically error, but you won't get problem in processing. Where as, if the message has inappropiate data like special characters, emptly values for mandatory fields, etc. in such cases, message processing will fail and the IDOC will not be sent.

Regards

Bhanu

Intelligroup.

Former Member
0 Kudos

Hi,

Collection of Many parent and line item segments will create one IDOC. So if any of the line item has any error because of data then it will not post the IDOC and u will see the status message in WE02 tcode.

Now coming to ur query.

If any one of the record is errored out in the Idoc which is having multiple line items, then will ther be any chance to receive some records( Processed 4 records in this case)

if any of the record is in erro state then whole IDOC will not be posted.

OR

do we need to correct the 5th record and send the whole 10 records data once again???

yes u need to correct all the line item data which are in error state and again post the IDOC using WE19 tcode.

chirag

Former Member
0 Kudos

Hi Bhanu,

in such cases, message processing will fail and the IDOC will not be sent.

Means entire Idoc will fail or first 4 records will go to Target system??

Regards

Suman

Former Member
0 Kudos

Means entire Idoc will fail or first 4 records will go to Target system??

Please read the replies carefully....it will not process any records incase of failure of message processing

Former Member
0 Kudos

Hi Suman,

Means entire Idoc will fail or first 4 records will go to Target system??

Entire IDOC will fail.

Partial data will not get processed. So, first 4 records also will not get processed.

The IDOC will be processed only when all the segments and all line items are fine.

Regards

Bhanu

Intelligroup.

Answers (1)

Answers (1)

Former Member
0 Kudos

Ans