Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Send long text through MASTER_IDOC_DISTRIBUTE in EDIDD table

Former Member
0 Kudos
1,048

Hello all,

I am using MASTER_IDOC_DISTRIBUTE function module to send idoc. I have to send header long text and item long text. Can you please let me know how to populate long text into EDIDD table. I have segment E1BPEBANTX for header and item text.

How to populate text into EDIDD table for more than one line?

If you can explain it with sample code it will be helpful.

Thanks,

Madhura

1 ACCEPTED SOLUTION

Former Member
0 Kudos
168

Hello Madhura,

The sement E1BPEBANTX is having 3 fields.

TEXT_ID

TEXT_FORM

TEXT_LINE

Read the long text usng "READ_TEXT" FM. pass object name to this FM u will get long text in internal table.

Define interal table 'it_edidd' of type EDIDD.

Pass this text id,text form and text line from interal table to it_edidd-sdata.

regards,

mukund

3 REPLIES 3

Former Member
0 Kudos
168

please give the IDOC type u are using

Former Member
0 Kudos
169

Hello Madhura,

The sement E1BPEBANTX is having 3 fields.

TEXT_ID

TEXT_FORM

TEXT_LINE

Read the long text usng "READ_TEXT" FM. pass object name to this FM u will get long text in internal table.

Define interal table 'it_edidd' of type EDIDD.

Pass this text id,text form and text line from interal table to it_edidd-sdata.

regards,

mukund

Former Member
0 Kudos
168

Purchase requisition :

Text object -EBANH

TEXT id - B02