Application Development and Automation 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: 
Read only

Long Text

Former Member
0 Likes
713

I have done the BDC for IA01 and it works fine.

I have a question. How would we extract the Long text for Task list (IA01) for one SAP system and how would we upload it back in a different SAP system.

Thanks,

Raju...

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
680

Hi

- In the original system u should create s z-program in order to download the long text by fm READ_TEXT.

- In the destination system u should create a z-program in order to upload the long text by fm SAVE_TEXT.

Max

5 REPLIES 5
Read only

Former Member
0 Likes
681

Hi

- In the original system u should create s z-program in order to download the long text by fm READ_TEXT.

- In the destination system u should create a z-program in order to upload the long text by fm SAVE_TEXT.

Max

Read only

0 Likes
680

Thanks Max.

I was wondering can I create a RFC to serve this purpose. Make a Z_READ_TEXT which is RFC enabled.

Anyways,

I was wondering how would I use the FM READ_TEXT. Can you please help me in understanding it.

Thanks,

Raju.

Read only

0 Likes
680

Hi

If you can link your system by RFC is better, so the fm READ_TEXT needs only the header data of your long text.

U can know them by reading a long text of a document, while you're in the text editor go to: GOTO->Header

here you can find:

- The text name (I suppose it's created using the key of the document);

- The language

- The text NAME (I suppose it'll be a constant)

- The text ID (I suppose it'll be a constant)

So you need only to transfer those data to the interface of the fm and the text'll be returned in LINES (the table of the interface of fm).

Max

Read only

0 Likes
680

Thanks Max.

I amable to execute FM Read_text and see the data I need.

However I wondering I would can create the same data in the other system with same name, Object Id....etc, but how would i lonk with the same operation I am intrested in.

There are 100's of operations in IA01, so how would the system know the lonk text to the particular operation.

Hope I am clear.

Thanks,

Raju.

Read only

0 Likes
680

THanks MAx.

Your suggestions really helped.

I have the RFC and now its gets long text from one system and uploads inot the other system.

the status message in SAVE_TEXT is 'I' =>Insert.

I was wondering how would I check the long text if it has uploaded everything I want.

Thanks,

Raju.