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: 

How to save long text for IA01 Transaction using BDC

SatyaGade
Explorer
0 Kudos

Hi All,

In my requirement I have to create a Task List Equipment and Task List Functional Location using BDC.Here I need to upload the long text for both IA01 and IA11 transactions.I am using SAVE_TEXT function module to save the text and COMMIT_TEXT also after save text.But I am not able to see the text in IA12 and IA02 transactions.But using READ_TEXT I am able to get the text what updated using SAVE_TEXT.

Please answer for this if any one worked on this requirement <Priority normalized by moderator>

Thanks,

Satya.

Edited by: Vinod Kumar on Jan 2, 2012 9:02 PM

15 REPLIES 15

Former Member
0 Kudos

In the FM SAVE_TEXT, you have to pass the parameter

SAVEMODE_DIRECT = 'X'

and also call FM COMMIT_TEXT.

And if you want help in a timely manner, post in the correct forum to start with.

Rob

0 Kudos

Hi Rob,

I am passing that parameter and I am not able to see the long text in IA02 Transaction.

Please help me.

Thanks,

Satya.

0 Kudos

Long text will be displayed only when long text indicator is set to 'X'. For task list related transactions like IA02, long text indicator will be enabled only when Long text editor contains more than 1 line (with * in tag column)

Simulate the scenario in transaction code IA02 by entering multiple lines in long text editor.

Or you may update long text with SAVE_TEXT with multiple lines data in TABLES parameter LINES (with * in tag column)

0 Kudos

I am using SAVE_TEXT and passing tag column as * and table having more than 1line of text.But the text is not available in the IA02 transaction.Equipment is created using BDC for IA01 transaction and the check box is not enabled while creating the Equipment.Once the Equipment is created successfully though BDC then I am using SAVE_TEXT to upload long text.But the text is not visible.

Hope you I understand my problem.

Thanks in advance.

JL23
Active Contributor
0 Kudos

is your equipment number numeric? did you execute SAVE_TEXT with leading zeros ?

0 Kudos

yes..I am able to read the text using READ_TEXT.But it is not visible in IA02 and IA03 Transactions.

JL23
Active Contributor
0 Kudos

any text that is written with SAVE_TEXT can be read with READ_TEXT

you can even see the entry in SE16 (just not the text itself)

but the question is if your keys are really the keys that SAP is using when you maintain it manually.

read you text with READ_TEXT and remember how it looks.

then enter your text in IA02 manually,

then check again with READ_TEXT, if you still get your old text, then SAP had written your manualy entry with a different key.

if you get the new text, then you may have to update your equipment again after having loaded the long text.

Just let us know the result from your test, then we can continue looking for a solution

0 Kudos

I entered text manually and saved the text in IA02 transaction.With the same Key when I read using READ_TEXT I am able to get the text what I maintained in IA02 .

JL23
Active Contributor
0 Kudos

maybe OSS Note 1609549 - IBIP: Equipment longtext is not properly updated

can already help, as it fixes a program error.

JL23
Active Contributor
0 Kudos

see as well this thread, as it explains important info for the mechanism of long text in equipments

0 Kudos

Hi ,

Still I am not able to upload the long text in Ia01 transaction.I followed the link and followed the steps CREATE_TEXT also.

Please forward me the steps need to follow to solve this issue.

JL23
Active Contributor
0 Kudos

why dont you use LSMW with SAP standard import method batch input?

Object 0470

method 0000

0 Kudos

Hi,

I am using BDC to create Equipment .I wrote the code and everything is fine except this long text.we can not solve this using BDC?If not how to use LSMW batch input.

0 Kudos

Hi Satya,

There is a simple way to update the long text. There is direct input object in the LSMW for long text.

Object : 0001

Method : 0001

Program type : D

SImply go and create the LSMW with first option and follow the steps. No need to call the function modules separately. This standard program will take care of every thing.

If you have multiple lines to populate in the equipment master at the header level then you need two set of files. Then key will be equipment number with leading zeros if it will not be alpha numeric.

1) First file with field EQUNR.

2) Second file will be

EQUNR C(018) Technical identification number

TXPARGRAPH C(002) Tag column

TXLINE C(072) Text editor text line

TEXT_MARK C(001) Description Indicator for RIIBIP00 (IBIP) Processing

Please let me know if you need more in detail.

Thanks,

Satheesh

0 Kudos

Try to use BDC Call transaction to create IA01 ,here Update should be sync mode then use save_text function module based on Call transaction results,I am sure this will resolve your issue.

Thanks

Seshu