‎2010 Oct 28 4:24 AM
We have various Business Units within our organisation that monitor failed Inbound iDoc (e.g. ORDERS, ORDRSP, DESADV, INVOIC), and we have already built user-friendly transactions to enhance the functionality of BD87, WE05 etc. However, what we haven't done so far, is found a way to display the iDoc in a user-friendly way. For example, if a user wanted a list of PO items, Materials and quantities on an Inbound Vendor Invoice, they would have to look at the E1EDP01 segment to get the quantity, one of the E1EDP02 segments to get the PO & item, and one of the E1EDP19 segments to get the material. Then repeat for each line. What we'd like to do is give them the option of displaying the iDoc in a much more user-friendly way.
I have a suspicion that iDoc Styles in standard SAP might fit the bill, however I've been unable to find any decent documentation on the subject. Does anyone know of any good resources on the subject, or perhaps an alternative ?
Thanks, Paul.
‎2010 Nov 02 7:41 AM
There are 2 ways.
1. Explore transaction WE09 & WE10
2.
data: dt_eiedp01 like eiedp01
Loop at each IDOC you are interested,
Call FM IDOC_READ_COMPLETELY
read the segmnent 'eiedp01' from edidd
move edidd-sdata to dt_eiedp01.
do what ever you want from dt_eiedp01.
endloop.
‎2010 Nov 02 7:41 AM
There are 2 ways.
1. Explore transaction WE09 & WE10
2.
data: dt_eiedp01 like eiedp01
Loop at each IDOC you are interested,
Call FM IDOC_READ_COMPLETELY
read the segmnent 'eiedp01' from edidd
move edidd-sdata to dt_eiedp01.
do what ever you want from dt_eiedp01.
endloop.