Uploading pricing conditions
hi i got requirement that i need to upload pricing conditions for transaction VK15 and the BAPI to be used is BAPI_PRICES_CONDITIONS can any one suggest what are the inputs for this BAPI for creating pricing conditions and which tables it will updated...
Check This thread
Sample code for BAPI_PRICES_CONDITIONS
Hope this helps..
Similar Messages
-
Upload Pricing Conditions in VK11
Hi,
I have list of new materials for which i want to Price conditions using VK11 Transaction.
What is the best method to upload Pricing conditions and also provide me some sample code to achieve this.
Thanks
BhuvanaHi,
You can use BAPI_PRICES_CONDITIONS to create the condition records. Please note that this is not released by SAP.
I have used this above BAPI and it will update or create condition records.
RV_CONDITION_COPY
RV_CONDITION_SAVE
RV_CONDITION_RESET,
Please note the above FM's are also not released by used in few standard programs.
Regards
Shiva
Edited by: Shiva Kumar Tirumalasetty on Nov 25, 2010 3:26 PM -
Issue with BAPI CONTRACT CREATE while uploading pricing conditions
Hi Experts
I am using BAPI CONTRACT CREATE to create Purchase Contract ME31K
I am facing the issue while passing pricing conditions Could you please help me regarding this
Could you please help me along with this what are the values has to pass
Thanks
Vijay Kumar ReddyHi Experts
I am using BAPI CONTRACT CREATE to create Purchase Contract ME31K
I am facing the issue while passing pricing conditions Could you please help me regarding this
gs_oucondition-item_no = w_data-evrtp.
gs_oucondition-serial_id = '1'.
gs_oucondition-cond_count = '01'.
gs_oucondition-cond_type = w_data-cond1.
MOVE w_data-amnt1 TO gs_oucondition-cond_value.
gs_oucondition-currency = w_data-curr1.
gs_oucondition-numerator = '1'.
gs_oucondition-denominator = '1'.
gs_oucondition-change_id = 'I'.
APPEND gs_oucondition TO gt_oucondition.
CLEAR gs_oucondition.
gs_ouconditionx-item_no = w_data-evrtp.
gs_ouconditionx-serial_id = '1'.
gs_ouconditionx-cond_count = '01'.
gs_ouconditionx-item_nox = c_x.
gs_ouconditionx-serial_idx = c_x.
gs_ouconditionx-cond_countx = c_x.
gs_ouconditionx-cond_type = c_x.
gs_ouconditionx-cond_value = c_x.
gs_ouconditionx-currency = c_x.
gs_ouconditionx-numerator = c_x.
gs_ouconditionx-denominator = c_x.
APPEND gs_ouconditionx TO gt_ouconditionx.
CLEAR gs_ouconditionx.
Could you please help me along with this what are the values has to pass.
these are the parameters passing to the condition structure while executing bapi i am getting error like enter quantity conversion.
but with the same data i am able to create contract using SE37 by directly executing the Function module.
and if i have net price in my excel sheet also i am able to create contract using my program.
the only problem with pricing conditions alternatively there will be no net price..
Please really it will be a challenging question....
Thanks
Vijay Kumar Reddy -
LSMW Pricing Condition changes
Hi,
I need to create a LSMW to change pricing condiitons in condition type PR00 for access sequence table 006 (Price List Type/Currency/Material). I did the following:
1. Defined Object attributes Standard/Batch Direct Input 0070 (Condition record) Program Name RV14BTCI and Program type B (Batch). Method is 000.
2. Where do I define that the new records have to go into this table 006? Will it be in the source structures? Source fields? Can anyone explain me step by step how this will work? And what will be the subsequent steps? The documentation I have on LSMW isn't much help unfortunately and is very generic. I need specific solution/steps to this pricing condition table. Any guidance on it?
Thanks a lot.Hi Kevin
Pl. check this link on LSMW pricing :
<a href="http://sap-img.com/sap-data-migration.htm">LSMW</a>
<a href="http://sap-img.com/sd001.htm">to upload pricing conditions</a>
Pl reward if it helps.
Thanks & Regards
Sadhu Kishore -
Change Pricing Condition access
Hi Pricing Gurus,
I have a novel situation here. I need to determine two customer discounts in a sales document for two separate partners- Sold to Party (SP) and a Reseller Partner (ZV). I have two condition types K007 to determine Sold to customer discount and ZVCR to determine Reseller Partner Discount.
As there are so many condition records for customer discounts we do not want to maintain the condition records for K007 and ZVCR separetly. We want to maintain condition records for K007 and use the reference condition in ZVCR (pointing to K007) to access the K007 condition records.
The issue we have here is that the Partners to access the conditon records for K007 & ZVCR need to be different. If we have set in ZVCR reference condition as K007, it will pull the Sold to discount for ZVCR instead of for Reseller Partner (ZV).
I am exploring the possibility of changing the condition access during runtime for condition ZVCR such that it changes the Partner from Sold to Party (SP) to ZV while making an access to K007 condition records. Which user exit should I use to accomplish this?
It is a novel issue and I am sure there are pricing experts out there who have encoutered this before. Waiting for your suggestions......
Regards,
DevHi Kevin
Pl. check this link on LSMW pricing :
<a href="http://sap-img.com/sap-data-migration.htm">LSMW</a>
<a href="http://sap-img.com/sd001.htm">to upload pricing conditions</a>
Pl reward if it helps.
Thanks & Regards
Sadhu Kishore -
Pricing condition upload in Inforecords
Hi All,
I need your help for the following issue.
Business requirement is they need a new program which will upload condition in the info record and also they want to change the pricing change values for existing pricing condition .
I am giving Plant , vendor , condition type and validity date from selection .From the input file I am giving material and price , currency .
I am facing problem while changing exist condition type values in Info record in BDC session.While going before BDC session we are checking A017 or A018 table .
From this we are taking condition record no (latest validity condition ).We are using this condition record in KONP table from this we are finding sequence number for the condition type
Now the problem is this sequence not matching with the sequence of PIR conditions screen sequence .In PIR these conditions shuffled on the basis pricing procedure .
Sequence in Condition table
SequNo of cond. Application Condition type
01 M PB00
02 M FRA2
03 M RA00
04 M FRB1
05 M ZA00
06 M ZCOP
07 M ZC00
But in the front end screen of PIR sequence is
PB00 Gross Price 1,175.00
RA00 Discount % on Net 4.000-
ZA00 Surcharge % on Net 2.000
ZCOP Scrapping % on Gross
ZC00 Surcharge/Quantity
FRA2 Freight % provision 1.000
FRB1 Freight (Value) 0.02
These condtion shuffled occured based on pricing procedure .
Could you please help me to get the current sequence while going to BDC session.
Please share you thoughts on this.
Let me know if you required any information to understand the scenario.
Awaiting for your reply.
Thanks & Regards,
Srikanth P.Hi. I know this is late but I'm having issues with the same type of upload and I came accross your post.
I use function module 'PRICING_SCHEME' to get the correct order:
* populate KOMK.
ls_komk-kappl = 'M'.
ls_komk-kalsm = 'RM0002'.
* populate KOMP
ls_komp-kposn = '000001'.
loop at it_input ASSIGNING <ls_input>.
* populate internal table TKOMV.
CLEAR ls_komv.
ls_komv-kappl = 'M'.
ls_komv-kposn = '000001'.
ls_komv-kschl = <ls_input>-kschl.
APPEND ls_komv to rt_komv.
endloop.
CALL FUNCTION 'PRICING_SCHEME'
EXPORTING
calculation_type = 'A'
comm_head_i = ls_komk
comm_item_i = ls_komp
TABLES
tkomv = rt_komv.
endmethod. -
Uploading of vk11 (pricing condition) transaction
Hi friends,
I have to upload data from legacy system to SAP using VK11 tcode , can use LSMW for VK11 transaction ? . I have to use batch input standard program....
when we open VK11 tranaction first its asking for condition type ( KSCHL ) for each condition type the next screen is varying .
is it possible to do using recording.?
otherwise
is there any stanadard LSMW program for this ,in the batch input.
what is that program how to use that program.
can any body help me in this regard.
Regards,
JayanHi,
For pricing conditions you will be having the condition type and table name in the
first screen of the VK11 transaction.
In the second screen of VK11 you can see the fields will be varing based up on the
table name you are specifying the first screen.
You can use field VAKEY in the batch input program to pass all the values.
For example:
Your table name A601 contians three fields mentioned below.Leave the fields such as
KAPPL,KSCHL,DATBI,DATAB,KBSTAT,KNUMH since these will be avialble for all the tables.
the rest varing fields are
VKORG VKORG CHAR 4
VTWEG VTWEG CHAR 2
SPART SPART CHAR 2
KUNNR KUNNR_V CHAR 10
KONDA KONDA_V CHAR 2
MATNR MATNR CHAR 18
KFRST KFRST CHAR 1
You need to pass the value of all the fields to the VAKEY in the batch input program.
using offset option mentioned below.
VAKEY+0(4) = source-vkorg.
VAKEY+4(2) = source-vkorg.
VAKEY+6(2) = source-vkorg.
VAKEY+8(10) = source-vkorg.
VAKEY+18(18) = source-vkorg.
VAKEY+ 36(1) = source-vkorg.
Hope this will help you -
Problem in data upload using pricing conditions with sales deal
hi...
i have to upload following fields -
Condition Type
Condition Table
Valid from
Valid to
Sales deal
Amount/Rate
Currency / %
Pricing Unit
Pricing UoM
Sales organization
Distribution channel
Sold to Party
Material Number
Material Pricing Grp
Batch number
Buying Group of Sold-to
Customer
Customer Group
CustomerHierarchy 01
CustomerHierarchy 02
CustomerHierarchy 03
CustomerHierarchy 04
CustomerHierarchy 05
Division
Sales Order Type
Sales Document Type
End user
Material Group
Tax Classification Material
Payer
Plant
Price Group
Price list type
Pricing reference material
Prod. Hier -1
Prod. Hier -2
Prod. Hier -3
Prod. Hier -4
Prod. Hier -5
Product hierarchy
Region of Dly Plant
Sales district
Sales group
Sales office
Sales unit
Ship-To
Shipping point
Buying Group of end user
Tax classification for customer
Type of Transaction
Scale Basis1
Scale Rate1
Scale Basis2
Scale Rate2
Scale Basis3
Scale Rate3
Scale Basis4
Scale Rate4
using XK15 t-code and SALES DEAL is the major concern.
1) First i used RV14 BTCI , that is a standard report for uploading the pricing conditions. But by using this all fields are updating except SALES DEAL becoz this is not present in the structures (like- BKOND-1, BKOND-2, BKOND-3 etc) that is used in RV14BTCI program. I searched other structures also but SALES DEAL is not present there.
2) Second i tried to find out some Function module that is containg SALES DEAL and i found two FMs - IDOC_INPUT_COND_A and BAPI_PRICES_CONDITIONS.....but
a) the FM - IDOC_INPUT_COND_A is used with ALE and where third party is involved, so we require control data and status data for this I dont have this. so we cant use it.
b) and the FM BAPI_PRICES_CONDITIONS is also not working for SALES DEAL....by using this it is also not uploaded becoz some mandatory information related to sales deal like- sales organisation, distribution channel are not present in this FM.
3) to upload this we can use the BDC recording method.....but the problem is - there are almost 15 condition types and based on these conditions almost 20 - 25 condition tables are there for every condition and based on the every table different screen sequence are there.....so if we go for BDC recording...than we have to make 325 recordings.....also not feasible solution.
so plz give the suggestions for this problem and check my efforts also may be i missed something that can be a solution.
Thanx in advance for all.......plz help.....Hi Jitendra,
Goto RSA3 trans in the source system. Check if are able to extract the data.
If so then replicate the DS once in BW system. Activate all the DS, transfer rules etc & try to load it again.
Hope this will solve your problem!
Regards,
Pavan -
Error in BDOC while uploading the pricing condition record to ECC from CRM
Hi all,
I have created a condition record for ECC pricing condition type (I have maintained all settings required for maintaining ECC condition type in CRM 7.0) in CRM 7.0. But theis condition record is not uploaded to ECC. I have checked BDOC, it is showing with error status for BDOC type "CND_M_SUP". The errors are as below.
1. sBDoc CNBCCPSAP005 does not contain structure CDBD_CONDREF
Message no. CND_MAST064
2. sBDoc CNBCCPSAP005 does not contain structure CDBD_CONDREF
Message no. CND_MAST064
3. Service that caused the error: CND_MAST_INT_DEEP_MB_TO_SBDOC
Message no. SMO8047Diagnosis
A service caused/ reported an error.
Can some one help me in fixing this issue please.
Thanks in advance,
JM
Edited by: JM on Sep 7, 2010 4:46 PMHi,
sBDOCs are not used in ECC to CRM or CRM to ECC data replication scenario. You can either ignore the error or disable mobile bridge.
Regards
Prasenjit -
Bulk Pricing condition record upload
can any body help out for , Is there any transaction code for uploading the pricing condition record in BUlk.
Ex: 1000 condition records upload for condition type PR00..
RagardsDear Ramesh,
This you can do by creating an LSMW,one of the mass upload tool.
Regards,
AKD
Edited by: Ashish Dikshit on Sep 19, 2009 9:31 AM -
Pricing Condition Records initial upload - COND_A
Hi,
I have configured outbound COND_A pricing condition Idocs for Change documents. Whenever the pricing condition is changed IDoc will be generated.
Now my requirement is how can I do the initial upload of existing Pricing Condition records to legacy system? I mean how can I generate Outbound IDocs for existing pricing condition records to do initial upload.
Thanks in advance for your help.
Rgds,
AKHI,
way1:
if you are using Sretail (ARTMAS) then you can use BD10 tcode with the flag "send all data".
In that case the COND_A for every ARTMAS is send.
way2:
1. if you want to send a all condition, then go to MEK3 choose your conditiont ype and push "condition Info".
2. Make your selection and go ahead with F8
3. Push "Send condition" -
Pricing Condition for Serivce Line Item
Hi Experts,
I'm trying to create a service PO with 1 Service line item and this service line item actually contains more than 1 service number. Using BAPI_PO_CREATE1, how can I define the pricing condition for each of the service number?
Currently, I'm able to define the pricing condition of the service item as a whole through this input parameter table POCOND.
Thanks.
Best Regards,
WeishanIts really tricky requirement, when you are going for manual condition type.
- the best alternative to cater your requirement is to go for maintenance of condition record, which you can upload at mass with the help of LSMW. Also, will be really helpful in having report for pricing. Finally, reduce time to create sales order. Thus, discuss & encourage your user to maintain pricing based condition record. Only header condition should be on manual bases.
- If hard to convince your client on condition record. Then develop a routine with the help of ABAPer in your team. Where you can put logic. If the condition is manual enter and system is able find already entered value for material, then copy the price the slots where system don't find manually entered condition value.
Regards
JP -
Pricing Condition during upgrade
Hi,
During our SAP upgrade we are experiencing an issue related to PO pricing conditions. How can we bring over PO pricing conditions in open POs from 4.7 system to 6.0. We are using several custom condition types.
If anybody have an experience like this please share with me for resolving this issue.
Thanks
John K. T.Hi John,
check the following steps:
1. maintain Z-table for Conversion from old and new conditions
2. Include this table in extraction program (ABAPer'll do this)3.
3. Check the extracted data for accuracy
Now your file is ready with new conditions and new data as per your ECC6 system
4. Then upload this flat file by uploading program.
Revert where you are facing issues? What process you are following?
Umakanth R -
How to migrate pricing condition data using lsmw
Hello All,
can any one explain how to migrate pricing condition data using lsmw.
the scenario is we are trying to extend the pricing conditions from one sales area to other sales area on a combination of sales organization, distribution channel and division.Hi Sreedhar Kodali
Pricing conditions can be extended with the following options:-
1) Customer / material with release status
2) Sales Org / Dist. Channel / Cust group / Material
3) Price List category / Currency / material with release status
4) Material with release status
Assuming that your pricing condition in one sales area is different to another, first you have to create LSMW recording to extend the sales area and then pricing conditions can be uploaded accordingly.
Thanks
G. Lakshmipathi -
BAPi/call function that calculates the pricing condition in CRM order
Hello Experts,
Can anybody suggest me which BAPI to be used in order to recalculate the pricing condition that is already maintained in the CRM order.
I'm trying to upload .txt file which contains basic price value ( condition type ZPR0 ) to update in the order. This new value should over write the existing one in the CRM order & recaluclate the tax & other condition types in the pricing procedure. Can anybody suggest me how to go abt.
Regards
Devika.S
Edited by: Devika.S on Apr 7, 2009 7:07 AMHi Devika,
Can you have a look at these two BAPIs as listed below to see if any of them fits your requirement?
BAPI_BUPA_FRG0030_ADD - Add pricing data
BAPI_BUPA_FRG0030_CHANGE - Changing pricing data
Hope this helps,
Cheers,
Sougata.
Maybe you are looking for
-
The share-a-holic add on is not working on Facebook with 3.6
I can't seem to get Share-a -Holic to work on Facebook anymore! Just here recently it stopped working. Does anyone know why? Thanks, Gary
-
How to downgrade from Internet explorer 11 to internet explorer 10 on windows server 2008 R2
Hi, Can someone please let me know how I can downgrade from IE11 to IE10 in my windows server 2008 R2. When I go to control Panel -> Programs -> features and I don't see any program name with internet explorer in that list. Also, when I go to on 'Vie
-
Finding the path of your filter plugin programmatically?
Hi, I've been trying some time to get the path of my plugin so I can reference some resource files in a reliable manner (so no matter where my plugin is within the plugin directory it will work). I've been trying to use the SP Suites to do this, but
-
Creating variables in a java swing program useing event
This is my code: *Old School Calculator *@Collin Doering *Version 2.00 import java.awt.*; import java.awt.event.*; import javax.swing.*; public class OSC { private static void createAndShowGUI() { int first = 0; int second =
-
Synching iPhone and iPad with new iMac - former pc user
I'm trying to determine to most efficient way to set up iTunes and synching of my iPhone 4 and iPad on my new iMac. I am finally moving away from using a pc and am facing the issue of trying to preserve all the content on my devices as I set up the i