ABAP error
Hello friends,
I have a simple ALV program. Everything works fine but after i execute the program and after I see the results and when I hit the back green arrow (F3) it goes to a short dump.
Here is the program.
I am unable to figure the cause of this short dump.
Any suggestions.
Thanks,
Shejal
REPORT ZCR00 NO STANDARD PAGE HEADING
LINE-SIZE 80
LINE-COUNT 65(0)
MESSAGE-ID ZZ.
*Tables declaration
TABLES : MARC, " Plant Data for Material
MAKT,
MARA. " Material Descriptions
TYPE-POOLS: KKBLO,
SLIS.
DATA: DISVARIANT LIKE DISVARIANT,
EVENTCAT TYPE SLIS_T_EVENT,
EVENTCAT_LN LIKE LINE OF EVENTCAT,
FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
FIELDCAT_KKB TYPE KKBLO_T_FIELDCAT,
FIELDCAT_LN LIKE LINE OF FIELDCAT,
KEYINFO TYPE SLIS_KEYINFO_ALV,
LAYOUT TYPE SLIS_LAYOUT_ALV,
LAYOUT_KKB TYPE KKBLO_LAYOUT,
PGM LIKE SY-REPID,
PRINTCAT TYPE SLIS_PRINT_ALV,
SORTCAT TYPE SLIS_T_SORTINFO_ALV,
SORTCAT_LN LIKE LINE OF SORTCAT,
BEGIN OF COLTAB OCCURS 50,
FIELDNAME LIKE FIELDCAT_LN-FIELDNAME,
END OF COLTAB.
*Types Declaration
TYPES :
BEGIN OF S_MARC_MAKT,
MATNR LIKE MARC-MATNR,
WERKS LIKE MARC-WERKS,
MMSTA LIKE MARC-MMSTA,
MAKTX LIKE MAKT-MAKTX,
END OF S_MARC_MAKT,
BEGIN OF S_MARA,
MATNR LIKE MARA-MATNR,
MTARE LIKE MARA-MTART,
END OF S_MARA.
*Internal table declaration
DATA :
BEGIN OF T_OUTPUT OCCURS 0,
CHECKBOX(1),
MATNR LIKE MARC-MATNR,
WERKS LIKE MARC-WERKS,
MAKTX LIKE MAKT-MAKTX,
MMSTA LIKE MARC-MMSTA,
END OF T_OUTPUT.
DATA : T_MARC_MAKT TYPE TABLE OF S_MARC_MAKT,
T_MARA TYPE TABLE OF S_MARA.
DATA : T_STPOV TYPE STANDARD TABLE OF STPOV.
**Work Area Declaration
DATA : W_MARC_MAKT LIKE LINE OF T_MARC_MAKT,
W_MARA LIKE LINE OF T_MARA.
DATA : W_STPOV LIKE LINE OF T_STPOV.
*Variable Declaration
DATA: V_DATUV LIKE SY-DATUM,
V_DATUB LIKE SY-DATUM VALUE '99990101',
V_REPID TYPE SYREPID,
V_TABIX LIKE SY-TABIX,
V_FLG(1).
* Declarations for ALV grid
*SELECTION-SCREEN
SELECTION-SCREEN : BEGIN OF BLOCK 1 WITH FRAME TITLE TEXT-001.
SELECT-OPTIONS : S_MATNR FOR MAKT-MATNR OBLIGATORY,
P_MAKTX FOR MAKT-MAKTX NO INTERVALS ,
P_WERKS FOR MARC-WERKS NO INTERVALS OBLIGATORY,
P_MMSTA FOR MARC-MMSTA NO INTERVALS .
SELECTION-SCREEN : END OF BLOCK 1.
* Parameter for list viewer display variant
PARAMETERS: VARIANT LIKE DISVARIANT-VARIANT.
DATA: PRINT TYPE SLIS_PRINT_ALV.
INITIALIZATION.
V_REPID = SY-REPID.
V_DATUV = SY-DATUM.
* Set up constants and selection criteria *
AT SELECTION-SCREEN.
AT SELECTION-SCREEN ON VARIANT.
CHECK NOT VARIANT IS INITIAL.
PERFORM CHECK_VARIANT_EXISTENCE USING VARIANT 'U'.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR VARIANT.
PERFORM F4_DISPLAY_VARIANT USING VARIANT 'U'.
START-OF-SELECTION.
PERFORM EXTRACT_EXTRACT_DATA.
PERFORM DATA_PROCESSING.
*END-OF-SELECTION
END-OF-SELECTION.
IF NOT T_OUTPUT[] IS INITIAL.
PERFORM OUTPUT_SCREEN1.
ELSE.
MESSAGE I999 WITH 'No Records Selected'.
ENDIF.
*& Form EXTRACT_EXTRACT_DATA
* text
FORM EXTRACT_EXTRACT_DATA .
SELECT MARC~MATNR
MARC~WERKS
MARC~MMSTA
MAKT~MAKTX
INTO TABLE T_MARC_MAKT
FROM MARC
INNER JOIN MAKT
ON MARC~MATNR = MAKT~MATNR
WHERE MAKT~MATNR IN S_MATNR
AND MAKT~MAKTX IN P_MAKTX
AND MARC~WERKS IN P_WERKS
AND MARC~MMSTA IN P_MMSTA.
ENDFORM. " EXTRACT_EXTRACT_DATA
*& Form DATA_PROCESSING
* text
FORM DATA_PROCESSING .
LOOP AT T_MARC_MAKT INTO W_MARC_MAKT.
T_OUTPUT-MATNR = W_MARC_MAKT-MATNR.
T_OUTPUT-WERKS = W_MARC_MAKT-WERKS.
T_OUTPUT-MAKTX = W_MARC_MAKT-MAKTX.
T_OUTPUT-MMSTA = W_MARC_MAKT-MMSTA.
APPEND T_OUTPUT.
ENDLOOP.
ENDFORM. " DATA_PROCESSING
*& Form OUTPUT_SCREEN1
* text
FORM OUTPUT_SCREEN1 .
PERFORM CALL_LIST_VIEWER.
ENDFORM. " OUTPUT_SCREEN1
*& Form CALL_LIST_VIEWER
* text
FORM CALL_LIST_VIEWER .
CLEAR: T_OUTPUT.
PERFORM BUILD_FIELDCAT USING:
'CHKBOX' 'T_OUTPUT'
TEXT-001 'CHAR' 3 ' ' ' ' ' ' ' ' ' ' 'X' ' ' 'X',
'MATNR' 'T_OUTPUT'
TEXT-002 'CHAR' 18 ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ',
'WERKS' 'T_OUTPUT'
TEXT-003 'CHAR' 5 ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ',
'MAKTX' 'T_OUTPUT'
TEXT-004 'CHAR' 40 ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ',
'MMSTA' 'T_OUTPUT'
TEXT-005 'CHAR' 12 ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' '.
PERFORM BUILD_EVENTCAT USING: 'TOP_OF_LIST',
'USER_COMMAND'.
PERFORM LIST_DISPLAY TABLES T_OUTPUT.
ENDFORM. "call_list_viewer
* build field catalog entry *
FORM BUILD_FIELDCAT USING A_FIELDNAME
A_TABNAME
A_HEADING
A_DATATYPE
A_OUTPUTLEN
A_KEY
A_NO_OUT
A_NO_SUM
A_DO_SUM
A_NO_ZERO
A_INPUT
A_SUM
A_CHECKBOX.
CLEAR FIELDCAT_LN.
FIELDCAT_LN-FIELDNAME = A_FIELDNAME.
FIELDCAT_LN-TABNAME = A_TABNAME.
FIELDCAT_LN-OUTPUTLEN = A_OUTPUTLEN.
FIELDCAT_LN-DATATYPE = A_DATATYPE.
FIELDCAT_LN-REPTEXT_DDIC = A_HEADING.
FIELDCAT_LN-KEY = A_KEY.
FIELDCAT_LN-NO_OUT = A_NO_OUT.
FIELDCAT_LN-NO_SUM = A_NO_SUM.
FIELDCAT_LN-DO_SUM = A_DO_SUM.
FIELDCAT_LN-NO_ZERO = A_NO_ZERO.
FIELDCAT_LN-INPUT = A_INPUT.
FIELDCAT_LN-DO_SUM = A_SUM.
FIELDCAT_LN-CHECKBOX = A_CHECKBOX.
APPEND FIELDCAT_LN TO FIELDCAT.
ENDFORM. "BUILD_FIELDCAT
* FORM BUILD_EVENTCAT
FORM BUILD_EVENTCAT USING A_EVENT.
EVENTCAT_LN-NAME = EVENTCAT_LN-FORM = A_EVENT.
APPEND EVENTCAT_LN TO EVENTCAT.
ENDFORM. "BUILD_EVENTCAT
* call the ABAP list viewer *
FORM LIST_DISPLAY TABLES A_OUTPUT.
PGM = DISVARIANT-REPORT = SY-REPID.
DISVARIANT-VARIANT = VARIANT.
* call list viewer
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = PGM
IT_FIELDCAT = FIELDCAT
IS_VARIANT = DISVARIANT
IS_LAYOUT = LAYOUT
IS_PRINT = PRINT
I_SAVE = 'A'
IT_EVENTS = EVENTCAT
IT_SORT = SORTCAT
I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
TABLES
T_OUTTAB = A_OUTPUT
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2.
ENDFORM. "LIST_DISPLAY
** FORM USER_COMMAND *
FORM USER_COMMAND USING UCOMM LIKE SY-UCOMM
SELFIELD TYPE SLIS_SELFIELD.
CASE UCOMM.
WHEN '&IC1'.
READ TABLE T_OUTPUT INDEX SELFIELD-TABINDEX.
ENDCASE.
SELFIELD-REFRESH = 'X'.
ENDFORM. " CALL_LIST_VIEWER
* FORM CHECK_VARIANT_EXISTENCE
* Verify that a variant on the selection screen exists
FORM CHECK_VARIANT_EXISTENCE USING VARNAME LIKE DISVARIANT-VARIANT
SAVE TYPE C.
DATA: XDISVAR LIKE DISVARIANT.
XDISVAR-REPORT = SY-REPID.
XDISVAR-VARIANT = VARNAME.
CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE'
EXPORTING
I_SAVE = SAVE
CHANGING
CS_VARIANT = XDISVAR
EXCEPTIONS
WRONG_INPUT = 1
NOT_FOUND = 2
PROGRAM_ERROR = 3
OTHERS = 4.
IF SY-SUBRC <> 0.
MESSAGE E256(56) WITH VARNAME.
* Anzeigevariante &1 nicht gefunden
ENDIF.
DISVARIANT-REPORT = SY-REPID.
DISVARIANT-VARIANT = VARNAME.
ENDFORM. "check_variant_existence
* Form F4_DISPLAY_VARIANT
* F4 help to find a display variant
* varname = name of the dynpro field for which f4 is requested
* save = type of list variant saving
* ' ' = no saving allowed
* 'A' = standard & user specific variants can be saved
* 'U' = only user specific variants can be saved
* 'X' = only standard variants can be saved
FORM F4_DISPLAY_VARIANT USING VARNAME LIKE DISVARIANT-VARIANT
SAVE TYPE C.
DISVARIANT-REPORT = SY-REPID.
CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
EXPORTING
IS_VARIANT = DISVARIANT
I_SAVE = SAVE
IMPORTING
ES_VARIANT = DISVARIANT
EXCEPTIONS
NOT_FOUND = 1
PROGRAM_ERROR = 2
OTHERS = 3.
IF SY-SUBRC = 0.
VARNAME = DISVARIANT-VARIANT.
ELSE.
MESSAGE S245(56).
* Keine Anzeigevariante(n) vorhanden
ENDIF.
ENDFORM. " F4_DISPLAY_VARIANT
Anji,
It happens only for this program. Can you please try the program I gave. want to see if it happens in any other system as well.
Ashish,
I have modified the program as you said and it still goes to a dump.
Shejal.
Modified Code.
* call the ABAP list viewer *
FORM LIST_DISPLAY TABLES A_OUTPUT.
PGM = DISVARIANT-REPORT = SY-REPID.
DISVARIANT-VARIANT = VARIANT.
* call list viewer
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = PGM
<b> I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS'</b>
IT_FIELDCAT = FIELDCAT
IS_VARIANT = DISVARIANT
IS_LAYOUT = LAYOUT
IS_PRINT = PRINT
I_SAVE = 'A'
IT_EVENTS = EVENTCAT
IT_SORT = SORTCAT
I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
TABLES
T_OUTTAB = A_OUTPUT
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2.
ENDFORM. "LIST_DISPLAY
<b>**---------------------------------------------------------------------*
** FORM SET_PF_STATUS *
FORM SET_PF_STATUS USING EXTAB TYPE SLIS_T_EXTAB.
SET PF-STATUS 'ZSTD'.
ENDFORM. "set_pf_status</b>
** FORM USER_COMMAND *
FORM USER_COMMAND USING UCOMM LIKE SY-UCOMM
SELFIELD TYPE SLIS_SELFIELD.
CASE UCOMM.
WHEN '&IC1'.
READ TABLE T_OUTPUT INDEX SELFIELD-TABINDEX.
ENDCASE.
SELFIELD-REFRESH = 'X'.
ENDFORM. " CALL_LIST_VIEWER
Similar Messages
-
THE System showing ABAP error while activating the "lead questionairre".
Hi Experts,
I have ceated a new "questionnare" for the leads.
while making it as active i am getting ABAP errors.
Please let me know what has went wrong in this area.
I have copied the standard one to create a new questionaree.
waiting for the response.
Thanks in advance
Prajith PHi,
Are you loading from the Flat File or from ECC?
If you are loading from FlatFile then you have to specify the InfoObject names in the "Template InfoObjects" area in DataSource-->Fields Tab.
Then when you create the Transformation then the Rules will be created Automatically.
Regards,
rik -
Hi Experts,
while i am doing MIGO(Goods Issue to Production Order, I am getting the below ABAP Error:
Please give solution, It is urgent requirement.
THE ERROR IS:
Short text
Illegal interruption of the event LOAD-OF-PROGRAM.
What happened?
Error in the ABAP Application Program
The current ABAP program "/MRSS/SAPLRAP_INT_OB" had to be terminated because it
has come across a statement that unfortunately cannot be executed.
Error analysis
During the flow of the event LOAD-OF-PROGRAM (event for the
initialization of an ABAP program), a condition occurred under which
the event was to be left early. This is not permitted as it would
result in an inconsistent status in the ABAP program.
Trigger Location of Runtime Error
Program /MRSS/SAPLRAP_INT_OB
Include /MRSS/LRAP_INT_OBF00
Row 34
Module type (FORM)
Module Name GLOBAL_INIT
Source Code Extract
Line SourceCde
4
5 *&---------------------------------------------------------------------*
6 *& Form global_init
7 *&---------------------------------------------------------------------*
8 * text
9 *----------------------------------------------------------------------*
10 FORM global_init.
11
12 * local data
13 DATA lv_badi_impl_exists TYPE flag.
14
15
16 * get ref to BAdIs
17 CALL METHOD cl_exithandler=>get_instance "#EC CI_BADI_GETINST
18 CHANGING
19 instance = gv_ref_badi_inter_company.
20 * CALL METHOD cl_exithandler=>get_instance
21 * CHANGING
22 * instance = gv_ref_badi_rap_back.
23 * CALL METHOD cl_exithandler=>get_instance
24 * CHANGING
25 * instance = gv_ref_badi_ps_int.
26 CALL METHOD cl_exithandler=>get_instance "#EC CI_BADI_GETINSTHi Rob thanks for your response. I thought about doing an OSS note however; I would think I would need to get the problem in config corrected first as it contradicts each other. The problem I am talking about is how they are to return material to vendor....I have never even seen this as a process in my 10 years....
Process.....when the PO is a return to vendor PO they go to migo and choose the goods receipt and mvmt type 101 and the system will default the 161 in the item level....the two are inconsistent. If I try to change the top level to a 161 mvmt (as this is what I am used to seeing) it gives the error that the PO is not a stock transport order... Would you agree that I should correct that problem first before creating an OSS note? -
Abap Error CALL_FUNCTION_WAIT_ERROR in program SAPMSSY1
I am getting abap error " CALL_FUNCTION_WAIT_ERROR ".
The termination occurred in the ABAP/4 program "SAPMSSY1 " in
"REMOTE_FUNCTION_CALL".
The main program was "SAPMSSY1 ".
The termination occurred in line 69
of the source code of program "SAPMSSY1 " (when calling the editor 690).
Regards,
ArundhatiHello,
If CALL_FUNCTION_WAIT_ERROR occurs only at the server side for
Remote Function Call (RFC) communication when the server gets
the message that the client side is not reachable any more.
This can happen if there exists an communication interruption (CPIC /
TCP/IP network problems) or a client is not any more active.
Therefore please check the gateway, workprocess and rfc traces
(dev_rd, dev_w* and dev_rfc*) and SM21 for possible problems. Could
you find the origin of the rfc connection? Is it an external RFC
program? Then you may need to install the most recent rfc library
on external side according to SAP notes:
413708 RFC library current at present
27517 Installation RFCSDK
Regards,
David -
Abap error in Q system.
Dear All,
To modify MB51 we have created a Z report (ZMB51) by copying RM07DOCS to another program ZSD_RM07DOCS and modifying it.
Everthing is working perfect in Dev system but when we have transported to Quality system , it is giving abap error..
Help is very much appreciated.
Best regards
Error is:
Error in the ABAP Application Program
The current ABAP program "SAPLALDB" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
The following syntax error occurred in program "ZSD_RM07DOCS " in include
"ZSD_RM07DOCS " in
line 1025:
"FORM "MODIFY_LIST" does not exist"
The include has been created and last changed by:
Error analysis
The following syntax error was found in the program ZSD_RM07DOCS :
"FORM "MODIFY_LIST" does not exist"
Trigger Location of Runtime Error
Program SAPLALDB
Include LALDBU03
Row 49
Module type (FUNCTION)
Module Name SUBMIT_REPORTDear All,
Thanks for the answer, but I have already cheked the source code if it is there Form modify_list is just standing there )
Best regards -
Abap error when user fi asset using tcode KO88
hai gurus,
when the user fi_asset team want to use the transaction the system give and error.
For gurus information, we are facing the number ranges issue. when document type AA that using number ranges from 100006000 - 100006999 have been hit to maximum value in year 2007
so the at the time is we create a another number ranges in documnet type AA using number ranges form 8000000000 - 8999999999 that for year 2007 untill the future
but now when the user want to use this transaction the system have issue the problem.
when the user run the test run mode is no detect any problem but when user make actual run the system give abap error like this below.
ABAP runtime errors MESSAGE_TYPE_X
Occurred on 22.02.2008 at 09:58:49
>> Short dump has not been completely stored. It is too big.
The current application triggered a termination with a short dump.
What happened?
The current application program detected a situation which really
should not occur. Therefore, a termination with a short dump was
triggered on purpose by the key word MESSAGE (type X).
What can you do?
Note the actions and input that caused the error.
Inform your SAP system administrator.
You can print out this message by choosing "Print". Transaction ST22
allows you to display and manage termination messages, including keeping
them beyond their normal deletion date.
Error analysis
Short text of error message:
Document number 1000 100060000 2007 was already assigned
Long text of error message:
Diagnosis
Document number 100060000 in company code 1000 and fiscal year 2007
has already been assigned.
System Response
Termination of processing.
Procedure
Check document number range 01 in company code 1000 and fiscal year
2007 and correct the number range status if necessary.
Technical information about the message:
Message classe...... "F5 "
Number.............. 152
Variable 1.......... "1000 "
Variable 2.......... "100060000 "
Variable 3.......... "2007 "
Variable 4.......... "01 "Hello,
If you are facing the error during KO88, there could be a problem with settlement document number range also.
During settlement, a settlement document is created and also related FI, CO, PA documments as applicable.
Please go to t code SNUM, check the number range for CO settlement object:CO_ABRECHN.
Let me know if it solves your problem.
Sourabh -
ABAP error on posting MR11 entries
Hi,
Tried posting entires in MR11. On pressing icon post clearing gets error message program termination & ABAP error. ABAP error analysis " DIAG1 = MR11 1000 01 02"
Could any one advise what could be reason foir error & how to resolve itif an ABAP terminates then it creates a huge log that can be analyzed via ST22.
even it is huge, the most important info is at the first 5 pages.
It is usually not a user error when a program terminates. Ask an ABAPer to analyze the dump. -
Abap error when using Web Dynpro assistance class
Hello All,
I created Web Dynpro component with assistance class.
On the component controller I can see the attribute "WD_ASSIST".
I also can use Goto -> text symbols and create net text key.
But when I tried to read the text:
wd_assist->get_text( '001' ).
There is abap error:
Method get_text is unknown protected or private.
I can see the method get_text inside my assistance class like this:
IF_WD_COMPONENT_ASSISTANCE~GET_TEXT visibility - public.
I think I missed something while creating the assistance class?
Thanks in advanced for the help.
NirYour method call should be:
wd_assist->IF_WD_COMPONENT_ASSISTANCE~get_text( '001' ).
You have to supply the interface name or go into the class definition and create a public alias for that method. -
hello gurus
is there any techy who can solve an error in utilities..
am facing this
Spro-/finacial accounting new/contract accounts receivables and payables/maintain transactions for billing
The above link to maintain transaction for billing leads to an abap error as displayed below
NO DATA EXIXTS IN TFKIHVORT FOR THE SLECTION CRITERIA ENTERED
kindly solve it and let me know the steps to solve ittoo
points waiting for u..
thanks and regards
soorajhi gurus
techys help me pls..
table TFKIHVORT a default SAP TABLE when activated shows error as follows
ENHANCEMENT CATEGORY MISSING.
ENHANCEMENT CATEGORY FOR INCLUDE OR SUBTYPE MISSING.
as per once of our friends suggestion i have tried seeing it with tcode sm34 which is for view cluster maintanence and ther i can see all main transactions defined.
i could nt really diagonise this error.in ides its working without any error.it means this particular spro node does not depend uipon the utililty settings since my ides doest not have utility in it.
so suggest me how to solve this puzzle
thanks and regards
sooraj -
When I'm calling a function ME_READ_HISTORY there is an abap error appears. If I check the function manualy everything is ok.
CALL FUNCTION 'ME_READ_HISTORY'
EXPORTING
EBELN = lw_bsis-zuonr+0(10)
EBELP = lw_bsis-zuonr+10(5)
WEBRE = ' '
WEBRE = EKPO-WEBRE
TABLES
<b> XEKBES = BETS.</b> "here is an abap errror
I think there is a problem because in lw_bsis are dupllicated ZUONR's. But I don't know how to call function just for unique records.
I solved the select from table int with SORT INT by ZUONR.
DELETE ADJACENT DUPLICATES from int COMPARING ZUONR.
bu i don't know how to do the same for the LW_BSIS work area.
Any suggestion?
BR
Saso
CALL FUNCTION 'ME_READ_HISTORY'
EXPORTING
EBELN = lw_bsis-zuonr+0(10)
EBELP = lw_bsis-zuonr+10(5)
WEBRE = ' '
WEBRE = EKPO-WEBRE
TABLES
XEKBES = BETS.By executing this code, you must get the run time error CALL_FUNCTION_CONFLICT_TYPE.
To solve this you can do like this:
DATA: L_EBELN LIKE EKKO-EBELN,
L_EBELP LIKE EKPO-EBELP.
DATA: BETS LIKE EKBES OCCURS 0 WITH HEADER LINE.
L_EBELN = LW_BSIS-ZUONR+0(10).
L_EBELP = LW_BSIS-ZUONR+10(5).
CALL FUNCTION 'ME_READ_HISTORY'
EXPORTING
EBELN = L_EBELN
EBELP = L_EBELP
TABLES
XEKBES = BETS.
Regards,
Naimesh Patel -
ZNOTIF_CREATE - ABAP error: ABAP_BOOL
Hello,
We are working in our own definition of tickets based on standard SFLN. In that ticket ZLFN we are adjusting our definitions. We also wanted to use our own version of the NOTIF_CREATE so that we can call this new transaction. We have copy the report we have copied the original program into Z_RDSWP_NOTIF_CREATE, and also copy the standard function into Z_DSWP_NOTIF_READ_PROCESS_TYPE, only changing the document:
pf_process_type = 'ZLFN'.
However, when we try to activate this function module we are getting an abap error:
The type "ABAP_BOOL" is unknown.
We have compare to the original function module DSWP_NOTIF_READ_PROCESS_TYPE and we found that they are the same except for the small modification.
Is there any ABAP expert who can help me with this error??
Many thanks
EstebanHi Esteban,
you likely forgot to check the TOP-Include of the function group in which the original function module is stored.
There you will find the statement Andreas mentioned. If you include it as the first statement in your function module it should work!
Regards,
Christoph -
Hello,
Pls a hint for this abap error:
ERROR: Syntax error in program /CPD/CL_PWS_WS_CP_REPEAT_COL==CP . (termination: RABAX_STATE)
What happened?
Error in the ABAP Application Program
The current ABAP program "CL_ABAP_TYPEDESCR=============CP" had to be
terminated because it has
come across a statement that unfortunately cannot be executed.
In include "/CPD/CL_PWS_WS_FBI_GUIBB_FORM=CU ", in line 8 of program
"/CPD/CL_PWS_WS_CP_REPEAT_COL==CP ", the following syntax errors
have occurred:
You can only use the "INTERFACES IF_FPM_QUICKVIEW_SOURCE" statement on
ce in a class and its subclasses. allowed.
Author and last person to change the include are:
Author SAP
Last changed by "SAP "
Error analysis
The following syntax error has occurred in program
/CPD/CL_PWS_WS_CP_REPEAT_COL==CP :
You can only use the "INTERFACES IF_FPM_QUICKVIEW_SOURCE" statement on
ce in a class and its subclasses. allowed.
Thank you
ChrisHi Chris,
Could you please check and implement below SAP notes .
1977804 - Dump due to Multiple presence of IF_FPM_QUICKVIEW_SOURCE Interface
2002634 - Dump due to Multiple presence of IF_FPM_QUICKVIEW_SOURCE Interface
Choose the SAP note based on the scenario where you get this dump.
Hope this helps.
Regards,
Deepak Kori -
Import ABAP error in ERP 2005 SR2 IDES installation
Hi Experts
I am trying to install the SAP ERP 2005 SR2 ( OS is 2003 and Database is Oracle 10g )IDES which i downloaded from the SAP market place and got
the following error at the IMPORT ABAP task
INFO 2008-02-20 14:19:37
Output of C:\Program Files\Java\j2re1.4.2_16\bin\java.exe -classpath migmon.jar -showversion
com.sap.inst.migmon.imp.ImportMonitor -dbType ORA -importDirs "D:\ERP 2005 IDES\51032413_1\EXP1;
D:\ERP 2005 IDES\51032413_2\EXP2;D:\ERP 2005 IDES\51032413_3\EXP3;D:\ERP 2005 IDES\51032413_4\EXP4;
D:\ERP 2005 IDES\51032413_5\EXP5;D:\ERP 2005 IDES\51032413_6\EXP6;D:\ERP 2005 IDES\51032413_6\EXP7;
D:\ERP 2005 IDES\51032413_6\EXP8;D:\ERP 2005 IDES\51032413_6\EXP9;D:\ERP 2005 IDES\51032413_6\EXP10;
D:\ERP 2005 IDES\51032413_6\EXP11" -installDir C:\PROGRA1\SAPINS1\ERP\SYSTEM\ORA\CENTRAL\AS
-orderBy "" -r3loadExe D:\usr\sap\SRD\SYS\exe\nuc\NTI386\R3load.exe -tskFiles yes -extFiles yes -dbCodepage 1100
-jobNum 3 -monitorTimeout 30 -loadArgs " -stop_on_error" -trace all -sapinst is written to the logfile import_monitor.java.log.
WARNING 2008-02-20 14:31:07
Execution of the command "C:\Program Files\Java\j2re1.4.2_16\bin\java.exe -classpath migmon.jar -showversion
com.sap.inst.migmon.imp.ImportMonitor -dbType ORA -importDirs "D:\ERP 2005 IDES\51032413_1\EXP1;
D:\ERP 2005 IDES\51032413_2\EXP2;D:\ERP 2005 IDES\51032413_3\EXP3;D:\ERP 2005 IDES\51032413_4\EXP4;
D:\ERP 2005 IDES\51032413_5\EXP5;D:\ERP 2005 IDES\51032413_6\EXP6;D:\ERP 2005 IDES\51032413_6\EXP7;
D:\ERP 2005 IDES\51032413_6\EXP8;D:\ERP 2005 IDES\51032413_6\EXP9;D:\ERP 2005 IDES\51032413_6\EXP10;
D:\ERP 2005 IDES\51032413_6\EXP11" -installDir C:\PROGRA1\SAPINS1\ERP\SYSTEM\ORA\CENTRAL\AS
-orderBy "" -r3loadExe D:\usr\sap\SRD\SYS\exe\nuc\NTI386\R3load.exe -tskFiles yes -extFiles yes -dbCodepage 1100
-jobNum 3 -monitorTimeout 30 -loadArgs " -stop_on_error" -trace all -sapinst" finished with return code 103.
Output: java version "1.4.2_16"Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_16-b05)Java HotSpot(TM)
Client VM (build 1.4.2_16-b05, mixed mode)Import Monitor jobs: running 1, waiting 18, completed 0, failed 0, total 19.
Loading of 'SAPSDIC' import package: ERRORImport Monitor jobs: running 0, waiting 18, completed 0, failed 1, total 19.
ERROR 2008-02-20 14:31:07
CJS-30022 Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.
ERROR 2008-02-20 14:31:07
FCO-00011 The step runMigrationMonitor with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW
CreateDBandLoad|ind|ind|ind|ind|10|0|NWABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0|runMigrationMonitor
was executed with status ERROR .
can anyone help me to fix this error. Installation of ECC 6.0 with SQL SERVER 2005 was done fine.
Thanking you
Regards
MrudulHi Mrudul,
Understood you have downloaded the completed IDES SAP 2005 SR2 package, i have also downloaded it several months ago, but i found the package not full good when i prepare to install it last week, 3 of 35 Exp unpackage CRC32 error(51032413_part15.rar & 51032413_part16.rar & 51032413_part17.rar) when unpackage them, can you do me a favor to share me the 3 rar files? As the original download address have been obsoleted away service.sap.com, i can tell you my FTP site to store them.
51032413_part15.rar & 51032413_part16.rar & 51032413_part17.rar
Or 51032413_3\EXP3\DATA\SAPAPPL1.009 & SAPAPPL1.010
12/17/2006 02:32 AM 1,048,576,000 SAPAPPL1.009
12/17/2006 02:42 AM 954,643,456 SAPAPPL1.010
Tks!
Best rds,
Jeff
msn: [email protected] -
Import ABAP error in ECC6 system copy targert
Hi Experts,
I am istalling SAP Ecc 6 in System copy targrt, ABAP import fail in 2/87. I got the error Loading of 'SAPDFACT' import package: ERRORImport Monitor jobs.
My OS Windows 2003 64 bit and Oracle 10.2. Please find the log files belo. Please help me to solve this issue
:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20100325173244
G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#13 $ SAP
G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: version R7.00/V1.4 [UNICODE]
Compiled Jul 17 2007 00:40:17
G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe -ctf I H:\MVGK IDESBackup-march2010\ABAP\DATA\SAPDFACT.STR C:\Program Files\sapinst_instdir\ERP\LM\COPY\ORA\SYSTEM\CENTRAL\AS\DDLORA.TPL SAPDFACT.TSK ORA -l SAPDFACT.log
G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: job completed
G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: END OF LOG: 20100325173244
G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20100325173244
G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#13 $ SAP
G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: version R7.00/V1.4 [UNICODE]
Compiled Jul 17 2007 00:40:17
G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe -i SAPDFACT.cmd -dbcodepage 4103 -l SAPDFACT.log -stop_on_error
DbSl Trace: ORA-1403 when accessing table SAPUSER
(DB) INFO: connected to DB
(DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): UTF8
(GSI) INFO: dbname = "AT220100325020343 "
(GSI) INFO: vname = "ORACLE "
(GSI) INFO: hostname = "KENKI "
(GSI) INFO: sysname = "Windows NT"
(GSI) INFO: nodename = "KENKI"
(GSI) INFO: release = "5.2"
(GSI) INFO: version = "3790 Service Pack 2"
(GSI) INFO: machine = "4x AMD64 Level 6 (Mod 15 Step 7)"
(DB) INFO: /BI0/E0RSTT_C01 created #20100325173245
(IMP) INFO: import of /BI0/E0RSTT_C01 completed (0 rows) #20100325173245
(DB) INFO: /BI0/E0RSTT_C01~0 created #20100325173245
(DB) INFO: /BI0/E0RSTT_C01~01 created #20100325173245
(DB) INFO: /BI0/E0RSTT_C01~02 created #20100325173245
(DB) INFO: /BI0/E0RSTT_C01~04 created #20100325173245
(DB) INFO: /BI0/E0RSTT_C01~05 created #20100325173245
(DB) INFO: /BI0/E0RSTT_C01~06 created #20100325173245
(DB) INFO: /BI0/E0RSTT_C01~07 created #20100325173245
(DB) INFO: /BI0/E0RSTT_C01~08 created #20100325173245
(DB) INFO: /BI0/E0RSTT_C01~09 created #20100325173245
(DB) INFO: /BI0/E0RSTT_C01~10 created #20100325173245
(DB) INFO: /BI0/E0RSTT_C01~11 created #20100325173245
(DB) INFO: /BI0/E0RSTT_C01~12 created #20100325173245
(DB) INFO: /BI0/E0RSTT_C01~13 created #20100325173245
DbSl Trace: Error 1408 in exec_immediate() from oci_execute_stmt(), orpc=0
DbSl Trace: ORA-1408 occurred when executing SQL stmt (parse error offset=57)
(DB) ERROR: DDL statement failed
(CREATE INDEX "/BI0/E0RSTT_C01~P" ON "/BI0/E0RSTT_C01" ( "KEY_0RSTT_C01P" , "KEY_0RSTT_C01T" , "KEY_0RSTT_C01U" , "KEY_0RSTT_C011" , "KEY_0RSTT_C012" , "KEY_0RSTT_C013" , "KEY_0RSTT_C014" , "KEY_0RSTT_C015" , "KEY_0RSTT_C016" , "KEY_0RSTT_C017" , "KEY_0RSTT_C018" , "KEY_0RSTT_C019" , "KEY_0RSTT_C01A" ) TABLESPACE PSAPSR3 STORAGE (INITIAL 65536 NEXT 0000002560K MINEXTENTS 0000000001 MAXEXTENTS 2147483645 PCTINCREASE 0 ) NOLOGGING COMPUTE STATISTICS )
DbSlExecute: rc = 99
(SQL error 1408)
error message returned by DbSl:
ORA-01408: such column list already indexed
(DB) INFO: disconnected from DB
G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: job finished with 1 error(s)
G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: END OF LOG: 20100325173245
G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20100325174158
G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#13 $ SAP
G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: version R7.00/V1.4 [UNICODE]
Compiled Jul 17 2007 00:40:17
G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe -i SAPDFACT.cmd -dbcodepage 4103 -l SAPDFACT.log -stop_on_error
DbSl Trace: ORA-1403 when accessing table SAPUSER
(DB) INFO: connected to DB
(DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): UTF8
(GSI) INFO: dbname = "AT220100325020343 "
(GSI) INFO: vname = "ORACLE "
(GSI) INFO: hostname = "KENKI "
(GSI) INFO: sysname = "Windows NT"
(GSI) INFO: nodename = "KENKI"
(GSI) INFO: release = "5.2"
(GSI) INFO: version = "3790 Service Pack 2"
(GSI) INFO: machine = "4x AMD64 Level 6 (Mod 15 Step 7)"
(DB) ERROR: DDL statement failed
(DROP INDEX "/BI0/E0RSTT_C01~P")
DbSlExecute: rc = 103
(SQL error 1418)
error message returned by DbSl:
ORA-01418: specified index does not exist
(IMP) INFO: a failed DROP attempt is not necessarily a problem
DbSl Trace: Error 1408 in exec_immediate() from oci_execute_stmt(), orpc=0
DbSl Trace: ORA-1408 occurred when executing SQL stmt (parse error offset=57)
(DB) ERROR: DDL statement failed
(CREATE INDEX "/BI0/E0RSTT_C01~P" ON "/BI0/E0RSTT_C01" ( "KEY_0RSTT_C01P" , "KEY_0RSTT_C01T" , "KEY_0RSTT_C01U" , "KEY_0RSTT_C011" , "KEY_0RSTT_C012" , "KEY_0RSTT_C013" , "KEY_0RSTT_C014" , "KEY_0RSTT_C015" , "KEY_0RSTT_C016" , "KEY_0RSTT_C017" , "KEY_0RSTT_C018" , "KEY_0RSTT_C019" , "KEY_0RSTT_C01A" ) TABLESPACE PSAPSR3 STORAGE (INITIAL 65536 NEXT 0000002560K MINEXTENTS 0000000001 MAXEXTENTS 2147483645 PCTINCREASE 0 ) NOLOGGING COMPUTE STATISTICS )
DbSlExecute: rc = 99
(SQL error 1408)
error message returned by DbSl:
ORA-01408: such column list already indexed
(DB) INFO: disconnected from DB
G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: job finished with 1 error(s)
G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: END OF LOG: 20100325174158
G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20100325180802
G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#13 $ SAP
G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: version R7.00/V1.4 [UNICODE]
Compiled Jul 17 2007 00:40:17
G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe -i SAPDFACT.cmd -dbcodepage 4103 -l SAPDFACT.log -stop_on_error
DbSl Trace: OCI-call 'OCIServerAttach' failed with rc=12541
DbSl Trace: CONNECT failed with sql error '12541'
DbSl Trace: OCI-call 'OCIServerAttach' failed with rc=12541
DbSl Trace: CONNECT failed with sql error '12541'
(DB) ERROR: db_connect rc = 256
DbSl Trace: OCI-call 'OCIServerAttach' failed with rc=12541
DbSl Trace: CONNECT failed with sql error '12541'
DbSl Trace: OCI-call 'OCIServerAttach' failed with rc=12541
DbSl Trace: CONNECT failed with sql error '12541'
(DB) ERROR: DbSlErrorMsg rc = 99
G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: job finished with 1 error(s)
G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: END OF LOG: 20100325180808
G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20100325182246
G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#13 $ SAP
G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: version R7.00/V1.4 [UNICODE]
Compiled Jul 17 2007 00:40:17
G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe -i SAPDFACT.cmd -dbcodepage 4103 -l SAPDFACT.log -stop_on_error
DbSl Trace: OCI-call 'OCIServerAttach' failed with rc=12541
DbSl Trace: CONNECT failed with sql error '12541'
DbSl Trace: OCI-call 'OCIServerAttach' failed with rc=12541
DbSl Trace: CONNECT failed with sql error '12541'
(DB) ERROR: db_connect rc = 256
DbSl Trace: OCI-call 'OCIServerAttach' failed with rc=12541
DbSl Trace: CONNECT failed with sql error '12541'
DbSl Trace: OCI-call 'OCIServerAttach' failed with rc=12541
DbSl Trace: CONNECT failed with sql error '12541'
(DB) ERROR: DbSlErrorMsg rc = 99
G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: job finished with 1 error(s)
G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: END OF LOG: 20100325182251
G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20100325183259
G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#13 $ SAP
G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: version R7.00/V1.4 [UNICODE]
Compiled Jul 17 2007 00:40:17
G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe -i SAPDFACT.cmd -dbcodepage 4103 -l SAPDFACT.log -stop_on_error
DbSl Trace: OCI-call 'OCIServerAttach' failed with rc=12541
DbSl Trace: CONNECT failed with sql error '12541'
DbSl Trace: OCI-call 'OCIServerAttach' failed with rc=12541
DbSl Trace: CONNECT failed with sql error '12541'
(DB) ERROR: db_connect rc = 256
DbSl Trace: OCI-call 'OCIServerAttach' failed with rc=12541
DbSl Trace: CONNECT failed with sql error '12541'
DbSl Trace: OCI-call 'OCIServerAttach' failed with rc=12541
DbSl Trace: CONNECT failed with sql error '12541'
(DB) ERROR: DbSlErrorMsg rc = 99
G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: job finished with 1 error(s)
G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: END OF LOG: 20100325183304
G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20100326100904
G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#13 $ SAP
G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: version R7.00/V1.4 [UNICODE]
Compiled Jul 17 2007 00:40:17
G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe -i SAPDFACT.cmd -dbcodepage 4103 -l SAPDFACT.log -stop_on_error
DbSl Trace: OCI-call 'OCIServerAttach' failed with rc=12541
DbSl Trace: CONNECT failed with sql error '12541'
DbSl Trace: OCI-call 'OCIServerAttach' failed with rc=12541
DbSl Trace: CONNECT failed with sql error '12541'
(DB) ERROR: db_connect rc = 256
DbSl Trace: OCI-call 'OCIServerAttach' failed with rc=12541
DbSl Trace: CONNECT failed with sql error '12541'
DbSl Trace: OCI-call 'OCIServerAttach' failed with rc=12541
DbSl Trace: CONNECT failed with sql error '12541'
(DB) ERROR: DbSlErrorMsg rc = 99
G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: job finished with 1 error(s)
G:\usr\sap\AT2\SYS\exe\uc\NTAMD64\R3load.exe: END OF LOG: 20100326100910
Thanks in Advance
Jose HHi,
You can check the defined enviornment variable using command prompt and System properties.
Open Command Prompt and give "set" command. It will show you active environment variable.
You can also set missing environment variables in system properties.
Start -->Control Panel --> System
On Advanced Tab --> Environment Variables.
After logging to the database if it shows message "Connected to idle instance", that means your database is not started.
Please start the database using below SQL command.
Open Command Prompt
C:\Sqlplus / as sysdba
SQL>startup
Once it says "Database opened", retry SAP installation.
You can also check the database status in SQL prompt using below command:
SQL> select instance_name,status from v$instance;
It must show output like:
INSTANCE_NAME STATUS
<SID> OPEN
Regards.
Rajesh Narkhede -
Abap -Error while doing with F-90(asset aquisation)
Hi all
when iam simulate the transaction while using F-90 for asset aquisation, the following error was occured. Plz help me out from this problem very urgent .
Its purely ABAP Problem.
Error in the ABAP Application Program
The current ABAP program "CL_FAA_DC_SEGMENTS_SERVICES===CP" had to be
terminated because it has
come across a statement that unfortunately cannot be executed.
error analysis
You attempted to access an unassigned field symbol
(data segment 32773).
This error may occur if
- You address a typed field symbol before it has been set with
ASSIGN
- You address a field symbol that pointed to the line of an
internal table that was deleted
- You address a field symbol that was previously reset using
UNASSIGN or that pointed to a local field that no
longer exists
- You address a global function interface, although the
respective function module is not active - that is, is
not in the list of active calls. The list of active calls
can be taken from this short dump.
How To Correct The Error
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"GETWA_NOT_ASSIGNED" " "
"CL_FAA_DC_SEGMENTS_SERVICES===CP" or "CL_FAA_DC_SEGMENTS_SERVICES===CM009"
"CREATE_TIMESEG_FROM_ITEMS"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
4. Details about the conditions under which the error occurred or which
actions and input led to the error.
Information on where terminated
Termination occurred in the ABAP program "CL_FAA_DC_SEGMENTS_SERVICES===CP" -
in "CREATE_TIMESEG_FROM_ITEMS".
The main program was "SAPMF05A ".
In the source code you have the termination point in line 29
of the (Include) program "CL_FAA_DC_SEGMENTS_SERVICES===CM009".
Regards,
KrishnaHi Krishna,
sounds strange...
Do you have assets with daily depreciation??
Pls. check OSS-notes 1135934, 1112997,
My favourite is note 992846, has the asset only one area and is assigned to a group asset?
Hopefully this is a usefull hint...
Best regards
Horst -
Simple Transformation XML to ABAP - error CX_ST_MATCH_ELEMENT
Hi all,
I have a problem with a transformation from xml to abap. My XML file (taken from a pdf file) is
<?xml version="1.0" encoding="iso-8859-1" ?>
- <asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
- <asx:values>
<NETWORK>E60000000000</NETWORK>
<OPERAZIONE>0010</OPERAZIONE>
- <TABELLA>
- <ROW xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/" xfa:dataNode="dataGroup">
<MANDT>300</MANDT>
<NETWORK>E60000000000</NETWORK>
<OPERAZIONE>0010</OPERAZIONE>
<ID_ACT>1</ID_ACT>
<DESC_ACT>ATTIVITÀ1</DESC_ACT>
<LONG_TXT></LONG_TXT>
<MAKE_BUY></MAKE_BUY>
<WP></WP>
<EVENTO_TECH></EVENTO_TECH>
<TIPO_LEGAME></TIPO_LEGAME>
<CONSEGNA></CONSEGNA>
</ROW>
- <ROW xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/" xfa:dataNode="dataGroup">
<MANDT>300</MANDT>
<NETWORK>E60000000000</NETWORK>
<OPERAZIONE>0010</OPERAZIONE>
<ID_ACT>2</ID_ACT>
<DESC_ACT>ATTIVITÀ2</DESC_ACT>
<LONG_TXT>ATTIVITÀ2 ATTIVITÀ2 ATTIVITÀ2 ATTIVITÀ2 ATTIVITÀ2 ATTIVITÀ2 ATTIVITÀ2 ATTIVITÀ2 ATTIVITÀ2 ATTIVITÀ2 ATTIVITÀ2</LONG_TXT>
<MAKE_BUY>M</MAKE_BUY>
<WP></WP>
<EVENTO_TECH></EVENTO_TECH>
<TIPO_LEGAME></TIPO_LEGAME>
<CONSEGNA></CONSEGNA>
</ROW>
</TABELLA>
</asx:values>
</asx:abap>
my transformation is
<?sap.transform simple?>
<tt:transform xmlns:tt="http://www.sap.com/transformation-templates">
<tt:root name="ROOT"></tt:root>
<tt:root name="NETWORK"></tt:root>
<tt:root name="OPERAZIONE"></tt:root>
<tt:template>
<abap>
<values>
<network>
<tt:value ref="NETWORK"></tt:value>
</network>
<operazione>
<tt:value ref="OPERAZIONE"></tt:value>
</operazione>
<tabella>
<tt:loop ref=".ROOT" name="line">
<mandt>
<tt:value ref="$line.mandt"></tt:value>
</mandt>
<network>
<tt:value ref="$line.network"></tt:value>
</network>
<OPERAZIONE>
<tt:value ref="$line.OPERAZIONE"></tt:value>
</OPERAZIONE>
<ID_ACT>
<tt:value ref="$line.ID_ACT"></tt:value>
</ID_ACT>
<DESC_ACT>
<tt:value ref="$line.DESC_ACT"></tt:value>
</DESC_ACT>
<LONG_TXT>
<tt:value ref="$line.LONG_TXT"></tt:value>
</LONG_TXT>
<MAKE_BUY>
<tt:value ref="$line.MAKE_BUY"></tt:value>
</MAKE_BUY>
<WP>
<tt:value ref="$line.WP"></tt:value>
</WP>
<EVENTO_TECH>
<tt:value ref="$line.EVENTO_TECH"></tt:value>
</EVENTO_TECH>
<TIPO_LEGAME>
<tt:value ref="$line.TIPO_LEGAME"></tt:value>
</TIPO_LEGAME>
<CONSEGNA>
<tt:value ref="$line.CONSEGNA"></tt:value>
</CONSEGNA>
</tt:loop>
</tabella>
</values>
</abap>
</tt:template>
</tt:transform>
when I execute my code
the system dump with this error
ST_MATCH_FAIL
excep. CX_ST_MATCH_ELEMENT
TRY.
CALL TRANSFORMATION ('ZT_NETWORK')
SOURCE XML lv_xml_data_string
RESULT network = l_network
operazione = l_operazione
root = it_data_tmp.
CATCH cx_sy_conversion_data_loss .
CATCH cx_xslt_exception INTO xslt_error.
xslt_message = xslt_error->get_text( ).
WRITE:/ xslt_message .
ENDTRY.
Any help?
thanks
enzoEnzo Porcasi wrote:
> I have a problem with a transformation from xml to abap. My XML file (taken from a pdf file) is
>
<?xml version="1.0" encoding="iso-8859-1" ?>
> <asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
> <asx:values>
Your XML is strange, it looks like a mix of pdf form content (xfa) and identity transformation (asx).
Could you explain more ?
Anyway, I tried to find out the errors (not only cx_st_match_element, that was just a catch missing), it works with the following program. Here are the main issues I have found :
- always catch exception class cx_st_error when you use simple transformations (it contains cx_st_match_element and all other simple transformation exceptions)
- xml "asx:abap" and "asx:values" in your input XML are useless, they are only used by identity transformation ("ID"); you may keep them if you want, but I advise you to see why they are in the xml !
- Use same case in your tags (if xml contains in the transformation so that it corresponds to the input XML
- I renamed all abap names with prefix ABAP_ so that to clearly differentiate xml tags and abap field names (so that it is more easy to understand, for every sdn reader; I hope it will help as I didn't find many threads in the forum).
Simple transformation :
<?sap.transform simple?>
<tt:transform xmlns:tt="http://www.sap.com/transformation-templates">
<tt:root name="ABAP_NETWORK"></tt:root>
<tt:root name="ABAP_OPERAZIONE"></tt:root>
<tt:root name="ABAP_TABELLA"></tt:root>
<tt:template>
<ROOT>
<NETWORK>
<tt:value ref=".ABAP_NETWORK"></tt:value>
</NETWORK>
<OPERAZIONE>
<tt:value ref=".ABAP_OPERAZIONE"></tt:value>
</OPERAZIONE>
<TABELLA>
<tt:loop ref=".ABAP_TABELLA" name="line">
<ROW>
<MANDT>
<tt:value ref="$line.ABAP_MANDT"></tt:value>
</MANDT>
<NETWORK>
<tt:value ref="$line.ABAP_NETWORK"></tt:value>
</NETWORK>
<OPERAZIONE>
<tt:value ref="$line.ABAP_OPERAZIONE"></tt:value>
</OPERAZIONE>
<ID_ACT>
<tt:value ref="$line.ABAP_ID_ACT"></tt:value>
</ID_ACT>
<DESC_ACT>
<tt:value ref="$line.ABAP_DESC_ACT"></tt:value>
</DESC_ACT>
<LONG_TXT>
<tt:value ref="$line.ABAP_LONG_TXT"></tt:value>
</LONG_TXT>
<MAKE_BUY>
<tt:value ref="$line.ABAP_MAKE_BUY"></tt:value>
</MAKE_BUY>
<WP>
<tt:value ref="$line.ABAP_WP"></tt:value>
</WP>
<EVENTO_TECH>
<tt:value ref="$line.ABAP_EVENTO_TECH"></tt:value>
</EVENTO_TECH>
<TIPO_LEGAME>
<tt:value ref="$line.ABAP_TIPO_LEGAME"></tt:value>
</TIPO_LEGAME>
<CONSEGNA>
<tt:value ref="$line.ABAP_CONSEGNA"></tt:value>
</CONSEGNA>
</ROW>
</tt:loop>
</TABELLA>
</ROOT>
</tt:template>
</tt:transform>
Program and XML included :
REPORT zsro2.
DATA l_network TYPE string.
DATA l_operazione TYPE string.
DATA : BEGIN OF lt_data_tmp OCCURS 0,
abap_mandt TYPE string,
abap_network TYPE string,
abap_operazione TYPE string,
abap_id_act TYPE string,
abap_desc_act TYPE string,
abap_long_txt TYPE string,
abap_make_buy TYPE string,
abap_wp TYPE string,
abap_evento_tech TYPE string,
abap_tipo_legame TYPE string,
abap_consegna TYPE string,
END OF lt_data_tmp.
DATA xslt_error TYPE REF TO cx_xslt_exception.
DATA lo_st_error TYPE REF TO cx_st_error.
DATA lv_xml_data_string TYPE string.
DATA xslt_message TYPE string.
DEFINE conc.
concatenate lv_xml_data_string &1 into lv_xml_data_string.
END-OF-DEFINITION.
*conc '<?xml version="1.0" encoding="iso-8859-1" ?>'.
*conc '<asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">'.
*conc ' <asx:values>'.
conc ' <ROOT>'.
conc ' <NETWORK>E60000000000</NETWORK> '.
conc ' <OPERAZIONE>0010</OPERAZIONE> '.
conc ' <TABELLA>'.
conc ' <ROW xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/" xfa:dataNode="dataGroup">'.
conc ' <MANDT>300</MANDT> '.
conc ' <NETWORK>E60000000000</NETWORK> '.
conc ' <OPERAZIONE>0010</OPERAZIONE> '.
conc ' <ID_ACT>1</ID_ACT> '.
conc ' <DESC_ACT>ATTIVITÀ1</DESC_ACT> '.
conc ' <LONG_TXT></LONG_TXT> '.
conc ' <MAKE_BUY></MAKE_BUY> '.
conc ' <WP></WP> '.
conc ' <EVENTO_TECH></EVENTO_TECH> '.
conc ' <TIPO_LEGAME></TIPO_LEGAME> '.
conc ' <CONSEGNA></CONSEGNA> '.
conc ' </ROW>'.
conc ' <ROW xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/" xfa:dataNode="dataGroup">'.
conc ' <MANDT>300</MANDT> '.
conc ' <NETWORK>E60000000000</NETWORK> '.
conc ' <OPERAZIONE>0010</OPERAZIONE> '.
conc ' <ID_ACT>2</ID_ACT> '.
conc ' <DESC_ACT>ATTIVITÀ2</DESC_ACT> '.
conc ' <LONG_TXT>ATTIVITÀ2 ATTIVITÀ2 ATTIVITÀ2 ATTIVITÀ2 ATTIVITÀ2 ATTIVITÀ2 ATTIVITÀ2 ATTIVITÀ2 ATTIVITÀ2 ATTIVITÀ2 ATTIVITÀ2</LONG_TXT> '.
conc ' <MAKE_BUY>M</MAKE_BUY> '.
conc ' <WP></WP> '.
conc ' <EVENTO_TECH></EVENTO_TECH> '.
conc ' <TIPO_LEGAME></TIPO_LEGAME> '.
conc ' <CONSEGNA></CONSEGNA> '.
conc ' </ROW>'.
conc ' </TABELLA>'.
conc ' </ROOT>'.
*conc ' </asx:values>'.
*conc '</asx:abap>'.
DATA lv_xml_data_string_2 TYPE string.
TRY.
CALL TRANSFORMATION zsro
SOURCE
XML lv_xml_data_string
RESULT
abap_network = l_network
abap_operazione = l_operazione
abap_tabella = lt_data_tmp[].
CATCH cx_sy_conversion_data_loss .
CATCH cx_st_error INTO lo_st_error.
xslt_message = lo_st_error->get_text( ).
WRITE:/ xslt_message .
CATCH cx_xslt_exception INTO xslt_error.
xslt_message = xslt_error->get_text( ).
WRITE:/ xslt_message .
ENDTRY.
BREAK-POINT.
Maybe you are looking for
-
Data to be fetched from legacy system to SAP and doc needs to bee posted
Hi Experts, I have a requirement where my client is using some application in Legacy system(Fuel Software) which receives fuel(Petrol, Deasel, CNG) in system and issue the same to company owned vehicles and wants that sap should be integrated and doc
-
FPN: No ESID found error while invoking BEx iviews for Reports.
Hi Everybody, We have a federated portal network [FPN] setup. We are EP 7 SP15 for both Consumer portal and BI producer portal. The content is delivered to users via RRA Remote Role Assignment ] in consumer portal for BI portal roles from Producer bi
-
Saving as pdf with pages in correct order.
my magazine is 40 pages, i want to perfect bound this . so obviously i will be only printing 36 pages as a magazine, Then the other 4 pages will be the front/back cover to be attached afterwards. when i print in indeisgn for perfect bound to my print
-
Problem getting text value of a node
Hi this is my xml: <servizio servizioID="WS-AS-14"> <mapping idEnte="-1" userName="administrator" name="ISTAT" nameTo="master"> <category id="1.2.2.0" target="true" toId="01.05.01.011.000"> <name>Descrizione1</name> </category> <c
-
Macbook Pro Retina 2.3 VS 2.6 GHz Which is the bang for your buck?
Hello everyone, So today i am contemplating whether i should go with the 2.3 or the 2.6 GHz macbook pro with retina display, no matter which one i get i will be upgrading the ram to 16GB and leaving the processors at the same clock speed. The price d