cancel
Showing results for 
Search instead for 
Did you mean: 

IDoc errors

rajan_s
Participant
0 Kudos

Hi All,

I am getting the following IDoc errors in R/3 client:

Errors:

Required field DOC_TYPE was not transferred in parameter DOCUMENTHEADER

Required field COMP_CODE was not transferred in parameter DOCUMENTHEADER

Required field COMP_CODE was not transferred in parameter ACCOUNTGL

Required field COMP_CODE was not transferred in parameter ACCOUNTPAYABLE

Error in document: BKPFF $ R3CLNT100

The scenario is File to XI to R/3

From XI it shows message processed successfully but in R/3 there are IDocs created with status 51 with above errors.

Any idea on how to fix them?

Thanks,

Rajan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Rajan,

As per your error message,

<b>Required field DOC_TYPE was not transferred in parameter DOCUMENTHEADER</b>

Ans: Chek the mapping in XI, whether it has been mapped & value is coming from source to target field.

<b>Required field COMP_CODE was not transferred in parameter DOCUMENTHEADER</b>

Ans: value for COMP_CJODE is missing in mapping or mapping has not been done.

<b>Required field COMP_CODE was not transferred in parameter ACCOUNTGL</b>

Ans: Same as above mentioned.

<b>Required field COMP_CODE was not transferred in parameter ACCOUNTPAYABLE</b>

Ans: Same as above mentioned

<b>Error in document: BKPFF $ R3CLNT100</b>

Ans: This is a configuration error in R/3 side, it is reladed with accounts (FI module)

So once all these will be done, your idco will be posted into R/3 successfully. )

Regards,

Sarvesh

rajan_s
Participant
0 Kudos

Does anyone know how to map the header in R/3?

Former Member
0 Kudos

Hey

why do u want to do mapping for IDOC header?

are u gonna hardcode them in message mapping?

why not just suppress the header and leave the <i>"Apply control records from payload"</i> unchecked

Thanx

Aamir

Former Member
0 Kudos

Hi Rajan,

You need to check your source system for values Comp Code and remaining fields values as mention in error status.

If I am not wrong Header data is not related to header data of XI - Control record...this data is related to the header data of posting document. Document cannot be post because document header data is missing( i.e. table BKPF).

What you can do is consult functional team for error fields values and try to post same idoc using we19 with new values ( You can edit data in we19) and once you post idoc sucessfully mapped same data in sap xi mapping.

Hope this wull help.

Let us know if you need more help.

Nilesh

Answers (2)

Answers (2)

rajan_s
Participant
0 Kudos

Thanks to those who helped/replied. Closing this thread as no further replies.

VijayKonam
Active Contributor
0 Kudos

Looks like the Header has not been mapped properly in the mapping. This is error from R3 side.. and hence you would not have anything going wrong on XI side in SXMB_MONI.

VJ

rajan_s
Participant
0 Kudos

Thanks VJ.

Where is the header mapped or how do I map the header? Is it in XI or in R/3? If in R/3, can you give some details?

prateek
Active Contributor
0 Kudos

IDocs status 51 means there is error in application system i.e R/3. So error not XI related. The error could be due to incorrect data. A functional person may help u in filling all the fields properly.

For ur information, control records under segment EDIDC_40 contains the routing related data.

Regards,

Prateek