Dump in VA02 changing conditions / SWEC with VERKBELEG and BUS2032
Hi,
Iu2019m Working on SAP 4.6c
I create a subtype object from BUS2032 to have new events which I have place in Tcode SWEC using VERKBELEG and BUS2032 and my new event on CHANGE mode, additionally I restricted the condition using this field restrictions and the condition editor including the next sentence:
&VBAK_LIFSK_OLD& EQ &VBAK_LIFSK_NEW& or
&VBAK_LIFSK_OLD& NE 02 and
&VBAK_LIFSK_NEW& EQ 02
This condition is Ok but when I call the Tcode VA02 to change the conditions in one position I got a dump and a popup telling me that the modification was not done, if I check SM13 to see the dump, I can see a conversion error from blank into a number in a SAP program and this is the error.
I think there's a SAP NOTE to solve this issue but I couldn't find it.
Any suggestion?
Thanks a lot
Felipe.
Hi Mr Arghadip
Mysteriously there is a connection between Workflow and this error and thereu2019s a dump generated by this, Iu2019m sending you the dump analysis for you to see, but the most important thing is that I did apply the Workflow u201CNote 570711 - SWEB: Typing when evaluating field restrictionsu201D and the issue was solved.
Thanks a lot for your help....
This is our system: R/3 release 4.6C, Las patch applied SAPKB46C43,
Dump analisys:
Function module RV_MESSAGE_UPDATE
Status Update was terminated
Report
Line
Error text
00 671: ABAP/4 processor: CONVT_NO_NUMBER
ABAP Short Dump (button)
u2026
ABAP runtime errors CONVT_NO_NUMBER
What happened?
The current ABAP/4 program "SAPLSWEB " had to be terminated because
one of the statements could not be executed.
Error analysis
The program attempted to interpret the value " " as a number, but
since the value contravenes the rules for correct number formats,
this was not possible.
CODE ERROR:
002770 FORM cdpos_convert_value USING p_cdpos_value TYPE cdpos-value_new
002780 CHANGING p_value TYPE any.
002790 " "
002800 " for conversion of VALUE_OLD and VALUE_NEW, this should be almost the"
002810 " same implementation as LSCD2F01 form EDIT_CDPOS_NEW "
002820 " "
002830 *- begin of local data
002840 DATA: l_dec TYPE i.
002850 DATA: l_type TYPE c.
002860 DATA: l_float type f.
002870 *- end of local data
002880
002890 DESCRIBE FIELD p_value DECIMALS l_dec TYPE l_type.
002900
002910 CASE l_type.
002920 WHEN 'P'.
> l_float = p_cdpos_value.
002940 IF l_dec > 0.
002950 l_float = l_float / ( 10 ** l_dec ).
002960 ENDIF.
002970 * move the value
002980 p_value = l_float.
002990 WHEN OTHERS.
003000 * move the value
003010 p_value = p_cdpos_value.
003020 ENDCASE.
003030
003040 ENDFORM. " cdpos_convert_value
Edited by: FelipeUribe on Apr 23, 2010 6:40 PM
Similar Messages
-
CHANGE BRUSH SIZE WITH CTRL and alt KEYS
Hello everyone,
i'm on the road with my new macbook and i have a problem with setting up my wacom pen.
At home i use a iMac with CS5 and to change the brush size i press the alt and the ctrl key and move the pen to left/tight up/down to chang size and hardnes of the brush. I find this very handy!
On my new Macbook i have CC and i don't have the option to use this easy key combination, i was loking around and did some google, but i could not find the place to get the same settings on my macbook.
Is there anyone who can help me?
Thank you very much.When you press and hold Option/Alt + Control and Left mouse click and drag nothing happens?
(the button on your pen is set to left click?)
The Option/Alt key should always be the second key to the left of the spacebar
The Control key should always be the third key to the left of the spacebar -
Datagrid change row event with tab AND/OR click ???
I have a spark datagrid with the last two columns enterable.
The natural approach for the user is to click in one and enter it then keep tabbing from cell to cell row to row to do his/her data entry.
Selectionchanging works only if you click, the selection does not keep up with the tab from row to row.
I want to enter the new data for each row when the user leaves the row.
What is the best way to approach this particular (and common) need.
Thanks
Dan PrideHi again,
I think I was not clear enough. Basically I have a textfield assigned with a style, let's say TextFieldStyle1. What I want is to programmatically assign the textfield another style, say, TextFieldStyle2.
How can I achieve that ?
Many thanks ! -
Need all the drivers and cannot change the brightness with keys
my product name is hp 15-r250tu notebook i brought it a few days back all and the os i am useing is windows 7 ultimate all the drivers need to be installed but are not available on hp.com dont know why ? and i am not able to change the brightness with keys and cannot play games or videos video card off
Hello,
please have a look there: Adobe ID, sign in, and account help. If necessary and for further questions click through http://helpx.adobe.com/contact.html and if "open" please use chat, I had the best experiences. I quote from Preran: The chat button is activated as soon as there is an agent available to help.
Good luck!
Hans-Günter -
Sales Order (VA02) - Blocking conditions/configuration changes
Hi,
I have the following requirment:
When changing sales document with subsequent documents, the configuration and pricing data of items should be blocked for changes (or as alternative: error message should be raised when data saved).
Can this requirment be fulfilled (by means of customization or customer development/user-exit implementation)?
Thanks,
ShaiDear Sinai,
Then, you must have to Cretae and Assign Status Profile for the same in to T. Code: BS02/ OIBS.
Once you create the status profile with proper Auth. Code, set the Profile for appropriate Sales Area (for which, Sales Order is getting created with reference to a Subsequent document i.e. Quotation).
User with the proper authorization in their USer-Profile (T. Code: SU01 - Basis-Admin will able to do this), will only be able to do the changes.
I think, this will ful-fill your requirement.
Best Regards,
Amit -
While trying to change a BOM with transaction CS02, a runtime error appears
While trying to change a BOM with transaction CS02, a runtime error appears.
In intial screen he entered material ,plant BOM usage and date valid from after executed then id displayed item list in that he wantu2019s delete one item, he has been deleted selected item after that when he was saving he is getting runtime error
Developer trace
ABAP Program SAPLKED1_WRITE_CE4_BPS1 .
Source LKED1_WRITE_CE4_BPS1U01 Line 30.
Error Code SAPSQL_ARRAY_INSERT_DUPREC.
Module $Id: //bas/640_REL/src/krn/runt/absapsql.c#17 $ SAP.
Function HandleRsqlErrors Line 775.
RABAX: level LEV_RX_STDERR completed.
RABAX: level LEV_RX_RFC_ERROR entered.
RABAX: level LEV_RX_RFC_ERROR completed.
RABAX: level LEV_RX_RFC_CLOSE entered.
RABAX: level LEV_RX_RFC_CLOSE completed.
RABAX: level LEV_RX_IMC_ERROR entered.
RABAX: level LEV_RX_IMC_ERROR completed.
RABAX: level LEV_RX_DATASET_CLOSE entered.
RABAX: level LEV_RX_DATASET_CLOSE completed.
RABAX: level LEV_RX_RESET_SHMLOCKS entered.
RABAX: level LEV_RX_RESET_SHMLOCKS completed.
RABAX: level LEV_RX_ERROR_SAVE entered.
RABAX: level LEV_RX_ERROR_SAVE completed.
RABAX: level LEV_RX_ERROR_TPDA entered.
RABAX: level LEV_RX_ERROR_TPDA completed.
RABAX: level LEV_RX_PXA_RELEASE_RUDI entered.
RABAX: level LEV_RX_PXA_RELEASE_RUDI completed.
RABAX: level LEV_RX_LIVE_CACHE_CLEANUP entered.
RABAX: level LEV_RX_LIVE_CACHE_CLEANUP completed.
RABAX: level LEV_RX_END entered.
RABAX: level LEV_RX_END completed.
RABAX: end RX_RFC
In sm21
Perform rollback
Run-time error "SAPSQL_ARRAY_INSERT_DUPREC" occurred
Short dump "090618 110101 donalda 11557 " generated
Runtime Error SAPSQL_ARRAY_INSERT_DUPREC
Exception CX_SY_OPEN_SQL_DB
Occurred on 18.06.2009 at 11:01:01
The ABAP/4 Open SQL array insert results in duplicate database records.
What happened?
Error in ABAP application program.
The current ABAP program "SAPLKED1_WRITE_CE4_BPS1" 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.
Error analysis
An exception occurred. This exception is dealt with in more detail below
. The exception, which is assigned to the class 'CX_SY_OPEN_SQL_DB', was
neither
caught nor passed along using a RAISING clause, in the procedure
"RKE_WRITE_CE4__BPS1" "(FUNCTION)"
Since the caller of the procedure could not have expected this exception
to occur, the running program was terminated.
The reason for the exception is:
If you use an ABAP/4 Open SQL array insert to insert a record in
the database and that record already exists with the same key,
this results in a termination.
(With an ABAP/4 Open SQL single record insert in the same error
situation, processing does not terminate, but SY-SUBRC is set to 4.)
How to correct the error
The exception must either be prevented, caught within the procedure
"RKE_WRITE_CE4__BPS1"
"(FUNCTION)", or declared in the procedure's RAISING clause.
To prevent the exception, note the following:
Use an ABAP/4 Open SQL array insert only if you are sure that none of
the records passed already exists in the database.
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:
"SAPSQL_ARRAY_INSERT_DUPREC" CX_SY_OPEN_SQL_DBC
"SAPLKED1_WRITE_CE4_BPS1" or "LKED1_WRITE_CE4_BPS1U01"
"RKE_WRITE_CE4__BPS1"
If you cannot solve the problem yourself, please send the
following documents to SAP:
1. A hard copy print describing the problem.
To obtain this, select the "Print" function on the current screen.
2. A suitable hardcopy prinout of the system log.
To obtain this, call the system log with Transaction SM21
and select the "Print" function to print out the relevant
part.
3. If the programs are your own programs or modified SAP programs,
supply the source code.
To do this, you can either use the "PRINT" command in the editor or
print the programs using the report RSINCL00.
4. Details regarding the conditions under which the error occurred
or which actions and input led to the error.Hi ,
you are getting beacuse u are trying to do mass update to database.
Please check that below note are applicable to your system.
Note 453313 - DBIF_RSQL_ERROR_INTERNAL for mass insert
Note 869534 - AFS MRP doesn't work properly with all BOM item categories
Thanks Rishi Abrol -
RH6 crashes with th and conditional build tags
Hello together,
The attached code worked fine with RH X5, but leads to a
crash with X6. To fix, you have to replace the <th> by
<td>, but it is not too easy to find the topic within a
project. The fix is quite easy, but it is hard to find in a big
project.
This happens, when the conditional build tag is used.
Thanks and best regards,
Katrin LusserHello Peter,
My wife created the topic with X3 or X5.
She just tried again with X6 and after several changes (set
heading, insert, delete, etc.) she had the same constellation.
Unfortunately, until now, she could not find out the exact way to
reproduce. But it is definitely possible. We will post here, when
we find out, how to do it.
Best regards,
Michael -
(FM8p277) Crashes when saving first doc in book after changing conditional text display
That was a mouthful :-)
Okay, this happens with any of the books that I work on --- it never happened with Frame 7.
I have a book containing several documents.
The documents contain several conditional text segments.
Start new Framemaker session, open book, open all documents.
Change conditional text display (from Show All to Show Selected, or vice-versa).
From the book, choose Save All (or from the *first* document, choose Save). The following text appears in a 'FrameMaker dialog': "File <filename of first document>.fm has changed on the disk since you last opened or saved it. Someone else has probably modified the file. Do you want to save it anyway?
Click OK. All of the files save properly. (If I had clicked Cancel, the first file would be skipped and all other files would save.)
Change conditional text display again (note: this could even be for a different book at this point, I believe, but will have to verify).
(Repeat step 3): The same text appears again in the dialog.
Click OK. FrameMaker crashes while trying to save the first file. (If I had clicked Cancel, the first file would be skipped and all other files would save. However, if I attempt to save the first file afterward, FrameMaker still crashes.)
Anybody have any insight into this? Am I the only one this happens to? Argh :-)
Thanks.Sorry, the only answers I got were on the forum and nothing worked
That being said, at least now I know I'm not crazy! (Sorry it had to
happen to you, though.)
As it stands, I've been training myself to make sure that after the
first time I toggle the settings, I do the save, and then make sure to
save all, quit, and restart FrameMaker before I attempt another toggle.
On the odd occasion that I don't do that and get the warning message, I
select Cancel (which lets the rest of the files save), quit, restart,
and then make sure I update the first document appropriately.
All the while cursing and swearing, of course
As an aside... if you find a solution, please let me know about it if
you remember.
Thanks.
John -
BAPI_SALESDATA_CREATEFROMDAT2 Changing Condition Value
Hi,
when I use BAPI_SALESDATA_CREATEFROMDAT2 to changeing condition value
wa_order_conditions_in-itm_number = '000010'.
wa_order_conditions_in-COND_ST_NO = '010'.
wa_order_conditions_in-COND_COUNT = '01'.
wa_order_conditions_in-cond_type = 'PR01'.
wa_order_conditions_in-applicatio = 'V'.
wa_order_conditions_in-cond_value = '1900'.
wa_order_conditions_in-currency = 'RMB'.
wa_order_conditions_in-cond_p_unt = '1'.
wa_order_conditions_in-cond_unit = 'PC'.
wa_order_conditions_inx-itm_number = '000010'.
wa_order_conditions_inx-COND_ST_NO = '010'.
wa_order_conditions_inx-COND_COUNT = '01'.
wa_order_conditions_inx-cond_type = 'PR01'.
wa_order_conditions_inx-updateflag = 'U'.
wa_order_conditions_inx-cond_value = 'X'.
wa_order_conditions_inx-currency = 'X'.
wa_order_conditions_inx-cond_p_unt = 'X'.
wa_order_conditions_inx-cond_unit = 'x'.
APPEND wa_order_conditions_inx TO
i_order_conditions_inx.
APPEND wa_order_conditions_in TO
i_order_conditions_in.
CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
EXPORTING
order_header_in = wa_order_header_in
order_header_inx = wa_order_header_inx
IMPORTING
salesdocument = salesdocument
TABLES
order_conditions_in = i_order_conditions_in
order_conditions_inx = i_order_conditions_inx.
run it i get a Sales order when i look the item conditions
i found it add a new condition line like :
PR01 1800.00 RMB ... (automatic price which can
be deleted and modifide manual
in 'VA02')
PR01 1900.00 RMB ... (I expected)
but I only want to get one line
PR01 1900.00 RMB ...
now i don't know the reason,
my version is R/3 3.6C
wa_order_conditions_in-itm_number = '000010'.
wa_order_conditions_in-COND_ST_NO = '010'.
wa_order_conditions_in-COND_COUNT = '01'.
'000010','010', '01'
is found in BAPISDORDER_GETDETAILEDLIST by creat in va01 and look it in BAPISDORDER_GETDETAILEDLIST.Hi Pan!
The handling of the conditions is quite tricky. Have a look at OSS 593246 for some hints.
Have also a look in some other linked topics:
BAPI_SALESORDER_CHANGE conditions
BAPI_SALESORDER_CHANGE- No Pricing Condition Change
Regards,
Christian -
User-exit that triggers everytime I change a line item and change condition
Hello Experts,
We are encountering an error wherein when we create a return order with reference
to an invoice and we create multiple line items with the same material, the succeeding
line items points to the wrong conditions in the reference invoice. Below is an example:
Original Sales Invoice 3010002390
Line Item No. SKU Quantity Total Rebate Discount Per Unit Rebate Discount
10 100315 10 128.07 12.81
20 106666 10 128.07 12.81
30 100338 10 243.86 24.39
Return Order 1120000402 (repeatedly created with reference to the same sales invoice number)
20 106666 1 12.81 12.81
30 106666 1 24.39 24.39
For Return Order line 30, it should have picked the price 12.81 instead it picked 24.39,
which is the same line item with the original sales invoice.
I am using user-exit 'USEREXIT_NEW_PRICING_VBAP' and it triggers everytime I change the quantity of a line item.
But I tried to change the values in XKOMV and put 'U' in UPDKZ but it doesnt reflect when I view it.
Hope you can help me guys. Thank you and take care!Thanks anyways...
-
ABAP MESSAGE_TYPE_X -DUmp Due to Change in hiring process for HK ?
Hi,
I changed the Hiring process , just added new infotype 0105 into the process for HK , after that i got an ABAP "MESSAGE_TYPE_X" dump when i tried to save PA30 .
See the below Error :
with the key 50002134567880 9999123119712134256206528473C_VBA in
table PA0342. It is possible that the record does not exist. The
following are a few of the possible causes for this:
o The code in table PA0342 is not correctly specified in the data
dictionary (SE11). Compare with another PAnnnn table.
o An infotype may have an additional view infotype for which the
record is not available. This situation can occur when system
settings for infotype views (T582V) are changed.
o Problems with database.
o There may be other causes.Try running the report rpu03420 for that pernr. Anyway 0342 is an infotype specific to HongKong.
~Suresh -
Manual Excise condition type with calculation type as FIXED AMOUNT
Dear Gurus,
I have used a manual excise condition (JMAN) in my pricing procedure the difference is that I've changed its calcultaion type to FIXED AMOUNT.
And in the same pricing procedure I have also got a percentage based Excise condition (ZEXC).
And in any transaction either of the one that is JMAN or ZEXC will be used.
The Manual Excise condition is used basically when the raw material sale takes place. The requirement is as such that they should be able to enter the duty value in INR and not in percentage. Please go through the example below
*(For Example I am procuring raw material of 100 kg worth 10000 at 8% of excise duty. Excise duty will be 800 for 10000rs. So it will be 8 rs per KG.
And now suppose I am utilizing 80 kg for production and want to sell remaining 20 kg. the Excise duty charged should be 160 rs. considering the rate per unit is 8rs.)*
In this case user wants to enter the value in INR and not in percentage.
And normally for the finished goods the percentage based condition is used.
Now what my issue is that how will I copy the value from JMAN to ZEXC at the raw material sale. otherwise my finished good sales is happening without any problem.
For this should I use any routine to copy the values from ZMAN to ZEXC??
Or rather is it possible that I could copy values from a condition type whose calculation type is FIXED AMOUNT to other condition whose calculation type is percentage.
How should I go ahead with this??
Please guide me.
Any answers??
Cant Do it this way??
Thanks & Regards
Anand.k
Edited by: anand k on Jul 8, 2009 6:38 AM
Edited by: anand k on Jul 8, 2009 1:04 PMCheck the condtion value in condition type UTXJ . If the JMOD value is 10% of UTXJ then assessable value should have been maintained for the Material and Plant combination in J1ID. This is due to Routine 351 maintined in pricing procedure for the condition type UTXJ
check and confirm
Senthils -
Can we change Condition Tables
Dear Experts,
can you please tell me can we change condition tables for SD example 017/018?
T code for this is M/04
Requirement is now i need to check the checkbox With Release Status..
Can anybody help me?
Sachin
Edited by: Sachin Bidkar on Aug 12, 2011 8:44 AMHi Max,
Thanks for the reply.
Actually my requirement is to change processing status through ME12 for purchasing info records
And My query is suppose i add this field in T681E, then will it allow to change the processing status in ME11/12?
Please guide me.
Thanks & Regards,
Sachin Bidkar
Edited by: Sachin Bidkar on Sep 23, 2011 2:36 PM -
Need to find a scripts for changing default "Open with" iTunes app to Quick
Hello all...
I'm new to scripting but need a script really quickly...
I was wondering if anyone knew where I could find a script that will change the default "Open with" of audio files placed within a certain folder on my desktop...
I'm making sound clips with WireTap and dumping them in a folder called WireTapExports as .mp3. I then need to play them without using iTunes (and importing them by default) but going into the "Get Info" and manualy changing the "Open With" settings for each file is taking ages...and it's very irratating...
Is there a way I can make all audio file put in that folder automaticaly open with Quicktime instead.
I know this is quite easy to most but I've only just started looking at Applescript (i.e. a few days ago) and but I need this to work now...
Many thanks in advance...
PigeonCake...Not what you want, but if you hold the control key while getting info it changes to summary info which then lets you change the preferred application on a batch of files in one go.
-
Changing Condition Price Value
Hi All,
I have a requirement where in i have to change the condition value. Currently if i select the item in the contract and go to Item Conditions, the condition value is calculated by the rate maintained in the condition type. But my requirement is i have to overwrite the Rate maintained in the condition type with the rate entered by the user through module pool screens. At present the values of all the conditions will be coming from XKOMV structure through FM RV_KONT_SELECT.. which is the standard requirement. Where exactly i have to overwrite the Rate which i am getting from the Condition type, so that item values (VBAP) and header value (VBAK) will also change accordingly. Pls let me know how to handle this.
Thanks,
RajuHi,
Basically you need some Functional Help (SD). If you are working with some SD Consultant, just discuss it with him.
Otherwise, For Pricing Procedure use T.Code V/08 and check if any routine is assigned to that particular condition.
If you want to write new routine, use T.Code VOFM.
Use MENU Option --> Formulaes, --> Condition Values.Define some number as per the displayed number in the list.
Generate it. and then open the same code routine in SE38.
Now you can write the code there to change the values during execution.
Regds,
Anil
Maybe you are looking for
-
Workbook fetching buffer date in variable popup in BI 7.0
Hi All Appreciate ur respose in advance I have an issue related to workbook it is taking the buffer date instead current date from the variable i have tested the query with its variable popup .when we run it is showing the current date i.e; sysdate
-
My Safari browser is stuck on a webpage "survey.tubgalley.xyz...." and there is a pop up with "Congratulations, you are today's lucky winner, Click OK to continue". ( I have not of course clicked on it!). I have tried quitting Safari, and shutting d
-
Screen is not Visible after make it invisible
I maked the screen fields together and formed group1and dinamically changed to invisible by setting loop at screen. if screen-GROUP1 = 'INB'. screen-Invisible = 1 . modify screen. endif. endloop. But when i tried to make visible the group1 its not s
-
Hi. I have a couple of data from a measure and want to do an automatic filter. The way how I want to proceed is the following one: I want to make an FFT on the data, and then make a frequency detector. The unwanted frequency are 50Hz and 100Hz. IF (a
-
BH 214 can not make call but can hear music.
I am using Nokia X6-00 8GB, I have BH 214, I have succesfuly connect the bluethooth headphone and i can heared music throgth it but when make call, the call is not handfree to bh 214. please reply as soon as posible. thank you. But with E63 it work