cancel
Showing results for 
Search instead for 
Did you mean: 

Error while uploading Long Text in IA05 through BDC.

Former Member
0 Kudos

Dear Team,

Good Day.

While we are trying to upload the Long Text through BDC for IA05 operations  the text is updating in Database but it is not visible in the long Text field. Is it possible to upload the long text through BDC or any bapi's which can be used for the same. Any configuration needed for this please do the needful.

Regards,

Bhanu.

Accepted Solutions (0)

Answers (4)

Answers (4)

jogeswararao_kavala
Active Contributor
0 Kudos

Bhanu,


  • I've modified the previous message with a correction that, I had used this for uploading Activity lines Longtexts.
  • One more thing: After I faced some problem, I used split text  in the code. i.e., Splitting the longtext into several lines (72 char each). Show these code lines to your ABAPer, may be he might be able to draw some clues.


In the BDC lines alongwith other fields the gold line below


PERFORM FILL_BDC_DATA       USING  ' '  ' '  ' '  'BDC_OKCODE'  '=MX07'.
PERFORM FILL_BDC_DATA       USING  ' '  ' '  ' '   'BDC_CURSOR' 'QMICON-LTAKTION(07)'.
PERFORM FILL_BDC_DATA       USING ' '  ' '  ' '   'VIQMMA-MATXT(07)' FS_FIELD-MNTXT7.

PERFORM SPLIT_LONGTEXT USING COL_COUNT.



Code for Form SPLIT_LONGTEXT is attached herewith (MATXT1 to MATXT7 are longtext split into 7lines )

Best of luck

KJogeswaraRao

former_member200331
Contributor
0 Kudos

Hi Bhanu P.,

As mentioned in one of the threads mentioned by Rakesh Mane, also use BAPI SAVE_TEXT to update the text which is saved in database through your BDC.

Please check and provide your reply.

Hope this helps.

Chin2.

rakesh_mane
Active Contributor
0 Kudos

Hello

Please find different option for uploading Task List Long text .

http://scn.sap.com/thread/1325904

http://scn.sap.com/thread/562657

http://scn.sap.com/thread/364456

Br

Rakesh

jogeswararao_kavala
Active Contributor
0 Kudos

I had developed and uploaded longtexts through BDC for 1000s of  Notifications. You may have to troubleshoot your code.

Check for OK code line such as

PERFORM FILL_BDC_DATA       USING   ' '   ' '    ' '    'BDC_OKCODE' '=TXBA'.

KJogeswaraRao

Former Member
0 Kudos

Dear Jogeswara Rao,

Thanks For your quick Reply.

Have you uploaded the Long Text of IA05 through this code. Actually we are trying to make the development from long time we are unable to do so.

Could you please elaborate how to achieve this.

Regards,

Bhanu.

jogeswararao_kavala
Active Contributor
0 Kudos

I'm afraid No. But the situation I believe is similar. There is a correction. I had developed & uploaded Longtexts for Activites in Catalogs&Code tab. (7 line items)

KJogeswaraRao