Routine fails but the condition record is picked up
Hi,
I have a situation here. Where in we have a condition type for customer specific discounts that ZDSP. Now there is requirement routine attached to the condition type. The funny thing is when I look at the analysis. I see that the condition had been ignored. Which is correct as the requirement was not fulfilled. But then after thay it shows that it continued to find the condition record and fetched it. This lead to the discount being applied.
My question is when the requirement was not fulfilled the system ofcourse through a message 111 stating ''Condition ignored (requirement 939 not fulfilled)'. But then why does it proicees to find the condition record and apply the discount.
Any help would be really appreciated.
Regards,
Imran.
No, it is the 'Pricing type'. It is not the one in the condition type. I am pasting part of the code which is causing the problem.
*-- compare old <-> new
check <lv_value_old> ne <lv_value_new>.
*-- change on field -> set pricing type to C
cv_knprs = lcv_knprs_c.
In this code for the pricing procedure (KALSM), the system is trying to get the KOMP fields to compare. Below is the list of fields it brings to compare.
QUSTR QUFNA
KOMP /DBM/LABVAL
KOMP KONDM
KOMP PMATN
KOMP USR00
Now it checks if the old KOMP values match with the new KOMP values.
I guess, what I have to do is add one more field ZZJBTYP to this list and things should fall in place.
The problem is I do not know where this customization is to be done. I need some help here friends.
Regards,
Imran.
Similar Messages
-
How to Delete the condition record in CRM
HI,
Can you please help me how to delete the condition record from condition table in CRM.
Please explain the usage of FM CRMXIF_CONDITION_SEL_DELETE with examples.
I have also read the documention of the function module. How to use this FM for custom defined condition table.
(this is the code given in Documentation)
DATA-OBJECT_REPRESENTATION = 'E'
DATA-SEL_OPT-CT_APPLICATION = 'CRM'
DATA-SEL_OPT-OBJECT_TASK = 'D'
DATA-SEL_OPT-RANGE-FIELDNAME = 'PRODUCT_ID'
DATA-SEL_OPT-RANGE-R_SIGN = 'I' (Including)
DATA-SEL_OPT-RANGE-R_OPTION = 'EQ'
DATA-SEL_OPT-RANGE-R_VALUE_LOW = 'PROD_1'
Thanks
ShankarHi Shankar,
I am using the same CRMXIF_CONDITION_SEL_DELETE function module to delete condition record present in CRM.
But it is giving me below error in the return table of the FM after i run the program. Can you please correct me if I am doing any thing wrong?
Error in lt_return: SMW3 CND_MAST_SEL_DEL_EXT_VALIDATE CND_M_SD
code:
ls_range-fieldname = 'PRODUCT_ID''.
ls_range-R_SIGN = 'I'.
ls_range-R_OPTION = 'EQ'.
ls_range-R_VALUE_LOW = '123456'.
APPEND ls_range TO lt_range.
MOVE lt_range TO ls_entry-SEL_OPT-range.
ls_data-SEL_OPT-object_task = 'D'.
ls_data-SEL_OPT-ct_application = 'CRM'.
ls_data-object_representation = 'E'.
CALL FUNCTION 'CRMXIF_CONDITION_SEL_DELETE'
EXPORTING
DATA = ls_date
IMPORTING
RETURN = lt_return
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
IMPORTING
return = lt_ret.
Edited by: Saravanaprasad Nadar on Jul 7, 2010 1:27 AM -
Mapping error while downloading the condition records (ECC to CRM)
Hello Experts,
We were downloading the condition records from ECC to CRM system (Production), but due to Mapping error, it was unsuccessful, i wonder what's going wrong there.
When i see in SMQ2 (CRM Inbound Queue), an queue got stucked there, i.e, R3AD_ZDNL_COND_A930 having SYSFAIL status.
While debugging the queue, I have found that the queue got stuck because of u2018Mapping Erroru2019.
I found inside, Standard code reads the record from table /SAPCND/T681 (Condition Table Structure) for KAPPL = 'CRM', KVEWE = 'PR', KOTABNR = 'CUS930' and AS4LOCAL = u2018Au2019 for which the value of VAKEY_OFFSET is maintained as 0.
If system finds the value of VAKEY_OFFSET is Zero(0) then it will change the download type from D (Delta) to M (Mapping Error) and raise the error & block the Inbound Queue in CRM.
I checked in SMW01alsofor getting some more knowledge about that queue, here the error description:
Structure information for table CNCCRMPRCUS930 not available (Message class: CND_MAP)
Error when carrying out delta download (Message class: CND_MAP)
I am a technical guy and dont have much idea in CRM Middleware.
I welcome your valuable thoughts and will award full points.
Regards,
JeoHi,
As you mentioned i checked for the followings:
>>In Maintain field catalog:
I found only 2-3 fields are maintained here, when i compared with A930 (A930 in ECC system).
>>Create condition tables:
I checked it for CUS930, i found the same but condition table structure name like CNCCRMPRCUS930 are missing. Is that important? Because i see in SMW01, same error is coming over there : Structure information for table CNCCRMPRCUS930 not available .
Please suggest me, now what i need to do?
Regards,
Jeo
Edited by: Jeo Denson on Dec 1, 2011 4:11 PM -
Can the Condition records in the transaction NACE be transported?
Can we Transport the Condition records in the transaction NACE from one system to another ( I mean from Dev to Quality).
I have navigated through all the menu in the transaction NACE but haven't found any link for transport.
Any help pls.Hi,
Please find the bellow thread which is related to NACE transaction.
<<link removed>>
Regards,
Goutam Kolluru.
Edited by: goutam kolluru on Feb 1, 2012 4:56 AM
Edited by: kishan P on Feb 1, 2012 11:48 AM -
How we can see when the condition records created.
Hi,
How we can see when the condition records created ( Valid from and Valid to ) ? And also how we can see the changes made in the Condition records?
Regards,
jyothi.Hello,
you can display the condtion records in transaction VK13.
Here you have the posibillity to display the changes of the condtion records.
Please goto VK13
> Enter your selection criteria
> Enviroment
> changes
But you can also create a condtion list. and the you can display more than one condition record:
Please have a look at the transation V/LD - Pricing Report
For example: conditon list 14 for taxes.
Here you get an overview of tax condtions.
I hope that the information are helpful.
Regards
Claudia
If you are satisfied with the answer, please give Reward Points. -
Fax output with Medium 7 in the condition record
Hi all,
Have any one tried the below scenario?
I want to send the fax output to my sold to party.I want to Select the medium as 7 instead of 2 in the condition record and when I double click the line I have an option to select the fax number as recipient type and I can enter the Fax number in the recipient field
Usually, medium 7 would be used to send the mails.But Will it work for Fax output?.What is the difference between using medium 2 and medium 7 with recipient type fax number.
If someone worked on this, Please let me know
Regards
ManoAnswered
-
Ccopying the condition records
Hi friends,
I had some 4000 records with combination of sales org 1000 and customer QWER1. Now I want to copy all these records to new combination as sales org 1000 and customer as QWER12. For this I tried with VK11 and F7(Create with reference to) and selected the combination of 1000 and QWER1 and enter. Then all the records are copied but with same old combination as 1000 and QWER1 in grey mode. But I want to change the header customer from QWER1 to QWER12. For this there is an icon ' new header combination' just right to the header sales org 1000. When I clicked that header combination is opened for edit but all the condition records are deleted from the screen.
So can anyone help me to copy all the conditon records to the new header combination.
Regards
RamaDear Rama rao,
Try with this
Go to VK12 with the existing condition records then you select all conditions which you want copy then click on COPY CONDITION tab (AT bottom of the screen) system will take you the Copying:Customer to Customer screen there you enter the target customer number then execute agin system will take you to the CHANGE PRICE screen there you can save the conditions for the new customer (If you want you can enter new price also).
I hope it will help you
Regards,
Murali. -
Condition Record for picking Output List
Dear All
Kindly let me know where do we maintain condition record for Picking Output list.
Where do we define a new Output Type for Picking List
Regards
SrihariHi Srihari,
I think i have got the question rightly interpreted.
All you want is to maintain condition records for picking ouptut ... correct ?
You can do it through transaction<b> VP01SHP</b> ....(dont try to find it in easy access..atleast I could not locate it)
Under TCD VP01SHP > V4 you will be able to maintain condition records for all condition types that have been configured for picking.
Hope this helps you .... <b>if yes then pls reward liberally !!</b>
KInd Regards
Sachin Bhonsle -
Revision: 16330
Revision: 16330
Author: [email protected]
Date: 2010-05-26 07:55:41 -0700 (Wed, 26 May 2010)
Log Message:
QA: Yes - Ran test locally and it was failing but tested condition was true - there is no services-config.xml file
Doc: No
Checkintests: NA
Details: Updated expected error message to match current error.
Modified Paths:
blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/NoServicesConfigFileTest/error.t xtI have uploaded detail.txt at below url.
http://m.uploadedit.com/b041/1413264342685.txt
Hi Mahesh,
According to log file, I find the message ‘The setup100.exe.config file was not found, therefore the DTSWizard and SQLWatson app config files were not replaced’. It seems that the SQL Server setup file is not complete. Please check that if the SQL Server
setup file is corrupted, if it is corrupted, please download it again and reinstall SQL Server 2008 R2.
However, if there’s no problem with the setup file, please check that if there is third-party software such as anti-virus software on your computer blocking the process of SQL Server installation. In addition, make sure that you choose ‘Run as administrator’
to launch the setup and configure SQL Server service accounts appropriately with administrator permission during the installation.
For more details about this error, please review the following similar thread.
http://answers.flyppdevportal.com/categories/sqlserver/sqlsetupandupgrade.aspx?ID=ad794a97-09ae-4aae-9d68-0b06f9af3e16
Thanks,
Lydia Zhang -
How to create the condition record by ABAP program
Hi Friends,
I want to create/change the condition record of PR00 by ABAP program. It seems that there have no such BAPI/standard function can help on this. Can any one of you point out a way to me?? Thanks in addvance.
Joe GR.Joe,
Check with below FM..
BAPI_PRICES_CONDITIONS.
Check this link:
Re: Sample code for BAPI_PRICES_CONDITIONS
examples....
http://www.4ap.de/abap/bapi_prices_conditions.php
Two useful threads on Same topic
Re: Sample code for BAPI_PRICES_CONDITIONS
Re: Problem with BAPI_PRICES_CONDITIONS
BAPI_PRICES_CONDITIONS
Please check this sample code from other thread.
wtable1-table_no = '306'.
wtable1-applicatio = 'V'.
wtable1-cond_type = 'ZPR0'.
wtable1-operation = '009'.
wtable1-varkey = '13001001USD 000000000050068946'.
wtable1-valid_to = '99991231'.
wtable1-valid_from = '20051101'.
wtable1-cond_no = '$000000001'.
APPEND wtable1 TO table1.
wtable2-operation = '009'.
wtable2-cond_no = '$000000001'.
wtable2-created_by = sy-uname.
wtable2-creat_date = '20051022'.
wtable2-cond_usage = 'A'.
wtable2-table_no = '110'.
wtable2-applicatio = 'V'.
wtable2-cond_type = 'ZPR0'.
wtable2-varkey = '13001001USD 000000000050068946'.
wtable2-valid_from = '20051101'.
wtable2-valid_to = '99991231'.
APPEND wtable2 TO table2.
wtable3-operation = '009'.
wtable3-cond_no = '$000000001'.
wtable3-cond_count = '01'.
wtable3-applicatio = 'V'.
wtable3-cond_type = 'ZPR0'.
wtable3-scaletype = 'A'.
wtable3-scalebasin = 'C'.
wtable3-scale_qty = '1'.
wtable3-cond_p_unt = '1'.
wtable3-cond_unit = 'EA'.
wtable3-calctypcon = 'C'.
wtable3-cond_value = '454'.
wtable3-condcurr = 'USD'.
APPEND wtable3 TO table3.
CALL FUNCTION 'BAPI_PRICES_CONDITIONS'
EXPORTING
PI_initialmode = 'X'
PI_BLOCKNUMBER =
TABLES
ti_bapicondct = table1
ti_bapicondhd = table2
ti_bapicondit = table3
ti_bapicondqs = table4
ti_bapicondvs = table5
to_bapiret2 = table6
to_bapiknumhs = table7
to_mem_initial = table8
EXCEPTIONS
update_error = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
READ TABLE table6 WITH KEY type = 'E' TRANSPORTING NO FIELDS.
IF sy-subrc = 0.
loop at table6 into ret.
write: / ret-type, ret-message, ret-id, RET-LOG_NO, RET-LOG_MSG_NO,
RET-MESSAGE_V1, RET-MESSAGE_V2, RET-MESSAGE_V3, RET-MESSAGE_V4,
RET-PARAMETER,RET-ROW,RET-FIELD.
endloop.
ELSE.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
*EXPORTING
WAIT =
IMPORTING
return = ret
ENDIF.
Don't forget to reward if useful.... -
I used scripting brigde to add a movie that has size bigger than 5GB, exactly after two minutes iTunes return a failed, but the processing of the file is actually added to iTunes Library successfully. The copying take more than 5 minutes to complete. Why the iTunes Scripting Brigde returned failed when it is actually success? It occurred exactly 2 minutes after submit the request to Scripting Brigde. Is this 2 minutes related to the Apple Event time out? if it does, how do I get around this problem? thx
I can tell you that this is some of the absolutely worst customer service I have ever dealt with. I found out from a store employee that when they are really busy with calls, they have third party companies taking overflow calls. One of those companies is Xerox. What can a Xerox call center rep possibly be able to authorize on a Verizon account? I'm Sure there is a ton of misinformation out there due to this. They don't note the accounts properly or so everyone can see them. I have been transferred before and have asked if they work for Verizon or a third party also and was refused an answer so, apparently they aren't required to disclose that information. I spent a long time in the store on my last visit and it's not just customers that get the runaround. It happens to the store employees as well and it's beyond frustrating.
-
The condition record for use B can not be displayed
Hi gururs,
What does this message (number : VE896 ) mean ?
How to make it desapear ?
P.S : it's about output type for purchase orders.
This message is displayed when I click on : "Goto -> Determi analysis" in tcode ME22N.
Regards,
Bahia.Hi
It means you are trying to veiw the executed condition record. System found the condition record for entered transactional data which you cannot see by clicking on it (when you see green record in condition analysis).
For given condition type -> and access sequence/ access - system shows the condition record that is determined. You can see its details by clicking the access which shows the message that condition record has been found with its determined parameters.
Ex: For batch determination I have set up one search strategy with a condition type (with access sequence). I created one condition record. When creating say sales order -batch determination takes place based on condition record parameters. System shows a green light for determined condition record. You cannot see its details - if you try to see then system issues a message like ''The condition record for use B can not be displayed''. If you want to see click on its immediate predecessor (access ).
Thanks -
FM'S or BAPI to update the condition records in VB22 transaction
Hi,
I need your help in getting the FM'S or BAPI to update the condition records in sales deal.
The transaction is VB22.
If you can send me a smaple code it will be really helpful.
Regards,
SasiCheck this:
http://www.sapnet.ru/viewtopic.php?p=1644
Bapi for VK11 & VK12
Reddy -
How to find who has created the condition records
hi all,
in POF1 condition records were created.for material and plant.how to find who has created condition records for the material and plant.
is there any way to find who has created please help me out.
thanks
sunnyHi,
There are two ways of finding the who has created the ondition record.
01. This is through the sales order-> Item details level-> condtion Tab----> Select the condition type and click on dispaly condition record below in the same creen. Then Goto tab on the menu and select the overview of the condition record. After do so you will have the details of diffrenr tabs. In this you need to select the Administrative data for the person who had created the condition record.
02. Goto T. Code VK13 and give your condition type for which you need to find the person created the record. Select the header details tab for the person who had created the record.
Hope this is fine with you.
Bye & Enjoy SAP.
Koganti -
Bapi or FM for uploading the condition records
HI,
i wanted know that is there any way to uplaod the condition records to sap by using any BAPI or FM or any standard program.
this is urgent.
thankx in advance
regards,
hppHi,
Use the BAPI BAPI_PRICES_CONDITIONS to load the pricing conditions..
Check this link for a sample code..
Re: Sample code for BAPI_PRICES_CONDITIONS
Thanks,
Naren
Maybe you are looking for
-
XML to string using xslt or java mapping
Hi Experts, I want to put xml into string and i need to change lessthan symbol to "<" and greaterthan symbol to ">" , can anyone please help me how to do this??? can you provide code for java mapping or XSLT mapping to achive this. SOURCE <?xml
-
Emails are not generated in CUP To approver, manager
Hi ALL, I Configured one work flow in CUP. I did SMTP Server setting, EMAIL Remainder setting. When I create new account request , CUP is provisioning access properly and automatic mail is going to that user. Mail is not coming to Approve r. When I
-
Recently, I am not sure how, but my factory icc profiles for my iMac G5 have disappeared. My screen is now a very washed and light in color. My computer specs are: iMac G5 1.8Ghz 512 MB of RAM GeForce FX5200 17 inch display with no iSight Running 10.
-
Why are Vocal Lyric found loops under Sound Effects in Apple Loops
Was About to explore what Vocal lyrics are available in Apple Loops of Logic Pro when I realised that a lot are duplicated in Sound Effects filter as well as Vocals filter. Also, some vocals Lyrics are only in Sound Effects. Why aren't Vocal Lyric lo
-
Hello, My 30 day trial of Adobe Creative Cloud has ended yesterday and I was trying to buy a 1 year subscription for "Photography" plan (Photoshop + Lightroom) but I was unsuccessful. Tried 3 different credit cards, 3 differents browsers, cleared bro