cancel
Showing results for 
Search instead for 
Did you mean: 

HRMD_A06 IDOC is in error.

Former Member
0 Kudos

IDOC is showing status 51.

Status Notification says - Make Entry in all required fields.

We are filling IDOC using Proxy Code.

How to Trace what are the necessary fields to pass?

Regards,

Akshay.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi ..

the idoc has been sent from xi ..it means the idoc is failing in the recieving system owing to some validation it is failing ...

so what you can do ...run transaction we05 ..select your idoc ..see what error it gives there...based on that error ...you can choose to handel it in xi ..or in the recieving system function module (you can find it in transaction we20..against your message type ...) ..You might want to coordinate with your funtional guy as well by taking this idoc number and trying sending it again by using transaction

we19...where you first you need to check wether all the segements necessary are created properly or wether your xi is creating a segement which has some mandetory missing for eg you are sending a recordset from the source where some values are not coming but you are creating those segements unnecessarly...this you can handel in xi mapping easily ... by checking the source fields length after trimming it , if it is greater then 0 then nly create the segement (use appropriate standard text funtions like trim and length and createif)

Regards,

Deepak

Answers (1)

Answers (1)

Shabarish_Nair
Active Contributor
0 Kudos

Goto we60 and follow the documentation for the IDoc. It will tell you what are the mandatory fields and segments.

Former Member
0 Kudos

Hi,

How to search for mandatory field?

Regards,

Akshay.

Shabarish_Nair
Active Contributor
0 Kudos

in WE60 -> give the idoc name and press F8. it will provide you the documentation.

In the documentation it will tell you which segment is mandatory, which field is mandatory etc.

Eg.

Segment;

E1PLOGI : Header for an HR Object (Master Data or Organizational Data)

<b>Status: Essential , min. number : 1 , max. number : 9999999999 </b>

it means it is mandatory since minimum occurance is 1 and it can repeat for 9999999999 times.

The go to we31 and see the segment documentation. that will tell you which field is mandatory.

Shabarish_Nair
Active Contributor
0 Kudos

in R3, another easy way is goto we60 , give the IDoc name -> Menu -> documentation -> XML schema.

Once it is generated you can check the occurance, max and min of the fields. If any field has 1 as min occurs then it means that it is a mandatory field.

You can also check the same in the imported IDoc XML schema in IR in XI.