Skip to Content
author's profile photo Former Member
Former Member

idocs

hello!

i am new with idocs and i have a problem.

there is a segment and i would like to know what fm is connected to it.

if i have the idoc type in what transaction can i see the

connection?

regards

yifat

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 25, 2005 at 11:44 AM

    Hi Yifat

    You should know in which idoc the segment is used, and the which message is used.

    You can try to use transaction WE64, but if you want to see the most characteristics of an IDOC use menu WEDI.

    Max

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 25, 2005 at 12:37 PM

    as max already said: An IDOC segment is part of the IDOC structure, altogether you have an IDOC basic type. This basic type like i.e. INVOIC01 (not necessarily) is connected to 1 or more message types (i.e. INVOIC). A message type may be connected to one or more proces codes. Message type and process code may be connected to a business object and a processing function module.

    And besides there is a big difference between incoming an outgoing IDOCS. AFAIK outgoing (outbound) IDOCs are usually created as a special EDI message type using message control. Actually a special subroutine of the program connected to the message type will create the IDOC.

    Incoming (inbound) IDOCs are usually connected via IDOC and message type and process code to function modules. The function module (i.e. IDOC_INPUT_ORDERS).

    So the area menu WEDI (from SAP easy access type WEDI in command window), especially WE57 may help you.

    Look at http://help.sap.com/printdocu/core/Print46c/en/Data/Index_en.htm

    "ALE Introduction and Administration", "ALE Programming Guide", "ALE Quick Start", and a couple of documents with IDOC in the name.

    Regards,

    C.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 25, 2005 at 02:43 PM

    Hi,

    To find message types linked to an IDOC the transaction is WE82 . In this transaction you will see the IDOC type in basic type column. Once you find your message type and you know whether it is inbound or outbound you can goto WE64 to find the process code and linked FM to it.

    In general the functiona modules are

    IDOC_INPUT_<MESTYP> for inbound

    IDOC_OUTPUT_<MESTYP> for outbound,

    However above is not always true.

    Cheers

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.