Skip to Content
avatar image
Former Member

z function module to read the IDOC segments

Hi Idoc Experts,

Greetings for the day ahead .

Kindly provide some link or Sample Code Reference to write Z Function Module for reading Idoc segments .

The requirement is to Create a z function module to Read these Segments :

1.E1BPACHE08 : Posting in Accounting: General Posting

2.E1BPACGL08 : Posting in Accounting: General Posting

3.E1BPACCR08 : Posting in Accounting: Billing Doc. (Currency Fields, Item)

4.E1BPEXTC: BFA: Container for Customer Exit Parameter.

Any inputs or hints on this will be highly appreciated.

Thanks and Rgds ,

Devendra Singh

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Apr 03, 2017 at 07:05 AM

    Hi Devendra,

    You can try this FM : IDOC_READ_COMPLETELY.

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 03, 2017 at 07:52 AM

    Hi Devendra,

    I have a little curiosity, why do you need this FM?, you can use the IDOC or IDOC_AAE adapter in PI and you have a complete monitoring in ECC or PI to IDOC managment.

    Regards.

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 03, 2017 at 08:34 AM

    Hi Devendra,

    Please search for EDID4 table. You will find many examples.

    Regards,

    Andrzej

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 03, 2017 at 05:40 PM

    Hi Devendra,

    These segments are used IDOC Type ACC_GL_POSTING01 & message type ACC_GL_POSTING and it's for inbound idoc. So I assume you need to read an IDOC which has these segments. So as Shumhamoy mentioned you can use function module IDOC_READ_COMPLETELY by giving IDOC number.

    Add comment
    10|10000 characters needed characters exceeded