Getting a program Dump Error in Herarchial ALV
Hello All,
I am getting a dump error when I am executing the below program. Kindly help as I am not getting the output. However all the subroutines are getting properly populated with data. Getting a dump error while calling the function : REUSE_ALV_HIERSEQ_LIST_DISPLAY
Pasted below are both the question and solution. Copy the solution in SE38 and execute it to check out the dump error.
Kindly help.
Thanks,
Vinod.
QUESTION :-
Objective
Hierarchical ALV for displaying Sales documents per customer
Design
Create a program that will allow the user to display all customers that have placed Sales Orders in the given date range. The user will have an ability to drill-down to see the sales order items per customer.
Selection screen fields
Sales order creation date (range)
Customer number (range)
Output
Header
Customer Number
Customer Name
Total Order value (sum of order values from items below)
Details
Sales order number
Material number
Order quantity
Order value
Reference
Tables: KNA1, VBAK, VBAP
Transaction VA03 (Sales order)
SOLUTION :-
*& Report Z_HALV_32722 *
REPORT Z_HALV_32722 .
TYPE-POOLS: slis.
TABLES : kna1,
vbak.
SELECT-OPTIONS: s_cst_no FOR kna1-kunnr.
SELECT-OPTIONS: s_cr_dt FOR vbak-erdat.
DATA : BEGIN of ty_hdr,
kunnr TYPE vbak-kunnr,
name1 TYPE kna1-name1,
netwr TYPE vbak-netwr,
END of ty_hdr,
gt_hdr LIKE TABLE OF ty_hdr,
gs_hdr LIKE LINE OF gt_hdr.
DATA : BEGIN of ty_ln,
kunnr TYPE vbak-kunnr,
vbeln TYPE vbap-vbeln,
matnr TYPE vbap-matnr,
kwmeng TYPE vbap-kwmeng,
netwr TYPE vbap-netwr,
END of ty_ln,
gt_ln LIKE TABLE OF ty_ln,
gs_ln LIKE LINE OF gt_ln.
DATA : BEGIN of ty_hdr1,
kunnr TYPE vbak-kunnr,
END of ty_hdr1,
gt_hdr1 LIKE TABLE OF ty_hdr1,
gs_hdr1 LIKE LINE OF gt_hdr1.
DATA : gt_fc TYPE slis_t_fieldcat_alv,
gs_fc LIKE LINE OF gt_fc,
gs_k_fld TYPE slis_keyinfo_alv,
gt_layout TYPE slis_layout_alv,
gv_repid TYPE sy-repid.
START-OF-SELECTION.
gv_repid = sy-repid.
perform fetch_data.
perform prepare_fc.
perform prepare_layout.
perform show_output.
*& Form fetch_data
text
--> p1 text
<-- p2 text
form fetch_data .
SELECT kunnr
INTO CORRESPONDING FIELDS OF TABLE gt_hdr1
FROM vbak
WHERE vbak~kunnr IN s_cst_no
AND vbak~erdat IN s_cr_dt.
DELETE ADJACENT DUPLICATES FROM gt_hdr1 COMPARING kunnr.
LOOP AT gt_hdr1 INTO gs_hdr1.
SELECT SINGLE vbakkunnr kna1name1 SUM( vbak~netwr )
INTO (gs_hdr-kunnr, gs_hdr-name1, gs_hdr-netwr)
FROM vbak INNER JOIN kna1
ON vbakkunnr = kna1kunnr
WHERE vbak~kunnr = gs_hdr1-kunnr
GROUP BY vbakkunnr kna1name1.
APPEND gs_hdr TO gt_hdr.
SELECT vbakkunnr vbapvbeln vbapmatnr vbapkwmeng vbap~netwr
INTO CORRESPONDING FIELDS OF TABLE gt_ln
FROM vbap INNER JOIN vbak
ON vbapvbeln = vbakvbeln
WHERE vbak~kunnr = gs_hdr1-kunnr.
ENDLOOP.
endform. " fetch_data
*& Form prepare_fc
text
--> p1 text
<-- p2 text
form prepare_fc .
CLEAR gs_k_fld.
gs_k_fld-header01 = 'KUNNR'.
gs_k_fld-item01 = 'KUNNR'.
CLEAR gs_fc.
gs_fc-fieldname = 'KUNNR'.
gs_fc-tabname = 'GT_HDR'.
gs_fc-seltext_l = text-001.
APPEND gs_fc TO gt_fc.
CLEAR gs_fc.
gs_fc-fieldname = 'NAME1'.
gs_fc-tabname = 'GT_HDR'.
gs_fc-seltext_l = text-002.
APPEND gs_fc TO gt_fc.
CLEAR gs_fc.
gs_fc-fieldname = 'NETWR'.
gs_fc-tabname = 'GT_HDR'.
gs_fc-seltext_l = text-003.
APPEND gs_fc TO gt_fc.
CLEAR gs_fc.
gs_fc-fieldname = 'VBELN'.
gs_fc-tabname = 'GT_LN'.
gs_fc-seltext_l = text-004.
APPEND gs_fc TO gt_fc.
CLEAR gs_fc.
gs_fc-fieldname = 'MATNR'.
gs_fc-tabname = 'GT_LN'.
gs_fc-seltext_l = text-005.
APPEND gs_fc TO gt_fc.
CLEAR gs_fc.
gs_fc-fieldname = 'KWMENG'.
gs_fc-tabname = 'GT_LN'.
gs_fc-seltext_l = text-006.
APPEND gs_fc TO gt_fc.
CLEAR gs_fc.
gs_fc-fieldname = 'NETWR'.
gs_fc-tabname = 'GT_LN'.
gs_fc-seltext_l = text-007.
APPEND gs_fc TO gt_fc.
endform. " prepare_fc
*& Form prepare_layout
text
--> p1 text
<-- p2 text
form prepare_layout .
gt_layout-colwidth_optimize = 'X'.
gt_layout-expand_fieldname = 'TST'.
endform. " prepare_layout
*& Form show_output
text
--> p1 text
<-- p2 text
form show_output .
CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_CALLBACK_PROGRAM = gv_repid
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = ' '
IS_LAYOUT = gt_layout
IT_FIELDCAT = gt_fc
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
I_DEFAULT = 'X'
I_SAVE = ' '
IS_VARIANT =
IT_EVENTS =
IT_EVENT_EXIT =
i_tabname_header = 'GT_HDR'
i_tabname_item = 'GT_LN'
I_STRUCTURE_NAME_HEADER =
I_STRUCTURE_NAME_ITEM =
is_keyinfo = gs_k_fld
IS_PRINT =
IS_REPREP_ID =
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE =
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
tables
t_outtab_header = GT_HDR[]
t_outtab_item = GT_LN[]
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
endform. " show_output
Everything looks fine with the gt_layout, it is not an internal table, so no need to append to it, it is simply a structure, but you do tell it that TST is the expand field, but there is no field of this name in your internal for the header, so add it like this.
DATA : BEGIN of ty_hdr,
kunnr TYPE vbak-kunnr,
name1 TYPE kna1-name1,
netwr TYPE vbak-netwr,
<b>TST type c,</b>
END of ty_hdr,
Doing so should make you program work correctly.
Regards,
Rich Heilman
Message was edited by:
Rich Heilman
Similar Messages
-
I am getting the below dump error at the time of posting F-02.
Hi ,
Can any body help on the below issue .
I am getting the below dump error at the time of posting F-02.
Runtime Errors RAISE_EXCEPTION
Date and Time 26.08.2009 13:12:09
Short text
Exception condition "WRONG_PARAMETERS" raised.
What happened?
The current ABAP/4 program encountered an unexpected
situation.
Error analysis
A RAISE statement in the program "SAPLGLT2" raised the exception
condition "WRONG_PARAMETERS".
Since the exception was not intercepted by a superior
program, processing was terminated.
Short description of exception condition:
For detailed documentation of the exception condition, use
Transaction SE37 (Function Library). You can take the called
function module from the display of active calls.
Trigger Location of Runtime Error
Program SAPLGLT2
Include LGLT2F07
Row 52
Module type (FUNCTION)Line SourceCde
22 E_SPLIT+000016(000010) = I_ACCIT-KOSTL .
23 ENDIF.
24 ENDIF.
25 IF NOT i_accit-PRCTR IS INITIAL.
26 E_SPLIT+000026(000010) = I_ACCIT-PRCTR .
27 ENDIF.
28 IF I_BS_FIELDS IS INITIAL.
29 IF NOT i_accit-PS_PSP_PNR IS INITIAL.
30 E_SPLIT+000036(000008) = I_ACCIT-PS_PSP_PNR .
31 ENDIF.
32 ENDIF.
33 IF NOT i_accit-SEGMENT IS INITIAL.
34 E_SPLIT+000044(000010) = I_ACCIT-SEGMENT .
35 ENDIF.
36 IF NOT i_accit-PARGB IS INITIAL.
37 E_PARTNER+000000(000004) = I_ACCIT-PARGB .
38 ENDIF.
39 IF NOT i_accit-PPRCTR IS INITIAL.
40 E_PARTNER+000004(000010) = I_ACCIT-PPRCTR .
41 ENDIF.
42 IF NOT i_accit-PSEGMENT IS INITIAL.
43 E_PARTNER+000014(000010) = I_ACCIT-PSEGMENT .
44 ENDIF.
45 E_BALANCE+000000(000004) = I_ACCIT-GSBER .
46 E_BALANCE+000004(000010) = I_ACCIT-PRCTR .
47 E_BALANCE+000014(000010) = I_ACCIT-SEGMENT .
48 E_SPL_PAR+000000(000004) = I_ACCIT-GSBER .
49 E_SPL_PAR+000004(000010) = I_ACCIT-PRCTR .
50 E_SPL_PAR+000014(000010) = I_ACCIT-SEGMENT .
51 ELSE.
>>>>> RAISE WRONG_PARAMETERS.
53 ENDIF.Hello,
I guess, you activated document splitting.
Please refer OSS note below,
Note 1295877 - RAISE_EXCEPTION when navigating to Cust. for doc. splitting
Note 985672 - Subsequently posting FI docs: Runtime error WRONG_PARAMETERS
Regards,
Burak -
Query getting /crystal/ Program SYNTAX ERROR.
Hi All,
I connected to SAP BEX Query using MDX driver. when i execute query getting /crystal/ Program SYNTAX ERROR.
I imported these crystal transports R21900741,786,695,754,780 .
but got error for R71K900087 .
MY SAP BW system version is SAP BW701 SP10 , Please suggest.
Thanks,
JosephThanks Mohammed. But our application is trying to pass a parameter which contains user data like section numbers....
So when we pass the value 123.1(a) , here what is happening behind the scene of CR viewer
webSource0.AddParameter "promptex-NAMEOFPARAMETER", "123.1%28a%29"
and it throws up the error
"The syntax of the value for prompt 'NAMEOFPARAMETER' is incorrect. Please correct the syntax and try again"
I have no idea why it is throwing up this errror.... -
While uploading the excel BOM to SAP in PRD getting the ABAP dump error not
Hi Experts,
While uploading the excel BOM to SAP in PRD getting the ABAP dump error not able to proceed further.
and if I visit ST22 t code it is telling that :RAISE_EXCEPTION and DYNPRO_NOT_FOUND.
PLease help.
Regards,
MohanHi,
Better ask this question in ABAP forums.
Regards,
Harsh. -
Can't get into program. Error
The default catalog could not be found. Please open or create a new one. I haven't been able to use my program for a while now. Keep getting this error. Help
In this case, I guess there will be two options on the dialog saying 'create a new' or 'convert a catalog'. Click on 'create' button and then follow step #3, #4 listed under solution #1 on: http://psekb.blogspot.in/2013/03/pse-organizer-is-not-launching.html
Please let me know if that doesn't resolve your issue.
~Surendra -
Getting Abnormal program termination error.
I tried to install Oracle HTTP Server using Oracle Companion cd 10g. But as I inserted the cd, before the universal installer start screen it displayed an error "Abnormal program termination. An internal error has occured. Please provide the following files to Oracle Support :
"Unknown"
"Unknown"
"Unknown"
Please tell me why this happened? I even don't know what files it was talking about.
Edited by: Manas on Mar 16, 2010 11:28 AM
Edited by: Manas on Mar 16, 2010 11:28 AMThanks Herald. You are right that I downloaded the wrong file. Previously I downloaded the wrong companion cd 10g to install
HTTP Server
PL/SQL Web Toolkit
in a Windows 2008 server. I downloaded the right file and tried to install the above mentioned utilities. The start up screen of universal installer appeared with no error. I gave a different Home name and path. I didn't have to give any more information. But at last I found that HTTP Server was not installed in that server (just checked through the url localhost:7777 in Internet explorer). Please tell me if there is any problem to install companion cd 10g in windows server 2008. If it is so then how can I install
HTTP Server
PL/SQL Web Toolkit
in windows 2008 server? -
Getting dump error in Sales order creation mode while going to item texts
Hi,
I'm getting an ABAP dump error while going to item text tab in the creation mode of a sales order. This issue is happening only when we make a manual entry in the item text field for a particular text type Y011 in the preceding document of the sales order. Otherwise everything is working fine.
When I checked the settings in SPRO under SD - Text Control - Sales Doc - Item, the definition and assignment for the TEXT type Y011 is maintained correctly. Not sure why the issue is happening only with this text type.
Please assist. Thank you
TaiseerThank you for the reply.
We had tried this already. However, since the error is with standard program with many function modules. They are finding it difficult.
There is strange side also for this error that I missed to update. When I replace the Text Id Y011 with a new one it is taking me to the line item text tab with out any error even though I'm using the same access sequence and other settings. However, after saving the order and displaying the order number, immediately it is going to dump again. -
Program terminated error after entering sold to party no. in sales order
hello friends,
can any help me, i was doing the topic of user exit for pre-defined sold to party using v45a0002 in cmod and i wrote a program for include 'if sy-uname= 'sapuser'.
message e000(0) with ' you are not authorised to create so'
endif
while activating i got error msg 'The last statement is not complete (period missing)." & i have saved inspite error
after i tried create a order
program terminated error after entering sold to party no. in sales order
so i have deactivated the project created in cmod & deleted the project inspite i am getting the program terminated error
i am sending total error plz reply quickly urgent friends
Runtime Errors SYNTAX_ERROR
Date and Time 19.04.2008 17:51:58
ShrtText
Syntax error in program "SAPLXVVA ".
What happened?
Error in ABAP application program.
The current ABAP program "SAPLVKMP" had to be terminated because one of the
statements could not be executed.
This is probably due to an error in the ABAP program.
In program "SAPLXVVA ", the following syntax error occurred
in the Include "ZXVVAU04 " in line 5:
"The last statement is not complete (period missing)."
Author and last person to change the Include are:
Author "SAPUSER "
Last changed by "SAPUSER "
What can you do?
Please eliminate the error by performing a syntax check
(or an extended program check) on the program "SAPLXVVA ".
You can also perform the syntax check from the ABAP/4 Editor.
If the problem persists, proceed as follows:
Print out the error message (using the "Print" function)
and make a note of the actions and input that caused the
error.
To resolve the problem, contact your SAP system administrator.
You can use transaction ST22 (ABAP Dump Analysis) to view and administer
termination messages, especially those beyond their normal deletion
date.
is especially useful if you want to keep a particular message.
Error analysis
In program "SAPLXVVA ", the following syntax error occurred:
"The last statement is not complete (period missing)."
How to correct the error
Probably the only way to eliminate the error is to correct the program.
If you cannot solve the problem yourself and you wish to send
an error message to SAP, include the following documents:
1. A printout of the problem description (short dump)
To obtain this, select in the current display "System->List->
Save->Local File (unconverted)".
2. A suitable printout of the system log
To obtain this, call the system log through transaction SM21.
Limit the time interval to 10 minutes before and 5 minutes
after the short dump. In the display, then select the function
"System->List->Save->Local File (unconverted)".
3. If the programs are your own programs or modified SAP programs,
supply the source code.
To do this, select the Editor function "Further Utilities->
Upload/Download->Download".
4. Details regarding the conditions under which the error occurred
or which actions and input led to the error.
System environment
SAP Release.............. "640"
Application server....... "mtpl7"
Network address.......... "192.100.10.1"
Operating system......... "Windows NT"
Release.................. "5.1"
Hardware type............ "2x Intel 801586"
Character length......... 8 Bits
Pointer length........... 32 Bits
Work process number...... 0
Short dump setting....... "full"
Database server.......... "MTPL7"
Database type............ "ORACLE"
Database name............ "ERP"
Database owner........... "SAPERP"
Character set............ "English_United State"
SAP kernel............... "640"
Created on............... "Nov 4 2004 23:26:03"
Created in............... "NT 5.0 2195 Service Pack 4 x86 MS VC++ 13.10"
Database version......... "OCI_920_SHARE "
Patch level.............. "43"
Patch text............... " "
Supported environment....
Database................. "ORACLE 8.1.7.., ORACLE 9.2.0.."
SAP database version..... "640"
Operating system......... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2"
Memory usage.............
Roll..................... 8112
EM....................... 8362368
Heap..................... 0
Page..................... 122880
MM Used.................. 4229224
MM Free.................. 995472
SAP Release.............. "640"
User and Transaction
Client.............. 800
User................ "SAPUSER"
Language key........ "E"
Transaction......... "VA01 "
Program............. "SAPLVKMP"
Screen.............. "SAPMV45A 4701"
Screen line......... 16
Information on where terminated
The termination occurred in the ABAP program "SAPLVKMP" in
"SD_DETERMINE_KKBER".
The main program was "SAPMV45A ".
The termination occurred in line 0 of the source code of the (Include)
program " "
of the source code of program " " (when calling the editor 00).
Contents of system fields
Name
Val.
SY-SUBRC
0
SY-INDEX
0
SY-TABIX
1
SY-DBCNT
1
SY-FDPOS
4
SY-LSIND
0
SY-PAGNO
1
SY-LINNO
8
SY-COLNO
1
SY-PFKEY
U
SY-UCOMM
SY-TITLE
Create Standard Order kb: Overview
SY-MSGTY
E
SY-MSGID
VP
SY-MSGNO
106
SY-MSGV1
BUS2032
SY-MSGV2
SY-MSGV3
SY-MSGV4
Active Calls/Events
No. Ty. Program Include Line
Name
13 FUNCTION SAPLVKMP LVKMPU41 91
SD_DETERMINE_KKBER
12 FUNCTION SAPLVKMP LVKMPU41 91
SD_DETERMINE_KKBER
11 FUNCTION SAPLV09B LV09BU30 148
SD_PCHECK_PAYER_IN_CREDITAREA
10 FUNCTION SAPLV09B LV09BU26 296
SD_PARTNER_EXECUTE_CHECKS
9 FUNCTION SAPLV09B LV09BU25 57
SD_PARTNER_CHECK_BEFORE
8 FUNCTION SAPLV09A LV09AU26 342
SD_PARTNER_SINGLE_MODIFY
7 FORM SAPLV09A LV09AF39 176
PARTNER_SELECTION
6 FUNCTION SAPLV09A LV09AU29 820
SD_PARTNER_DETERMINATION
5 FUNCTION SAPLV05E LV05EU01 654
VIEW_KUAGV
4 FORM SAPMV45A MV45AF0K_KUAGV_SELECT 40
KUAGV_SELECT
3 FORM SAPMV45A MV45AF0A_AUFTRAGGEBER_PRUEFEN 46
AUFTRAGGEBER_PRUEFEN
2 FORM SAPMV45A MV45AF0K_KUNDEN_PRUEFEN 454
KUNDEN_PRUEFEN
1 MODULE (PAI) SAPMV45A MV45AI0K_KUNDEN_PRUEFEN 15
KUNDEN_PRUEFEN
Chosen variables
Name
Val.
No. 13 Ty. FUNCTION
Name SD_DETERMINE_KKBER
I_KKBER_KNVV
2222
0000
I_KKBER_T001
8888
3333
8888
I_KKBER_TVTA
2222
0000
I_KUNNR
7000000000
3333333333
7000000000
I_SPART
SM
54
3D
I_VKORG
T000
5333
4000
I_VTWEG
S4
53
34
XVBAK
00000000000000 000000000000000000000000 00000000
2222222222222333333333333332222222222223333333333333333333333332222222223333333322222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
E_KNVV_FLG
2
0
RC
0
0000
0000
XVBKD[]
Table[initial]
XVBPA[]
Table IT_1743[2x542]
FUNCTION=SD_PCHECK_PAYER_IN_CREDITAREADATA=LVT_CREDIT_XVBPA
Table reference: 275
TABH+ 0(20) = 70A2883B388BC43B0000000013010000CF060000
TABH+ 20(20) = 020000001E020000FFFFFFFF04910100D82F0000
TABH+ 40( 8) = 02000000C1248400
store = 0x70A2883B
ext1 = 0x388BC43B
shmId = 0 (0x00000000)
id = 275 (0x13010000)
label = 1743 (0xCF060000)
fill = 2 (0x02000000)
leng = 542 (0x1E020000)
loop = -1 (0xFFFFFFFF)
xtyp = TYPE#000209
occu = 2 (0x02000000)
access = 1 (ItAccessStandard)
idxKind = 0 (ItIndexNone)
uniKind = 2 (ItUniqueNon)
keyKind = 1 (default)
cmpMode = 2 (cmpSingleMcmpR)
occu0 = 1
collHash = 0
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 1
sharedWithShmTab = 0
isShmLockId = 0
gcKind = 0
isUsed = 1
>>>>> Shareable Table Header Data <<<<<
tabi = 0x28C1883B
pghook = 0x00000000
idxPtr = 0x00000000
refCount = 1 (0x01000000)
tstRefCount = 0 (0x00000000)
lineAdmin = 2 (0x02000000)
lineAlloc = 2 (0x02000000)
store_id = 690 (0xB2020000)
shmIsReadOnly = 0 (0x00000000)
>>>>> 1st level extension part <<<<<
regHook = 0x00000000
hsdir = 0x00000000
ext2 = 0x28A4883B
>>>>> 2nd level extension part <<<<<
tabhBack = 0x109C883B
delta_head = 000000000000000000000000000000000000000000000000000000000000000000000000
pb_func = 0x00000000
pb_handle = 0x00000000
I_KKBER
2222
0000
FCODE_KOMM_LIEF_MENGE_SICH
MOD2
44432222222222222222
DF420000000000000000
SYST-REPID
SAPLVKMP
5454544522222222222222222222222222222222
310C6BD000000000000000000000000000000000
%_SPACE
2
0
FCODE_KONFIGURATION1
POKO
54442222222222222222
0FBF0000000000000000
CREDIT_CHECK
2222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000
SY-REPID
SAPLVKMP
5454544522222222222222222222222222222222
310C6BD000000000000000000000000000000000
SAV_BUKRS
SS00
5533
3300
CHAR_
2
0
%_DUMMY$$
2222
0000
AUTOMO_VOLVO
08
33
08
SPACE
2
0
FCODE_ABRUF_GENERIEREN
PABG
54442222222222222222
01270000000000000000
XVBRK
00000000 0000000
2222222222222222222222222222222222222222222222223333333322222222223333333222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
KOPGR_LIEFERPLAN
LL
4422
CC00
FCODE_ZUSAETZE_FAB
PFZU
54552222222222222222
06A50000000000000000
FCODE_REPARATUR
PREP
55452222222222222222
02500000000000000000
XVBKD
000000 #####0000000000 ####
2222222222222333333222222222222222222222222222222222222222222222222200000333333333322222220000
000000000000000000000000000000000000000000000000000000000000000000000000C000000000000000000000
FCODE_GEFAHRGUT
KGGP
44452222222222222222
B7700000000000000000
I_KKBER_HELP
2222
0000
T001
800SS00SRIYA TEXTILES HYDERABAD IN INR EINT 10K41 0000050495DE1
3335533554542545544452222222222245445444422222222222222224424452244452334332222223333333333443
800330032991045849C530000000000089452121400000000000000009E09E20059E4010B410000000000050495451
FCODE_STOFFBERICHTE
IEHS
44452222222222222222
95830000000000000000
T001-BUKRS
SS00
5533
3300
No. 12 Ty. FUNCTION
Name SD_DETERMINE_KKBER
I_KKBER_KNVV
2222
0000
I_KKBER_T001
8888
3333
8888
I_KKBER_TVTA
2222
0000
I_KUNNR
7000000000
3333333333
7000000000
I_SPART
SM
54
3D
I_VKORG
T000
5333
4000
I_VTWEG
S4
53
34
XVBAK
00000000000000 000000000000000000000000 00000000
2222222222222333333333333332222222222223333333333333333333333332222222223333333322222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
E_KNVV_FLG
2
0
RC
0
0000
0000
XVBKD[]
Table[initial]
XVBPA[]
Table IT_1743[2x542]
I_KKBER
2222
0000
XVBKD
000000 #####0000000000 ####
2222222222222333333222222222222222222222222222222222222222222222222200000333333333322222220000
000000000000000000000000000000000000000000000000000000000000000000000000C000000000000000000000
I_KKBER_HELP
2222
0000
No. 11 Ty. FUNCTION
Name SD_PCHECK_PAYER_IN_CREDITAREA
FIC_OBJECTKEY
2222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000
FIC_OBJECTTYPE
BUS2032
4553333222
2532032000
FIF_CHECKTYPE
I
4
9
FIF_MSGTYPE
E
4
5
FIF_NRART
KU
45
B5
FIF_PARGR
TA
5422
4100
FIF_PARNR
7000000000
3333333333
7000000000
FIF_PARVW
RG
5422
2700
FIF_POSNR
000000
333333
000000
FIF_RTYPE
0003
3333
0003
FIS_SDORGDATA
T000S4SMZSOR
533353545545222222
4000343DA3F2000000
FRF_MESSAGES
0
0000
0000
FRF_MESSAGE_COUNT
0
0000
0000
LVF_KKBER2
2222
0000
LVF_KUNNR
7000000000
3333333333
7000000000
SYST-REPID
SAPLV09B
5454533422222222222222222222222222222222
310C609200000000000000000000000000000000
LVF_KURGV2
2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
SY-MSGV4
22222222222222222222222222222222222222222222222222
00000000000000000000000000000000000000000000000000
SY-MSGV2
22222222222222222222222222222222222222222222222222
00000000000000000000000000000000000000000000000000
FIS_SDORGDATA-SPART
SM
54
3D
FIS_SDORGDATA-VKORG
T000
5333
4000
FIS_SDORGDATA-VTWEG
S4
53
34
%_O_SD_PARTNER_CONTEXT-HEX_0004
1
0
LVT_CREDIT_XVBPA
Table IT_1743[2x542]
LVF_KKBER1
2222
0000
GCS_HERTAB
ABCDEFG
24444444
01234567
%_DUMMY$$
2222
0000
SY-SUBRC
0
0000
0000
LVF_BEFORE_PARVW
2222
0000
No. 10 Ty. FUNCTION
Name SD_PARTNER_EXECUTE_CHECKS
FIC_OBJECTKEY
2222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000
FIC_OBJECTTYPE
BUS2032
4553333222
2532032000
FIF_BEFORE
2
0
FIF_CHECKTYPE
I
4
9
FIF_DIALOG
2
0
FIF_MSGTYPE_TO_EXEC
E
4222
5000
FIF_NRART
KU
45
B5
FIF_PARGR
TA
5422
4100
FIF_PARNR
7000000000
3333333333
7000000000
FIF_PARVW
RG
5422
2700
FIF_POSNR
000000
333333
000000
FIF_RTYPE
0003
3333
0003
FIS_SDORGDATA
T000S4SMZSOR
533353545545222222
4000343DA3F2000000
FRF_MESSAGES
0
0000
0000
FRF_MESSAGE_COUNT
0
0000
0000
LVF_ALL_PREDECESSORS_SUCCEEDED
X
5
8
FALSE
2
0
GS_MARKED_PARTNERS
222222222222
000000000000
LVT_CHECKCALLSTACK
Table IT_1515[21x52]
FUNCTION=SD_PARTNER_EXECUTE_CHECKSDATA=LVT_CHECKCALLSTACK
Table reference: 219
TABH+ 0(20) = E8C3863B0000000000000000DB000000EB050000
TABH+ 20(20) = 1500000034000000F00000000491010058090000
TABH+ 40( 8) = 15000000C1248000
store = 0xE8C3863B
ext1 = 0x00000000
shmId = 0 (0x00000000)
id = 219 (0xDB000000)
label = 1515 (0xEB050000)
fill = 21 (0x15000000)
leng = 52 (0x34000000)
loop = 240 (0xF0000000)
xtyp = TYPE#000033
occu = 21 (0x15000000)
access = 1 (ItAccessStandard)
idxKind = 0 (ItIndexNone)
uniKind = 2 (ItUniqueNon)
keyKind = 1 (default)
cmpMode = 2 (cmpSingleMcmpR)
occu0 = 1
collHash = 0
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 0
sharedWithShmTab = 0
isShmLockId = 0
gcKind = 0
isUsed = 1
>>>>> Shareable Table Header Data <<<<<
tabi = 0x90BF863B
pghook = 0x00000000
idxPtr = 0x00000000
refCount = 0 (0x00000000)
tstRefCount = 0 (0x00000000)
lineAdmin = 21 (0x15000000)
lineAlloc = 21 (0x15000000)
store_id = 595 (0x53020000)
shmIsReadOnly = 0 (0x00000000)
>>>>> 1st level extension part <<<<<
regHook = Not allocated
hsdir = Not allocated
ext2 = Not allocated
>>>>> 2nd level extension part <<<<<
tabhBack = Not allocated
delta_head = Not allocated
pb_func = Not allocated
pb_handle = Not allocated
LVS_CHECKCALLSTACK_WA
80000018BUS2030 SD_PCHECK_PAYER_IN_CREDITAREA XX
3333333345533332225455444445545455445454445454422255
80000018253203000034F03853BF01952F9EF325494125100088
GT_MARKED_FOR_DEL_PARTNERS
Table[initial]
LVS_CHECKCALLSTACK_WA-FUNCNAME
SD_PCHECK_PAYER_IN_CREDITAREA
545544444554545544545444545442
34F03853BF01952F9EF32549412510
GC_NO_ACTION
2
0
GC_NEW_PARTNER
I
4
9
GVC_PARTNER_CONTEXT
CONTEXT_X_SD_PARTNER_CONTEXT fò####################################################
44454555555455455445544454552222222222226F0000000000000000000000000000000000000000000000000000
3FE4584F8F34F0124E52F3FE4584000000000000620000000000000000000000000000000000000000000000000000
GC_ERROR
E
4
5
GC_PROCESSMODE_DIALOG
D
4
4
LVF_MSGTYP
E
4
5
BUFFER_FULL_FILLED
F
4
6
POS_NUL
000000
333333
000000
BUFFER_PARTITIAL_FILLED
P
5
0
%_ARCHIVE
2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
GCS_PARTNER_ROLETYPES
0001000200030004000500060007000800090010001100120013NONE
33333333333333333333333333333333333333333333333333334444
0001000200030004000500060007000800090010001100120013EFE5
GCS_PARTNER_TYPE
KUAPLIPE
45454454
B510C905
LVF_RTYPE
0003
3333
0003
GCS_PARTNER_CALL_BACK_EVENTS
CHANGE DELETE NEW
444444222244445422224452222222
381E75000045C5450000E570000000
%_PRINT
000 0 ##
2222333222222222222222222222222222222222222222222222222222222222222222222222222222222222223200
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
GCF_INITIAL_PARTNER
0
32
00
GCF_CALLER_TRANSPORT
T
5
4
TPACHECKRELATION
0000000000
2223333333333
0000000000000
GC_APPL_LOG
SDBFPD
54445422222222222222
34260400000000000000
SY-REPID
SAPLV09B
5454533422222222222222222222222222222222
310C609200000000000000000000000000000000
GVC_PARTNER_CONTEXT-B0007-PARVW
RG
54
27
No. 9 Ty. FUNCTION
Name SD_PARTNER_CHECK_BEFORE
FIC_OBJECTKEY
2222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000
FIC_OBJECTTYPE
BUS2032
4553333222
2532032000
FIF_BEFORE
2
0
FIF_CHECKTYPE
I
4
9
FIF_DIALOG
2
0
FIF_NRART
KU
45
B5
FIF_PARGR
TA
5422
4100
FIF_PARNR
7000000000
3333333333
7000000000
FIF_PARVW
RG
5422
2700
FIF_POSNR
000000
333333
000000
FIF_RTYPE
0003
3333
0003
FIS_SDORGDATA
T000S4SMZSOR
533353545545222222
4000343DA3F2000000
FRF_MESSAGES
0
0000
0000
FRF_MESSAGE_COUNT
0
0000
0000
LS_STATISTICS
########################4 ################
00000000000000000000000032220000000000000000
00000000000000000000000040000000000000000000
No. 8 Ty. FUNCTION
Name SD_PARTNER_SINGLE_MODIFY
FIC_OBJECTKEY
2222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000
FIC_OBJECTTYPE
BUS2032
4553333222
2532032000
FIF_BOKRE
2
0
FIF_CLEAR_APPL_LOG
X
5
8
FIF_DIALOG
2
0
FIF_HARD_DELETION
2
0
FIF_HISTUNR
00
33
00
FIF_HZUOR
00
33
00
FIF_INITIAL_VALUE
X
5
8
FIF_KNREF_PARNR
2222222222
0000000000
FIF_KUNNR_NEW
7000000000
3333333333
7000000000
FIF_KUNNR_OLD
2222222222
0000000000
FIF_LISTPROCESSING
2
0
FIF_MANUAL_ADDRESS
2222222222
0000000000
FIF_MANUAL_ADDRESS_ORIGIN
2
0
FIF_NO_CPD_DIALOG
2
0
FIF_NO_DIALOG
2
0
FIF_NO_MESSAGES
2
0
FIF_PARGR
TA
5422
4100
FIF_PARTIAL_NEW_DETERMINATION
2
0
FIF_PARVW
RG
5422
2700
FIF_POSNR
000000
333333
000000
FIF_PRFRE
2
0
FIF_VKORG
2222
0000
FIS_SDORGDATA
T000S4SMZSOR
533353545545222222
4000343DA3F2000000
FEV_ACTION_DONE
I
4
9
FRF_LOG_COUNT
0
0000
0000
SYST-REPID
SAPLV09A
5454533422222222222222222222222222222222
310C609100000000000000000000000000000000
GVT_LOCAL_CALL_BACK_MEMORY[]
Table[initial]
%_SPACE
2
0
SY-REPID
SAPLV09A
5454533422222222222222222222222222222222
310C609100000000000000000000000000000000
LVF_ACTION_TODO
I
4
9
GC_UPD_PARTNER
U
5
5
%_VIASELSCR
0
4
%_ARCHIVE
2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
GCS_PARTNER_ROLETYPES-SHIP_TO
0002
3333
0002
LVF_NRART
KU
45
B5
LVF_KUNNR_NEW
7000000000
3333333333
7000000000
GCS_ADDRESS_GROUP
SD01CA01
54334433
34013101
GCF_APPL_TABLE_SD
VBUK
5454222222
625B000000
LVF_ROLETYPE
0003
3333
0003
RSJOBINFO
00000000000000 ####
222222222222222222222222222222223333333333333322222222222222222222222222222222220000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000
LVF_MESSAGE_COUNT
0
0000
0000
%_DUMMY$$
2222
0000
GCF_ADDRESS_TYPE_CONT_PERSON
3
3
3
No. 7 Ty. FORM
Name PARTNER_SELECTION
TVTA
000
222222222222222222222222222222222333222222222222222
000000000000000000000000000000000000000000000000000
TPAER
00
22222222222222332222
00000000000000000000
LVS_XVBPA
000000RG7000000000 0000000000000000000000050510
2222222222222333333543333333333222222222233333333333333333333333333332222222222222222222222222
0000000000000000000277000000000000000000000000000000000000000000505100000000000000000000000000
LVF_PARNR
7000000000
3333333333
7000000000
PIC_OBJECTKEY
2222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000
PIC_OBJECTTYPE
BUS2032
4553333222
2532032000
PIF_NO_DIALOG
2
0
PIF_PARGR
TA
5422
4100
LVF_PARVW
RG
5422
2700
PIF_POSNRHi Kartik,
Could you please be more clearer as to how do you want me to proceed so that this syntax error stops bothering me while creating a standard order thru TCode VA01.Also what do you mean by "well comment the code in the include and activate the include"
I created a projet in CMOD and than added the enhancement V45A0002.The components shown as EXIT_SAPMV45A_002(Predefined sold to party when making the standard order),i double click on the exit and entered into the function module.After that i double clicked on the include ZXVVZU04 and entered in and wrote E_KUNNR=100171
While activating i got error msg 'The last statement is not complete (period missing)." & i have saved inspite the error .After that i tried to create a order and program terminated error came after entering sold to party no. in sales order
so now i have deactivated the project which i created in CMOD & deleted the project also inspite of this i am getting the program terminated error while making the order
I would be great ful if somebody helps me *** out of this syntax error.
Thanks
Rishi -
Dump Error In Material Master Transaction
Dear Experts,
When i am creating or changing any material master record, i am getting the below dump error while saving the material.
What happened?
Error in the ABAP Application Program
The current ABAP program "SAPLC1F2" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
The following syntax error occurred in program "SAPLC1AX " in include "%_CESPCL
" in
line 77:
"Component called ATWRT already exists. ."
The include has been created and last changed by:
Created by: "SAP "
Last changed by: "SAP "
Error in the ABAP Application Program
The current ABAP program "SAPLC1F2" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
Error analysis
The following syntax error was found in the program SAPLC1AX :
"Component called ATWRT already exists. ."
Trigger Location of Runtime Error
Program SAPLC1F2
Include LC1F2U10
Row 594
Module type (FUNCTION)
Module Name C1F2_SUBSTANCES_SAVE_TO_DB
Can you please help me out with this?
Thanks,
PraveenHi,
I have not made any changes in the Enhancements/BADIS which are related to ATWRT, but created one ZTable for linking the
Vendor (LIFNR), Material (MATNR) & Manufacturer (ATWRT).
Here are the additional details of the dump which i am getting in MM01/MM02 transactions for your reference.
Moderator message - Please respect the 5,000 character maximum when posting. Post only the relevant portions of the dump
Can you please help me with this?
Thanks,
Praveen
Edited by: Rob Burbank on Feb 2, 2011 9:29 AM -
ABAP dump Error while creating service order in PCUI.
Hi Experts,
We are getting following ABAP dump error while creating service order in PCUI which is working fine in GUI.
Runtime Errors RAISE_EXCEPTION
Date and Time 02.01.2008 14:55:38
Short text
Exception condition "TYPE_NOT_FOUND" raised.
What happened?
The current ABAP/4 program encountered an unexpected
situation.
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
A RAISE statement in the program "CL_CRM_ELEMDESCR==============CP" raised the
exception
condition "TYPE_NOT_FOUND".
Since the exception was not intercepted by a superior
program, processing was terminated.
Short description of exception condition:
For detailed documentation of the exception condition, use
Transaction SE37 (Function Library). You can take the called
| function module from the display of active calls.
We have added custom fields in the service application. these custom fields with Z-structure & data elements are included in BSP structure CRMT_BSP_SRV_OIC_SRCHRES in development system.But the same Z structure & custom fields are exist in the production system but not included in BSP Structue CRMT_BSP_SRV_OIC_SRCHRES.
This may be the reason resulting this ABAP dump error in PCUI while creating Service order.
How these Z structures can be included in the BSP Structure CRMT_BSP_SRV_OIC_SRCHRES in production system?
Helpful answers would be rewrded max points as it is high priority issue.
Regards,
Basavaraj PatilHi Thirumala,
Thnaks for the reply.
I have enhanced service application using transaction EEWB to add new custom fields. these fields are there in Z structure created by the system in production system. All the transports are moved to target system. Problem is that Z structure( contains custom fields) created while doing EEWB is not included in BSP structure.
I f transports are missed to move to target system, Is there any other alternative to solve this problem?
Regards,
Basavaraj Patil -
Dump Error while creating Business Partner in FPP1
Dear Experts,
I am using the EHP5 IS-U component. I am getting the below dump error, when I am trying to create Business partner in T.Code: FPP1.
**Error in the ABAP Application Program**
**The current ABAP program "ISU_BUPA_EVENT_DINP1==========FT" had to be terminated because it has come across a statement that unfortunately cannot be executed.**
**The following syntax error occurred in program "SAPLES02 " in include "LES02U14 " in line 30:**
**"The data object "BUS0DIINIT" does not have a component called "MUSTER_KUN".**
I have searched SAP notes, but I am unable to find any suitable notes to resolve this issue.
Could anyone help me to resolve this issue.
Thanks in Advance,
Regards,
AswinHi,
Please don't go adding fields. Aren't we talking about SAP-standard structures here?
Have you actually checked (in transaction SE11) that the structure ISU_EKUNINIT is included in the BUS0DIINIT?
If it is, and the field MUSTER_KUN is missing, then you should raise an OSS note.
If the structure is not included, you should also talk to OSS. Your ISU installation might be incomplete?
cheers
Paul Bakker -
Short dump Error in BAPI_BUS2054_SET_STATUS
I am trying to set status of wbs element and have the following sequence of calls based on the
Error in BAPI_BUS2054_SET_STATUS
CALL FUNCTION 'BAPI_PS_INITIALIZATION' .
CALL FUNCTION 'BAPI_PS_PRECOMMIT'
TABLES
et_return = it_bapiret.
CALL FUNCTION 'BAPI_BUS2054_SET_STATUS'
IMPORTING
return = l_return
TABLES
i_wbs_user_status = it_wbs_user_status
e_result = lt_e_result.
IF l_return-type EQ 'E'.
gv_flg_error = 'X'.
ENDIF.
CALL FUNCTION 'BAPI_PS_PRECOMMIT'
TABLES
et_return = it_bapiret.
READ TABLE it_bapiret INTO it_bapiret WITH KEY type = 'E'.
IF sy-subrc = 0.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
ENDIF.
I am still getting the short dump :
Error analysis
Short text of error message:
Precommit did not run successfully
Information on where terminated
Termination occurred in the ABAP program "SAPLPS_BAPI" - in "CHK_PRECOMMIT".
The main program was "RS_TESTFRAME_CALL ".
In the source code you have the termination point in line 24
of the (Include) program "LPS_BAPIF01".
Any help to make this work is appreciated.suzzie
you are always calling precommit after set_status.you should call only if set_status is successfull.
This is how we are calling for network status.
call function 'BAPI_PS_INITIALIZATION'.
call function 'BAPI_BUS2002_SET_STATUS'
exporting
number = network
tables
i_activity_system_status = it
e_result = itet.
read table itet into wa_itet with key message_type = 'E'.
if sy-subrc ne 0.
call function 'BAPI_PS_PRECOMMIT'
tables
et_return = etit.
call function 'BAPI_TRANSACTION_COMMIT'
exporting
wait = 'X'.
else.
MOVE wa_itet-message_text TO wa_error_tab-message_text.
wa_error_tab-key1 = network.
wa_error_tab-key2 = wa_itet-objectkey+12(4).
wa_error_tab-object_type = c_activity.
APPEND wa_error_tab TO e_error_tab.
endif. -
Short Dump Error DBIF_DSQL2_SQL_ERROR
Hi All,
I am getting a Short dump error DBIF_DSQL2_SQL_ERROR when I try to selectively delete the contents of an infocube. Now, we have a custom program that does this selective deletion. I had no problem when I ran this program in Development system. But when I try to do the same in Testing system, I get a short dump error.
Additional info: We have DB2 for database.
Thanks,
Ashmith RoyHi All,
Thanks for your input. The exact error I am getting is in as follows:
Runtime Error DBIF_DSQL2_SQL_ERROR
Except. CX_SY_NATIVE_SQL_ERROR
An SQL error occurred when executing Native SQL.
Error "-199" occurred in the current database connection "DEFAULT".
How to correct the error
Database error text........: "[IBM][CLI Driver][DB2] DSNT408I SQLCODE = -199,
ERROR: ILLEGAL USE OF KEYWORD FETCH. TOKEN WAS EXPECTED DSNT418I SQLSTATE =
42601 SQLSTATE RETURN CODE "
Database error code .......: "-199"
Triggering SQL statement...: "FETCH NEXT "
Internal call code.........: "[DBDS/NEW DSQL]"
Please check the entries in the system log (Transaction SM21).
Information on where terminated
The termination occurred in the ABAP program "GP41YKV36E6C2VFC36AKSJQXCD3" in
"COUNT".
The termination occurred in line 0 of the source code of the (Include)
program " "
of the source code of program " " (when calling the editor 00).
Processing was terminated because the exception "CX_SY_NATIVE_SQL_ERROR"
occurred in the
procedure "COUNT" "(FORM)" but was not handled locally, not declared in the
RAISING clause of the procedure.
The procedure is in the program "GP41YKV36E6C2VFC36AKSJQXCD3 ". Its source code
starts in line 0
of the (Include) program "???".
So could you please advise as to how to correct the error?
Ashmith Roy -
Billing dump error!!!
Hi gurus..
while iam doing easibi transaction iam getting the following dump error.can anyone please tel the reason behind this error?
it would be more appriciatable.
Error analysis
Short text of error message:
200026 already exists
Long text of error message:
Diagnosis
You have specified a record that already exists in the database.
System Response
Procedure
Choose a new key value.
Technical information about the message:
Message class....... "E9"
Number.............. 012
Variable 1.......... 200026
Variable 2.......... " "
Variable 3.......... " "
Variable 4.......... " "
Trigger Location of Runtime Error
Program SAPLERCU
Include LERCUU07
Row 51
Module type (FUNCTION)
Module Name ISU_DB_ERCH_UPDATE
Source Code Extract
Line SourceCde
21 * Falls BelNr leer ==> Abbruch!
22 * Es sind bei Kunden Abrechnungsbeleg mit leerer BELNR
23 * aufgetreten.
24 IF X_ERCH-BELNR IS INITIAL.
25 IF 1 = 2.
26 MESSAGE A674(AJ) WITH X_ERCH-VERTRAG.
27 ENDIF.
28 MAC_MSG_PUTX CO_MSG_PROGRAMMING_ERROR '674' 'AJ'
29 X_ERCH-VERTRAG SPACE SPACE SPACE SPACE .
30 ENDIF.
31 * Eröffnungs-/Änderungsdaten schreiben
32 CALL FUNCTION 'ISU_OPENING_DATA_UPDATE'
33 EXPORTING
34 X_ERNAM = X_ERCH-ERNAM
35 X_ERDAT = X_ERCH-ERDAT
36 X_UPD_MODE = X_UPD_MODE
37 IMPORTING
38 Y_ERDAT = X_ERCH-ERDAT
39 Y_ERNAM = X_ERCH-ERNAM
40 Y_AEDAT = X_ERCH-AEDAT
41 Y_AENAM = X_ERCH-AENAM
42 EXCEPTIONS
43 NOT_CHANGED = 1.
44 IF X_UPD_MODE = CO_UPD_INSERT.
45 INSERT ERCH FROM X_ERCH.
46 IF SY-SUBRC <> 0.
47 * Eintrag schon vorhanden
48 IF 1 = 2.
49 MESSAGE A012(E9) WITH X_ERCH-BELNR."Hier Schlüsselfel
50 ENDIF.
>>>> MAC_MSG_PUTX CO_MSG_UPDATE_ERROR '012' 'E9'
52 X_ERCH-BELNR SPACE SPACE SPACE SPACE .
53 ENDIF.
54 ELSE.
55 IF X_UPD_MODE = CO_UPD_DELETE.
56 X_ERCH-MANDT = SY-MANDT.
57 DELETE ERCH FROM X_ERCH.
58 ELSEIF X_UPD_MODE = CO_UPD_UPDATE.
59 UPDATE ERCH FROM X_ERCH.
60 ELSEIF X_UPD_MODE = CO_UPD_MODIFY.
61 MODIFY ERCH FROM X_ERCH.
62 ENDIF.
63 IF SY-SUBRC <> 0.
64 * Eintrag nicht vorhanden
65 IF 1 = 2.
66 MESSAGE A011(E9) WITH X_ERCH-BELNR."Hier Schlüsselfelder angeben
67 ENDIF.
68 MAC_MSG_PUTX CO_MSG_UPDATE_ERROR '011' 'E9'
69 X_ERCH-BELNR SPACE SPACE SPACE SPACE .
70 ENDIF.Looks like you have duplicate entry somehow in your system. There is an existing billing document in ERCH with the same number and that is why you are getting this dump. So the question is why it is coming up with the same number again. Did someone change the number range interval next number? Are there any user exits implemented, that incorrectly effecting this?
Please go to SE16 and see if this record exists in ERCH table. -
Short dump error when using count(*)
Hi Experts
I am getting a short dump error when selecting the records >= current date - 30 see the coding and comment please correct the coding I want to know the ztable records it is important for command interface.
I have 1402345 records available after deleting the records but as the memory is not enough it is giving short dump error
select count(*) from ZINT_TABLE
select count(*) from ZINT_MSGS
select * from zint_data
nto table izint_d2 . "PACKAGE SIZE 20000
where STATUS = 'OK' AND CREATED_ON >= w_date1. " VALUE
endselect.**
report z_eslp_command_records.
data: cnt type i.
data: cnt2 type i.
data: cnt3 type i.
data: cnt4 type i.
DATA:
w_date1 like sy-datum .
DATA:
w_date2 like sy-datum.
data: izint_msgs type table of zint_msgs.
data: izint_data type table of zint_data.
data: izint_m2 type table of zint_msgs.
data: izint_d2 type table of zint_data.
INITIALIZATION.
w_date1 = sy-datum - 30.
w_date2 = sy-datum - 30.
select * from zint_data
into table izint_data PACKAGE SIZE 3000
where STATUS = 'OK' AND CREATED_ON <= w_date1. " ZERO
endselect.
select * from zint_msgs
into table izint_msgs PACKAGE SIZE 3000
where CREATED_ON <= w_date2. " ZERO
endselect.
select * from zint_data
into table izint_d2 PACKAGE SIZE 20000
where STATUS = 'OK' AND CREATED_ON >= w_date1. " VALUE
endselect.
select * from zint_msgs
into table izint_m2 PACKAGE SIZE 20000
where CREATED_ON >= w_date2. " VALUE
endselect.
select * from zint_data
into table izint_data2
where STATUS = 'OK' AND CREATED_ON >= CONVERT(CHAR(8), GETDATE() - 30, 112)).
ENDSELECT.
select * from zint_msgs
into table izint_msgs2
where CREATED_ON >= CONVERT(CHAR(8), GETDATE() - 30, 112)).
ENDSELECT.
sort izint_data by created_on ascending.
sort izint_msgs by created_on ascending.
sort izint_d2 by created_on ascending.
sort izint_m2 by created_on ascending.
describe table izint_data lines cnt.
describe table izint_msgs lines cnt2.
describe table izint_d2 lines cnt3.
describe table izint_m2 lines cnt4.
write:/ ' Note: THE RECORDS COUNTED SHOULD SHOW ZERO ELSE THE SCRIPT FAILED TO RUN' color 3.
skip.
write:/ '1. Records counted in ZINT_DATA <=current date - 30 :' color 2, cnt color 4.
write:/ '2. Records available in ZINT_DATA >=current date - 30 'color 4, cnt3 color 4 .
skip.
write:/ '2. Records counted in ZINT_MSGS <=current date - 30 :' color 2 , cnt2 color 4.
write:/ '4. Records available in ZINT_MSGS >=current date - 30 'color 4 , cnt4 color 4 .
TOP-OF-PAGE.
WRITE:/55(60) ' WAGNERS INVESTMENT LIMITED '.
WRITE:/50(40) ' Command Interface Data' CENTERED .
WRITE:/50(40) '----
' CENTERED .
FORMAT INTENSIFIED ON.
SKIP.
"FORMAT COLOR COL_HEADING.
ULINE.
FORMAT COLOR 1.
END-OF-PAGE.Answer
Maybe you are looking for
-
IPhoto 6.06 "quit unexpectantly" problem
IPhoto 6.06 "quit unexpectantly" problem Running OS 10.4.9 I dragged some jpegs into iphoto for import The jpegs were dated 2002 and named tom001.jpg etc. While importing they caused iphoto to unexpectantly quit When iPhoto is relaunched it begins to
-
Auto change page size of local printer ?
Dear all, I have two reports with different output page size. Those two reports print with the same local printer. Each time i print report, i need manully select the print page size on the printer setting page (on printer server level, not sap level
-
Wanting to Get My First iPhone
Hey- How can I get an idea what size iPhone 4S I should get? Is there a way to get an idea not only on the processor size but also the plan type. Right off I want the biggest to accomodate all the HD videos I take for work, but I really have no ide
-
Toplink app works without oc4j,fails with security excp. in oc4j[SOLVED]
OS: Windows XP jdk version: 1.5.0.04 (installed normally with windows installer, no tampering) JDeveloper version: 10.1.3.2.0 (base installation) I'm new to JDeveloper and I'm working on SRDemo application from online ADF tutorial under JDeveloper. A
-
I am trying to build a down across report. Header1 Header2 1 10 5 50 2 20 6 60 3 30 7 70 4 40 8 80 end of page end of page is there any way to make the header Reprint for the data group to the right ???? Thanks null