Problem in Call Transsaction in background..
Dear Friends ,
I have written Call Transaction (BDC) inside the program.
In output it will diaplays the document numbers and those document numbers r updated in one Tcode(through call transaction).
if i run in Foregroung the documents numbers updating in that Tcode. but in Background it is not updating in that Tcode..
What could b d probelm...
Hi !
Generally Call-Transaction in background is working fine...
Check something out:
- Do you get any errors back from the Call-Transaction ?
- Does the background-user have permission do execute
the called transaction ?
- Is the update-task on the background-server running
(SM13) (If you have saparate server for background)
- put an explicid COMMIT WORK after you call transaction
(if you can do so). Commonly updatetask starts it's
work by getting an COMMIT WORK.
In dialog there's an implicid COMMIT WORK when
then LIST oder the SELECTION-SCREEN apperas again.
Regards
Rainer
Some points would be nice if that helped...
Similar Messages
-
Locking problem when calling FM in background OR destination NONE....
Hi,
I've made a RF transaction to handle some movements from one Storage Unit to another one by creating a TO using standard FM L_TO_CREATE_SINGLE - so far, so good.
My problem is that this FM makes a lot of standard checks (which is fine!) and if any of them fails - it issues a message, although I certainly don't want any message to be issued in this RF screen other than the ones that can be displayed on another screen.
In order to avoid those annoying on-line messages I've tried to call the function in background, and even with DESTINATION 'NONE' - and here it is doing fine regarding the message handling (it is handled by the sy-subrc handler after the FM call) BUT now I'm having an even more annoying problem -> a lock is created (on tables LQUAX and VEKP) which I can't get rid of!!! (unless deleting manually the lock in SM12.......)
Anyone experienced this by performing L_TO_CREATE_SINGLE in background mode or DESTINATION 'NONE' ?
A check whether the TO is succesfully created or not is important, as after the TO creation I'm creating an Idoc (via L_SUB_INITIATION_FOR_PICK_HU) for that TO.
Any ideas?
Message was edited by:
Branko JovanovicIndeed, this solved my problem:
CALL FUNCTION 'L_TO_CREATE_SINGLE'
EXPORTING
i_lgnum = whs_id
i_bwlvs = ltak-bwlvs
i_matnr = wa_lqua-matnr
i_werks = wa_lqua-werks
i_lgort = wa_lqua-lgort
i_charg = wa_lqua-charg
i_anfme = rl03t-anfme
i_altme = ltap-altme
i_vltyp = ltap-vltyp
i_vlpla = l_vlpla
i_vlenr = ltap-vlenr
i_nltyp = ltap-nltyp
i_nlpla = l_nlpla
i_nlenr = ltap-nlenr
i_update_task = c_true
i_commit_work = c_true
IMPORTING
e_tanum = g_tanum
e_ltap = itab_ltap
TABLES
t_ltak = itab_ltak_vb
t_ltap_vb = itab_ltap_vb
EXCEPTIONS
<b> error_message = 01 "Shows errors if this is commented</b>
no_to_created = 1
bwlvs_wrong = 2
betyp_wrong = 3
benum_missing = 4
betyp_missing = 5
foreign_lock = 6
vltyp_wrong = 7
vlpla_wrong = 8
vltyp_missing = 9
nltyp_wrong = 10
nlpla_wrong = 11
nltyp_missing = 12
rltyp_wrong = 13
rlpla_wrong = 14
rltyp_missing = 15
squit_forbidden = 16
manual_to_forbidden = 17
letyp_wrong = 18
vlpla_missing = 19
nlpla_missing = 20
sobkz_wrong = 21
sobkz_missing = 22
sonum_missing = 23
bestq_wrong = 24
lgber_wrong = 25
xfeld_wrong = 26
date_wrong = 27
drukz_wrong = 28
ldest_wrong = 29
update_without_commit = 30
no_authority = 31
material_not_found = 32
lenum_wrong = 33
OTHERS = 34.
IF sy-subrc NE 0.
MOVE sy-subrc TO g_rc.
message_id = sy-msgid.
message_number = sy-msgno.
message_var1 = sy-msgv1.
message_var2 = sy-msgv2.
message_var3 = sy-msgv3.
message_var4 = sy-msgv4.
PERFORM error_message.
ENDIF.
So I'll reward Arnold eventhough I got the answer earlier .....
Cheers! -
Problem in Open dataset in background
Hi All,
Iam facing the problem in Open dataset in background. It is working fine in foreground.
Iam able to read only one line from the application server file in background.
Please find below the code.
IF sy-batch = wl_x.
OPEN DATASET pa_sfile FOR INPUT IN TEXT MODE encoding default. "
IF sy-subrc = 0.
DO.
READ DATASET pa_sfile INTO wf_string.
IF sy-subrc <> 0.
EXIT.
ELSE.
SPLIT wf_string AT cl_abap_char_utilities=>horizontal_tab INTO wa_upload-
field1 wa_upload-field2 wa_upload-field3
wa_upload-field4 wa_upload-field5 wa_upload-field6 wa_upload-field7
wa_upload-field8 wa_upload-field9 wa_upload-field10 wa_upload-field11 wa_upload-field12 wa_upload-field13 wa_upload-field14 wa_upload-field15 wa_upload-field16 wa_upload-field17 wa_upload-field18 wa_upload-field19 wa_upload-field20 wa_upload-field21 wa_upload-field22 wa_upload-field23
wa_upload-field24 wa_upload-field25 wa_upload-field26 wa_upload-field27 wa_upload-field28 wa_upload-field29 wa_upload-field30 wa_upload-field31 wa_upload-field32 wa_upload-field33 wa_upload-field34 wa_upload-field35 wa_upload-field36 .
APPEND wa_upload TO int_upload.
CLEAR wa_upload.
ENDIF.
ENDDO.
CLOSE DATASET pa_sfile.
Thanks in advance.
Quick suggestions are highly appreciated.
Best Regards,
Brahma ReddyThanks for the reply.
Here is the whole code.
Here iam submitting one job to the backgrond. But if iam executing it in debugging mode by changing the values of sy-batch( without submitting to background ) at run time, my program is working fine.
REPORT zvtraffic_carrier_upload
NO STANDARD PAGE HEADING LINE-SIZE 255
MESSAGE-ID zmmx.
*Data Declarations *
TABLES: vtrkh,
vekp,
zvship_non_pkgs.
declaration of data
DATA:
wf_filename LIKE ibipparms-path, "file with path
wf_file LIKE ibipparms-path, "file
wf_extsn(3) TYPE c , "file extension
wf_recnt TYPE i,
wf_recok TYPE i,
*+001 Begin
wf_string TYPE string,
wf_mess TYPE string,
wf_field1 TYPE string,
wf_field2(30) TYPE c,
wf_sum_source_file TYPE rlgrap-filename ,
wf_sum_dest_file TYPE rlgrap-filename ,
wf_path LIKE rlgrap-filename,
wf_path TYPE salfile-longname
VALUE '/usr/sap/nfs/erp/UTL/',
*+001 End
wf_complete_file LIKE pcfile-path. "total file path
declaration of counters
DATA:
wc_rec(6) TYPE c, "total record counter
wc_success_rec(6) TYPE c, "no of rec.having no errors
wc_error_rec(6) TYPE c, "no of rec. having errors
wc_rec_tot(6) TYPE c. "total records
Constants declarations
CONSTANTS:
wl_x(1) TYPE c VALUE 'X', "X
wl_1 TYPE i VALUE '1', "Integer value
wl_e(1) TYPE c VALUE 'E', "Char value
wl_mode TYPE c VALUE 'N',
wl_update TYPE c VALUE 'S',
wl_trackno(13) TYPE c VALUE 'Tracking No. ',
wl_tcode(14) TYPE c VALUE 'ZVTRAFFICINPUT',
*+001 Begin:
wl_id(11) TYPE c VALUE 'CARRIERFILE',
wl_adm(100) TYPE c VALUE '[email protected]',
wl_u(1) TYPE c VALUE 'U', " Email through Internet
wl_int(3) TYPE c VALUE 'INT', " Communication method
wl_urgent(6) TYPE c VALUE 'Urgent',
wl_raw(3) TYPE c VALUE 'RAW',
wl_descr(48) TYPE c VALUE 'SAP Alert: Carrier upload',
wl_file(128) TYPE c VALUE '/usr/sap/nfs/erp/UTL/carrier.xls',
wl_jobname LIKE tbtcjob-jobname VALUE 'ZVTRAFFIC_UP',
wl_variant LIKE raldb-variant VALUE 'VMM01_ZVTRFFIC',
wl_action TYPE zaction VALUE 'MOV', "For moving file to other dir
wl_i TYPE c VALUE 'I',
wl_cmd(50) TYPE c VALUE '/usr/sap/nfs/erp/UTL/',
wl_57 TYPE i VALUE 57,
wl_m1(2) TYPE c VALUE 'M1', "value M1
wl_m2(2) TYPE c VALUE 'M2', "value M1
*+001 End:
wl_xls(3) TYPE c VALUE 'xls', "Char value
wl_value(1) TYPE c VALUE ','. "Char value
*Internal Tables Declarations *
internal table for holding data from excel file
*+001 begin
TYPES : BEGIN OF ty_dir,
dir(132) TYPE c,
END OF ty_dir.
*internal table to get the files in the direactory
DATA : int_dir TYPE ty_dir OCCURS 0 WITH HEADER LINE .
*work area for int_dir
DATA : wa_int_dir LIKE LINE OF int_dir.
DATA: ifiles TYPE TABLE OF salfldir WITH HEADER LINE.
*+001 end
TYPES: BEGIN OF int_upload,
field1(30) TYPE c, "
field2(30) TYPE c, "
field3(30) TYPE c, "
field4(30) TYPE c, "
field5(30) TYPE c, "
field6(30) TYPE c, "
field7(30) TYPE c, "
field8(30) TYPE c, "
field9(30) TYPE c, "
field10(30) TYPE c, "
field11(30) TYPE c, "
field12(30) TYPE c, "
field13(30) TYPE c, "
field14(30) TYPE c, "
field15(30) TYPE c, "
field16(30) TYPE c, "
field17(30) TYPE c, "
field18(30) TYPE c, "
field19(30) TYPE c, "
field20(30) TYPE c, "
field21(30) TYPE c, "
field22(30) TYPE c, "
field23(30) TYPE c, "
field24(30) TYPE c, "
field25(30) TYPE c, "
field26(30) TYPE c, "
field27(30) TYPE c, "
field28(30) TYPE c, "
field29(30) TYPE c, "
field30(30) TYPE c, "
field31(30) TYPE c, "
field32(30) TYPE c, "
field33(30) TYPE c, "
field34(30) TYPE c, "
field35(30) TYPE c, "
field36(30) TYPE c, "
END OF int_upload.
DATA: int_upload TYPE STANDARD TABLE OF int_upload.
declaring bdc table
DATA: int_bdcdata LIKE STANDARD TABLE OF bdcdata
INITIAL SIZE 0 WITH HEADER LINE.
DATA: wa_bdcdata LIKE bdcdata.
DATA:int_messages TYPE
STANDARD TABLE OF bdcmsgcoll INITIAL SIZE 0.
TYPES: BEGIN OF ty_error_data,
errtext(500) TYPE c,
END OF ty_error_data.
DATA: wa_messages LIKE LINE OF
int_messages.
DATA: wa_error_data TYPE
ty_error_data .
DATA: int_error_data TYPE
STANDARD TABLE OF ty_error_data INITIAL SIZE 0.
*Work Area declarations
Work area
DATA:
wa_upload LIKE LINE OF int_upload. "work area for int_upload
Selection Screen
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS : pa_foreg RADIOBUTTON GROUP g1 USER-COMMAND rad DEFAULT 'X', " user command rad,
pa_backg RADIOBUTTON GROUP g1 .
SELECTION-SCREEN: SKIP.
Input File Location Specification
SELECTION-SCREEN BEGIN OF BLOCK b11 WITH FRAME TITLE text-002.
PARAMETERS pa_file LIKE rlgrap-filename
MODIF ID m1. "OBLIGATORY. "Input File -001
SELECTION-SCREEN END OF BLOCK b11.
*+001 Begin
SELECTION-SCREEN BEGIN OF BLOCK b12 WITH FRAME TITLE text-006.
PARAMETERS pa_sfile LIKE rlgrap-filename DEFAULT '/usr/sap/nfs/erp/UTL/carrier2'
LOWER CASE MODIF ID m2. " server filename
*PARAMETERS pa_batch AS CHECKBOX DEFAULT ' ' MODIF ID m2. "Background job
*+001 End
SELECTION-SCREEN END OF BLOCK b12.
SELECTION-SCREEN END OF BLOCK b1.
Event: INITIALIZATION
INITIALIZATION.
clear variables
refresh internal tables
REFRESH:int_upload.
clear Work areas
CLEAR: wa_upload.
A T S E L E C T I O N - S C R E E N
AT SELECTION-SCREEN ON VALUE-REQUEST FOR pa_file. "-001
subroutine to display the batch data input file location
PERFORM f_get_filename.
*+001 Begin:
AT SELECTION-SCREEN OUTPUT.
IF pa_backg = wl_x.
LOOP AT SCREEN.
IF screen-group1 = wl_m2.
screen-invisible = space.
screen-active = '1'.
MODIFY SCREEN.
ELSE.
IF screen-group1 = wl_m1.
screen-input = '0'.
MODIFY SCREEN.
ENDIF.
ENDIF.
ENDLOOP.
ELSE.
LOOP AT SCREEN.
IF screen-group1 = wl_m2.
screen-input = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR pa_sfile.
subroutine to display list of files in application server
PERFORM f_get_server_file.
*+001 End:
At Selection-Screen Event: validations check *
AT SELECTION-SCREEN .
validates the Selection Screen input
PERFORM f_check_input.
Event TOP-OF-PAGE
TOP-OF-PAGE.
Event: START-OF-SELECTION
START-OF-SELECTION.
*+001 Begin :
get the path for all files from the directory
PERFORM f_get_path.
set up background job
PERFORM f_background_job.
*+001 End:
*-001
CHECK pa_backg EQ ' '.
*-001
LOOP AT ifiles.
clear itab. refresh itab.
CONCATENATE wf_path ifiles-name INTO pa_sfile.
upload PC file to internal table int_UPLOAD
PERFORM f_upload_excel_file.
reformat data
PERFORM f_format_data.
upload formatted data into SAP system
break breddy.
PERFORM f_upload_data.
Event: END-OF-SELECTION
*END-OF-SELECTION.
display summary report
PERFORM f_display_report.
*+001 Begin
IF sy-batch = wl_x.
CONCATENATE '/usr/sap/trans/carrier2' '_'
sy-datum '_' sy-uzeit
INTO wf_sum_dest_file.
wf_sum_source_file = '/usr/sap/nfs/erp/UTL/carrier2'.
wf_sum_dest_file = '/usr/sap/trans/carrier2'.
ELSE.
wf_sum_source_file = pa_file.
wf_sum_dest_file = '/usr/sap/trans/carrier2'.
To move the processed file to Completed directory
PERFORM f_move_file_to_other_dir USING
wf_sum_source_file
wf_sum_dest_file.
ENDIF.
*+001 End
wait up to 60 seconds.
*& Form f_get_filename
Display the File Location
Called by: Main Program (AT SELECTION-SCREEN on VALUE-REQUEST)
Calls:
FORM f_get_filename.
CLEAR wf_filename.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
program_name = syst-cprog
dynpro_number = syst-dynnr
field_name = wf_fieldname
IMPORTING
file_name = wf_filename.
If the user press cancel button without selecting file name
then the file name will be initial and raise the error message
IF wf_filename IS INITIAL.
MESSAGE i000 WITH 'No File selected'(012).
LEAVE LIST-PROCESSING.
ENDIF.
pa_file = wf_filename.
ENDFORM. " f_get_filename
Form: F_CHECK_INPUT **
Description:
This subroutine is used to validate the Selection Screen inputs.
Called By: ZMISOPPLAN01 *
Calls: None *
FORM f_check_input.
if pa_foreg eq wl_X.
if sy-batch ne wl_X. " IF pa_foreg EQ wl_x. " +001
check file type
IF pa_file NS '.xls'.
MESSAGE e106.
ENDIF.
ENDIF. "+001
endif.
*+001 Begin:
wf_file = pa_sfile.
EXPORT wf_file TO MEMORY ID wl_id.
ENDIF. " Commented by Br
*+001 Begin
IF pa_backg EQ wl_x.
pa_sfile = '/usr/sap/nfs/erp/UTL/carrier2'.
OPEN DATASET pa_sfile FOR INPUT IN TEXT MODE ENCODING DEFAULT MESSAGE wf_mess.
IF sy-subrc NE 0.
MESSAGE e000(zmmx) WITH 'File not present in path /usr/sap/nfs/erp/UTL'.
LEAVE LIST-PROCESSING.
STOP.
ELSE.
CLOSE DATASET pa_sfile.
ENDIF.
ELSE.
OPEN DATASET pa_sfile FOR INPUT IN TEXT MODE ENCODING DEFAULT MESSAGE wf_mess.
IF sy-subrc NE 0.
MESSAGE e000(zmmx) WITH 'File not found:' pa_sfile.
LEAVE LIST-PROCESSING.
STOP.
ELSE.
CLOSE DATASET pa_sfile.
ENDIF.
ENDIF.
*+001 End:
ENDFORM. "f_check_input
*& Form f_upload_excel_file
Uploads an excel file from the workstation. The file is loaded *
into the internal table specified by int_out_tab. *
--> PA_FILE The name and path of the excel file to upload *
<-- int_UPLOAD Internal table that that will contain the data *
loaded from the excel file. *
FORM f_upload_excel_file.
*-001
TYPES truxs_t_text_data(4096) TYPE c OCCURS 0.
DATA: int_tab_input_data TYPE truxs_t_text_data.
*+001
IF sy-batch IS INITIAL.
*+001
uploading data into internal table int_upload from excel file
CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
EXPORTING
i_tab_raw_data = int_tab_input_data[]
i_filename = pa_file "-001
TABLES
i_tab_converted_data = int_upload
EXCEPTIONS
conversion_failed = 1
OTHERS = 2.
problems occur in file uploading
IF int_upload[] IS INITIAL.
MESSAGE i000 WITH 'No data uploaded from input file'(005).
LEAVE LIST-PROCESSING.
ENDIF.
*+001
ENDIF.
*+001
IF sy-batch = wl_x.
OPEN DATASET pa_sfile FOR INPUT IN TEXT MODE encoding default. " ENCODING DEFAULT MESSAGE wf_mess.
IF sy-subrc = 0.
DO.
READ DATASET pa_sfile INTO wf_string.
IF sy-subrc <> 0.
EXIT.
ELSE.
SPLIT wf_string AT cl_abap_char_utilities=>horizontal_tab INTO wa_upload-field1 wa_upload-field2 wa_upload-field3
wa_upload-field4 wa_upload-field5 wa_upload-field6 wa_upload-field7 wa_upload-field8
wa_upload-field9 wa_upload-field10 wa_upload-field11 wa_upload-field12 wa_upload-field13
wa_upload-field14 wa_upload-field15 wa_upload-field16 wa_upload-field17 wa_upload-field18
wa_upload-field19 wa_upload-field20 wa_upload-field21 wa_upload-field22 wa_upload-field23
wa_upload-field24 wa_upload-field25 wa_upload-field26 wa_upload-field27 wa_upload-field28
wa_upload-field29 wa_upload-field30 wa_upload-field31 wa_upload-field32 wa_upload-field33
wa_upload-field34 wa_upload-field35 wa_upload-field36 .
APPEND wa_upload TO int_upload.
CLEAR wa_upload.
ENDIF.
ENDDO.
CLOSE DATASET pa_sfile.
ELSE.
MESSAGE i000(zmmx) WITH 'File not found'.
LEAVE LIST-PROCESSING.
STOP.
ENDIF.
ENDIF.
+001
ENDFORM. "f_upload_excel_file
*& Form f_format_data
format the data to be uploaded
Called by: ZMISOPPLAN01
Calls: N/A
FORM f_format_data.
delete the header lines
DELETE int_upload WHERE
field1 CS 'SCAC' OR field1 CS 'Scac' OR field1 CS 'Carrier'.
delete lines with no carrier info
DELETE int_upload WHERE
field1 IS INITIAL OR field2 IS INITIAL.
SORT int_upload BY field2.
ENDFORM. " f_format_data
*& Form f_upload_data
Description:upload the data
FORM f_upload_data.
DATA: loc_priceperlb LIKE zvship_trk_data-act_per_lb,
loc_charprice(10) TYPE n,
loc_size TYPE i,
loc_pickupdate(10) TYPE c,
loc_totalwt LIKE zvship_trk_data-pkg_wgt.
CHECK NOT int_upload[] IS INITIAL.
DESCRIBE TABLE int_upload LINES wf_recnt.
LOOP AT int_upload INTO wa_upload.
SELECT COUNT(*) FROM zvship_trk_data WHERE trackn = wa_upload-field2.
IF sy-subrc = 0.
tracking no. exists in carrier database
CONCATENATE wl_trackno wa_upload-field2
' already exists in carrier tracking database' INTO
wa_error_data-errtext. "Error text of int_error_data
APPEND wa_error_data TO int_error_data.
ELSE.
SELECT SINGLE * FROM vtrkh WHERE trackn = wa_upload-field2.
IF sy-subrc <> 0.
tracking no. not in tracking database
CONCATENATE wl_trackno wa_upload-field2
' not found in tracking database' INTO
wa_error_data-errtext. "Error text of int_error_data
APPEND wa_error_data TO int_error_data.
ELSE.
must have freight charge
IF wa_upload-field20 IS INITIAL.
CONCATENATE wl_trackno wa_upload-field2
' has no total net charges' INTO
wa_error_data-errtext. "Error text of int_error_data
APPEND wa_error_data TO int_error_data.
CONTINUE.
ENDIF.
must have final delv. date
IF wa_upload-field25 IS INITIAL.
CONCATENATE wl_trackno wa_upload-field2
' has no final delivery date' INTO
wa_error_data-errtext. "Error text of int_error_data
APPEND wa_error_data TO int_error_data.
CONTINUE.
ENDIF.
all checks ok, build BDC for ZVTRAFFICINPUT
get total weight and compute price/lb
IF vtrkh-uevbtyp EQ wl_x.
SELECT SINGLE brgew INTO loc_totalwt
FROM zvship_non_pkgs
WHERE venum = vtrkh-vbeln.
ELSE.
SELECT SINGLE brgew INTO loc_totalwt
FROM vekp WHERE venum = vtrkh-vbeln.
ENDIF.
IF sy-subrc NE 0.
CONCATENATE wl_trackno wa_upload-field2
' has no total weight' INTO
wa_error_data-errtext. "Error text of int_error_data
APPEND wa_error_data TO int_error_data.
CONTINUE.
ENDIF.
price/lb = total net charges / total wt
loc_priceperlb = wa_upload-field20 / loc_totalwt.
WRITE loc_priceperlb TO loc_charprice LEFT-JUSTIFIED.
if no pickup date from VTRKH, use date from file
IF vtrkh-routeldat IS INITIAL.
loc_pickupdate = wa_upload-field23.
ELSE.
CALL FUNCTION 'CONVERSION_EXIT_PDATE_OUTPUT'
EXPORTING
input = vtrkh-routeldat
IMPORTING
output = loc_pickupdate.
ENDIF.
PERFORM f_set_bdc_val
USING :
'1' 'SAPLZVSHIP_TRAK' '0001',
' ' 'BDC_CURSOR' 'VIM_POSITION_INFO',
' ' 'BDC_OKCODE' '=AEND'.
PERFORM f_set_bdc_val
USING :
'1' 'SAPLZVSHIP_TRAK' '0001',
' ' 'BDC_CURSOR' 'ZVSHIP_TRK_DATA-EOD_DATE(01)',
' ' 'BDC_OKCODE' '=NEWL'.
PERFORM f_set_bdc_val
USING :
'1' 'SAPLZVSHIP_TRAK' '0002',
' ' 'BDC_CURSOR' 'ZVSHIP_TRK_DATA-TRACKN',
' ' 'ZVSHIP_TRK_DATA-TRACKN' wa_upload-field2,
' ' 'BDC_OKCODE' '/00'.
PERFORM f_set_bdc_val
USING :
'1' 'SAPLZVSHIP_TRAK' '0002',
' ' 'ZVSHIP_TRK_DATA-EOD_DATE' loc_pickupdate,
' ' 'ZVSHIP_TRK_DATA-ACT_DATE' wa_upload-field25.
IF NOT wa_upload-field15 IS INITIAL.
PERFORM F_SET_BDC_VAL
USING :
' ' 'ZVSHIP_TRK_DATA-PKG_WGT' wa_upload-field15. "Total Wt.
ENDIF.
PERFORM f_set_bdc_val
USING :
' ' 'ZVSHIP_TRK_DATA-ACT_FRT' wa_upload-field20,"Total Net charges
' ' 'ZVSHIP_TRK_DATA-ACT_SURCH' wa_upload-field18,"Fuel surcharge
' ' 'ZVSHIP_TRK_DATA-ACT_ACC' wa_upload-field19, "Accessorial ch.
' ' 'ZVSHIP_TRK_DATA-ACT_TOTAL' wa_upload-field16,"Gross Charges
' ' 'ZVSHIP_TRK_DATA-ACT_PER_LB' loc_charprice. "Price/LB
IF NOT wa_upload-field13 IS INITIAL.
PERFORM F_SET_BDC_VAL
USING :
' ' 'ZVSHIP_TRK_DATA-PKG_PAL' wa_upload-field13. "Pallet count
ENDIF.
IF NOT wa_upload-field14 IS INITIAL.
PERFORM F_SET_BDC_VAL
USING :
' ' 'ZVSHIP_TRK_DATA-PKG_PCS' wa_upload-field14. "Case count
ENDIF.
PERFORM f_set_bdc_val
USING :
' ' 'BDC_OKCODE' '=SAVE'.
PERFORM f_set_bdc_val
USING :
'1' 'SAPLZVSHIP_TRAK' '0002',
' ' 'BDC_OKCODE' '=UEBE'.
PERFORM f_set_bdc_val
USING :
'1' 'SAPLZVSHIP_TRAK' '0001',
' ' 'BDC_OKCODE' '=BACK'.
call transaction ZVTRAFFICINPUT
PERFORM f_call_zvtrafficinput.
ENDIF.
ENDIF.
ENDLOOP.
ENDFORM. " f_upload_data
FORM F_SET_BDC_VAL *
--> WG_DYNBEGIN *
--> WF_FIELDNAME *
--> WF_FIELDVAL *
FORM f_set_bdc_val USING
locf_dynbegin
locf_fieldname
locf_fieldval.
CLEAR wa_bdcdata.
IF locf_dynbegin = wl_1. "'1'.
wa_bdcdata-program = locf_fieldname.
wa_bdcdata-dynpro = locf_fieldval.
wa_bdcdata-dynbegin = wl_x. "'X'.
ELSE.
wa_bdcdata-fnam = locf_fieldname.
wa_bdcdata-fval = locf_fieldval.
ENDIF.
APPEND wa_bdcdata TO int_bdcdata.
ENDFORM. "F_SET_BDC_VAL
*& Form F_CALL_ZVTRAFFICINPUT
text
--> p1 text
<-- p2 text
FORM f_call_zvtrafficinput .
DATA: locf_last_rec TYPE sy-index,
wf_msgstring(128) TYPE c.
DATA: loc_mode TYPE c.
loc_mode = 'N'. "+001 needs to be changed
CALL TRANSACTION wl_tcode
USING int_bdcdata
MODE 'A'
MODE wl_mode "In Backgrnd(N)
MODE loc_mode
UPDATE wl_update "(S)ynchr mode "+001
MESSAGES INTO int_messages.
In case there are errors in call transaction
IF sy-subrc <> 0.
DESCRIBE TABLE int_messages LINES locf_last_rec.
READ TABLE int_messages INTO wa_messages
INDEX locf_last_rec.
PERFORM f_fill_bdc_error USING wa_upload-field2 wf_msgstring.
ELSE.
Keep count of successfully process records
wf_recok = wf_recok + 1.
PERFORM f_fill_bdc_success USING wa_upload-field2.
ENDIF.
REFRESH: int_bdcdata, int_messages.
ENDFORM. " F_CALL_ZVTRAFFICINPUT
*& Form f_fill_bdc_success
text
-->P_WA_UPLOAD_FIELD2 text
FORM f_fill_bdc_success USING p_wa_upload_field2.
CONCATENATE wl_trackno p_wa_upload_field2 '- Entry added'
INTO
wa_error_data-errtext. "Success message
APPEND wa_error_data TO int_error_data.
ENDFORM. " f_fill_bdc_success
*& Form f_fill_bdc_error
text
-->P_WA_UPLOAD_FIELD2 text
-->P_WF_MSGSTRING text
FORM f_fill_bdc_error USING p_wa_upload_field2
p_wf_msgstring.
CONCATENATE wl_trackno p_wa_upload_field2
'- Error : ' p_wf_msgstring
INTO
wa_error_data-errtext. "Error text of int_error_data
APPEND wa_error_data TO int_error_data.
ENDFORM. " f_fill_bdc_error
*& Form f_display_report
text
FORM f_display_report.
*+001 Begin:
DATA: reclist LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
doc_chng LIKE sodocchgi1,
objcont LIKE solisti1 OCCURS 0 WITH HEADER LINE.
DATA: loc_recnt(4) TYPE c,
loc_recok(4) TYPE c.
*+001 End:
if sy-batch ne wl_x. "+001
ULINE /1(175).
WRITE:/ 'Date/Time: '(006) COLOR COL_HEADING,
sy-datum DD/MM/YYYY, '/',sy-uzeit,
40 'Uploading of Carrier Information to ZVTRAFFIC'.
ULINE /1(175).
SKIP.
WRITE:/ 'Following File Has Been Processed'.
/ pa_file. "-001
SKIP.
WRITE:/ 'Number of records read:', wf_recnt.
WRITE:/ 'Number of records processed successfully:', wf_recok.
SKIP.
LOOP AT int_error_data INTO wa_error_data.
WRITE :/ wa_error_data-errtext.
ENDLOOP.
*+001 Begin:
ELSE.
IMPORT wf_file FROM MEMORY ID wl_id.
reclist-receiver = wl_adm.
reclist-rec_type = wl_u.
reclist-com_type = wl_int.
APPEND reclist.
doc_chng-obj_name = wl_urgent.
doc_chng-obj_descr = wl_descr.
CONCATENATE 'Date/Time: ' sy-datum '/' sy-uzeit
'Uploading of Carrier Information to ZVTRAFFIC'
INTO objcont SEPARATED BY space.
APPEND objcont.
*-001
CONCATENATE 'Following File Has Been Processed' pa_file
INTO objcont SEPARATED BY space.
APPEND objcont.
*-001
loc_recnt = wf_recnt.
CONCATENATE 'Number of records read:' loc_recnt
INTO objcont SEPARATED BY space.
APPEND objcont.
loc_recok = wf_recok.
CONCATENATE 'Number of records processed successfully:' loc_recok
INTO objcont SEPARATED BY space.
APPEND objcont.
LOOP AT int_error_data INTO wa_error_data.
MOVE wa_error_data-errtext TO objcont.
APPEND objcont.
ENDLOOP.
CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
EXPORTING
document_type = wl_raw
document_data = doc_chng
put_in_outbox = wl_x
commit_work = wl_x
TABLES
object_content = objcont
receivers = reclist
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
operation_no_authorization = 4
OTHERS = 99.
IF sy-subrc EQ 0.
MESSAGE s205. "email sent
ELSE.
MESSAGE i206. "email not sent
ENDIF.
ENDIF.
*+001 End:
ENDFORM. " f_display_report
*& Form f_background_job
text
--> p1 text
<-- p2 text
FORM f_background_job .
DATA: loc_jobcount LIKE btch1150-jobcount.
IF pa_backg = wl_x.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = wl_jobname
jobclass = 'A'
IMPORTING
jobcount = loc_jobcount
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE i000(zmmx) WITH 'JOB_OPEN failed.' 'sy-subrc =' sy-subrc.
LEAVE LIST-PROCESSING.
ENDIF.
CALL FUNCTION 'JOB_SUBMIT'
EXPORTING
extpgm_param = pa_file
authcknam = sy-uname
jobcount = loc_jobcount
jobname = wl_jobname
report = sy-repid
variant = wl_variant
EXCEPTIONS
bad_priparams = 1
bad_xpgflags = 2
invalid_jobdata = 3
jobname_missing = 4
job_notex = 5
job_submit_failed = 6
lock_failed = 7
program_missing = 8
prog_abap_and_extpg_set = 9
OTHERS = 10.
IF sy-subrc <> 0.
MESSAGE i000(zmmx) WITH 'JOB_SUMBMIT failed.' 'sy-subrc =' sy-subrc.
LEAVE LIST-PROCESSING.
ENDIF.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = loc_jobcount
jobname = wl_jobname
strtimmed = 'X'
EXCEPTIONS
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
OTHERS = 8.
IF sy-subrc <> 0.
MESSAGE i000(zmmx) WITH 'JOB_CLOSE failed.' 'sy-subrc =' sy-subrc.
LEAVE LIST-PROCESSING.
ELSE.
MESSAGE i000(zmmx) DISPLAY LIKE wl_i WITH 'Background job submitted'.
LEAVE LIST-PROCESSING.
wait up to 60 seconds.
STOP.
ENDIF.
ENDIF.
ENDFORM. " f_background_job
*& Form f_get_server_file
text
--> p1 text
<-- p2 text
FORM f_get_server_file .
CLEAR: wf_filename.
following function module display the list of application file and
directories in a pop up window
CALL FUNCTION '/SAPDMC/LSM_F4_SERVER_FILE'
IMPORTING
serverfile = wf_filename
EXCEPTIONS
canceled_by_user = 1
OTHERS = 2.
If the user press cancel button without selecting file name
then the file name will be initial and raise the error message
IF wf_filename IS INITIAL.
MESSAGE i000 WITH 'No File selected'(012).
LEAVE LIST-PROCESSING.
ENDIF.
pa_sfile = wf_filename.
ENDFORM. " f_get_server_file
*& Form f_move_file_to_other_dir
To move the
FORM f_move_file_to_other_dir USING locf_source_file
locf_dest_file.
CALL FUNCTION 'Z_FILE_HANDLING_UTILITY'
EXPORTING
action = wl_action "VALUE 'mov'
source_physical_file_name = locf_source_file
dest_physical_file_name = locf_dest_file
EXCEPTIONS
invalid_action = 1
invalid_file_type = 2
file_type_missing = 3
file_type_not_required = 4
source_file_missing = 5
source_filename_error = 6
destination_not_required = 7
destination_missing = 8
multiple_file_names = 9
file_deletion_error = 10
invalid_source_file = 11
file_read_error = 12
file_write_error = 13
file_rename_error = 14
file_move_error = 15
destination_file_exists = 16
OTHERS = 17.
IF sy-subrc <> 0.
MESSAGE i000(zmmx) WITH 'Error in Moving Process directory to completed Directory'(004).
LEAVE LIST-PROCESSING.
ENDIF.
ENDFORM. " f_move_file_to_other_dir
*& Form f_get_path
text
--> p1 text
<-- p2 text
FORM f_get_path .
CALL FUNCTION 'RZL_READ_DIR_LOCAL'
EXPORTING
name = wf_path
TABLES
file_tbl = ifiles
EXCEPTIONS
argument_error = 1
not_found = 2
OTHERS = 3.
DELETE ifiles WHERE name+0(1) = '.'.
DELETE ifiles WHERE name+0(1) NE 'w'.
ENDFORM. " f_get_path
Regards,
Brahma Reddy -
Help with Designing a Website Call to Action Background
Hi there,
This is my first post here, but I am having a bit of trouble designing a background call to action background for my website. My website is a common responsive 980px site but the problem is how I should go about designing a background that will properly adjust to the reponsive nature of the site.
If you want to have a look at what I mean here is my site, Galactic FX,
Any help would be greatly appreciated,
Kieren Hovasapian.Mazza,
Try this VI out. It returns a boolean instead of an integer, but this is really the same thing from what you are talking about.
You would use this VI as a subVI. It will pop up and allow user data entry. It passes the boolean out of it to see if the login was successful or not. You could also change things so that the password comparison (password in my case) is an input to the subVI as well.
Randy Hoskin
Applications Engineer
National Instruments
http://www.ni.com/ask
Attachments:
Timed_login_panel.vi 29 KB -
Problem in calling method with object in another class
Hi All,
Please tell me the solution, I have problem in calling a method I am posting the code also
First Program:-
import java.io.*;
public class One
public One()
System.out.println("One:Object created");
public void display()
System.out.println("One:executing the display method");
static
System.out.println("One:executing the static block");
Second Program:-
import java.io.*;
public class Two
public Two()
System.out.println("Two:Object created");
public static void main(String arg[])throws Exception
System.out.println("Two:executing the main method");
System.out.println("Two:loading the class and creating the object::One");
Object o=Class.forName("One").newInstance();
System.out.println(o);
o.display(); //displaying error here in compile time.
static
System.out.println("Two:executing the static block");
waiting for your answer,
thanks in advance,bye.Hi All,
Please tell me the solution, I have problem in
calling a method I am posting the code also
First Program:-
import java.io.*;
public class One
public One()
System.out.println("One:Object created");
public void display()
System.out.println("One:executing the display
method");
static
System.out.println("One:executing the static
block");
Second Program:-
import java.io.*;
public class Two
public Two()
System.out.println("Two:Object created");
public static void main(String arg[])throws
Exception
System.out.println("Two:executing the main
method");
System.out.println("Two:loading the class and
creating the object::One");
Object o=Class.forName("One").newInstance();
System.out.println(o);
o.display(); //displaying error here in compile
time.
static
System.out.println("Two:executing the static
block");
waiting for your answer,
hanks in advance,bye.the line
o.display()
could be written as
((One)o).display(); -
Problem with calling on some numbers
Hi my mum has problem with calling on my number. She is in the USA and has a lof of money on her Skype account. When she was in Poland (country when I am now) she could without any troubles calling on my number. What is wird now in the USA she can call on some other polish numbers (I think that Skype doesn't support connection with my mobile operator).
I fell deceived because I created Skype account and transfered some money on it for my mum to give her possibility to call to me. Is possible to fix it? Is somewhere table with can help me check which one numbers (mobile operators) Skype supports in the USA?
My mom used Skype from Android smartphone.Hi my mum has problem with calling on my number. She is in the USA and has a lof of money on her Skype account. When she was in Poland (country when I am now) she could without any troubles calling on my number. What is wird now in the USA she can call on some other polish numbers (I think that Skype doesn't support connection with my mobile operator).
I fell deceived because I created Skype account and transfered some money on it for my mum to give her possibility to call to me. Is possible to fix it? Is somewhere table with can help me check which one numbers (mobile operators) Skype supports in the USA?
My mom used Skype from Android smartphone. -
Character conversion problems when calling FM via RFC from Unicode ECC 6.0?
Hi all,
I faced a Cyrillic character convertion problem while calling an RFC function from R/3 ECC 6.0 (initialized as Unicode system - c.p. 4103). My target system is R/3 4.6C with default c.p. 1500.
The parameter I used in my FM interface in target system is of type CHAR10 (single-byte, obviously).
I have defined rfc-connection (SM59) as an ABAP connection and further client/logon language/user/password are supplied.
The problem I faced is, that Cyrillic symbols are transferred as '#' in the target system ('#' is set as default symbol in RFC-destination definition in case character convertion error is met).
Checking convertions between c.p. 4103 and target c.p. 1500 in my source system using tools of transaction i18n shows no errors - means conversion passed O.K. It seems default character conversion executed by source system whithin the scope of RFC-destination definition is doing something wrong.
Further, I played with MDMP & Unicode settings whithin the RFC-destination definition with no successful result - perhaps due to lack of documentation for how to set and manage these parameters.
The question is: have someone any experience with any conversion between Unicode and non-Unicide systems via RFC-call (non-English target obligatory !!!), or can anyone share valuable information regarding this issue - what should be managed in the RFC-destination in order to get character conversion working? Is it acceptable to use any character parameter in the target function module interface at all?
Many thanks in advance.
Regards,
Ivaylo Mutafchiev
Senior SAP ABAP Consultanthey,
I had a similar experience. I was interfacing between 4.6 (RFC), PI and ECC 6.0 (ABAP Proxy). When data was passed from ECC to 4.6, RFC received them incorrectly. So i had to send trimmed strings from ECC and receive them as strings in RFC (esp for CURR and QUAN fields). Also the receiver communication channel in PI (between PI and RFC) had to be set as Non unicode. This helped a bit. But still I am getting 2 issues, truncation of values and some additional digits !! But the above changes resolved unwanted characters problem like "<" and "#". You can find a related post in my id. Hope this info helps.. -
Creation of spool for job created by calling FM in background task
Hi Gurus,
1.Wanted to confirm if it is possible to attach spool to the job that has been created by calling a function module in background task.
Currently I have created one RFC enabled FM and called it in background task. It runs fine, and the job is created which can be seen in SM37. But it does not contain the spool even if the RFC FM contains the code for list ALV.
2. Also is it possible to control the name of the job created by calling the RFC FM in background task?
Code for calling the FM is given below(ZK_XX is th RFC FM):
CALL FUNCTION 'ZK_XX' IN BACKGROUND TASK
CALL FUNCTION 'START_OF_BACKGROUNDTASK'
EXPORTING
startdate = sy-datum
starttime = sy-uzeit
NOSEND = ' '
COMMIT WORK.
Thanks a lot for your help!!
Warm Regards,
RaveeshThanks for replying.
I need to do the processing in background. Hence using 'IN BACKGROUND TASK' addition.
Please let me knowif you have some idea.
Thanks & Warm Regards,
Raveesh -
Hello apple
I have the problem with my iPhone and my friends have this problem too.
My iPhone have the problem about calling and answer the call. When I use my iPhone to call I can't hear anything from my iPhone but the person that I call can answer it but when answer both of us can't hear anything and when I put my iPhone to my face the screen is still on and when I quit the phone application and open it again it will automatic call my recent call. And when my friends call me my iPhone didn't show anything even the missed call I'm only know that I missed the call from messages from carrier. Please check these problem I restored my iPhone for 4 time now in this week. I lived in Hatyai, Songkhla,Thailand and many people in my city have this problem.
Who have this problem??Apple isnt here. this is a user based forum for technical questions. The solution is to restart, reset, and restore as new which is in the manual after that get it replaced for hard ware failure. if your within your one year warranty its replaced if it is out of the warranty then it is 199$
-
Since i update my iPhone 5 with IOS 7.0.2, I start to have serious problems to call or receive calls from other telephones: is not possible to open the call at the first try. Somebody have the same problem?
Try
Reset: Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Note: You will not lose any data -
Problem in calling BRI from PRI
Hi,
I am having problem in calling BRI from PRI. I am getting below message while debugging. Also note that calling from BRI to PRI is successful.
Mar 2 23:38:22: ISDN BR0/0 Q931: RX <- SETUP pd = 8 callref = 0x04
Sending Complete
Bearer Capability i = 0x8890
Standard = CCITT
Transer Capability = Unrestricted Digital
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0x89
Progress Ind i = 0x8281 - Call not end-to-end ISDN, may have in-band info
Calling Party Number i = 0x2183, '1726601501'
Plan:ISDN, Type:National
*Mar 2 23:38:22: ISDN BR0/0:1: Incoming call rejected, unbindable
*Mar 2 23:38:22: ISDN BR0/0 **ERROR**: host_incoming_call: DIALER ERROR 0x1: b channel 0, call id 0x15E
*Mar 2 23:38:22: ISDN BR0/0 Q931: TX -> RELEASE_COMP pd = 8 callref = 0x84
Cause i = 0x8095 - Call rejected
Pls help me.
Anis
9229109694Dear Dharmesh,
Can u pls explain where to enable PPP Multilink.
Dear p.bevilacqua ,
I did what u told (configure "ppp chap username" under dialer interface), but the problem is same.
Anis -
Problem with CALL TRANSFORMATION xml - abap
Hello!
I got the following problems using call transformation to read a xml-file to local abap datatype!
Simple xml file for testing:
<BMECAT>
<HEADER>
asdf
</HEADER>
</BMECAT>
XSLT file:
<xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:sap="http://www.sap.com/sapxsl" version="1.0">
<xsl:template match="/">
<xsl:value-of select="./BMECAT/HEADER"/>
</xsl:template>
</xsl:transform>
The xslt transformation works with xslt-tester!
My Source:
DATA: xmlupl TYPE string,
outputx TYPE XSTRING,
lv_string TYPE string.
* in xmlupl my xml import is stored
CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
EXPORTING
text = xmlupl " variable type string
IMPORTING
buffer = outputx. " variable type xstring
TRY .
CALL TRANSFORMATION path_to_xslt_file
SOURCE XML outputx
RESULT HEADER = lv_string.
CATCH cx_xslt_exception INTO xslt_error.
data: xslt_message type string .
xslt_message = xslt_error->get_text( ).
ENDTRY.
After debugging in xslt_message is stored the following text:
"The element abap was expected for the XML-ABAP transformation"
Can anyone help me with this problem?
Regards,
Danielhi
good
try this code
Just look at this piece of code, I think it should help you.
DATA : ITAB TYPE TABLE OF SPFLI,
L_XML TYPE REF TO CL_XML_DOCUMENT.
SELECT * FROM SPFLI INTO TABLE ITAB.
CREATE THE XML OBJECT
CREATE OBJECT L_XML.
CONVERT THE DATA TO XML
CALL METHOD L_XML->CREATE_WITH_DATA( DATAOBJECT = ITAB[] ).
DATA IS CONVERTED TO XML; DISPLAY THE XML-DOCUMENT
CALL METHOD L_XML->DISPLAY.
thanks
mrutyun^ -
Call function in background task... How to get the result?
I want to use Call function in background task parameter.
But I cannot find the result of this function. (No export parameter, no table result, no exception)
How to get the result of this function module? Correct or not?Hi Heinz,
You can check the result in SM58 transaction.
For more information pls. refer this thread :
No IMPORTING parameters allowed in CALL FUNCTION IN BACKGROUND TASK
Best regards,
Prashant -
Call transaction in background in report
I have a report in which I call a transaction, but the requirement is that I have to call it in background.
Can you please suggest how I can achieve this.
<removed_by_moderator>
Edited by: Julius Bussche on Aug 26, 2008 3:20 PMHi charles,
Use the mode 'N'
Example:-
DATA:
fs_opt TYPE ctu_params.
fs_opt-dismode = 'N'.
CALL TRANSACTION 'PA30' USING t_bdcdata OPTIONS FROM fs_opt.
Luck,
Bhumika -
Call transaction in Background job
Hi,
I am executing a program in background. In that program I am having a CALL TRANSACTION as below:
CALL TRANSACTION 'ME22'
USING g_t_bdctab
MODE 'N'
UPDATE 'S'
MESSAGES into g_t_bdcmsg.
But it is not working. The same is working when the program is executed in foreground.
Is this means, we cannot have CALL TRANSACTION in background?
If Yes, then what could be the solution for it?
Thanks,
Pankaj.Hello Pankaj,
Call transaction works in background.
Provided you are not picking file from presentation server.
If you are picking file from presentation server, place the same file in application server and during background job pick the file from application server then your program works perfectly.
Regards,
Tarun
Maybe you are looking for
-
I purchased a bunch of songs last month and one song won't play. Every time I try to play it the window pops up to authorize my computer to play that particular purchase. I tried all of the suggestions that Itunes support send me to. Nothing has work
-
This site doesn't seem to get answers. I typed the problem above, then it asks same question before post. What help is that? Needs to be clearer what it wants from me. Others seem to have same issues with iDVD's clarity of information. I have been
-
Good morning all ps guies I need help from u I m doing customer project. My top WBS element is account assignment and billing element. This wbs is assigned to scales order .I m getting cost and revenues on this wbs element. Now i want to settle this
-
Weird Crash due to Pattern Transition
I have wracked my brain over this issue recently, and I wonder if anyone else encountered this problem. I am running Director 11.5 (build 596) on a recent MacBook Pro. Director crashed on me reliably after I imported a previous movie from a G4 Powerb
-
Well have a look at this simple code I just want to get the item selected in the JList selected to be written in the JTextArea....It compiles ok but when it runs this is the error in the actually JText area......"[Ljava.lang.object,@2611a7]" What eve