Upload condition scales in MASS
Hi Everyone,
can you help me to upload scales into a condition record. we ahve 150-200 scales for each condition record.
I tried LSMW - recording but its not feasible.
Please suggest me some tcode/ bapi/ trick to upload in mass
Thanks in advance
Regards
Sumanth
Hi,
there is a bapi for uploading conditon records. BAPI_PRICES_CONDITIONS, but you have to use it in an ABAP program. You need to take the help of ABAP team here.
i think you have to do in two steps.
Step 1 : first create a plain condition reocrd with juse one scale using the bapi or ur LSMW.
then,
step 2, fetch the condition record number by passing the appropriate the information and then pass the condition record number and multiple scales to this BAPI,
Show this to your ABAP team they should help you in creating the condition records with multiple scales.
Similar Messages
-
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 -
How to use upload condition record program RV14BTCI
Hi
how to use upload condition record program RV14BTCI.
kathir.Hi,
To run this program we have to maintain Upload file in Application Directory,
We have to maintain 3 levels of records in that file.. my feel you upload through BDC or LSMW.
For your information,
The batch input program RV14BTCI reads the parameters is necessary
Giving sequential file and creates (depending on the data
In the file seq) one or more batch input sessions.
The data are seq file in the following structure expected:
- The session a session intent (Table KOBTCI, Record 0)
All other records until the next session, the intent
Last session assigned to read
- The head condition Sentence (Table KOBTCI, record 1)
All other records until the next condition,
Last read head appropriate rate
This includes the corresponding condition
Condition table
- The key sentence of a Main (Table KOBTCI, record 2)
It must be directly on the head set to follow
It contains the key condition of the table
+ Detail fields
- The season record has a subordinate clause (Table KOBTCI, record 3)
The teams relate to the key sentence in the main
Best Regards,
KSK -
Bapi to upload condition in vk11
which bapi can i use to upload conditions in vk11
Hi,
Use the BAPI BAPI_PRICES_CONDITIONS for uploading pricing conditions..Check this thread for a sample code..
Re: Sample code for BAPI_PRICES_CONDITIONS
Thanks,
Naren -
How to set condition scale according to accumulated purchasing quantity?
Hi,
I want to set different condition scale for a material according to the accumulated purchase quantity against a vendor (includeing historical purchase order), just like follows:
Accumulated purchasing qty (including hostorical PO): 100 pcs ---> 1.5$/pc
Accumulated purchasing qty (including hostorical PO): 200 pcs ---> 1.4$/pc
Accumulated purchasing qty (including hostorical PO): 300 pcs ---> 1.3$/pc
Accumulated purchasing qty (including hostorical PO): 400 pcs ---> 1.2$/pc
Accumulated purchasing qty (including hostorical PO): 400 pcs ---> 1.1$/pc
So, how to realize this by standard functions?
Please kindly advise.
Thanks and best regards.Hi, Sanjay,
Thank you very much for your answer.
But manybe I had not described my qustion more clear, my requirement is, to control the quanaity-based scale according to accumulated purchasing quantity including historical purchase order but no the one/individual purchase order.
So, please kindly advise again.
Thanks and best regards. -
How to set condition scale according to accumulated consignment quantity?
Hello,
We have different consignment prices for the same material vendor depending on the quantity.
For example:
First 100 pcs -->1.5$/pc
Following 100 pcs -->1.4$/pc
Following 100 pcs --> 1.3$/pc
So, I want to set different condition scale for a material according to the accumulated quantity transferred from vendor consignment to own.
So, how to realize this by standard functions?
Everything that I have tried with the scale condition type in consignment info record only works with the quantity that I am transferring in that moment from consignment to own. Is there any anything that I can setup to take into account the accumulated quantity?
Please kindly advise.
Thanks and best regards.Look at the Group Condition settings of your Condition Type. You'll need to some ABAP resource to create a Requirement.
-
Hi,
I need to upload condition master data.Requirement is through Price List price should be captured.For that i created a excel sheet for the following data.
Sales Organisation- KOMG-VKORG
Distribution Channel- KOMG-VTWEG
Price List- KOMG-PLTYP
Document Currency-KOMG-WERK
Material Desc-KOMG-MATNR
Amount-KONP-KBETR
Rate Unit-KONP-KONWA
Unit Of Measure-KONP-KMEIN
Valid from: RV13A-DATAB
Valid To- RV13A-DATBI
Now wherthe it is the job of the consulatant to maintain records for all the material for the above fields or it will be done by core user.
And after maintaining all the data in excel sheet what is the next step?
We will be using LSMW for data uploading.
Regards
DebasishHi,
Has Rithvika explained its much similar.
But it is always consultant job to upload the master data which is required.
So 1st collect the required data form the user for all the fields.
Perform the LSMW by recording for one of the record through vk11.save the recording
Can take the help of ABAP consultant in case of difficulty.
Then prepare the file as you entered the values when recording.
Test in fore ground for one or two records, then test for 5 to 10 records in background, if you feel everything perfect then upload all the records in background.
Regards
vK -
Upload condition records in SD
Hi,
How to upload more condition records in SD
kathir.Hi,
U can do it using VK11 itself. If u hv only 100 materials then it is beeter to do it manually. One condition record page itself will take around 10 materials. So just create excel sheet same as vk11 condition record format, copy & paste it.
otherwise u need to go with BDC or LSMW.
Regards, -
Error while uploading conditions records in MEK1
Hi All,
I have a code that updates condition records in MEK1 from an excel sheet. The no of records in an excel sheet can go up to 60 k records. If i try to upload 5000 records, the coditions records are saved successfully. But then, if I try to upload 10000 records i get a error saying " Condition blocked by user " . On debugging I found out that the user id is mine. That is, same id as the person who is trying to upload records. The transaction is not open in any window as well.
My question is, why do we encounter this error and is there any limit to number of records that can be uploaded at a time in MEK1?
Thanks in advance,
SapnaHi Rao,
For blocking you can commit in intevals or you can use wait command but it will take extra time but your records will update in one go,when a condition record is created,then after you try to update for same material or plant thats the reason its blocking,you can either use wait or adjust your excel files and avoid duplication of materials or whatever you are using in sequential manner. -
Upload Condition Records?
Hi MM Gurus,
I would like to upload the condition records. (not info records).
Are there any standard functionality available for this purpose? I had seen a Standard Direct Input Data Transfer Object in LSMW. But, I don't know how to use this, like for various Access sequences for a single condition type, even though I know LSMW upload method for Material, POs etc..
Please can anyone suggest me which will be the better way to upload the condition records?
Thanks & Regards,
RamkumarHi,
We use a BDC to load condition records (pricing) for both material and services.
Cheers ! -
Sales Order VA01 pricing/condition scales
Hello,
we have set up scales (in transaction VK11) for some conditions on header level
(this means e.g. for the sales order type, not on material level).
But it seems that the standard considers the pricing/condion scales only on item level.
example:
VK11
set up scale for freight cost
if net-price is higher or equal to 50.- Euro than reduce the freight cost to zero.
sales order
item 1 net-price 20.- Euro
item 2 net-price 30.- Euro
-> The freight cost is not reduced because the net-price per item is not equal to 50.-
But we want that the freight cost is reduced to 0 because the total amount of the net value of the sales order is equal to 50.-
Is there a standard setting to have this system behaviour in the sales order entry?
Which user exit can we use instead?
Thank you very much for help.Hi,
This can be achieved as follows:
1) SAP Standard updates the field KOMV->KSTEU for respective price condition type as soon as its changed Manually.
2) Through enhancement automatically delivery block should be set at Sales Order Header, for which User (Sales End User) should not have rights to change.
3) Respective Sales Manager should receive a mail regarding the same.
Point '3' can be done manually i.e user will request respective Manager to do the needful.
RB. -
Hi
My client have following requirement for freight
for fixed qty (say 1000KG ) and for fixed distance (say 100Km) transporter charge- fixed rate (say RS 10000)
and if weight increase more than 1000 kg transporter charge Rs 1/meter
so requirement will be are as follows
for 1000kg and 100km= Rs 1000
and after every kg = price would be 1 Rs/meter
how 2 maintained such record nd whre??
Hemant
Edited by: Hemant Gaikwad on Oct 7, 2008 7:10 PMHi,
Maintain a condition record and access sequence for the new condition type eg Condition type ZF00 Access sequence ZF00(Copy of condition type KF00 and access sequence KF00)
In Condition type ZF00 change the calculation type to 'D' - Gross Weight, Scale basis to 'R' - Distance, Scale Type to 'D' - Graduated to scale.
Include this condition type in your pricing procedure. Also make a condition record for the same.
Regards
Mahesh -
Hello Gurus, hope you can help
I need to set up 3 scales for a small number of customers.
< 350 Qty = X % off invoice discount
351 - 700 Qty = Y % off invoice discount
> 700 Qty = Z % off invoice discount
When I enter into VK11 and create the condition record (Customer & Bra Pri Grp), enter into Scales I can't see anywhere to add the correct scales as above??
Is there somewhere where you configure the scaling type? I have had a look within the Condition Type under the SCALES section but can't generate what I need
Any help would be appreciated
Regards
BarryHello Barry,
1. In V/06, you control whether you want the pricing scale as value based or quantity based. If you select value based then the system will use the scale currency as the currency & not the "%". If you select the scale basis as quantity based then the system allows you to select "%" in the scale currency column.
2. Now the scaling you want is as flows:
< 350 Qty = X % off invoice discount (less than 350 means 1-350 = X%)
351 - 700 Qty = Y % off invoice discount (351-700 = Y%)
700 Qty = Z%.
Here I would like to correct you the second scale should be 351-699 as you cannot use the same reference for 2 different scalings.
I assume that from 700 quantity & more the discount would be "Z%".
Also in V/06, you can control whether the scale type will be "from scale" or "to scale". If you use "can be maintained in con" then it will be from scale & if you select "To-scale" then it will be a to scale.
Solution for VK11:
1. If you are using from scale then you should enter as follows:
Scale value.................Amount
1............................X%
351.........................Y%
700.........................Z%
In this case, the last discount scale will be applicable for the quantities more than 700 also & it will be indefinite.
2. If you are using to scale then you should enter as follows:
Scale Value...............Amount
350..........................X%
699..........................Y%
700..........................Z%
In this case, the last discount will be applicable for quantity 700 only.
So you can choose accordingly as per your requirements.
Reward points if solution helps.
With best regards,
Allabaqsh G. Patil. -
Condition Scale Maintaian for scale basis
Hi Guru's,
I have one requirement, for that I have created two condition type i.e. Z1 and Z2. 1st condition type is for fix value and second condition type is for value per item. I have maintained 1st condition and it is working properly but 2nd condition does not work properly. It is calculating for all scale value when ever the qty vary.
My requirement is as below....
QTY FIX VALUE Per QTY
0- 10000 11250000.00
10001-16667 17437976.00 928.15 per item. if qty is 10002 then value is 11250000+(928.15*2)=11251856.30
16668-20000 20250195.00 843.75 if qty is 16670 then value is 20250195+(843.75*2)= 20251883.00
Like that
Z1+Z2 = Base value.
please see the below screen shots for both condition.
Z1 Condition
Z2 Condition
Thanks in advance...!!
Regards,
Rahul HandeHi,
You should not have two condition types as a base price as system only considers one for the base price. In you scenario, since Z1 is working fine, take it as a base price and Z2 as a surcharge which should suffice your requirements.
Also you can use alternative condition base value functionality and ask your technical team to develop logic accordingly.
one of your line said "it is calculating for all scale value whenever the quantity vary" - here you can use interval gradual scale - D in scale type.
Let me know if I misunderstood or you need more information.
Thanks,
Jaydip -
Rebate Agreement Upload: Condition data
Hello Gurus,
My client system is undergoin SAP to SAP implementation, which requires conversion of all the Rebate Agreements. We are providing the SAP table data extracts to the technical team for the conversion.
The conditions for the Rebate agreements are stored both in condition table KONH/ KONP and Condition table for Rebate: KOTE001. What is the significance and difference between data in the two tables??
Is it possible that data in KOTE001 is sent along with general rebate agreement data and KONH KONP data is later migrated while doing Sales Pricing conversion..
Please advise. Reward pts for useful answers.
Thanks, C Mehra.This is how I bridged the gap. May not be best solution intown but this meets the requirement.
I created a implicit enhancement on the FM:MM_ARRANG_NEW_ARRANG_INSERT and added the following code.
Logical Position: \FU:MM_ARRANG_NEW_ARRANG_INSERT\SE:END\
CONSTANTS:
lc_action TYPE c VALUE 'I' .
DATA:
lv_subrc TYPE sy-subrc .
** Core logic
IF sy-subrc EQ 0 .
** Insert the records to the table KOTE001
PERFORM db_update IN PROGRAM rv13e001
TABLES t_new_vakedb
USING lc_action lv_subrc .
IF lv_subrc NE 0.
sy-subrc = lv_subrc .
ENDIF.
ENDIF.
Maybe you are looking for
-
How do I attach a photo from CS 5 (for Mac) in an e-mail?
I am a new Photoshop user ( for Mac). How do I attach a photo to an e-mail on the Mac ( using Apple's e-mail system)? How do I burn a photo to a CD? Thank you!
-
Outbound Quantity should be equal to or less than STO quantity.
Dear Gurus, My client have problem regarding the quantity in Outbound deliveries. Suppose in STO quantity is 100, user is making partial Outbound Delivery(OBD) say of 50 quantity today and making OBD of 60 quantity tomorrow . system is allowing to m
-
Hello; I am a new user of labview. I want to use a .VI that properly works in windows xp.But when I run this .VI in windows 7, an error at port 32 is displayed. (This .VI is a driver for a hardware that controls some laboratory instruments. Also my
-
RMI server object getting garbage collected
Hi all, I have seen a number of posts regarding the ConnectException and found that this can occur in a number of situations. I am having a problem here. I am having an RMI server that is always up and running. And the server object gets requests fro
-
Hi all, I want to index a few iViews, so the users are able to find them through portal search. For this reason the pcd-folder is now visible in km content and the index service "portalRolesSearch" is enabled, like discribed in the thread: http://www