on 05-14-2007 10:24 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi friends..
please help me ..
i am not finding the data records in IDOC..how to get these fields..
please help
regards
Jagan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
<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.
These fields are available in the segment EDI_DC40
Regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.