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: 

Export READ_TEXT function Data to Legacy System

Former Member
0 Kudos

Hy Expert.

We want to create some Z program in SAP ABAP where READ_TEXT function is read Long text.

But now we want to Export this Data to Our Legacy System.

as said Enhancement is.

1) Create Z program in SAP where to read Long text data.

2) Export that Data to any Legacy system through SAP.

Regards.

Pradip Patel.

5 REPLIES 5

rosenberg_eitan
Active Contributor
0 Kudos

Hi,


What kind of system do you have ? what platform ?


Regards.

0 Kudos

Hy Eitan thanks for reply.

We have Sql Server 2008 as a legacy system.

Regards.

Pradip patel

0 Kudos

You can do it in two ways 1) place a file in application server in share mount for all the long_text from your z program and then use it in your legacy system or create one RFC instead of z program and use read_text inside it and pass it to the RFC tables. This RFC can be called from your legacy system.

Former Member
0 Kudos

Hi Pradip ,

I want to Know more information about your requirement ? is your data flow

Case # 1 : SAP to Non SAP ,?

Case # 2 : Non SAP to SAP and Return the Export Result Back to Non SAP ? i mean two way communication (i.e. Synchronous Communication )

If it is Case # 2 then Write One Custom RFC Function Module Using READ_TEXT ... Like in RFC having Import Parameter "Material Number " and Language , based on Material Number your Custom RFC fetch Material PO or Long Text using 'READ_TEXT" FM and that PO Text or Long Text you can capture into RFC Export Parameter .

and Same RFC Call your Legacy system .

Regard's

Smruti

rosenberg_eitan
Active Contributor
0 Kudos

Hi,

SAP web service ?

It is more conforming to web standards.


Regards.