Skip to Content
0
Former Member
Sep 20, 2005 at 10:02 AM

Adding Long text to a Operation through CA02 Transaction

108 Views

Hi All,

I am loading the operations from a local file,for each operation that is posted to the transaction CA02 by using the BDC Call transaction method for that posted operation i am loading a long text by using SAVE_TEXT function module. I am unable to load the long text for the particular operation which is posted, i am checking the latest operations from the table PLPO.

I am attaching the following part of the code.

-


call transaction 'CA02' using bdcdata mode 'A' update 'S'

messages into messtab.

if sy-subrc = 0.

clear bdcdata.

refresh bdcdata.

commit work.

wait up to 2 seconds.

perform get_error_msg.

  • Operation Long Text

if not i_input-ltext is initial.

perform operation_longtext.

endif.

endif.

form operation_longtext.

|

|

select single plnkn

zaehl from plpo

into (wa_plnkn, wa_zaehl)

where plnty = 'N'

and plnnr = i_input-plnnr (i_input = local file itab)

and vornr = i_input-vornr.

|

|

|

SAVE_TEXT....

endform.

-


I am unable to get the current operation that is saved by the BDC.

Could you please help me out on this issue.

Thanx in advance.

Suresh