on 04-23-2010 12:35 PM
Hello All,
How to search a IDOC number which has been archived??
Regards
PVR
Hello,
you could try this ( at least in Rel.ERP 2005):
Transaction SARI (Archive Information System) -> Archive Explorer
Archive Object : IDOC
Archive Infostructure: SAP_IDOC_001
In Menue-Point Archive Infostructure -> ADHOC-Evaluation
Then you'll get an generatet report. You can search for specfic IDOC-numbers and so on.
Regards
Wolfgang
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello
When I executed, system throws an error "No active info structures exist for archiving object IDOC".
is there any other way I can find the Idoc which has already been archived.
Actually I am trying to find the idoc for sales order which has been created 2 months back.
I am not able to see the IDOC number in the sales order, services for object, nor i am able to find the IDOC number in WE02 transaction.
I am stuck up and could nt proceed further ......... Any inputs on this.
Regards
PVR
Hi,
To find the number of IDOC try with this flow: search in table SRRELROLES the link between SO and IDOC (ojbkey is the number of SO, objtype is BUS*). I copy the ABAP for search the link between PO (for STO) and IDOC 'PORDCR1' (for this IDOC ojbkey is BUS2012).
The coding is
data: i_rel1 like srrelroles occurs 1 with header line,
i_rel2 like srrelroles occurs 1 with header line,
i_idocrel like idocrel occurs 1 with header line.
select * from srrelroles
into table i_rel1
where objkey = i_ebeln
and objtype = 'BUS2012'.
read table i_rel1 index 1.
select * from idocrel
into table i_idocrel
where role_b = i_rel1-roleid.
read table i_idocrel index 1.
select * from srrelroles
into table i_rel2
where roleid = i_idocrel-role_a.
read table i_rel2 index 1.
check i_rel2-objtype = 'IDOC'.
select single * from edidc
where docnum = i_rel2-objkey.
if sy-subrc = 0.
e_idoc = i_rel2-objkey.
endif.
The idoc will be e_idoc.
Regards,
Eduardo
Hi,
Perhaps so easy to check this link, see it in generic object services / object service toolbox and check the icon 'display relationships' (check these links):
http://help.sap.com/saphelp_erp2004/helpdata//EN/c8/96c998142f11d389940000e8216438/frameset.htm
http://help.sap.com/saphelp_erp2004/helpdata//EN/c8/96c998142f11d389940000e8216438/frameset.htm
Do it in the screen of SO.
Regards,
Eduardo
Edited by: Eduardo Hinojosa on Apr 26, 2010 6:01 PM
User | Count |
---|---|
94 | |
11 | |
10 | |
6 | |
5 | |
5 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.