CSAP_MAT_BOM_OPEN Short Dump with CONVERT_MATNR_TO_INTERN_FORMAT
Has anyone else had this issue? All help appreciated.
I am using the function CSAP_MAT_BOM_OPEN to update a BOM. Running it generates a short dump with the following information:
In PERFORM or CALL FUNCTION "CONVERT_MATNR_TO_INTERN_FORMAT", the actu
al parameter "MATERIAL" is incompatible with the formal parameter "I_M
ATNR".
At first I thought my variable for the material number was bad so instead I gave it a literal value just to see if it gave me a problem and it did.
Here is the snippit of code from my program where I give it an actual value:
call function 'CSAP_MAT_BOM_OPEN'
exporting
material = '000000000000123456'
plant = '1000'
bom_usage = '3'
valid_from = '20140703'
importing
o_stko = tstk2
fl_warning = flg_warning
tables
t_stpo = tstp2
exceptions
error = 1.
Inside this SAP owned FM is the following:
perform convert_matnr_to_intern_format using material
changing csin-matnr
hlp_subrc.
convert_matnr_to_intern_format says this:
form convert_matnr_to_intern_format
using value(i_matnr) like csap_mbom-matnr
changing o_matnr like csin-matnr
value(subrc) like sy-subrc.
data: conversion_call(30) type c value 'CONVERSION_EXIT_?_INPUT',
conve(5) type c,
conv_exit(10) type c.
clear subrc.
check not i_matnr is initial.
describe field csin-matnr edit mask conv_exit.
move conv_exit+2(5) to conve.
replace '?' with conve into conversion_call.
call function conversion_call
exporting
input = i_matnr
importing
output = o_matnr
exceptions
not_found = 04
length_error = 08
too_long = 12
wrong_mask = 16.
subrc = sy-subrc.
endform.
Hi Richard,
in fm CSAP_MAT_BOM_OPEN there is a single call of form convert_matnr_to_intern_format:
perform convert_matnr_to_intern_format using material
changing csin-matnr
hlp_subrc.
where material is defined in the fm interface:
function csap_mat_bom_open.
*"*"Lokale Schnittstelle:
*" IMPORTING
*" VALUE(MATERIAL) LIKE CSAP_MBOM-MATNR
In the form interface I_MATNR in include LCSAPFC1 is defined identically:
form convert_matnr_to_intern_format
using value(i_matnr) like csap_mbom-matnr
changing o_matnr like csin-matnr
value(subrc) like sy-subrc.
So importing parameter of type CSAP_MBOM-MATNR is passed to field I_MATNR of type CSAP_MBOM-MATNR and there can't be any type conflict, if
there is no modiffication in your system
fm CSAP_MAT_BOM_OPEN and include LCSAPFC1 are active
no parts of function group CSAP have been overwitten by importing a transport request into your system
Please check this code snippets against those in your system.
What can you do, if all is looking okay:
Check the version history (fm and include) for suspicious transport requests.
If no transport requests found, try to regenerate the fm, th include and the whole function group.
Regards,
Klaus
Similar Messages
-
Hi
I have one Zreport which gives the result in ALV form.
After getting the result(1 row with 33 columns) when I tried to export the ALV results to spread sheet using the option : List-> Export-> Spread Sheet OR by click on Excel icon in the display screen,I'm getting the short dump with the description "No more storage space available for extending an internal table" .
After analysis ,find that dump is raising in the FM : F4_GET_RESULT of Include Program : LSDH3U03.
Can anyone provide us some clue .
Thanks & Regards,
SreeramHi,
If the display is in ALV grid format, then you can try another approach to save the data in a spreadsheet.
- Right-click on any output cell.
- Select 'Spreadsheet' from the drop down list
- radio-button 'All available formats'
- Excel (In existing XXL format)
Thanks!
VS. -
Short dump with an error SAPSQL_LIKE_QUOTES
Hi,
today we have more short dumps with an error SAPSQL_LIKE_QUOTES. this means The logical condition contains a text field literal, for which there is no closing quotation mark.
as per my analysis i found the below code from the std. sap program SAPLBTCH in that include LBTCHF19.
TRANSLATE p_buffer1 USING '*%'.
IF p_buffer1 CO '% '.
IF NOT i_mandatory IS INITIAL.
CONCATENATE i_name '<> ''''' INTO o_where
SEPARATED BY space.
ENDIF.
EXIT.
ENDIF.
can you please tell me that there is a sapce in the line IF p_buffer1 CO '% '.
please advice me if this statement is true or should not contain any spaces between the quotations.
Thanks,
KasiHi Kasi,
please check this link
[SAPSQL_LIKE_QUOTES|http://www.google.com/#hl=en&num=100&q=SAPSQL_LIKE_QUOTES&fp=1&cad=b]
Kind regards,
Clemens -
ABAP short dump with "CNTL_ERROR"
Hi,
I am getting an ABAP short dump with "CNTL_ERROR" while using an input script. What do I do?
Thanks,
Sreekar.Hi,
Newer versions of SAP GUI and R/3 include external controls called as ActiveX (OCXs). ABAP code internally issues some commands to flush and refresh these controls. Since, when using GuiXT and input scripting, these controls are not created, and ABAP dumps. Use keyword "Enable controls" (without quotes on a separate line) in a screen block that has an ActiveX control.
Example:
Screen SAPLCOIH.3000
Enter "/Menu=4,1,5"
Screen SAPLSP01.0100
Enter "=No"
Screen RIPLKO10.1000
Enable controls
Set F[Group] "UG"
Enter "/8"
Reward Points if found helpfull..
Cheers,
Chandra Sekhar. -
Transport with return code 12 ,short dump with 'DBIF_RSQL_SQL_ERROR'
Dear All,
My trasnport contains infoprovider. DTP,transpformations, character realtionships , aggregation levels ,web templates, programs.
I got a transport failed with Return code 12, and it is showing message :
Program terminated (job: RDDEXECL, no.: 06031600)
See job log
Execution of programs after import (XPRA)
End date and time : 20101026060421
Ended with return code: ===> 12 <===
I have short dump with 'DBIF_RSQL_SQL_ERROR' exception 'CX_SY_OPEN_SQL_DB'.
in how to correct the error :
below is the detials.
Database error text........: "ORA-01578: ORACLE data block corrupted (file #
211, block # 79950)#ORA-01110: data file 211:
'/oracle/RBW/sapdata15/xbw_188/xbw.data188'#ORA-26040: Data block was loaded
using the NOLOGGING option"
did someone has the same problem .
Help is really appreciated.
Regards
VeeraI am afraid you will need to esclate this to BASIS team.. seems some issue with database
-
Short dump with TPM_TRD1 000
hi everyone,
when I run the Tcode:TBB1,i come across a ABAP short dump error.
my system environment is:
PC
windows2003NT
oracle10.2
independant system without SLD control
The error info as follow:
Note 837202 - TPM_MIGRATION:tpm18: Short dump with TPM_TRD1 000
Summary
Symptom
You migrate from Release CFM or Enterprise 1.10 to ERP 2.0 or higher. There are already parallel valuation areas in use. In tpm_migration_cat, you specify a key date. In the test system, the following short dump occurs for the parallel valuation areas:
Error message short text:
Internal error: SLD
Message class: "TPM_TRD1"
Number: 000
Variable 1: "SLD"
Other terms
CL_DISTRIBUTOR_SLD, TPM_TRD1000
Solution
In the production system, you have to carry out tpm18 before the technical upgrade for all business transactions that are before the key date from tpm_migration_cat.
I do not understand how to do with the soluton
eg.what is "tpm18"?
Do need your helps,
Thank you very much
PeterHi Peter,
I guess you found note 837202 when you were looking for a solution for the TBB1 dump you encountered.
This note deals with a special situation when executing tpm18 (which is the transaction for fixing and posting derived flows) in a test system after migration and it tells you you should run tpm18 in production before the technical upgrade.
I am not sure if this really applies to your situation, maybe you should rather check if note 821854 and the solution therein can be helpful.
But without more information (e.g. knowing more about your release, your 'migration history' and the part of the coding where the dump is raised), it is quite difficult to give a diagnosis.
Maybe you should think of sending a customer message to SAP support via the SAP marketplace if you cannot get rid of this problem on your own. -
Short dump with error RSW_CURRENCY_TRANSLATION while loading SRM data
Hi All,
I am loading data from SRM to BW. From data source 0BBP_TD_CONTR_2 to DSO 0SRCT_DS1. Data is loaded from source to PSA. When loading from PSA to DSO using DTP, I am getting a short dump with below error. Can one please let me know solution if you have faced the same problem previously?
Termination occurred in the ABAP program "SAPLRSW0" - in
"RSW_CURRENCY_TRANSLATION".
The main program was "RSBATCH_EXECUTE_PROZESS ".
In the source code you have the termination point in line 86
of the (Include) program "LRSW0U09".
The program "SAPLRSW0" was started as a background job.
I have checked the DSO routines and objects, everything is ok. Replicated all currency conversion tables from source.
0PSTNG_DAT infoobject is also active. There is no errors in Development while loading, when moved to quality, the error is throwing.
Regards,
DonHi All,
We need to activate 0SR_DEFCUR currency object. I have activated the object and transported. Issue is resolved.
Thanks to all for your kind replied.
Regards,
Don -
Infospoke short dumps with MESSAGE_TYPE_X
Whenever one of our many infospokes are invoked and there is no data to pull from BW, the process short dumps with MESSAGE_TYPE_X in module RSB_API_OHS_DEST_READ_DATA.
Is anyone else experiencing this problem?Hi,
Please take a look in note 1370227.
I hope this note help you.
Thanks,
Rafael -
Short dump with Where-used list
Hi All,
I'm making some research on specific InfoObjects, and in some cases I want to know where are they being used, but when I try to use the icon for "Where-used list using Data Warehouse" I end up with an error, a short dump.
Message class is: RSQBW
Trigger Location of Runtime Error:
Program: CL_RSQ_ISET_SERVICE===========CP
Include: CL_RSQ_ISET_SERVICE===========CM016
Row: 136
Module Type: (METHOD)
Module Name: EXTEND_FIELD_BUFFER
Does any one can help me to understand why is this going on and how to solve this?
Thank you!!
MiriamHi Miriam
In the short dump you should also see the name of the infoset in question.
You probably have to adjust the infoset in transaction RSISET and they try to run the where used list again.
Best Regards,
Vincent -
Short dump with the transaction CJ02
Hello, this is my first thread in the forum. I hope to solve my problem.
It is necesary to say you that my english is very poor, is not so good. Sorry for that.
When i use the transaction CJ02 to finish or close a project, appears an error when i save it. The steps are the followings:
1- Run the transaction CJ02 with a WBS element
2- Mark the line of the WBS element
3- Select then button Settlement rule
4- Fill 4 items in the next screen to distribution rules (the % is 100)
5- Back with green arrow
6- Fill the field Cost Center Req
7- Save
After a few seconds appears the dump:
<b>ABAP runtime errors MESSAGE_TYPE_X
Occurred on 20.11.2006 at 11:07:09
>> Short dump has not been completely stored. It is too big.
The current application triggered a termination with a short dump.
Error analysis
Short text of error message:
Nested call of PERFORM ON COMMIT:
Long text of error message:
Diagnosis
During processing of a routine called using PERFORM ... ON COMMIT,
the system attempted to call PERFORM ... ON COMMIT again. Nesting
of this is not allowed.
System Response
Procedure
The program indicated after "Caller:" must be changed. This is the
program that calls the routine indicated after "Form:" during
COMMIT processing. This routine is part of the program indicated
after
"Program:".
Procedure for System Administration
Technical information about the message:
Message classe...... 00
Number.............. 081
Variable 1.......... " "
Variable 2.......... " "
Variable 3.......... " "
Variable 4.......... " "
How to correct the error
If the error is in one of your own ABAP programs or an SAP program that
you have modified, try to correct it.
If the error occurred in a non-modified SAP program, you may be
able to find a solution in the SAP note system.
If you have access to the note system yourself, use the following
search criteria:
"MESSAGE_TYPE_X"
"SAPMSSY0 " or "SAPMSSY0 "
"%_ORDER_FORM_FOR_ROLLBACK"</b>
There are several notes that apparently solve the problem with support packages that are applied in our system (for example 397011 or 614553). Inthis case our system is updated.
Can you help me please.
Thanks
Gabriel.-Hi
Are you really sure https://websmp101.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=397011&_NLANG=E
is applied correctly ?
Try downloading with snote and see if it gets marked 'not relevant',
( are you on release 4.6 ? )
Given the nature of the problem ( and the fact that this issue is known ) , the best seems log an OSS support request
rgds
Dirk -
Short dump with a select statement
I have the following select statement (I have also inluded my data statement(s)) and I get a short dump. The error is as follows:
<b>What happened?
Error in ABAP application program.
The current ABAP program "ZPARTNER" had to be terminated because one of the
statements could not be executed.
This is probably due to an error in the ABAP program.
Following a SELECT statement, the data read could not be placed in AN
the output area.
A conversion may have been intended that is not supported by the
system, or the output area may be too small.
Error analysis
An exception occurred. This exception will be dealt with in more detail
below. The exception, assigned to the class 'CX_SY_OPEN_SQL_DB', was not
caught, which
led to a runtime error. The reason for this exception is:
The data read during a SELECT access could not be inserted into the
target field.
Either conversion is not supported for the target field's type or the
target field is too short to accept the value or the data are not in a
form that the target field can accept </b>
it_adrc TYPE TABLE OF adrc,
wa_adrc LIKE LINE OF it_adrc,
SELECT addrnumber name1 street city1 region post_code1 tel_number
FROM adrc INTO TABLE it_adrc
FOR ALL ENTRIES IN it_detail
WHERE addrnumber = it_detail-adrnr.
Regards,
DavisIf you only need the fields mentioned in the select query, then follow this:
TYPES: BEGIN OF ADRC_TYPE,
ADDRNUMBER LIKE ADRC-ADDRNUMBER,
NAME1 LIKE ADRC-NAME1,
STREET LIKE ADRC-STREET,
CITY LIKE ADRC-CITY,
REGION LIKE ADRC-REGION,
POST_CODE1 LIKE ADRC-POST_CODE1,
TEL_NUMBER LIKE ADRC-TEL_NUMBER,
END OF ADRC_TYPE,
ADRC_T_TYPE TYPE TABLE OF ADRC_TYPE.
DATA: IT_ADRC TYPE ADRC_T_TYPE WITH HEADER LINE.
IF NOT IT_DETAIL[] IS INITIAL.
SELECT addrnumber name1 street city1 region post_code1 tel_number
FROM adrc INTO TABLE it_adrc
FOR ALL ENTRIES IN it_detail
WHERE addrnumber = it_detail-adrnr.
ENDIF.
Thanks,
SKJ -
Now I want to get total weight of the material as weight * quantity. When I doing this process the program short dump.
If my user setting in su01 is 1,234,567.89 it will work normally, but if I changed my user setting to 1.234.567,89 it will get weight like 6,55 which cause short dump in total weight get. Please help me for solution that no mater user setting is dot or comma it will work successfully. thanks.I think the problem lies in fact that you are treating this variable as character one (of type c or string ) . This is not correct. You should use only packed numbers (of type p ) for calculation.
The user settings has nothing to do with the calculation. These are purely for displaying data, not for calculating them. So what you need is something like
data: weight type p decimals 2 value '1234567.89',
quantity type i value 3,
result(10) type p decimals 2.
result = weight * quantity. "the value stored in variable has form 3703703.67
"only when you display your data it will receive the format of user settings
write: weight, "displayed as 1,234,567.89 or 1.234.567,89 -> depending on the settings
result. "displayed as 3,703,703.67 or 3.703.703,67 -> depending on the settings
Regards
Marcin -
KNA1 short dump with Unicode conversion
Hello,
We did Unicode conversion in our dev box. every thing looks okay except one issue.
when we are trying to create customer using XD01. it gives a short dump DBIF_RSQL_INVALID_REQUEST in the update program at command INSERT KNA1.
we looked at data, structure of KNA1 with non unoicode system and not found any differnece. if i execute the same data in non-unicode system it works.
any idea what must be the issue?
regards
ShammiHi Shammi,
Have you checked in OSS if you find any note.
Regards,
Atish -
Short Dump with VA22 transaction in ECC 6
Hi All,
We are on ECC 6 and facing a short dump whenever we are trying to save some quotation. We are getting the following error.
There is probably an error in the program "SAPLSYDB". The program is triggered in the update task. There, the following ABAP/4 statements are not allowed:
CALL SCREEN
CALL DIALOG
CALL TRANSACTION
SUBMIT
"POSTING_ILLEGAL_STATEMENT" " "
"SAPLSYDB" or "LSYDBU27"
"DB_COMMIT".
Is there a sap note for this. Any link or pointer to this will be highly appreciated.
Regards,
JayantHello,
This looks like a problem for SAP. I assume that you have not modified the
program SAPLSYDB. I also assume that you have searched the Service Marketplasce
for any OSS notes. My next step would be to create a message to SAP to get them to
have a look.
Regards
Greg Kern -
Short dump with BAPI_ACC_DOCUMENT_POST
Dear All,
When I try to use BAPI "BAPI_ACC_DOCUMENT_POST" for F-02 posting, I get the following short dump:
"Syntax error in program SAPLACC9".
"The data object GS_ACCIT does not have a component called BAPI_PARA"
Please suggest me how can this error be removed.
Regards,
KanupriyaHi Suneel,
Please look at the code below:
LOOP AT it_upload_rec.
header-bus_act = 'RFBU'.
header-doc_date = it_upload_rec-bldat.
header-pstng_date = it_upload_rec-budat. header-header_txt = 'F-02 Posting'.
header-comp_code = 'PL10'.
header-doc_type = 'SA'.
header-username = sy-uname.
APPEND header.
CLEAR header.
account_gl-itemno_acc = '1'.
account_gl-gl_account = it_upload_rec-account1.
APPEND account_gl.
CLEAR account_gl.
account_payable-itemno_acc = '2'.
account_payable-vendor_no = it_upload_rec-account2.
APPEND account_payable.
CLEAR account_payable.
currency_amount-itemno_acc = '1'.
currency_amount-currency = 'INR'.
currency_amount-amt_doccur = it_upload_rec-amount.
APPEND currency_amount.
CLEAR currency_amount.
ENDLOOP.
CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
EXPORTING
documentheader = header
* CUSTOMERCPD =
* CONTRACTHEADER =
IMPORTING
obj_type = gv_obj_type
obj_key = gv_obj_key
obj_sys = gv_obj_sys
TABLES
accountgl = account_gl
ACCOUNTRECEIVABLE =
accountpayable = account_payable
* ACCOUNTTAX =
currencyamount = currency_amount
* CRITERIA =
* VALUEFIELD =
* EXTENSION1 =
return = it_return
* PAYMENTCARD =
* CONTRACTITEM =
* EXTENSION2 =
* REALESTATE =
Regards,
Kanupriya
Maybe you are looking for
-
Dear All , I want to calculate the interest with dunning. But i do no understand the interest rate logic with dunning . I need a calculation as below example . Is it possible ? for example , Invoice = 1000 EUR Net due date =12.03.2007 Interest Rate S
-
Time Machine was working fine, until one day back up was failing due to being unable to delete the old backup. now it will no longer connect to the network drive although the external drive is accessible through the system.. any ideas?
-
I'm not sure if this is the right area to post this in but here goes. I recently purchased a Sony VHS to DVD converter. I've copied and finalized one of my tapes to DVD. It will play on my Mac using DVD Player. But so far I've been unable to import i
-
Same article, different languages help!!!
Hi, I have a project for a client which requires one article per folio (4 folios in total), each article has two language optins, English and Chinese. The problem I'm having is that when you get to the end of the first article, (lets say the English
-
Finding a media address from xml
I have buttons on my stage that use getURL(); to open media files. I've set variables for the location of the files that take the value from xml lables out of sight but on the stage. When I test my file it traces the video location as "undefined" des