ABAP routine error message
Can anyone tell me how to fix the routine? Error message:
E:The type of the database table and work area (or internal table)
"ZCA_EUMAT_PACKAGE" are not Unicode convertible. Unicode convertible.
This is how I declared:
data:
ZCA_EUMAT_package type standard table of ZCA_MAT_PRDCT_V_structure
with header line
with non-unique default key initial size 0.
ZCA_MAT_PRDCT_V --> This is a view
Thanks!
Dear BI User,
How about if you declare like this below code :
DATA:
zca_eumat_package TYPE TABLE OF zca_mat_prdct_v,
wa_eumat_package TYPE zca_mat_prdct_v .
" if you wanna use in looping .
LOOP AT zca_eumat_package INTO wa_eumat_package.
ENDLOOP.
Hopefully it can help you a lot.
Regards,
Niel
thanks a lot for any points you choose to assign.
Similar Messages
-
0CO_REPLINE infoobject ABAP routine error
Hi experts,
I am facing a problem while activating a transformation for the cube 0CCA_C11. I installed the flow in 3.5 and wen i was migrating the flow, i first migrated the update rule. At that time, the transformation is giving me " syntax error in the routine" for the infoobject 0CO_REPLINE.
The eroor message is given below:
*E:The type "_TY_S_SC_1_FULL" is unknown, but there is a type with the similar name "_TY_S_TG_1_FULL". "_TY_S_TG_1_FULL".*
I have appended part of the routine:
CLASS lcl_transform IMPLEMENTATION.
METHOD compute_0CO_REPLINE.
IMPORTING
request type rsrequest
datapackid type rsdatapid
SOURCE_FIELDS-CO_AREA TYPE /BI0/OICO_AREA
SOURCE_FIELDS-CO_DOC_NO TYPE /BI0/OICO_DOC_NO
SOURCE_FIELDS-CO_ITEM_NO TYPE /BI0/OICO_ITEM_NO
SOURCE_FIELDS-FISCVARNT TYPE /BI0/OIFISCVARNT
SOURCE_FIELDS-FISCPER TYPE /BI0/OIFISCPER
SOURCE_FIELDS-COSTCENTER TYPE /BI0/OICOSTCENTER
SOURCE_FIELDS-ACTTYPE TYPE /BI0/OIACTTYPE
SOURCE_FIELDS-VTYPE TYPE /BI0/OIVTYPE
SOURCE_FIELDS-VTDETAIL TYPE /BI0/OIVTDETAIL
SOURCE_FIELDS-VTSTAT TYPE /BI0/OIVTSTAT
SOURCE_FIELDS-METYPE TYPE /BI0/OIMETYPE
SOURCE_FIELDS-VERSION TYPE /BI0/OIVERSION
SOURCE_FIELDS-VALUATION TYPE /BI0/OIVALUATION
SOURCE_FIELDS-COSTELMNT TYPE /BI0/OICOSTELMNT
SOURCE_FIELDS-DB_CR_IND TYPE /BI0/OIDB_CR_IND
SOURCE_FIELDS-PIOBJSV TYPE /BI0/OIPIOBJSV
SOURCE_FIELDS-PIOVALUE TYPE /BI0/OIPIOVALUE
SOURCE_FIELDS-PART_CCTR TYPE /BI0/OIPART_CCTR
SOURCE_FIELDS-PART_ACTTY TYPE /BI0/OIPART_ACTTY
SOURCE_FIELDS-PART_COORD TYPE /BI0/OIPART_COORD
SOURCE_FIELDS-PART_WBSEL TYPE /BI0/OIPART_WBSEL
SOURCE_FIELDS-PART_ABCPR TYPE /BI0/OIPART_ABCPR
SOURCE_FIELDS-AMOUNT TYPE /BI0/OIAMOUNT
SOURCE_FIELDS-AMOUNTFX TYPE /BI0/OIAMOUNTFX
SOURCE_FIELDS-AMOUNTVR TYPE /BI0/OIAMOUNTVR
SOURCE_FIELDS-QUANTITY TYPE /BI0/OIQUANTITY
SOURCE_FIELDS-QUANTITYFX TYPE /BI0/OIQUANTITYFX
SOURCE_FIELDS-QUANTITYVR TYPE /BI0/OIQUANTITYVR
SOURCE_FIELDS-CURRENCY TYPE /BI0/OICURRENCY
SOURCE_FIELDS-CURTYPE TYPE /BI0/OICURTYPE
SOURCE_FIELDS-UNIT TYPE /BI0/OIUNIT
SOURCE_FIELDS-AUXACCTYPE TYPE /BI0/OIAUXACCTYPE
SOURCE_FIELDS-AUXACCVAL TYPE /BI0/OIAUXACCVAL
SOURCE_FIELDS-COMP_CODE TYPE /BI0/OICOMP_CODE
SOURCE_FIELDS-BUS_AREA TYPE /BI0/OIBUS_AREA
SOURCE_FIELDS-FUNC_AREA TYPE /BI0/OIFUNC_AREA
SOURCE_FIELDS-PCOMP_CODE TYPE /BI0/OIPCOMP_CODE
SOURCE_FIELDS-PFUNC_AREA TYPE /BI0/OIPFUNC_AREA
SOURCE_FIELDS-CHRT_ACCTS TYPE /BI0/OICHRT_ACCTS
SOURCE_FIELDS-GL_ACCOUNT TYPE /BI0/OIGL_ACCOUNT
SOURCE_FIELDS-CREDITOR TYPE /BI0/OICREDITOR
SOURCE_FIELDS-DEBITOR TYPE /BI0/OIDEBITOR
SOURCE_FIELDS-PLANT TYPE /BI0/OIPLANT
SOURCE_FIELDS-MATERIAL TYPE /BI0/OIMATERIAL
SOURCE_FIELDS-EMPLOYEE TYPE /BI0/OIEMPLOYEE
SOURCE_FIELDS-NOTIFICATN TYPE /BI0/OINOTIFICATN
SOURCE_FIELDS-CO_ITEM_TX TYPE /BI0/OICO_ITEM_TX
SOURCE_FIELDS-DOC_DATE TYPE /BI0/OIDOC_DATE
SOURCE_FIELDS-PSTNG_DATE TYPE /BI0/OIPSTNG_DATE
SOURCE_FIELDS-RECORDMODE TYPE RODMUPDMOD
SOURCE_FIELDS-CORRTYPE TYPE /BI0/OICORRTYPE
SOURCE_FIELDS-CCTR_IBV TYPE /BI0/OICCTR_IBV
SOURCE_FIELDS-FM_AREA TYPE /BI0/OIFM_AREA
SOURCE_FIELDS-FUND TYPE /BI0/OIFUND
SOURCE_FIELDS-GRANT_NBR TYPE /BI0/OIGRANT_NBR
SOURCE_FIELDS-PFUND TYPE /BI0/OIPFUND
SOURCE_FIELDS-PGRANT_NBR TYPE /BI0/OIPGRANT_NBR
SOURCE_FIELDS-PU_BDGTID TYPE /BI0/OIPU_BDGTID
SOURCE_FIELDS-PBDGTID TYPE /BI0/OIPBDGTID
EXPORTING
RESULT type tys_TG_1-CO_REPLINE
DATA:
MONITOR_REC TYPE rsmonitor.
$$ begin of routine - insert your code only below this line -
Data:
COMM_STRUCTURE type tys_SC_1_full,
l_subrc type sy-tabix,
l_abort type sy-tabix,
ls_monitor TYPE rsmonitor,
ls_monitor_recno TYPE rsmonitors.
data:
l_monitor type standard table of rsmonitor.
REFRESH:
MONITOR.How have you solved? I have also error for 0vtype.
Thanks! -
Hi Guys,
I'm new to ABAP Webdynpro. I'm trying to display data in from table VBAP in webdynpro ALV and I get the following runtime error. Neither I'm able to debug the error (external break-point doesn't stop in my action event, may be it's dumping before that) nor able to get any clue waht exactly it means. Can somebody please help.
I get the error "Lower-Level Node with Name INPUT_VIEW.T_VBAP Does Not Exist".
I have 2 view in my application, INPUT_VIEW and OUTPUT_VIEW. My Input VIEW consists of node T_VBAK (wit 2 fields VBELN and ERDAT), and OUTPUT_VIEW with T_VBAP (with 4 fields VBELN, POSNR, MATNR, MATKL).
Thanks,
Satyaki.Hi Satyaki,
please try to update the CONTEXT MAPPING with COMPONENT CONTROLLER once again.
The current view doesn't have the specified NODE name or may be with different NODE name.
please correct the NODE name as it is in COMPONENT CONTROLLER.
please let me know if the problem persists...
WIth Regards,
Venkat -
ABAP (Routine) Error in BW Transformations
Hi Experts,
As i am new(Learner) to BW Please advise me on how can i achieve this and update me with Releavent Start Routine and Field Routine....please
My Requirment is
Employee is Compounded on Location.
On Weekly or Monthly basis (dependending on Employee Payroll run) Employee will be assigned with the Wage Type and Amount for that Wage Type and Payroll Date (When the payroll was run)
Data Currently i have/Data comming from Source System
Loc_ID--Emp_IDWage_IDPayroll_Date-Amount
-1--99900108.08.2008-----100.00
-1--99908808.08.2008-----560.00
-1--99934508.08.2008-----437.00
-1--99900108.07.2008-----654.00
-1--99908808.07.2008-----389.00
-1--99934508.07.2008-----893.00
-1--99926408.06.2008-----600.00
-1--99934508.08.2008-----365.00
(Employee may have Different Wage_ID and Amount for each payroll)
My requirment is to include a new key figure 'Previous_Amount' which will be populated previous Wage_ID Amount.
Loc_ID--Emp_IDWage_IDPayroll_Date-Amount---Previous_Amount
-1--99900108.08.2008---100.00-----654.00
-1--99908808.08.2008---560.00--
389.00
-1--99934508.08.2008---437.00--
893.00
-1--99900108.07.2008---654.00--
0
-1--99908808.07.2008---389.00--
0
-1--99934508.07.2008---893.00--
365.00
-1--99926408.06.2008-----600.00
-1--99934508.08.2008-----365.00
As i am a starter in BW i am struggling to write start routine in transformations (DSO-->CUBE) to transfer the data in DSO Active Table to a internal table and a field routine to update Previous_Amount field by sorting the internal table data and to pick employee's latest record less than the current payroll for that particular wage_id and populate that amout to Previous_Amount field.
Please make necessary corrections to the start routine by fixing where i went wrong and update me with the required field routine (which will read data from internal table used in start routine.
With the help of Vamsi i can able to write this code,But still the Previous Price is filled with 0
Please correct me where it went wrong
Start Routine
Global declaration
Types :
Begin of ITABtype,
ORG TYPE /BIC/OIZORG,
CYEMPNO TYPE /BIC/OIZCYEMPNO,
HED_ID TYPE /BIC/OIZHED_ID,
RHED_ID TYPE /BIC/OIZRHED_ID,
CHNG_DTE TYPE /BIC/OIZCHNG_DTE,
HED_AMT TYPE /BIC/OIZHED_AMT,
HED_PAMT TYPE /BIC/OIZHED_PAMT,
End of ITABtype.
Data : ITAB type standard table of ITABtype
with key
ORG
CYEMPNO
HED_ID
RHED_ID
CHNG_DTE
HED_AMT
HED_PAMT,
wa_itab like line of itab.
Data : ITAB1 type standard table of ITABtype
with key
ORG
CYEMPNO
HED_ID
RHED_ID
CHNG_DTE
HED_AMT
HED_PAMT,
wa_itab1 like line of itab1.
*Create an internal table with all the field types with u want to have
*in the output */
Data : wa_SOURCE_PACKAGE type tys_SC_1.
Data : tmp(2) type n value 1.
\ The above loop is to get all the values into the internal table*/
Loop at SOURCE_PACKAGE into wa_SOURCE_PACKAGE.
Move wa_SOURCE_PACKAGE-/BIC/ZORG to wa_itab-ORG.
Move wa_SOURCE_PACKAGE-/BIC/ZCYEMPNO to wa_itab-CYEMPNO.
Move wa_SOURCE_PACKAGE-/BIC/ZHED_ID to wa_itab-HED_ID.
Move wa_SOURCE_PACKAGE-/BIC/ZHED_ID/BIC/ZRHED_ID to wa_itab-RHED_ID.
Move wa_SOURCE_PACKAGE-/BIC/ZCHNG_DTE to wa_itab-CHNG_DTE.
Move wa_SOURCE_PACKAGE-/BIC/ZHED_AMT to wa_itab-HED_AMT.
*Move wa_SOURCE_PACKAGE-/BIC/ZHED_PAMT to wa_itab-HED_PAMT.
Append wa_itab to itab.
Endloop.
Sort itab by
ORG Ascending
CYEMPNO Ascending
HED_ID Ascending
RHED_ID Ascending
CHNG_DTE Descending.
Sort SOURCE_PACKAGE by
/BIC/ZORG Ascending
/BIC/ZCYEMPNO Ascending
/BIC/ZHED_ID Ascending
/BIC/ZHED_ID/BIC/ZRHED_ID Ascending
/BIC/ZCHNG_DTE Descending.
Loop at itab into wa_itab.
tmp = '1' .
Loop at SOURCE_PACKAGE into wa_SOURCE_PACKAGE from tmp.
If wa_itab-ORG = wa_SOURCE_PACKAGE-/BIC/ZORG.
wa_itab-CYEMPNO = wa_SOURCE_PACKAGE-/BIC/ZCYEMPNO.
wa_itab-HED_ID = wa_SOURCE_PACKAGE-/BIC/ZHED_ID.
wa_itab-RHED_ID = wa_SOURCE_PACKAGE-/BIC/ZHED_ID/BIC/ZRHED_ID.
wa_itab-CHNG_DTE = wa_SOURCE_PACKAGE-/BIC/ZCHNG_DTE.
wa_itab-HED_PAMT = wa_SOURCE_PACKAGE-/BIC/ZHED_AMT.
wa_itab-CHNG_DTE gt wa_SOURCE_PACKAGE-/BIC/ZCHNG_DTE.
tmp = tmp + 1.
Exit.
Endif.
Endloop.
Modify itab from wa_itab.
Endloop.
itab1[] = itab[].
Sort itab1 by
ORG Ascending
CYEMPNO Ascending
HED_ID Ascending
RHED_ID Ascending
CHNG_DTE Descending.
Delete adjacent duplicates from itab1 comparing
ORG
CYEMPNO
HED_ID
RHED_ID
CHNG_DTE.
Loop at itab1 into wa_itab1.
wa_itab-HED_PAMT = '0'.
Modify itab1 from wa_itab1.
Endloop.
Loop at itab into wa_itab.
Loop at itab1 into wa_itab1.
If wa_itab1-ORG = wa_itab-ORG.
wa_itab1-CYEMPNO = wa_itab-CYEMPNO.
wa_itab1-HED_ID = wa_itab-HED_ID.
wa_itab1-RHED_ID = wa_itab-RHED_ID.
wa_itab1-CHNG_DTE = wa_itab-CHNG_DTE.
wa_itab1-HED_PAMT = wa_itab-HED_PAMT.
Exit.
Endif.
Endloop.
Modify itab from wa_itab.
Endloop.
Field Routine
Read table ITAB into wa_itab
with key
ORG = SOURCE_FIELDS-/BIC/ZORG
CYEMPNO = SOURCE_FIELDS-/BIC/ZCYEMPNO
HED_ID = SOURCE_FIELDS-/BIC/ZHED_ID
RHED_ID = SOURCE_FIELDS-/BIC/ZHED_ID/BIC/ZRHED_ID
CHNG_DTE = SOURCE_FIELDS-/BIC/ZCHNG_DTE.
if sy-subrc = 0.
RESULT = wa_itab-HED_PAMT.
endif.
Please update me where it was wrong
Thanks in advanceHi again,
i don't have a BW system available now so the code is more as a how to and needs corrections but i hope you will figure out the logic.
declare an internal table and working area similar with the ods object.
data itab type table of ods_type.
data wa_itab type ods_type.
declare a working area for the source package.
data wa_source type type_source_package.
data l_tabix like sy-tabix.
select all active entries from ods .
if you figure out a performance issue here move this select into the loop and use where clauses or use for all entries in source_package
select * from ods_object into table itab .
sort source_package by payroll_date descending.
loop at source_package into wa_source.
l_tabix = sy-tabix.
read table itab into wa_itab with key Loc_ID = wa_source_package-loc_id
Emp_ID = wa_source_package-emp_id
wage_id = wa_source_package-Wage_ID.
wa_source-previous_amount = wa_itab-amount.
modify source_package from wa_source index l_tabix.
endloop.
This code should be in the start routine of the ods update.
Hope this helps
Kostas -
Getting ABAP runtime error while doing MIGO-GR against PO.
Hi,
Getting ABAP runtime error message while doing GR against PO.
47 ENHANCEMENT-POINT MB_POST_GOODS_MOVEMENTS_01 SPOTS ES_SAPLMBWL STATIC.
48
49 ENHANCEMENT-POINT MB_POST_GOODS_MOVEMENTS_02 SPOTS ES_SAPLMBWL.
50 CALL FUNCTION 'MB_CREATE_MATERIAL_DOCUMENT_UT'
51 EXCEPTIONS
52 error_message = 4.
53 * As soon as we have started to put things into UPDATE TASK, we must
54 * ensure that errors definitely terminate the transaction.
55 * MESSAGE A is not sufficient because it can be catched from
56 * external callers which COMMIT WORK afterwards, resulting in
57 * incomplete updates. Read note 385830 for the full story.
58 IF NOT sy-subrc IS INITIAL.
>> MESSAGE ID sy-msgid TYPE x NUMBER sy-msgno WITH "385830
60 sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
61 * MESSAGE A263.
62 ENDIF.
63 * Optische Archivierung
64 * Spaete Erfassung mit Barcode
65 * Redesign of barcode handling -> note 780365
66 PERFORM barcode_update(sapmm07m) USING xmkpf-mblnr
67 xmkpf-mjahr
68 barcode.
69
70 MOVE-CORRESPONDING xmkpf TO emkpf.
71 CALL FUNCTION 'MB_MOVEMENTS_REFRESH'
72 EXCEPTIONS
73 error_message = 4.
74 MOVE-CORRESPONDING xmkpf TO emkpf.
75 CALL FUNCTION 'MB_MOVEMENTS_REFRESH'
76 EXCEPTIONS
77 error_message = 4.
78 IF NOT sy-subrc IS INITIAL.
Any pointers
Code Formatted by: Alvaro Tejada Galindo on Jan 14, 2010 6:00 PMHi ,
Any inputs
for this error
No RFC destination is defined for SAP Global Trade Services
Regards
Ashu -
Overflow in EXCEL title line routine - Error while posting FI document
Hi All -
We are getting an "Overflow in EXCEL title line routine" error message while posting SAP FI document thru FB01 transaction code. We are getting this error message while entering the coding block, can anyone please explain how this error message is coming and how to rectify it.
Thanks in advance.
Rds,
KHi,
Thanks for the reply.
The interesting part is, it is a standard message and there is no message class ZKV available in the system. We have gone live only six months back and not done a single enhancement in HR module till now.
As far as FICO is concerned, we have an internal control that we will not enhance any of the FI transactions in view of data accuracy and integrity. We don't have enhancements running in FI & CO modules also.
I am sure that it is a standard message. This message is arising out of the function module 'AC_DOCUMENT_CREATE' called internally in the program associated with posting run transaction.
Please hint, what could be the problem.
Regards,
Hema -
COM routine error code descriptions in SAP APO - transaction /SAPAPO/OM10
I had recently encountered a COM error in SCM APO and wasted a lot of time trying to figure out what the error code actually meant.
If you ever have this issue, you can use transaction /SAPAPO/OM10 to resolve any COM routine error message.
You can also check the message class /SAPAPO/OM_TS and possibly some other /SAPAPO/OM* message classes as well. This is where the error message descriptions are coming from.
Hope this helps.Hello Gabor,
-> As you know, you could use the transaction /n/sapapo/om10 to Display Meaning of COM Return Code.
-> In case you got a COM error in SCM APO => to avoid a spending a lot of time trying to figure out what the error code actually meant, please, open the OSS message to the component BC-DB-LCA to get the liveCache application support from SAP on this issue.
Thank you and best regards, Natalia Khlopina -
How can I get a SOAP Error message in ABAP ?
Dear all.
I'm trying to get SOAP Error message during XI Interface.
I've got an Error ( T-code : sxi_monitor ) and I need to get the Error message and write to screen.
I used
CATCH CX_AI_APPLICATION_FAULT.
CATCH CX_AI_SYSTEM_FAULT.
but couldn't get the error message.
The Error occured as below.
<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>XIAdapterFramework</SAP:Category>
<SAP:Code area="MESSAGE">GENERAL</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'ZTSD0030' (structure 'stmt1'): java.sql.SQLException: FATAL ERROR: Column 'ORDER' does not exist in table 'ZTSD0030'</SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack />
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
I exactly need 'BOLD' style message.
Any help is appreciated.
Thanks!Hi,
This is an application fault,
error log clearly saying that''ORDER' does not exist in table 'ZTSD0030'.
these are specific to interfaces, in order to handle those
u need to configure apllication log at 'SLG1' t.code.
i mean, u have to use following function moules to handle application log in ABAP Proxy .
i.e
APPL_LOG_WRITE_HEADER
APPL_LOG_WRITE_MESSAGES
APPL_LOG_WRITE_DB.
warm regards
mahesh. -
Error message from ABAP to BW portal
Hi
I need to write error message from ABAP to BW portal.
If I write as usual: message E001(ZBW).
Then I get a dump in portal.
Does anyone know how to post error message in this case?
Thanks.Hi,
You need to use the function module RRMS_MESSAGE_HANDLING to post any kind of messages in the report output/web template or portal.
You can pass the values trough the below parameters:
I_CLASS = 'ZBW'
I_TYPE = 'W'
I_NUMBER = '006'
Regards,
Shilpa -
Error message from ABAP to portal
Hi
I need to write error message from ABAP to BW portal.
If I write as usual: message E001(ZBW).
Then I get a dump in portal.
Does anyone know how to post error message in this case?
Thanks.Hi
Good
Check the below sdn link.
portal runtime error in BW
Thanks
mrutyun^ -
After installation NetWeaver 7.01 ABAP Trial Version "Logon Error Message"
Hello all,
After a sucefull installation of NetWeaver 7.01 ABAP Trial Version and when i tried to acess sap through web browser i get the following error:
Logon error message
Service cannot be reached
What has happened?
URL http://localhost:8000/sap/bc/gui/sap/its/webgui call was terminated because the corresponding service is not available.
Note
The termination occurred in system NSP with error code 403 and for the reason Forbidden.
The selected virtual host was 0 .
What can I do?
Please select a valid URL.
If you do not yet have a user ID, contact your system administrator.
ErrorCode:ICF-NF-http-c:000-u:SAPSYS-l:E-i:netweaver_NSP_00-v:0-s:403-r:Forbidden
HTTP 403 - Forbidden
With Sap Logon i can login correctly. Does anyone have an ideia how can i access through a web browser?
Thanks
Edited by: Pedro Bessa on Jul 7, 2009 12:17 AMthanks,
thanks!
I have done that:
and activated: 'sap/bc/gui/sap/its/webgui right click on each relevant service and activate it'
is it the only service to activate, because I have errors on the url : http://localhost:8000/sap/bc/gui/sap/its/webgui?sap-system-login-basic_auth=X&sap-client=000&sap-language=EN
My Error:
Note
The following error text was processed in the system NSP : Template interpretation cancelled, syntax error.
The error occurred on the application server shai1_NSP_00 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
SYSTEM-EXIT of program SAPLSMTR_NAVIGATION -
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 -
Deleting error messages in ABAP stack and JAVA stack
Hello,
found some useful answers here about deleting messages
which are successfully delivered!
What I miss is an answer about:
a) Error messages in RWB
In Component monitoring -> Archiving you can plan a job to delete messages in status "successful" or "Cancelled with errors".
To cancel jobs you have to do this one by one. With reaction time from page manual cancellation needs hours for 100 messages (Ok, there is a multiple selection button you can use to tag per list screen!).
Now I have lots of message here
- System error
- to be delivered
- cancelled with errors (from system, special case, see next question)
ready to be erased (yes, sure about that!)
Is this the only way here to proceed?
Other question: looks like there is a default time frame for the job which looks like it is more than two months for "successful". "Cancelled with errors" is only deleted from list when reaching this status with the available button "Cancel" but not for messages with status "Cancelled with errors" set by the system.
Any chance to change that time frame.
And what about the messages "Cancelled...." by the system?
b) ABAP stack
OK, delete job is running. But looks like there is a default time frame "delete older than 2 months" (different from a! where it is more than 2 months)
I tried to delete some error messages with function "Cancel message with errors".
Now these messages are cancelled in SXMB_MONI (displayed with different status sign "Pencil").
Starting deletion job has no effect on them. Why? Because they are cancelled today and are not considered by the time frame of the deletion job?
Any help is appreciated!
(This tool is confusing me more and more! )
Hm, looks like nobody knows about this issue?
Regards
DirkHi Dirk,
I am also facing the issue for deleting the messages with errors or if i have cancelled them.
Did you find any solution for these issues. Kindly let me know if you have find out any solution.
thanks
Gopesh -
Error messages in ABAP program are stored in which table
hi all,
Can anyone tell
error messages in ABAP program are stored in which table??Hi Sir ,
Please have a look below .Hope it is suitable and simpler solution for your question.
Please do reward if useful.
Thankx.
Fuction module for storing error messages ->'format_message'
for example...
data : v_message(100) type c.
call transaction NNNN mode A update S messages into it_messages.
loop at it_messages where msgty = 'E'.
call function 'format_message'
exporting
*it_messages details
importing
v_message.
write :/ v_message.
clear v_message.
endloop.
Anothe method - ->
Here is a sample of the program code for that:
LOOP AT it_messtab.
CALL FUNCTION 'FORMAT_MESSAGE'
EXPORTING
id = it_messtab-msgid
lang = it_messtab-msgspra
no = it_messtab-msgnr
v1 = it_messtab-msgv1
v2 = it_messtab-msgv2
IMPORTING
msg = g_msg
EXCEPTIONS
OTHERS = 0.
IF it_messtab-msgtyp = 'S'.
it_sucess-sucess_rec = g_msg.
it_sucess-lifnr = it_header-lifnr." Based on your field
it_sucess-tabix = v_lines.
APPEND it_sucess.
ELSEIF it_messtab-msgtyp = 'E'.
it_error-error_rec = g_msg.
it_error-lifnr = it_header-lifnr.
it_error-tabix = v_lines.
APPEND it_error.
ELSE.
it_info-info_rec = g_msg.
it_info-lifnr = it_header-lifnr.
it_info-tabix = v_lines.
APPEND it_info.
ENDIF.
ENDLOOP. -
Hi Experts ,
i have a scenario proxy to soap where i am getting error while getting the response .
we are sending the request successfully and getting response .some times we are getting in proxy level error below
PARSE_APPLICATION_DATA Error during XML => ABAP conversion: Response Message; CX_ST_DESERIALIZATION_ERROR in /1SAI/SAS0446CC11CC6EC1AD4789 Line 24 An error occurred when deserializing in the simple transformation program /1SAI/SAS0446CC11CC6EC1AD4789 (Cha
Please help us to fix this bug in proxy response.
Regards
RaviHello Ravinder,
Can you please post the complete stack trace, it seems to be some fields are getting truncated i,e data sent from the program to the proxy object might be violating some length restrictions.
Please check your message interface field lengths and what is being passed to the proxy.
Regards,
Ravi.
Maybe you are looking for
-
Has anyone ever created an iWeb site and used Olive Software to show a catalog or book? Just wondering if it will work. http://www.olivesoftware.com thanks
-
Safari crashing after latest update. (8.0.2)
Safari keeps crashing every time I try to open it. This just started happening when I update to OS X 10.10.1 and safari 8.0.2. Is this a common problem and is there a solution to it. Thanks for reading.
-
Setup R12 AME rules for Internet Expense
Hi, Currently we are in R12 and are using workflow for approval routing of Internet Expense. As requirement change, we would like to change to use AME rule. Thus, I have carried out a simple test by setting up the following: 1. Profile Option: AME: I
-
Hi, my main screen number is 1001 and in that screen i have a tabstrip with subscreens 1002,1003,1004,1005,1006.Each tab has an ALV... When i click on excute button in my main screen 1001 then i need to call all the subscreens and all the ALV's shoul
-
Disabling the delete option using personalization
Hi, Is it possible to disable the "Delete" option (Red X mark on the menu bar) using personalization. I wanted this to be done on Employee Creation screen. Thanks qARS