cancel
Showing results for 
Search instead for 
Did you mean: 

z function module to read the IDOC segments

former_member225253
Participant
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Devendra,

You can try this FM : IDOC_READ_COMPLETELY.

former_member225253
Participant
0 Kudos

Answers (3)

Answers (3)

TuncayKaraca
Active Contributor
0 Kudos

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.

former_member225253
Participant
Andrzej_Filusz
Contributor
0 Kudos

Hi Devendra,

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

Regards,

Andrzej

iaki_vila
Active Contributor
0 Kudos

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.