ABAP Dump in Process Order
Hi,
I have made a process order. Now when i go and try to do anything in it it goes to dump.
It shows Exception condition "OPR_NOT_FOUND" raised.
can you ex
I have applied the OSS note and got a solution . I want to replicate the error but I am not able to do so..
I want to know why does this error comes.
How to create a process order with this error.
Similar Messages
-
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 -
Abap dump error while release Production order
Dear Gurus,
Abap dump error is creating while release production order , pour some light on this issue.
Regards,
KamalHello,
use transaction ST22 to analyze the error type. There you have the detail of the error message, the program and the line of the ABAP code where the dump was triggered.
Best regards,
Andrea -
Dump while creating Process Order -COR1
Hi,
I am getting dump while creating a Process Order thru COR1. the dump error discription GETWA_NOT_ASSIGNED .HI omprasath rajendiran,
Do you solve the problème, because i get the same problème with COR1 ? -
ABAP Programming Error when saving the Process Order confirmation in COR6N
Hello,
We have an issue related to Process Order confirmation using Tcode COR6N. When we enter all the inputs to confirm( Activity, yield and phase) and click on save it gives ABAP Programming Error (Exception condition "SEQ_NOT_FOUND" raised).
Any inputs in this regard, would be appreciated.Hello
I can observe that you have implemented the report ZOPSECRE and that an inconsistency was found.
This repor corrects inconsistent orders which do not have an operation or a sequence, or the two of them.
The report checks whether there is at least one operation or one sequence and creates both including status objects.
Therefore, you need to have the default valus for the operation generation defined on OPJG for this order type/plant.
BR
Caetano -
Process Chain fails - ABAP dump
Hi Everyone,
Some of the process chains in our system keep failing at random intervals and end with an ABAP dump (MESSAGE_TYPE_X). The short text error message in the log says: 'The current application triggered a termination with a short dump'.
Long Text:
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).
Code Extract:
14 select single * from rsmdatastate bypassing buffer
15 into l_s_datastate
16 where infocube = i_infocube.
17 if sy-subrc ne 0.
18 message x051(rsar) with 'infocube_not_found' i_infoc
19 raise infocube_not_found.
20 endif.
21
22 * nur weitere Tests, falls Request kleiner als qualok
23 if i_rnsid <= l_s_datastate-qualok.
>>>> message x051(rsar) with 'sid_too_low' i_rnsid
25 l_s_datastate-qualok.
26 else.
27
28 if i_rnsid <= l_s_datastate-compr
29 or i_rnsid <= l_s_datastate-rollup_rsvd_dual
30 or i_rnsid <= l_s_datastate-dmall.
31
32 message x051(rsar) with i_rnsid
33 l_s_datastate-compr
34 l_s_datastate-rollup_rsvd_
35 l_s_datastate-dmall.
36 raise write_not_allowed.
37
38 elseif l_s_datastate-rollup_rsvd_dual = 0.
39 * es sind noch keine Aggregate vorhanden
40 * check, ob ein Aggregat gefüllt wird
We have been getting this error in different PCs with no specific pattern. When I re-generate the program and repeat the process chain, it executes successfully.
What could be the cause of this repeated failure?
Thanks,
RamTo recognize this error early on, the attached corrections check whether the references are correct. If they are not, the following termination occurs:
"System error in program SAPLRRSI and form INITIALIZE-1- (see long text)".
The content version of the characteristic 0REQUEST is usually correct. You can see this in transaction RSD5 (dropdown content). If this is the case, you can transfer the InfoObject from the content again:
Transaction RSOR -> BI Content -> Object Types -> under InfoObjects select 0REQUEST and transfer it to the right (note the following settings: "Only Necessary Objects"; collection mode: "Collect Automatically"). -
Cost Order Attribute Extraction (0COORDER_ATTR) - ABAP Dump
I am having trouble with this Cost Order Attribute Extraction (0COORDER_ATTR). It happened on the R3 side, and it is ABAP dump.
The message:
The following syntax error occurred in program "SAPLROMA" in include "LROMAU01" in Line 341: "The data object "L_S_BIW_COOR" does not have a component called "CCKEY".
This error happened after installing the enchantment pack. Also, I did look at the OSS notes, and nothing found.
Any idea on how to fix this problem.Hello,
Have you checked the structure L_S_BIW_COOR if it has the field CCKEY ?
When it happens the dump? when you do a Check extractor in RSA3 t-code?
Have you done any enhacement to the datasource? adding extra fields and filling them in the EXIT...
Regards, Federico -
ABAP dump coming at the time of displaying error message.
Hi to all
I have written a code in user exit .
At the time of saving ABAP dump is coming instead of showing error message.
Error analysis
The program attempted to issue a " " message during "Exit Command" processing.
This is an illegal operation. The program was terminated.
Screen name.............. "SAPMV45A"
Screen number............ 4008
My coding :
>>>>> IF vbak-vkbur IS NOT INITIAL.
70 IF wa-vkbur NE vbak-vkbur.
71 MESSAGE E000(yi01) WITH 'SALES OFFICE Mismatch Please Check for Customer-'vbak-kunnr
72 ENDIF.
73 ENDIF.
Please guide to resolve the issue.
This application is working fine for sales order creation.
Regards
AnubhavHi
Instead of error message, try using the following code.
MESSAGE <your message> TYPE 'I' DISPLAY LIKE 'E'.
Thanks
Sourav -
ABAP dump "GETWA_NOT_ASSIGNED" C
HI,
kindly suggest we are getting a abap dump while downloading a file and when i check the error in service market place its shows that we have to apply support packages.can i directly apply support packages by downloading the market or i have to raise a query fro exact support packages to market place.
my version-mssql2005-ecc5-640version.
kindly see the below abap dump.
Runtime Error GETWA_NOT_ASSIGNED
Date and Time 21.10.2008 11:25:01
ShrtText
Field symbol has not yet been assigned.
What happened?
Error in ABAP application program.
The current ABAP program "SAPLKKBL" had to be terminated because one of the
statements could not be executed.
This is probably due to an error in the ABAP program.
What can you do?
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
You attempted to access an unassigned field symbol
(data segment 169).
This error may occur for any of the following reasons:
- You address a typed field symbol before it is set using ASSIGN
- You address a field symbol that points to a line in an internal table
that has been deleted
- You address a field symbol that had previously been reset using
UNASSIGN, or that pointed to a local field that no longer exists
- You address a global function interface parameter, even
though the relevant function module is not active,
that is it is not in the list of active calls. You can get the list
of active calls from the this short dump.
How to correct the error
You may able to find an interim solution to the problem
in the SAP note system. If you have access to the note system yourself,
use the following search criteria:
"GETWA_NOT_ASSIGNED" C
"SAPLKKBL" or "LKKBLF99"
"GEN_FIELD_OUT2"
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....... "TERHSAPTST01"
Network address.......... "10.129.48.15"
Operating system......... "Windows NT"
Release.................. "5.2"
Hardware type............ "4x Intel 801586"
Character length......... 16 Bits
Pointer length........... 32 Bits
Work process number...... 0
Short dump setting....... "full"
Database server.......... "TERHSAPTST01"
Database type............ "MSSQL"
Database name............ "INQ"
Database owner........... "inq"
Character set............ "C"
SAP kernel............... "640"
Created on............... "Mar 21 2007 23:46:50"
Created in............... "NT 5.0 2195 Service Pack 4 x86 MS VC++ 13.10"
Database version......... "SQL_Server_8.00 "
Patch level.............. "175"
Patch text............... " "
Supported environment....
Database................. "MSSQL 7.00.699 or higher, MSSQL 8.00.194"
SAP database version..... "640"
Operating system......... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2"
Memory usage.............
Roll..................... 8176
EM....................... 12542784
Heap..................... 0
Page..................... 286720
MM Used.................. 8264648
MM Free.................. 95024
SAP Release.............. "640"
User and Transaction
Client.............. 100
User................ "CHINNIJ"
Language key........ "E"
Transaction......... "ZSDOST "
Program............. "SAPLKKBL"
Screen.............. "SAPLKKBL 0500"
Screen line......... 3
Information on where terminated
The termination occurred in the ABAP program "SAPLKKBL" in "GEN_FIELD_OUT2".
The main program was "ZSDSO_ORDER_STATUS ".
The termination occurred in line 3380 of the source code of the (Include)
program "LKKBLF99"
of the source code of program "LKKBLF99" (when calling the editor 33800).
Source Code Extract
Line SourceCde
3350 else.
3351 assign <fs74> to <field>.
3352 gs_fc = gs_sfc74.
3353 endif.
3354 when 075.
3355 if gs_out_flags-slave ne 'X'.
3356 assign <fm75> to <field>.
3357 gs_fc = gs_mfc75.
3358 else.
3359 assign <fs75> to <field>.
3360 gs_fc = gs_sfc75.
3361 endif.
3362 when 076.
3363 if gs_out_flags-slave ne 'X'.
3364 assign <fm76> to <field>.
3365 gs_fc = gs_mfc76.
3366 else.
3367 assign <fs76> to <field>.
3368 gs_fc = gs_sfc76.
3369 endif.
3370 when 077.
3371 if gs_out_flags-slave ne 'X'.
3372 assign <fm77> to <field>.
3373 gs_fc = gs_mfc77.
3374 else.
3375 assign <fs77> to <field>.
3376 gs_fc = gs_sfc77.
3377 endif.
3378 when 078.
3379 if gs_out_flags-slave ne 'X'.
>>>>> assign <fm78> to <field>.
3381 gs_fc = gs_mfc78.
3382 else.
3383 assign <fs78> to <field>.
3384 gs_fc = gs_sfc78.
3385 endif.
3386 when 079.
3387 if gs_out_flags-slave ne 'X'.
3388 assign <fm79> to <field>.
3389 gs_fc = gs_mfc79.
3390 else.
3391 assign <fs79> to <field>.
3392 gs_fc = gs_sfc79.
3393 endif.
3394 when 080.
3395 if gs_out_flags-slave ne 'X'.
3396 assign <fm80> to <field>.
3397 gs_fc = gs_mfc80.
3398 else.
3399 assign <fs80> to <field>.
Contents of system fields
Name Val.
SY-SUBRC 4
SY-INDEX 78
SY-TABIX 0
SY-DBCNT 0
SY-FDPOS 0
SY-LSIND 0
SY-PAGNO 1
SY-LINNO 7
SY-COLNO 1002
SY-PFKEY STANDARD
SY-UCOMM %PC
SY-TITLE Order Data ware house
SY-MSGTY
SY-MSGID
SY-MSGNO 000
SY-MSGV1
SY-MSGV2
SY-MSGV3
SY-MSGV4
Active Calls/Events
No. Ty. Program Include Line
Name
16 FORM SAPLKKBL LKKBLF99 3380
GEN_FIELD_OUT2
15 FORM SAPLKKBL LKKBLF99 777
GEN_LINE_OUT
14 FORM SAPLKKBL LKKBLF98 1314
DATA_OUT_SIMPLE
13 FORM SAPLKKBL LKKBLF01 360
LIST_OUTPUT_NEW
12 FORM SAPLKKBL LKKBLF01 6109
FIRST_LIST_DISPLAY
11 MODULE (PBO) SAPLKKBL LKKBLO01 11
LIST_DISPLAY
10 FUNCTION SAPLKKBL LKKBLU01 419
K_KKB_LIST_DISPLAY
9 METHOD CL_GUI_ALV_GRID===============CP CL_GUI_ALV_GRID===============CM00R 455
CL_GUI_ALV_GRID=>PRINT_BACKEND
8 METHOD CL_GUI_ALV_GRID===============CP CL_GUI_ALV_GRID===============CM008 3
CL_GUI_ALV_GRID=>EXPORT_TO_LOCAL_FILE
7 METHOD CL_GUI_ALV_GRID===============CP CL_GUI_ALV_GRID===============CM007 481
CL_GUI_ALV_GRID=>EXECUTE_FCODE
6 METHOD CL_GUI_ALV_GRID===============CP CL_GUI_ALV_GRID===============CM01E 58
CL_GUI_ALV_GRID=>SET_FUNCTION_CODE
5 FORM SAPLSLVC_FULLSCREEN LSLVC_FULLSCREENF01 1167
PAI
4 MODULE (PAI) SAPLSLVC_FULLSCREEN LSLVC_FULLSCREENI01 4
PAI
3 FUNCTION SAPLSLVC_FULLSCREEN LSLVC_FULLSCREENU01 186
REUSE_ALV_GRID_DISPLAY
2 FORM ZSDSO_ORDER_STATUS ZSDSO_ORDER_STATUS 1305
DATA_DISPLAY
1 EVENT ZSDSO_ORDER_STATUS ZSDSO_ORDER_STATUS 632
START-OF-SELECTION
Chosen variables
Name
Val.
No. 16 Ty. FORM
Name GEN_FIELD_OUT2
<FS76>
<FIELD>
222
000
000
000
GS_FC
##M#MVGR5 I_OUT
0040454532222222222222222222222222454552222222222222222222222222222222222222222222222222222222
10D0D672500000000000000000000000009FF540000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
GS_SFC76
0000222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
GFLG_FIELD
2
0
0
0
GS_SFC24
0000222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
GS_OUT-FIELD_COLCOUNT
78
4000
E000
GT_INFO_COUNTTAB_OUTTAB
Table[initial]
SY-REPID
SAPLKKBL
5454444422222222222222222222222222222222
310CBB2C00000000000000000000000000000000
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
GS_OUT_FLAGS-SLAVE
2
0
0
0
SPACE
2
0
0
0
<FM77>
222
000
000
000
GS_MFC77
##M#MVGR5 I_OUT
0040454532222222222222222222222222454552222222222222222222222222222222222222222222222222222222
10D0D672500000000000000000000000009FF540000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
<FS77>
GS_SFC77
0000222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
TC_FIELD_LIST-CX
<initial>
<initial>
<initial>
GT_INFO_FILTER_OUTTAB
Table[initial]
<FM78>
GS_MFC78
##N#ZRELEASE I_OUT
0040554444542222222222222222222222454552222222222222222222222222222222222222222222222222222222
10E0A25C513500000000000000000000009FF540000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
<FS78>
GS_SFC78
0000222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
HEAD
22222222222222222222
00000000000000000000
00000000000000000000
00000000000000000000
G_INFO_POPUP
2
0
0
0
No. 15 Ty. FORM
Name GEN_LINE_OUT
GT_STACK2-S_SUBTOT_OPTIONS-OFFSET
0
0000
0000
%_DUMMY$$
2222
0000
0000
0000
SYST-REPID
SAPLKKBL
5454444422222222222222222222222222222222
310CBB2C00000000000000000000000000000000
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
GS_ACT_GROUP-SUBTOT
2
0
0
0
GS_OUT_FLAGS-SUM
2
0
0
0
EUINFO
0000000000000000###
2222222222222222222222222222222222222222222222200022222222222222222222222223333333333333333000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
%_SPACE
2
0
0
0
GS_OUT_FLAGS-HOTLINE
2
0
0
0
GS_OUT-COL
2
0000
2000
GS_OUT-INT
0
0000
0000
GS_OUT-ROWS
1
0000Hi,
We got a lot of short dumps with the same error when we upgraded from 46C to ECC6.
They were all for reports that used ALV and in evry case, corrections were needed to the field catalog.
I suggest that you double and triple check the table and field names in your field catalog. ALV is a lot more sensitive in ECC6 (or performs less checks) and it is possible that you're experiencing the same problem in ECC5.
Hope that answers your question
Alex Dixon -
ABAP Dump is encountered when doing the negative subsequent adjustment
Hi Experts !!!
An ABAP Dump is encountered when doing the negative subsequent adjustment (posting a 102 movt type) on a Purchase Order via the Z function module. The dump only happens if the scenario satisfies the following conditions:
1.Material is either (but may not be limited to) 3000000234, 4000000121, 3000000210 (These are the only reported materials)
2.Order unit in Purchase Order is in MT
3.At 2nd weigh, Net Weight is less than PO Order Qty.
Note: No error occurs if same process is done via MIGO.
Initial Analysis:
An exception/error occurs when calling function u201CMB_CREATE_MATERIAL_DOCUMENT_UTu201D .
Please see below error anlysis report from after executin Zfunction module code.
Error analysis
Short text of error message:
Material 3000000234 / US01 Column 0001: MSEG-BPMNG not in quantity table
/not consistent
Long text of error message:
Diagnosis
Before the system posts a material document for an HPM/TDP material
(MARA-CMETH = 1 or 2), it performs the following consistency
checks:
o For each unit of measure in the Unit of Measure Group
(MARC-UOMGR), a line item has to be present in the additional
quantity appendix table (Table MSEGO2)
o For each unit of measure in the main core table MSEG that is
not initial a line item, has to be present in the additional
quantity appendix table (Table MSEGO2) and the corresponding
packed format quantities have to be identical.
This way, inconsistent stock level updates can be prevented.
System Response
The system stops processing.
Procedure
If the error is reproducible, contact your system administrator.
Procedure for System Administration
The inconsitency can have several reasons, for example:
o Incorrect postings from external systems using function module
MB_CREATE_GOODS_MOVEMENT
o Handling errors
o Application programming errors
Technical information about the message:
Message class....... "O3"
Number.............. 359
Variable 1.......... 3000000234
Variable 2.......... "US01"
Variable 3.......... 0001
Variable 4.......... "BPMNG"
Please let me know,if you want some other details.Problem Issolved
-
Regarding ABAP Dump found when saving the job.
Hi all,
Generally we create a job and once the job is created,we rasie Sales Order,Purchase Order and so on.
When we create a job we give the details of the Sold -to-party,client,parent and child job text,advertising category,project type, sales organisation,Cost and profit center,person incharge and purchase division.
After submitting these details the job gets created and the job number will be generated.
But now we have created a new Sales Organisation, which is leading to ABAP Dump.
The functional people have concluded that there is nothing wrong in the configaration settings.
If we enter an existing sales organisation in the job creation process the job is getting created and the job number is displayed.
But if we try to enter a new sales organisation the ABAP Dump is comming.
After debugging we came to know that BAPI function Module called
Bapi Project Maintain Call and inside that there is another bapi call called
BAPI_PROJECT_MAINTAIN which is taking some structures as inputs among them
this new sales org is there.Hi all,
Is there any answer regarding this question.
Thanx in advance -
Regarding ABAP dump during time ticket confirmation.
Hi PP Gurus,
I'm getting an ABAP dump while doing time ticket confirmation for a process order using COR6N. The dump is coming only for one plant and all the plants are working fine.
The reason for dump is
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).
I tried to analyze the dump and got OSS# 385830. But this note only talking about the conversion of message from A to X type. What should be the reason (configuration/product error) behind that?
If anybody came across the same, please comment on this
Thanks & Regards,
Abu ArbabHi,
Since this dump is happening only for a particular plant, compare the config set of this plant with the other plant which is working fine, you should be able to resolve it.
Alternatively, ask your abaper to analyze the dump in ST22 & he / she should be able to let you know the exact reason why the dump is occurring.
Regards,
Vivek -
Send Mail When Saving The Process Order
Dear Experts,
I want to send a Mail with some details whenever we Create & Save a new Process Order in COR1.
I have written my code at the below location where i have all the required data stored in the IT'S.
Enhancement - PPCO0001
FM - EXIT_SAPLCOBT_001
Include - zxco1u01
I have the below code to send the Mail in the include.
Send the document
call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
exporting
document_data = wa_doc_chng
put_in_outbox = 'X'
commit_work = ""
tables
packing_list = it_objpack
contents_txt = it_objtxt
receivers = it_reclist
exceptions
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
others = 8.
if sy-subrc = 0.
To refresh SAP Work Office so that mail can be recieved immediataly.
submit rsconn01 with mode = 'INT'
with output = ''
and return.
else.
message 'Problem in sending Email.' type 'I'.
endif. " End of sy-subrc
Here my exporting parameter "commit_work" is blank, i have not passed "X" in it.
When i pass "X" in this, it gives me a dump as below.
Short text
Invalid COMMIT WORK in a COMMIT WORK or ROLLBACK WORK.
What happened?
Error in the ABAP Application Program
The current ABAP program "SAPLSOI1" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
Error analysis
The call of a COMMIT WORK in a FORM, that will not be executed until
the commit or rollback point of the caller using the variant
PERFORM ... ON COMMIT or PERFORM ... ON ROLLBACK is not permitted.
Trigger Location of Runtime Error
Program SAPLSOI1
Include LSOI1U32
Row 154
Module type (FUNCTION)
Module Name SO_DOCUMENT_SEND_API1
When i take out "X" from "commit_work", it does not send mail and also the transaction does not give any Dump.
Can you please help out me with this?
Thanks,
PraveenHi Antony,
When i write the below code in FM = EXIT_SAPLCOBT_001 and include = zxco1u01, it does not work for sending the mail.
Mail Data.
types: begin of ty_mail,
tcode type zmail-tcode,
email type zmail-email,
end of ty_mail.
IT Creation.
data: it_mail type standard table of ty_mail.
WA Creation.
data: wa_mail type ty_mail.
Email Related Internal Tables.
data: it_reclist type standard table of somlreci1, "Recipients
it_objpack type standard table of sopcklsti1,
it_objhead type standard table of solisti1,
it_objtxt type standard table of solisti1 initial size 0 with header line, "Body of EMail
it_objbin type standard table of solisti1, "Attachment of EMail
it_contents_hex like standard table of solix,
it_objbin1 type standard table of solisti1, "Attachment of EMail
it_contents_hex1 like standard table of solix.
Email Related Work Area.
data: wa_doc_chng type sodocchgi1. "attributes of document to send
data: l_reclist like line of it_reclist,
l_objpack like line of it_objpack,
l_tab_lines type i.
data: lv_answer type string,
w_msg1(100) type c,
w_gamng type string.
select tcode email from zmail into table it_mail
where tcode = 'ZQA15'.
refresh it_objtxt[].
it_objtxt = '-----------------------------------------------------------------------------------------------------'.
append it_objtxt.
concatenate 'Order Number - ' header_table-aufnr into it_objtxt separated by space.
append it_objtxt.
concatenate 'Plant - ' header_table-werks into it_objtxt separated by space.
append it_objtxt.
concatenate 'Material No. - ' position_table-matnr into it_objtxt separated by space.
append it_objtxt.
concatenate 'Material Description - ' header_table-ktext into it_objtxt separated by space.
append it_objtxt.
concatenate 'Batch No. - ' position_table-charg into it_objtxt separated by space.
append it_objtxt.
w_gamng = header_table-gamng.
concatenate 'Batch Size - ' w_gamng into it_objtxt separated by space.
append it_objtxt.
concatenate 'MFG. Date - ' position_table-verid into it_objtxt separated by space.
refresh it_reclist[].
loop at it_mail into wa_mail.
clear l_reclist.
l_reclist-receiver = wa_mail-email.
l_reclist-express = 'X'.
l_reclist-rec_type = 'U'.
l_reclist-no_forward = 'X'.
append l_reclist to it_reclist.
clear wa_mail.
endloop.
Fill the document data.
wa_doc_chng-doc_size = 1.
Populate the subject/generic message attributes
wa_doc_chng-obj_langu = sy-langu.
wa_doc_chng-obj_name = 'PO DETAILS'.
wa_doc_chng-obj_descr = 'PO Details To QC'.
wa_doc_chng-sensitivty = 'F'. " Send mail as a confidential
wa_doc_chng-no_change = 'X'.
Describe the body of the message
if it_objpack is initial.
l_objpack-transf_bin = space.
l_objpack-head_start = 1.
l_objpack-head_num = 1.
l_objpack-body_start = 1.
describe table it_objtxt lines l_objpack-body_num.
l_objpack-doc_type = 'RAW'.
append l_objpack to it_objpack.
clear l_objpack.
clear l_tab_lines.
endif.
Send the document
call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
exporting
document_data = wa_doc_chng
put_in_outbox = 'X'
commit_work = ''
tables
packing_list = it_objpack
contents_txt = it_objtxt
receivers = it_reclist
exceptions
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
others = 8.
if sy-subrc = 0.
To refresh SAP Work Office so that mail can be recieved immediataly.
submit rsconn01 with mode = 'INT'
with output = ''
and return.
else.
message 'Problem in sending Email.' type 'I'.
endif. " End of sy-subrc
endif. " End of lw_answer
But when i write the same above code in FM = EXIT_SAPLCOZV_001 and include = zxco1u06, it does work fine.
I am not able to understand why it works at one place and does not at the other?
Thanks,
Praveen -
Delivery Can not Delete Delivery due to ABAP Dump
I have a strange situation on a delviery that is in our production client. We rec;d an APAB dump whenposting goods issue in delivery (successfully posted but still ABAP'd out) this was due to the sales unit field calculated to high of a qty due to a material master setting in the price unit qty, This has been fixed in the material master but we can not get to the delivery to delete it. I have succefully reversed goods issue and successfully cancelled TO confirmation. I can not get to the delivery to delete it. I can not reject line items on the sales order due to it having subsequent documents. Does anyone know how this can be accomplished? Please advise/comment experiences. It would be GREATLY appreciated. See Below ABAP dump if it helps....
Kim
Runtime Errors DYNPRO_FIELD_CONVERSION
Date and Time 05/16/2011 11:05:21
Screen name.............. "SAPMV50A"
Screen number............ 1102
Screen field............. "LIPSD-PIKMG"
Error text............... "FX015: Sign lost."
Other data:
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.Symptom
A Warehouse Management-relevant (WM-relevant) delivery item is picked, and then the WM transfer order is canceled again using LT0G.
If the storage location for the delivery is changed to a non-WM-relevant storage location and a pick quantity is entered in the delivery, this pick quantity is assigned to the document flow record for the cancellation of the WM transfer order. This is incorrect.
The incorrect document flow record is stored in the database when you save the delivery.
This results in the ABAP runtime error "DYNPRO_FIELD_CONVERSION" when the delivery is processed again with VL02 or VL02N.
Other terms
PIKMG, WM-TA, Warehouse Management (WM) transfer order (TO), VBFA, RFMNG, SAPMV50A, MV50AO0F, FELDAUSWAHL, MV50AO0F, LIPSD-PIKMG
Reason and Prerequisites
This problem is caused by a program error.
Solution
Implement the specified correction to prevent this inconsistency in the table VBFA from occurring again.
Correction report Z_CORRECT_VBFA_FROM_LTAP:
Implement the correction report specified below with transaction SE38 using the attributes:
Title Correction report for note 435274
Type 1 Executable program
Status T Test program
Application V Sales
Input parameters for execution of the report:
P_VBELN: Document number of the delivery that has document flows
for the WM transfer order that are to be corrected.
While the report is running, make sure that
no changes are made to the relevant
document.
P_TEST = 'X': Analysis: Analysis of the missing document flow records;
no changes in the document.
P_TEST = ' ': Correction: Document flow records between delivery and
WM transfer order are corrected.
refer SAP Note 435274 - Negative pick quantity in the delivery -
Custom exit or badi for changing the user fields in operation of process order
Hi all
I want to find a exit or badi to set default value to the user fields in operation of process order when COR1.
I have tried exit 'PPCO0001', but this exit is call after commit work, so I can not change any thing
I also tried to use badi 'workorder_update', 'before_update', but all parameters in this BADI are importing, can't be changed, I've tried to change it and then program dump.
Do you have any solution for this question?
ThanksDo a Implicit Enhancement at the PBO of this subscreen.
Maybe you are looking for
-
Kernel Panic with my Mac Book Pro
I have a problem with my Mac Book Pro. Sometimes i have a Kernel Panic on my Screen. I have loged this Protocoll: Can anyone help me with this Problem? What is the cause of these Kernel Panic. Thanks a lot to all members here! Interval Since Last Pan
-
Spotlight shortcut does not work (ctrl + space)
Spotlight shortcut does not work. When I press ctrl + space, nothing happen. When I click on magnifier icon by mouse, everything work well. In Spotlight configuration and also in keyboard shortcut configuration this shortcut is present and marked as
-
How to change the text of a field in organisational assignment.
hi gurus, how to change the text of field MSTBR (super visor) to a differnt name in info type pa0001. i have changed the field name in cmod , changed name appears in table.but it is not appearing in the info type screen 0001. how to resolve this pls
-
So i went and updated my iPhone 4S via the settings option from the phone, next thing it asked me to connect to iTunes, i've downloaded the new ios but i've been trying for almost 5 hours, countless problems occur, waiting for iPhone, stuck at verify
-
Hi MDM Experts I would like to know how MDM objects are estimated, Suppose I have the following objects to be build... 1. Moduling Repository 2. Set up Validations 3. Set up Multi level Workflow approval process 4. Build Searches 5. Setup for MDIS 6.