05-16-2013 10:27 AM
The scenario is when i give LSMW details i.e PROJECT, SUB PROJECT AND OBJECT NAME on the selection screen it should fetch the details of the idoc's generated if the method used in LSMW is IDOC or BAPI. As BAPI also generates IDOCS.
Details include Message Type , Segment Type.
05-16-2013 12:10 PM
Hi Sachin,
It is not clear whether you need Message type/segments details or the list of IDoc's generated. Check below tables for both.
Table /SAPDMC/LSOATT gives Message type,Basic type; Business object,Method details.
Based on message type segment type can be found from table EDISYN.
Message type being known, List of IDoc's can be taken from EDIDC table.
Regards,
SG.
05-16-2013 12:10 PM
Hi Sachin,
It is not clear whether you need Message type/segments details or the list of IDoc's generated. Check below tables for both.
Table /SAPDMC/LSOATT gives Message type,Basic type; Business object,Method details.
Based on message type segment type can be found from table EDISYN.
Message type being known, List of IDoc's can be taken from EDIDC table.
Regards,
SG.
05-16-2013 2:32 PM
Thank You.
Actually my scenario is whenever i'm giving the LSMW details in selection-screen it should give a popup to enter the message type and basic idoc type based on those details it should fetch the idocs generated based on these inputs .
As there can be many idocs we ll filter based on the date idocs generated.
05-16-2013 12:16 PM
I guess you need to go first to table /SAPDMC/LSOATT for OBJECTTYPE "03" and "04" to get message type and IDOC type, get the partner information from /SAPDMC/LSMCUST, and then use the results to look for IDocs in the relevant EDIDC, EDID4 etc. tables (or use appropriate function modules).
Thomas
Edit: posted before seeing the previous reply