‎2008 Feb 18 4:29 PM
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...
‎2008 Feb 18 4:37 PM
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
‎2008 Feb 18 4:37 PM
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
‎2008 Feb 18 4:43 PM
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.
‎2008 Feb 18 4:55 PM
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
‎2008 Feb 18 5:08 PM
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.
‎2008 Feb 18 6:17 PM
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.