cancel
Showing results for 
Search instead for 
Did you mean: 

data record fields of idoc not found in XI

Former Member
0 Kudos

hi friends,,

in my idoc to file ..i want to send DATA record structure fields like SEGNAM,MANDT,DOCNUM,SEGNUM,PSGNUM,HLEVEL.

i imported IDOC into XI.but these DATA record fields are not present in the imported IDOC.

how to get these data record fields..

please guide me

regards

Jagan

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi Friends,,

thanks for your responses..

these fields are not present in segments..these fields are belong to data records ..we can see these by selecting data records in we60.

but i want these fields in my target xml file.

SEGNUM is the field which dynamically genrates segment number.and also HLEVEL field also .segment level..how we can get thses values..

so please tell me how can i get these fields in XI.

regards

Jagan

Former Member
0 Kudos

Hi all,

I am facing the same troubles, is there a solution found on how to populate these values?

Best regards,

Guido Koopmann

Former Member
0 Kudos

Hi Jagan,

these fields are not present in segments..these fields are belong to data records ..we can see these by selecting data records in we60.but i want these fields in my target xml file.

i think you need to check the structure of basis type which actually gets transfered from SAP.

Basic type HRMD_A05

The fields which you are refering will appear in the control record of the IDOC.You can verify this after importing it to PI ESR,may be they are mentioned in we60 as data records as they are mandatory fileds.

if you check for any other idoc say MATMAS05 , you will see the same pattern there also.

So there is not need to worry about these fileds, configure your IDOC to file scenario end to end , and in the mapping fill the

values (as constants mapped ) to the fileds which you want to see in the the target file.

or if you want runtime to fill the values then you can ask your ABAP team to Modify the program which fills data to the IDOC

before sending to PI , please check once with ABAP team for the same,it can be done by thier help.

Regards,

$rinivas

Edited by: Srinivas on Jul 12, 2010 4:35 PM

Former Member
0 Kudos

Hi Jagan,

SEGNUM is the field which dynamically genrates segment number.and also HLEVEL field also .segment level..how we can get thses values.

i checked with my ABAP guys, actually SEGNUM ,HLEVEL,DOCNUM etc are the fields which are common for all the IDOCs

They are generated at the runtime,if you trigger the IDOC in We 19, in the triggered IDOC (WE02 ) you can see these

values,which gets filled at runtime by SAP.

Every IDOC has control record and you can see these values in EDI_DC40 segment, if you want to see there values

in the output file , you need to map these fields.By the way are you doing IDOC to flat file conversion (java mapping)?

Regards,

$rinivas

Former Member
0 Kudos

Hi Jagan,

What you are trying to map is internal data structure of idoc segments it will not be visible in repository.

To make it clear try t-code we30 enter HRMD_A05,click on display,select E1PLOGI and go to segment editor ,now whatever fields you can see here will be visible in repository.

One more thing in WE60 don't select check box for data

and status record only this segement will be visible in repository

Thanks,

Tuhin

Message was edited by:

Tuhin Kumar Oza

Former Member
0 Kudos

Hi friends..

please help me ..

i am not finding the data records in IDOC..how to get these fields..

please help

regards

Jagan

Former Member
0 Kudos

hi Bhavesh,

Thanks for your resonses..

in IDOC documentation (WE60) for IDOC basic type HRMD_A05 , in data records contains fileds..SEGNAM,MANDT,DOCNUM,SEGNUM,PSGNUM,HLEVEL .

i want these fields in my target file.

i imported IDOC into XI...but in XI systsm i am not finding these data records .these fileds are not belongs to one specific structure in IDOC ..these are data records..

please guide me hoe to get thease fileds

regards

Jagan

Shabarish_Nair
Active Contributor
0 Kudos

<i>in IDOC documentation (WE60) for IDOC basic type HRMD_A05 , in data records contains fileds..SEGNAM,MANDT,DOCNUM,SEGNUM,PSGNUM,HLEVEL .</i>

>>>

can you confirm the segment name where these fields are present.

In we60 for HRMD_A05 i dnt find any segment with these fields

It is the EDI_DC40 (can be found while importing the idoc into XI) the fields tht u mentioned are there.

bhavesh_kantilal
Active Contributor
0 Kudos

These fields are available in the segment EDI_DC40

Regards

Bhavesh