DUMP ERROR UNICODE PROG NOT CONVERTABLE
Hi,
I am doing upload data from excel sheet and i have a dump in the function module AA_FILE_UPLOAD_EXCEL. and the dump error is showing as below :
Data objects in a Unicode program are not convertible.
and the error in the FM line show below
000870 ? CONCATENATE ls_result <lfs_excel
000880 ? IN CHARACTER MODE.
000890 ? CONDENSE ls_result.
000900 ?
000910 ? AT END OF row.
> ? et_filecontent = ls_result.
000930 ? APPEND et_filecontent.
000940 ? CLEAR et_filecontent.
000950 ? * Set previouse column to zero
000960 ? ld_prev_col = 0.
000970 ? ENDAT.
Pls help me to solve the issue and thanks ful to you.
Thanks,
RAJ
Hi Rajendra
To avoid the dump, please proceed as below:
1. If you system is <b>Unicode enabled</b>, please make sure that you transfer contents of one structure to other individually especially when there are other than CHAR fields.
Eg: struc2-fld1 = struc1-fld1...
2. If you are in <b>Non-Unicode System</b>: SE38-> Goto -> Attributes. Uncheck the option: "<b>Unicode Checks Active</b>".
Kind Regards
Eswar
Similar Messages
-
Dump error: Dynpro does not exist while in transaction me31L / me31k /ME41
Hi Experts
I am experiencing dump while attempting to create Schedule agreement/contract.
Error analysis
The system attempted to use dynpro 0201 in program "SAPLXM06".
This dynpro does not exist.
Trigger Location of Runtime Error
Program SAPLX06
Include MM06EO0C_CUSTSCR1_HEAD_SET_DAT
Row 10
Module type (MODULE PBO)
Module Name EXIT_SAPLEINM_013
Please suggest the correction
Reagrds,
Ankush ShindeHi,
This looks like some one is playing around with screen exits. Open the FM EXIT_SAPLEINM_013 in se37. Double click on include
ZXM06U35 and check the status of this include. I hope this is in Inactive status because of some syntax error.
If above is correct, then check and correct the syntax errors.
Also can you see what is the main program SAPLXM06 status. If not active, try to activate it in SE80.
Thanks,
Vinod. -
Dump error: Dynpro does not exist while in transaction me41 / me31k
Hi Experts
I am experiencing dump while attempting to create rfq/contract.
Error analysis
The system attempted to use dynpro 0301 in program "SAPLXM06".
This dynpro does not exist.
Trigger Location of Runtime Error
Program SAPMM06E
Include MM06EO0C_CUSTSCR1_HEAD_SET_DAT
Row 10
Module type (MODULE PBO)
Module Name CUSTSCR1_HEAD_SET_DATA
Please suggest the correction
warm regards
mariasHi, Dhananjaya Raj,,
I am facing same issue with same ABAP dump and error ? How you resolve it ?
please share your footprint. thanks in advance ... -
Dump error: Dynpro does not exist while in transaction me31K
HI,
I am getting dump while creating the Contract in ME31K.
hort text
Dynpro does not exist
hat happened?
Error in the ABAP Application Program
The current ABAP program "SAPLXM06" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
rror analysis
The system attempted to use dynpro 0201 in program "SAPLXM06".
This dynpro does not exist.
rigger Location of Runtime Error
Program SAPLXM06
Include MM06EO0C_CUSTSCR1_HEAD_SET_DAT
Row 10
Module type (FUNCTION)
Module Name EXIT_SAPLEINM_013Hello,
use transaction SMOD to check SAP enhancement MM06E005 in your system. Screen SAPLXM06 0201 is the contract header subscreen. The system report it missing because the enhancement MM06E005 (Customer fields in purchasing document) was activated in your system, but not implemented. So either disable/delete the enhancement or create a subscreen.
regards,
J.N.N. -
" could not convert Unicode characters (23::46) "
I am suddently received an error message: " could not convert Unicode characters (23::46) " on my OS X version 10.9, when I trying to open a template. I have no problem to open the file on my friend's pc tho.. Any suggestion how to fix it greatly appreciated.
Thanks,
Andy,There is some character in the file name or the path name for the file that After Effects doesn't recognize. What is the full path and file name of this project?
-
Dump error while saving data in ICMNOTE01 slandered transaction
I'm working in a slandered transaction ICMNOT01, once I'll input the details for creation of claim and press Save option I am getting a dump error.
Since its a standard transaction we can't have access to do any changes, then what will the right way to solve this issue ,
do I've to send the dump error to SAP NOTE / Market to get the solution, or what would be the right way to resolve the issue. Please suggest.you can try the followings:
If you have a control on your data base, then you can change the FK constraint to be DEFERRABLE, thus the FK value will be checked after commit,
I used this method once and it it works fine.
to alter your FK to be DEFERRABLE
check this:
http://infolab.stanford.edu/~ullman/fcdb/oracle/or-triggers.html#deferring%20constraint%20checking -
Tables Mutually not convertable
HI experts,
The following is the code.
I am Passing the structure of zdfies to f_itab here.
But it throws an error telling mutually not convertable.
How to solve this?
DATA: w_fies TYPE dfies.
DATA: p_itab TYPE REF TO data,
ftab TYPE ddfield,
f_itab TYPE lvc_t_fcat.
FIELD-SYMBOLS: <itab> TYPE STANDARD TABLE.
LOOP AT zdfies INTO w_fies.
IF w_fies-fieldname+0(5) EQ '/BIC/'.
w_fies-fieldname = w_fies-fieldname+5.
APPEND w_fies to zdfies .
ENDIF.
ENDLOOP.
f_itab[] = zdfies[]./****Throwing error mutually not convertable***?
CALL METHOD cl_alv_table_create=>create_dynamic_table
EXPORTING
it_fieldcatalog = f_itab
IMPORTING
ep_table = p_itab
EXCEPTIONS
generate_subpool_dir_full = 1
OTHERS = 2.
ASSIGN p_itab->* TO <itab>.
<itab>[] = <lt_data>[].HI
U need to transfer the data manually, field by field
DATA W_ITAB TYPE LVC_S_FCAT.
LOOP AT ZDFIES INTO W_FIES.
W_ITAB-TABNAME = W_FIES-TABNAME.
W_ITAB-FIELDNAME = W_FIES-FIELDNAME.
APPEND W_ITAB TO F_ITAB.
ENDLOOP.
Probably there several fields of LVC_S_FCAT and DFIES having the same name, so you can try to use MOVE-CORRESPONDING, but you need to make sure all information are transfered from ZDFIES to F_ITAB:
LOOP AT ZDFIES INTO W_FIES.
MOVE-CORRESPONDING W_ITAB TO W_FIES.
APPEND W_ITAB TO F_ITAB.
ENDLOOP.
Max -
Error message:can't convert int to int[]
Hi,
I am trying to build a java code which convert decimal to binary
but ,I found error message "can not convert int to int[]"
some line of code:
int i=12,n=0;
int arr[n]=i%2;
n++;
here I am trying to store remainder in an integer arrary.
how can i do this???????
guide me please
-shobhit singhshobhit_onprob wrote:
i want to store some integer values in to an integer arraryDid you follow the address that was given to you? I doubt it, and even if you did, 2 minutes is not enough time to read, let alone understand, the tutorial.
Go back there, it describes all the basics you need. -
PCUI showing dump errors after EEWB enhancement
Hi Experts,
I'm using CRM5.0.
After adding some fields by EEWB(Easy Enhancement Workbench) the PCUI application showing several dump errors in several places. How to correct this problem, should I regenerate all the layout by CRMC_BLUEPRINT or any other way is there to correct these errors. Please suggest a solution for that.This is very urgent.
Thanks In Advance
RanaHi Fred,
1>
Whenever I'm clicking F4 help button beside service prospect,contact person etc the following dump is coming as in opportunity transaction (CRMD_BUS2000111) likewise other transactions also.
Note
The following error text was processed in the system CS1 : CRM_BSP_LIBRARY:structureEdit: Act. table parameter gt_layout is empty
The error occurred on the application server nmpcsssb1_CS1_01 and in the work process 0 .
The termination type was: ERROR_MESSAGE_STATE
The ABAP call stack was:
Method: IF_BSP_ELEMENT~DO_AT_BEGINNING of program CL_CRM_BSP_STRUCTUREEDIT======CP
What can I do?
If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system CS1 in transaction ST22.
If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server nmpcsssb1_CS1_01 in transaction SM21.
If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server nmpcsssb1_CS1_01 . In some situations, you may also need to analyze the trace files of other work processes.
If you do not yet have a user ID, contact your system administrator.
Error code: ICF-IE-http -c: 500 -u: ABAP1 -l: E -s: CS1 -i: nmpcsssb1_CS1_01 -w: 0 -d: 20070521 -t: 115438 -v: ERROR_MESSAGE_STATE -e: CRM_BSP_LIBRARY:structureEdit: Act. table parameter gt_layout is empty
HTTP 500 - Internal Server Error
Your SAP Internet Communication Framework Team
second error:
2>
Whenever any business partner is selected in partner id of partner tab ,partner fn(sold-to-party) then it is showing the following dump error.
SAP Note
The following error text was processed in the system:
An exception with the type CX_SY_DYN_CALL_PARAM_NOT_FOUND occurred, but was neither handled locally, nor declared in a RAISING clause
Exception Class CX_SY_DYN_CALL_PARAM_NOT_FOUND
Error Name
Program CL_CRM_BSP_INTLAY_PARTNER=====CP
Include CL_CRM_BSP_INTLAY_PARTNER=====CM002
ABAP Class CL_CRM_BSP_INTLAY_PARTNER
Method PUT_DATA
Line 1269
Long text Call of the function CRM_PARTNER_GET_COM_BY_STRUCT failed: The formal parameter ET_RETURN_VALUES does not exist.
EEWB used to add a field Account No in Service order transaction.
which is now reflecting to all the transaction as a customer field.
Thanks
Koustav -
Hello,
I'm getting the following error message:
After Effects error: could not convert Unicode characters. (23 :: 46)
I have yet to find an answer that works to resolve this problem. I'm using CS6 on an HP Z220 on Windows 7.
Thanks in advance.So I solved the problem. A little history for this situation: I created a new AE project and while attempting to import a file received the error message: After Effects error: could not convert Unicode characters. (23 :: 46)
I then tried to import a Vanishing Point which broken the spell on the error message and allowed the menu to select a vanishing point to appear. I closed out of that and was then able to import files. -
AE error: Could not convert Unicode Characters
Hey guys,
I purchased the Video Copliot Action essentials 2 (720p). Whenever I try to import or drag and drop the pre-keyed clips (quicktime .mov format) into AE, I get the After Effects error: could not convert Unicode Characters (23 ::46) . I found an article online that said to make changes to the text in whatever Im importing, but umm it's a video, not text.
I am using AE cs5.
I can import the clips just fine into Premier Pro and export them oddly enough in Quicktime format just fine, however I lose the transperency "pre-keyed" , that's somehow embedded into the original video, therefore I now have a video of smoke, but with a non removable black background.
Please help! thanks!Hey man i made an account just to reply to this, i had the same error come up while i was importing video files so i had a look around and found that it had something to do with the language/coding not being recognised, so i looked closer into the footage and tried different method of importing the file and later realised that after effects didnt recognise some of the characters in the file path way, the original folder was created using a macbook, windows recognises the language but after effects didnt, so i moved the file to my desktop and tried to import it again and presto it worked fine, you may not have the same problem but i thought just incase you do, you should try moving the file,
if not heres a thread for the error:
http://helpx.adobe.com/after-effects/kb/error-could-convert-unicode-characters.html
hope that could be of some help.
Zai -
Hello I just created a project in AE CC and wanted to save also a version for CS6.
All went ok but when I tried to open the project in CS6 I received the following error:
"After Effects error: could not convert Unicode characters. (23::46)"
Does anyone know what that means and how to fix it?After Effects CC is much, much better at handling characters that are outside of the character set used by the OS at its current language settings. So, file names and paths (and other strings) that work fine in After Effects CC and later may fail with earlier versions.
For example, if you are running your OS and applications in English and have Chinese characters in your file names, After Effects CS6 and earlier will fail, but After Effects CC and earlier will succeed. -
Dump error while executing this unicode program.....
Hi,
I got a program for 'Production Order Quantity Change Daily Checklist' ,but while executing i got the dump error from the following program stating tat,
The current statement is only defined for character-type data objects.
Error in the ABAP Application Program
The current ABAP program "ZPROD" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
For the statement
"READ DATASET ... INTO f"
only character-type data objects are supported at the argument position
"f".
In this case. the operand "f" has the non-character-type "u". The
current program is a Unicode program. In the Unicode context, the type
'X' or structures containing not only character-type components are
regarded as non-character-type.
Program:
REPORT ZPPORDER LINE-SIZE 180 NO STANDARD PAGE HEADING
LINE-COUNT 058(001).
TABLES: AUFK, "Order master data
AFKO, "Order header data PP orders
RESB, "Reservation/dependent requirements
MAST, "Material to BOM Link
STKO, "BOM Header
STPO. "BOM item
DATA: BEGIN OF WA,
AUART TYPE AUFK-AUART,
AUFNR TYPE AUFK-AUFNR,
AEDAT TYPE AUFK-AEDAT,
AENAM TYPE AUFK-AENAM,
WERKS TYPE AUFK-WERKS,
PLNBEZ TYPE AFKO-PLNBEZ,
GAMNG TYPE AFKO-GAMNG,
GASMG TYPE AFKO-GASMG,
MATNR TYPE RESB-MATNR,
POSNR TYPE RESB-POSNR,
BDMNG TYPE RESB-BDMNG,
BMENG TYPE STKO-BMENG,
MENGE TYPE STPO-MENGE,
END OF WA,
ITAB LIKE SORTED TABLE OF WA WITH NON-UNIQUE KEY AUFNR POSNR.
DATA: BEGIN OF ITAB2 OCCURS 0.
INCLUDE STRUCTURE WA.
DATA: END OF ITAB2.
DATA: BEGIN OF ITAB_AUFK OCCURS 0,
AUART LIKE AUFK-AUART,
AUFNR LIKE AUFK-AUFNR,
POSNR LIKE RESB-POSNR,
AEDAT LIKE AUFK-AEDAT,
AENAM LIKE AUFK-AENAM,
WERKS LIKE AUFK-WERKS,
PLNBEZ LIKE AFKO-PLNBEZ,
GAMNG(7) TYPE P DECIMALS 0,
GASMG(7) TYPE P DECIMALS 0,
MATNR LIKE RESB-MATNR,
BDMNG(7) TYPE P DECIMALS 0,
BMENG(7) TYPE P DECIMALS 0,
MENGE(7) TYPE P DECIMALS 3.
DATA: END OF ITAB_AUFK.
DATA: FDATE LIKE SY-DATUM,
LDATE LIKE SY-DATUM.
DATA: X_AUFNR LIKE AFKO-AUFNR,
X_MENGE(7) TYPE P DECIMALS 0,
X_ERR(3).
DATA: W_DATASET1(500) VALUE '/usr/sap/trans/data/'.
SELECT-OPTIONS T_WERKS FOR AUFK-WERKS OBLIGATORY.
SELECT-OPTIONS T_AUFNR FOR AUFK-AUFNR.
SELECT-OPTIONS T_AEDAT FOR AUFK-AEDAT.
PARAMETERS PDATA LIKE W_DATASET1.
CONCATENATE W_DATASET1 PDATA INTO W_DATASET1.
PERFORM F_COLLECT_DATA.
FORM F_COLLECT_DATA.
OPEN DATASET W_DATASET1 FOR INPUT IN TEXT MODE encoding default.
DO.
IF sy-subrc <> 0.
EXIT.
ENDIF.
READ DATASET W_DATASET1 INTO WA.
APPEND WA TO ITAB2.
ENDDO.
CLOSE DATASET W_DATASET1.
SELECT AAUFNR AAUART AAEDAT AAENAM A~WERKS
BPLNBEZ BGAMNG B~GASMG
CMATNR CBDMNG C~POSNR
INTO CORRESPONDING FIELDS OF TABLE ITAB
FROM ( AUFK AS A
INNER JOIN AFKO AS B ON BAUFNR = AAUFNR
INNER JOIN RESB AS C ON CAUFNR = AAUFNR )
WHERE A~AEDAT IN T_AEDAT
AND A~WERKS IN T_WERKS.
LOOP AT ITAB INTO WA.
CLEAR MAST.
SELECT SINGLE * FROM MAST WHERE MATNR = WA-PLNBEZ
AND WERKS = WA-WERKS.
CLEAR STKO.
SELECT SINGLE * FROM STKO WHERE STLNR = MAST-STLNR
AND STLAL = MAST-STLAL.
CLEAR STPO.
SELECT SINGLE * FROM STPO WHERE STLNR = MAST-STLNR
AND POSNR = WA-POSNR.
WA-BMENG = STKO-BMENG.
WA-MENGE = STPO-MENGE.
MODIFY ITAB FROM WA.
AT NEW AUFNR.
SKIP.
ENDAT.
LOOP AT ITAB2 WHERE AUFNR = WA-AUFNR
AND POSNR = WA-POSNR.
IF ITAB2-GAMNG <> WA-GAMNG OR
ITAB2-GASMG <> WA-GASMG OR
ITAB2-BDMNG <> WA-BDMNG.
CLEAR X_MENGE.
IF ITAB2-BMENG <> 0.
X_MENGE = ITAB2-GAMNG / ITAB2-BMENG * ITAB2-MENGE.
ENDIF.
CLEAR X_ERR.
IF ITAB2-BDMNG <> X_MENGE.
X_ERR = 'Err'.
ENDIF.
FORMAT COLOR COL_TOTAL.
WRITE: / ITAB2-AUART UNDER 'Type',
ITAB2-AUFNR UNDER 'Prod Order',
ITAB2-AEDAT UNDER 'Last Chg Dt',
ITAB2-AENAM UNDER 'Last Chg by',
ITAB2-WERKS UNDER 'Plant',
ITAB2-PLNBEZ UNDER 'Material',
(10) ITAB2-GAMNG UNDER 'Order Qty' DECIMALS 0,
(10) ITAB2-GASMG UNDER 'Scrap Qty' DECIMALS 0,
ITAB2-POSNR UNDER 'Item',
ITAB2-MATNR UNDER 'Component Req',
(10) ITAB2-BDMNG UNDER 'Req Qty' DECIMALS 0,
X_MENGE UNDER 'BOM Qty' COLOR COL_TOTAL,
ITAB2-BMENG UNDER 'BOM Base',
ITAB2-MENGE UNDER 'BOM Comp',
X_ERR UNDER 'Rmks' COLOR COL_TOTAL.
CLEAR X_MENGE.
IF WA-BMENG <> 0.
X_MENGE = WA-GAMNG / WA-BMENG * WA-MENGE.
ENDIF.
CLEAR X_ERR.
IF WA-BDMNG <> X_MENGE.
X_ERR = 'Err'.
ENDIF.
FORMAT COLOR OFF.
WRITE: / WA-AUART UNDER 'Type',
WA-AUFNR UNDER 'Prod Order',
WA-AEDAT UNDER 'Last Chg Dt',
WA-AENAM UNDER 'Last Chg by',
WA-WERKS UNDER 'Plant',
WA-PLNBEZ UNDER 'Material',
(10) WA-GAMNG UNDER 'Order Qty' DECIMALS 0,
(10) WA-GASMG UNDER 'Scrap Qty' DECIMALS 0,
WA-POSNR UNDER 'Item',
WA-MATNR UNDER 'Component Req',
(10) WA-BDMNG UNDER 'Req Qty' DECIMALS 0,
X_MENGE UNDER 'BOM Qty' COLOR COL_TOTAL,
WA-BMENG UNDER 'BOM Base',
WA-MENGE UNDER 'BOM Comp',
X_ERR UNDER 'Rmks' COLOR COL_TOTAL.
ENDIF.
ENDLOOP.
ENDLOOP.
LOOP AT ITAB2.
LOOP AT ITAB INTO WA WHERE AUFNR = ITAB2-AUFNR
AND POSNR = ITAB2-POSNR.
DELETE ITAB2.
ENDLOOP.
SELECT SINGLE * FROM AUFK WHERE AUFNR = ITAB2-AUFNR.
IF SY-SUBRC <> 0.
DELETE ITAB2.
ENDIF.
ENDLOOP.
OPEN DATASET W_DATASET1 FOR OUTPUT IN TEXT MODE encoding default.
LOOP AT ITAB INTO WA.
TRANSFER WA TO W_DATASET1.
ENDLOOP.
LOOP AT ITAB2 INTO WA.
TRANSFER WA TO W_DATASET1.
ENDLOOP.
CLOSE DATASET W_DATASET1.
ENDFORM.
TOP-OF-PAGE.
FORMAT COLOR COL_TOTAL.
WRITE: / SY-DATUM, SY-UZEIT, SY-REPID, SY-UNAME,
50 'Daily Qty Changed Checklist for Production Order',
120 SY-PAGNO.
SKIP.
WRITE: / 'Plant ', T_WERKS-LOW.
WRITE: ' Last Change Date ', T_AEDAT-LOW, ' to ', T_AEDAT-HIGH.
SKIP.
WRITE: /1 'Type',
6 'Prod Order',
17 'Last Chg Dt',
29 'Last Chg by',
42 'Plant',
49 'Material',
69 'Order Qty',
83 'Scrap Qty',
99 'Item',
105 'Component Req',
121 'Req Qty',
135 'BOM Qty',
149 'BOM Base',
163 'BOM Comp',
178 'Rmks'.
ULINE.
WRITE: / 'Previous data :- '.
FORMAT COLOR OFF.
WRITE: / 'Current data :- '.
INITIALIZATION.
LDATE = SY-DATUM.
LDATE = LDATE - 1.
FDATE = LDATE.
MOVE: FDATE TO T_AEDAT-LOW.
APPEND T_AEDAT.
PDATA = 'AE001'.
So,give me any suggestions where to customize r do rectify the error.This will be useful for me.
Advance Thnx..*REPORT ZPROD.
REPORT ZPPORDER LINE-SIZE 180 NO STANDARD PAGE HEADING
LINE-COUNT 058(001).
TABLES: AUFK, "Order master data
AFKO, "Order header data PP orders
RESB, "Reservation/dependent requirements
MAST, "Material to BOM Link
STKO, "BOM Header
STPO. "BOM item
DATA: BEGIN OF WA,
AUART TYPE AUFK-AUART,
AUFNR TYPE AUFK-AUFNR,
AEDAT TYPE AUFK-AEDAT,
AENAM TYPE AUFK-AENAM,
WERKS TYPE AUFK-WERKS,
PLNBEZ TYPE AFKO-PLNBEZ,
GAMNG TYPE AFKO-GAMNG,
GASMG TYPE AFKO-GASMG,
MATNR TYPE RESB-MATNR,
POSNR TYPE RESB-POSNR,
BDMNG TYPE RESB-BDMNG,
BMENG TYPE STKO-BMENG,
MENGE TYPE STPO-MENGE,
END OF WA,
ITAB LIKE SORTED TABLE OF WA WITH NON-UNIQUE KEY AUFNR POSNR.
DATA: BEGIN OF ITAB2 OCCURS 0.
INCLUDE STRUCTURE WA.
DATA: END OF ITAB2.
DATA: BEGIN OF ITAB_AUFK OCCURS 0,
AUART LIKE AUFK-AUART,
AUFNR LIKE AUFK-AUFNR,
POSNR LIKE RESB-POSNR,
AEDAT LIKE AUFK-AEDAT,
AENAM LIKE AUFK-AENAM,
WERKS LIKE AUFK-WERKS,
PLNBEZ LIKE AFKO-PLNBEZ,
GAMNG(7) TYPE P DECIMALS 0,
GASMG(7) TYPE P DECIMALS 0,
MATNR LIKE RESB-MATNR,
BDMNG(7) TYPE P DECIMALS 0,
BMENG(7) TYPE P DECIMALS 0,
MENGE(7) TYPE P DECIMALS 3.
DATA: END OF ITAB_AUFK.
DATA: FDATE LIKE SY-DATUM,
LDATE LIKE SY-DATUM.
DATA: X_AUFNR LIKE AFKO-AUFNR,
X_MENGE(7) TYPE P DECIMALS 0,
X_ERR(3).
DATA: W_DATASET1(500) VALUE '/usr/sap/trans/data/'.
SELECT-OPTIONS T_WERKS FOR AUFK-WERKS OBLIGATORY.
SELECT-OPTIONS T_AUFNR FOR AUFK-AUFNR.
SELECT-OPTIONS T_AEDAT FOR AUFK-AEDAT.
PARAMETERS PDATA LIKE W_DATASET1.
CONCATENATE W_DATASET1 PDATA INTO W_DATASET1.
PERFORM F_COLLECT_DATA.
FORM F_COLLECT_DATA.
OPEN DATASET W_DATASET1 FOR INPUT IN TEXT MODE encoding default.
DO.
IF sy-subrc <> 0.
EXIT.
ENDIF.
READ DATASET W_DATASET1 INTO WA.
APPEND WA TO ITAB2.
ENDDO.
CLOSE DATASET W_DATASET1.
SELECT AAUFNR AAUART AAEDAT AAENAM A~WERKS
BPLNBEZ BGAMNG B~GASMG
CMATNR CBDMNG C~POSNR
INTO CORRESPONDING FIELDS OF TABLE ITAB
FROM ( AUFK AS A
INNER JOIN AFKO AS B ON BAUFNR = AAUFNR
INNER JOIN RESB AS C ON CAUFNR = AAUFNR )
WHERE A~AEDAT IN T_AEDAT
AND A~WERKS IN T_WERKS.
LOOP AT ITAB INTO WA.
CLEAR MAST.
SELECT SINGLE * FROM MAST WHERE MATNR = WA-PLNBEZ
AND WERKS = WA-WERKS.
CLEAR STKO.
SELECT SINGLE * FROM STKO WHERE STLNR = MAST-STLNR
AND STLAL = MAST-STLAL.
CLEAR STPO.
SELECT SINGLE * FROM STPO WHERE STLNR = MAST-STLNR
AND POSNR = WA-POSNR.
WA-BMENG = STKO-BMENG.
WA-MENGE = STPO-MENGE.
MODIFY ITAB FROM WA.
AT NEW AUFNR.
SKIP.
ENDAT.
LOOP AT ITAB2 WHERE AUFNR = WA-AUFNR
AND POSNR = WA-POSNR.
IF ITAB2-GAMNG <> WA-GAMNG OR
ITAB2-GASMG <> WA-GASMG OR
ITAB2-BDMNG <> WA-BDMNG.
CLEAR X_MENGE.
IF ITAB2-BMENG <> 0.
X_MENGE = ITAB2-GAMNG / ITAB2-BMENG * ITAB2-MENGE.
ENDIF.
CLEAR X_ERR.
IF ITAB2-BDMNG <> X_MENGE.
X_ERR = 'Err'.
ENDIF.
FORMAT COLOR COL_TOTAL.
WRITE: / ITAB2-AUART UNDER 'Type',
ITAB2-AUFNR UNDER 'Prod Order',
ITAB2-AEDAT UNDER 'Last Chg Dt',
ITAB2-AENAM UNDER 'Last Chg by',
ITAB2-WERKS UNDER 'Plant',
ITAB2-PLNBEZ UNDER 'Material',
(10) ITAB2-GAMNG UNDER 'Order Qty' DECIMALS 0,
(10) ITAB2-GASMG UNDER 'Scrap Qty' DECIMALS 0,
ITAB2-POSNR UNDER 'Item',
ITAB2-MATNR UNDER 'Component Req',
(10) ITAB2-BDMNG UNDER 'Req Qty' DECIMALS 0,
X_MENGE UNDER 'BOM Qty' COLOR COL_TOTAL,
ITAB2-BMENG UNDER 'BOM Base',
ITAB2-MENGE UNDER 'BOM Comp',
X_ERR UNDER 'Rmks' COLOR COL_TOTAL.
CLEAR X_MENGE.
IF WA-BMENG <> 0.
X_MENGE = WA-GAMNG / WA-BMENG * WA-MENGE.
ENDIF.
CLEAR X_ERR.
IF WA-BDMNG <> X_MENGE.
X_ERR = 'Err'.
ENDIF.
FORMAT COLOR OFF.
WRITE: / WA-AUART UNDER 'Type',
WA-AUFNR UNDER 'Prod Order',
WA-AEDAT UNDER 'Last Chg Dt',
WA-AENAM UNDER 'Last Chg by',
WA-WERKS UNDER 'Plant',
WA-PLNBEZ UNDER 'Material',
(10) WA-GAMNG UNDER 'Order Qty' DECIMALS 0,
(10) WA-GASMG UNDER 'Scrap Qty' DECIMALS 0,
WA-POSNR UNDER 'Item',
WA-MATNR UNDER 'Component Req',
(10) WA-BDMNG UNDER 'Req Qty' DECIMALS 0,
X_MENGE UNDER 'BOM Qty' COLOR COL_TOTAL,
WA-BMENG UNDER 'BOM Base',
WA-MENGE UNDER 'BOM Comp',
X_ERR UNDER 'Rmks' COLOR COL_TOTAL.
ENDIF.
ENDLOOP.
ENDLOOP.
LOOP AT ITAB2.
LOOP AT ITAB INTO WA WHERE AUFNR = ITAB2-AUFNR
AND POSNR = ITAB2-POSNR.
DELETE ITAB2.
ENDLOOP.
SELECT SINGLE * FROM AUFK WHERE AUFNR = ITAB2-AUFNR.
IF SY-SUBRC <> 0.
DELETE ITAB2.
ENDIF.
ENDLOOP.
OPEN DATASET W_DATASET1 FOR OUTPUT IN TEXT MODE encoding default.
LOOP AT ITAB INTO WA.
TRANSFER WA TO W_DATASET1.
ENDLOOP.
LOOP AT ITAB2 INTO WA.
TRANSFER WA TO W_DATASET1.
ENDLOOP.
CLOSE DATASET W_DATASET1.
ENDFORM.
TOP-OF-PAGE.
FORMAT COLOR COL_TOTAL.
WRITE: / SY-DATUM, SY-UZEIT, SY-REPID, SY-UNAME,
50 'Daily Qty Changed Checklist for Production Order',
120 SY-PAGNO.
SKIP.
WRITE: / 'Plant ', T_WERKS-LOW.
WRITE: ' Last Change Date ', T_AEDAT-LOW, ' to ', T_AEDAT-HIGH.
SKIP.
WRITE: /1 'Type',
6 'Prod Order',
17 'Last Chg Dt',
29 'Last Chg by',
42 'Plant',
49 'Material',
69 'Order Qty',
83 'Scrap Qty',
99 'Item',
105 'Component Req',
121 'Req Qty',
135 'BOM Qty',
149 'BOM Base',
163 'BOM Comp',
178 'Rmks'.
ULINE.
WRITE: / 'Previous data :- '.
FORMAT COLOR OFF.
WRITE: / 'Current data :- '.
INITIALIZATION.
LDATE = SY-DATUM.
LDATE = LDATE - 1.
FDATE = LDATE.
MOVE: FDATE TO T_AEDAT-LOW.
APPEND T_AEDAT.
PDATA = 'AE001'. -
Data objects in Unicode cannot be converted dump
Hi experts,
I am using a Custom business object which if run independently throws no error. We are upgrading 4.6 to ECC 6.0.It is unicode active.
The Business object contains methods for displaying a scanned document from IXOS server.
On executing work item (for decision step), there is a scanned document which shows up in a window. On closing the window,
there is a short dump with text 'Data objects in Unicode cannot be converted dump'.
There are both Before Work item execution method and an After Work item execution method attached in the Methods tab of the task.
In the After Work item method there is ARCHIVWINDOW_CLOSE function module used. Could there be a problem with this?
Please help.
Regards,
Garima.Actually, there is no problem in Workflow.It is because we are upgrading from 4.6 to ECC 6.0.
I have used CREATE OBJECT ole class and FREE OBJECT statements.
There is a dump ' Data objects in Unicode cannot be converted dump ' from function AC_FLUSH_CALL_INTERNAL
occuring when FREE OBJECT statement is executed.
Please suggest a solution to this.
Regards,
Garima. -
VS_BROKEN CAN NOT CONVERT UNICODE TO NON UNICODE STRING
Hi,
I am importing data from orcle to sql through etl if i run it manually it works fine but when i am scheduling in sql agent job it throws VS_BROKEN CAN NOT CONVERT UNICODE TO NON UNICODE STRING error like this
please any body help me how to solve this.
Thanks,
KhasimHi Khasim,
As per my understanding, the error message is too general. In order to troubleshoot this issue, we should view the detail error message about this job. For more details, please see:
Troubleshooting Jobs
SQL Server Agent Error Log
Besides, since when you call a Microsoft SQL Server Integration Services (SSIS) package outside a SQL Server Agent job step, the SSIS package runs successfully. However, if you do not modify the SSIS package, then execute it via SQL Server Agent job step,
it fails. The scenario always related to the user account that is used to run the package under SQL Server Agent.
References:
SSIS package does not run when called from a SQL Server Agent job step
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support
Maybe you are looking for
-
Finding the ReportRepositoryPath and Report Filename
I was wondering if the report repository path and report filename of files sent to the report manager are stored somewhere in a table. It seems as if a select statement would be easier than finding the psreports/dbname/data/process id/process name_pr
-
Transfering photoshop cs6 to a new macbook pro
My MacBook Pro died and I purchased a newer one. I had my old hard drive put into a case as an external drive. I downloaded the old drive onto my new Mac. So now when I start up my computer, I have to sign on to either my new drive or the old one. I
-
Anyone know of a tutorial for jxinput?
I really need to learn how it works but i dont know how! Does anyone know of any tutorials or something to learn it? Ant...
-
Hi am attempting a previous exam question and would appreciate some advice: I have been given a class that has been partly implemented. The class called Document that determines how many words are in the document, and how many certain specified words
-
I am currently in the process of an evaluation. We are planning to run an OpenVZ Cluster (true hypervisors have too much latency/overhead for the required scenario) with a shared storage for all participating nodes. The OpenVZ containers will be stor