2005 Sep 20 11:02 AM
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
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
2005 Sep 20 11:43 AM
Hi,
This might sound very stupid, even then i have a doubt.
Have u appended zero's to the field PLNNR and VORNR before doing the select query, otherwise as we know the select will fail.
You also have to select the valid VORNR from the table PLAS, and then use PLNKN and VORNR.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |