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.
Similar Messages
-
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 -
FM to upload condition records into inforecord (ME12).
Hai experts,
Can any one let me know if there is a FM or BAPI which can be used to update/upload condition records into inforecord (Transaction ME12). I need to know it to write a program for mass change/adding of conditions for huge number of inforecords.
A sample program would be more helpful for me.
Thanks in advance.
Matt.Hi,
Please try given below code.
CALL FUNCTION 'ME_INITIALIZE_INFORECORD'.
CALL FUNCTION 'ME_DIRECT_INPUT_INFORECORD'
EXPORTING
activity = 'V'
i_eina = ls_eina
i_eine = ls_eine
i_no_suppose = ' '
i_vorga = 'A'
IMPORTING
e_eina = ls_eina_new
e_eine = ls_eine_new
TABLES
t_head = lt_head
t_line = lt_line
EXCEPTIONS
textname_invalid = 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.
ELSE.
CALL FUNCTION 'ME_POST_INFORECORD'
EXPORTING
i_matnr = ls_eina-matnr
o_matnr = ls_eina-matnr
TABLES
t_eina_i = lt_eina.
IF sy-subrc IS INITIAL.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
Regards,
Narendra -
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 -
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 -
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" -
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.. -
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 -
Third Party Order pricing conditions copy to PO
Hello,
I have few pricing conditions in the 3rd party sales order. I want those conditions to be reflected in the 3rd party PO.
Is there anyway to copy third party sales order pricing condition types to the PO?
Cheers
Anand.Dear Anand,
Try with,
T. Code: ME11 - Create Info Records
Maintain the same condition in the info-record. The price shall be picked up in the PO by the inforecord.
Best Regards,
Amit -
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 -
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 -
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
Maybe you are looking for
-
HDMI Output Not Working on Lenovo B540
Yesterday morning the HDMI output on the back of our Lenovo B540 stopped working all of a sudden. I have a projector as a secondary monitor that I use for media applications which connects via a SVGA to HDMI converter which has worked flawlessly for
-
Hello, We're trying to do a checkin to the content server from BPEL. We have got this working using the WSDL, but want to know if there is any way we can do this without having to pass across the B64 encoded file. Does anyone know a way from bpel tha
-
N96, USB Connection Problems.
Iv Used the USB device before to transfer films and music to the handset but whenever i now put the USB device into the headset the Internet connection option pops up and when i cancel it it just pops up again. anyway to fix this ? Thanks
-
I am unable to update my ipad to ios 5
I am unable to update my ipad to ios5 & 6.....my ipad doesnt even show where to update....help please?
-
Call Discoverer from Oracle Applications
I need to view the discoverer workbooks from Oracle Applications menu. Sombody know how?