MEK1 to VK11
Hi,
In the Purchase Order we have a pricing condition type ZPR1.
After doing STO we will be having another prcing condition type ZPR2 in Billing Document.
ZPR1 is maintained in MEK1 and ZPR2 is maintained in VK11.
Now user requirement is that once we maintain price in MEK1 for ZPR1,the same price should be picked up by ZPR2 and prices need not to be maintained in VK11.
Please share your valuable inputs in this issue.
Regards,
Phani Prasad.
Hi,
I found the solution.
These are the steps that I have followed.
1) Created ZPR1 condition copied from ZPR2 condition in V/06
2) In the access sequence assigned to ZPR1 (SD) ,I have added Plant/Material field which is similar to MM's access sequence.
3) Added ZPR1 condition to the Pricing procedure just above ZPR2 condition so that older billing documents will not affect.Otherwise in the older documents ZPR2 condition is missing and values are being changed.
4) In ZPR1 (SD) condition,ZPR1 is maintained as RefConType and M in RefApplicatio
5) In Copy controls changed the pricing type to B from D
and now system is taking ZPR1 condition in billing document.
Kindly let me know whether this have any future implications.
Regards,
Phani Prasad.
Similar Messages
-
Info Record link to Sales Condition Record
Is there a way to link a purchsing info record price to a sales condition record price? If we buy/sell a part and update a new purchase price, is there any way to automaticlly udpate my sale price?
Check this link, which can help you Re: MEK1 to VK11
Regards, -
Size Scale Change - Procedure and Archive Validation
There is a business need to change size scale. A style can originally be created with size scale of S,M,L, but then changed to 2,4,6,8.
Currently, I have been archiving the original articles and reload the articles with the new size scale. Questions:
1. Is there a simple way to change the internal characteristics than to archive?
2. If archiving is the correct way, please confirm if the following steps are the correct way to archive:
a. If PO exist, deletion the PO. Do I need to archive PO?
b. If info record exist, delete info record.
c. WSP6 to discontinue the listing.
d. WRF_DIS_SEL to discontinue the sites, vendor, and client of the generic and variants.
e. SE38 - run programs to delete and archive.
3. How do I archive info record? How do I archive purchasing and sales pricing created through MEK1 and VK11 respectively?
Appreciate any help given.
Thank you.In IS-R ECC 6.0, there's a program that will allow you to re-assign the variant-creating characteristic values for varaints such that you could change 2,4,6 to S,M,L. and keep the same variant numbers. I've used it a little, and will edit this post on Monday (US Eastern time) with the program name. I don't know if you can do it en masse, and do not know the downstream impacts that you may encounter,(BI Analytics, BI MAP, additionals with vendors, third-party interfaces, etc.) but it seems to work pretty well. More to follow.
UPDATE: Okay, try program RWRFMATCHARVAL. This does not appear to have an en masse capability, beyond the generic article level. However, if you have a good ABAPer, you could probably leverage the code to do what you want to do and adjust the characteristic values. Let me know what you think of this.
Edited by: Justin Sayre on Dec 29, 2008 4:27 PM -
SAP Retail Size Change Procedure
There is a business need to change size scale. A style can originally be created with size scale of S,M,L, but then changed to 2,4,6,8.
Currently, I have been archiving the original articles and reload the articles with the new size scale. Questions:
1. Is there a simple way to change the internal characteristics than to archive?
2. If archiving is the correct way, please confirm if the following steps are the correct way to archive:
a. If PO exist, deletion the PO. Do I need to archive PO?
b. If info record exist, delete info record.
c. WSP6 to discontinue the listing.
d. WRF_DIS_SEL to discontinue the sites, vendor, and client of the generic and variants.
e. SE38 - run programs to delete and archive.
3. How do I archive info record? How do I archive purchasing and sales pricing created through MEK1 and VK11 respectively?
Appreciate any help given.
Thank you.Hi,
Check the following link:
http://help.sap.com/bp_bblibrary/600/html/R12_BB_EN_US.htm
Regards,
ManiKumaar -
BAPI for VK11,VK12,MEK1,MEK2
Hi,
1) Is there a BAPI or standard function module for MEK1 and MEK2?
2) I searched and found for VK11 and VK12 we have the following function modules
BAPI_PRICE_CONDITIONS
RV_KONDITION_SICHERN
RV_KONDITION_SICHERN_V13A
Please share if you has used the aboveGot it to work. With the sequence :
<b>1.</b> RV_CONDITION_COPY
<b>2.</b> RV_CONDITION_SAVE
<b>3.</b> RV_CONDITION_RESET
<b>4.</b> commit
* At least the key fields of the conditiontable
* (here 800) must be filled in structure ls_komg.
ls_komg-vbeln = '1234567890'. " document number
ls_komg-posnr = '000010'. " item number
clear wt_komv.
ls_komv-kappl = 'V '. " Application V = Sales
ls_komv-kschl = lc_kschl. " Condition type
ls_komv-waers = 'EUR'. " Currency
ls_komv-kmein = 'ST'. " Unit of measurement
ls_komv-kpein = '1'.
ls_komv-krech = 'M'. " calculation type;
"M = Quantity - monthy price
ls_komv-kbetr = '1234.56'. " new condition value
append ls_komv to lt_komv.
call function 'RV_CONDITION_COPY'
exporting
application = 'V'
condition_table = '800' " cond. table
condition_type = lc_kschl " cond. type
date_from = '20061101' " valid on
date_to = '20061130' " valid to
enqueue = 'X' " lock entry
i_komk = ls_komk
i_komp = ls_komp
key_fields = ls_komg " key fields
maintain_mode = 'A' " A= create
" B= change,
" C= display
" D= create
with reference
no_authority_check = 'X'
keep_old_records = 'X'
overlap_confirmed = 'X'
no_db_update = space
importing
e_komk = ls_komk
e_komp = ls_komp
new_record = lv_new_record
tables
copy_records = lt_komv
exceptions
call function 'RV_CONDITION_SAVE'.
call function 'RV_CONDITION_RESET'.
* necessary to write data
commit work.
Check data with transaction VK12
Thank you for your support
Thomas -
VK11 condition check against MEK1 conditions: VOFM routins or UserExit/BADI
We have Z condition types for prices(SD side)..and some Z condition types for Costs (MM side). My requirement is to check costs assosciated with the Material based on MM condition types when creating SD prices (condition records) and do vice versa and throw information/warning/error messages...
In otherwords...when creating condition records from VK11 check against costs that are created in MEK1 and Vice Versa.
I am trying to accomplish this in VOFM routines partially if not fully.
Can this be achieved through VOFM routines.
If VOFM is not the right place..what is the correct UE/BADI for this.
Thanks.You already received an answer on this yesterday in a different post - why the new post?
That aside, you don't understand the purpose of a requirement against an access in an access sequence. The requirement prevents the access from being triggered (or allows it) at the time that the line item condition is analyzed for pricing (during the creation of an order/contract/etc.). If the access is prevented, then the existing condition records for the access are never analyzed for a match. It has nothing to do with condition record entry in VK11. If you need to change the behavior of VK11, then use Runtime Analysis to check for BADI's or enhancement points in the transaction by analyzing the call stack. -
Difference between FV11, MEK1, XK11 and VK11
Dear Experts,
Would you please explain me the difference and their application for the below T.Codes?
FV11, MEk1,XK11 and VK11.
Thanks in advance,
RanjanFV11
Condition record maintain for FI
MEk1
conditon record maintain for Purchasing
XK11
sales tax condition creation
and VK11
SD condition records creation. -
FM for Internal Condition record MEK1/MEK2 and VK11/VK12
Hi,
Is there any function module to update the internal condition record for both Purchasing(MEK2) as well as SD condition records(VK12).
My requirement is to update the price and price unit in the gross price condition(PB00) and sales price condition (VKP0).
if so Please let me know.
Thanks in advance
Vinoth RHi,
yes you can use he sam module for both conditions:
Function module RV_CONDITION_COPY
paramertes MAINTANI_MODE - 'A' Create; 'B' change
there is no possibility to delete a condition
COMMIT WORK and
Afterwards call RV_CONDITION_RESET to initiailize all global data of condition maintenace.
Regards,
Remek -
Pricing condition MM in reference to a SD condition : vendor field in VK11?
Hello everyone,
I am facing a problem with a MM condition type which has been defined in the custo with a SD "Reference condition type" (Reference application "V").
If I want to create the condition record for this condition, I have to use VK11 transaction instead of MEK1.
When I use MEK1 transaction on a classic MM condition, if I go to the "details", I can seize a payment term or the vendor.
But with the condition defined with a SD "Reference condition type", with VK11 transaction the field "vendor" is not reachable in the details tab.
Is there a way to add the field "vendor" in the details tab of the transaction VK11 ?
Thanks a lot for your help,
Benjamin.You can create new access sequence and assgin the particular field in that aceess sequence
-
hi
i have been asked to do bdc recording for the transaction mek1 through the call transaction method.can u people plss tell me how to go abt it?Hi,
You can Record using the Tcode SHDB and format the program and use.
You can use VK11 tcode also which is similar to MEK1.
see the sample code for VK11 ; You can change as per your requirement.
report ZSDBDCP_PRICING no standard page heading
line-size 255.
Includes
include zbdcrecx1.
Internal Tables
*--Internal Table To hold condition records data from flat file.
Data: begin of it_pricing occurs 0,
key(4),
f1(4),
f2(4),
f3(2),
f4(18),
f5(16),
end of it_pricing.
*--Internal Table To hold condition records header .
data : begin of it_header occurs 0,
key(4),
f1(4),
f2(4),
f3(2),
end of it_header.
*--Internal Table To hold condition records details .
data : begin of it_details occurs 0,
key(4),
f4(18),
f5(16),
end of it_details.
data : v_sno(2),
v_rows type i,
v_fname(40).
start-of-selection.
refresh : it_pricing,it_header,it_details.
clear : it_pricing,it_header,it_details.
CALL FUNCTION 'UPLOAD'
EXPORTING
FILENAME = 'C:\WINDOWS\Desktop\pricing.txt'
FILETYPE = 'DAT'
TABLES
DATA_TAB = it_pricing
EXCEPTIONS
CONVERSION_ERROR = 1
INVALID_TABLE_WIDTH = 2
INVALID_TYPE = 3
NO_BATCH = 4
UNKNOWN_ERROR = 5
GUI_REFUSE_FILETRANSFER = 6
OTHERS = 7.
WRITE : / 'Condition Records ', P_FNAME, ' on ', SY-DATUM.
OPEN DATASET P_FNAME FOR INPUT IN TEXT MODE.
if sy-subrc ne 0.
write : / 'File could not be uploaded.. Check file name.'.
stop.
endif.
CLEAR : it_pricing[], it_pricing.
DO.
READ DATASET P_FNAME INTO V_STR.
IF SY-SUBRC NE 0.
EXIT.
ENDIF.
write v_str.
translate v_str using '#/'.
SPLIT V_STR AT ',' INTO it_pricing-key
it_pricing-F1 it_pricing-F2 it_pricing-F3
it_pricing-F4 it_pricing-F5 .
APPEND it_pricing.
CLEAR it_pricing.
ENDDO.
IF it_pricing[] IS INITIAL.
WRITE : / 'No data found to upload'.
STOP.
ENDIF.
loop at it_pricing.
At new key.
read table it_pricing index sy-tabix.
move-corresponding it_pricing to it_header.
append it_header.
clear it_header.
endat.
move-corresponding it_pricing to it_details.
append it_details.
clear it_details.
endloop.
perform open_group.
v_rows = sy-srows - 8.
loop at it_header.
perform bdc_dynpro using 'SAPMV13A' '0100'.
perform bdc_field using 'BDC_CURSOR'
'RV13A-KSCHL'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'RV13A-KSCHL'
it_header-f1.
perform bdc_dynpro using 'SAPMV13A' '1004'.
perform bdc_field using 'BDC_CURSOR'
'KONP-KBETR(01)'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'KOMG-VKORG'
it_header-f2.
perform bdc_field using 'KOMG-VTWEG'
it_header-f3.
**Table Control
v_sno = 0.
loop at it_details where key eq it_header-key.
v_sno = v_sno + 1.
clear v_fname.
CONCATENATE 'KOMG-MATNR(' V_SNO ')' INTO V_FNAME.
perform bdc_field using v_fname
it_details-f4.
clear v_fname.
CONCATENATE 'KONP-KBETR(' V_SNO ')' INTO V_FNAME.
perform bdc_field using v_fname
it_details-f5.
if v_sno eq v_rows.
v_sno = 0.
perform bdc_dynpro using 'SAPMV13A' '1004'.
perform bdc_field using 'BDC_OKCODE'
'=P+'.
perform bdc_dynpro using 'SAPMV13A' '1004'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
endif.
endloop.
*--Save
perform bdc_dynpro using 'SAPMV13A' '1004'.
perform bdc_field using 'BDC_OKCODE'
'=SICH'.
perform bdc_transaction using 'VK11'.
endloop.
perform close_group.
Regards,
Anji -
hi!
can anybody plz tell me how to do bdc for vk11 and vk12.
the scene is that i have zpogram which displays the data and from there i have to add one button and whenever that button is triggred bdc had to be performed for vk11 and vk12 only for those fields which are diaplayed by my z program.
kindly help me out.
regards
anjaliHi Anjali
It is not advicable to create BDC for transactions like VK11, MEK1 ... which we use to create condition records. The reason is for each condition type, the options we see might vary when ever there is change in access sequences and their precedence. So if we create BDC, our program needs to modified everytime there is change in the access sequences and condition tables.
I would recommed you to either use the program that i have provided or use some BAPI's to upload/change condition records.
As you are saying, you have the data in your internal table. Download the data to a file in the format RV14BTCI needs and SUBMIT the program.
For understanding on the structure for this program, use transaction SXDB.
Kind Regards
Eswar -
Hi
can anybody say any scenario about condition pricing upload (vk11 transaction) using bdcIt is not advicable to create BDC for transactions like VK11, MEK1 ... which we use to create condition records. The reason is for each condition type, the options we see might vary when ever there is change in access sequences and their precedence. So if we create BDC, our program needs to modified everytime there is change in the access sequences and condition tables.
I would recommed you to either use the program that i have provided or use some BAPI's to upload/change condition records.
As you are saying, you have the data in your internal table. Download the data to a file in the format RV14BTCI needs and SUBMIT the program.
For understanding on the structure for this program, use transaction SXDB.
Use BAPI Function module - BAPI_PRICES_CONDITIONS
Reward Points if it is useful
Thanks
Seshu -
Reg: LSMW Multiple line items of scale pricing in transaction VK11
Hi,
Iam using LSMW to upload price condition records(VK11)
Totally Iam having two records which i have split as 2 flat files.
one flat file with header details and another flat file with line items for scale quantity and scale pricing, something like below.
Header flat file
__ZPR3__
__cust1__
__Mat1__
__AUD__
__EA__
__100__
__10__
__ZPR3__
__cust2__
__Mat2__
__AUD__
__EA__
__300__
__10__
Line Item Flat file
__cust1__
__mat1__
__95__
__20__
__cust1__
__mat1__
__90__
__30__
__cust1__
__mat1__
__85__
__40__
__cust1__
__mat1__
__80__
__50__
__cust1__
__mat1__
__75__
__60__
__cust2__
__mat2__
__70__
__20__
__cust2__
__mat2__
__65__
__30__
__cust2__
__mat2__
__60__
__40__
When i do the step of Read Data in LSMW iam getting the data correctly.
in Display read data step i got the header data in yellow and its line item in blue.
In Convert data step iam gettin as
Transaction read = 2.
Records read = 11.
Transaction written = 2.
Record written = 9.
In Display Converted data step Iam getting every record as a higher level item (displayed in green)
In Create Batch Input Session step Iam getting the message as 1 batch Input folder with 9 transactions
Which is actually wrong because only two transaction only must be written.
I think i migh have problem in Convert data step but iam not sure, can anyone help me what should be done.
My requirement is to upload the two datas with multiple scale prices for transaction vk11.
Kindly Help.
Regards
Naveenhi,
For u r reqrmnt u can make use of direct input method.
1)
Object 0070 Condition record
Method 0000
Program name RV14BTCI
Program type B Batch input
it make use of transaction VK15( alternate for vk11where instead of selecting combination u can directly input table name)
2) create u r internal table structure with the following fields
KSCHL cond type
KOTABNR cond table
VKORG sales org
VTWEG distr chnnl
KUNNR customer
MATNR material num
WERKS plant
WAERK currency
DATAB from date
DATBI to date
KSTBM cond scale qty
KBETR rate
LOEVM_KO del ind
KPEIN cond pricing unit
in the above if u dont require any fields u can omit but make sure u r using all key fields.
i thnk in u r reqrmnt its customer specific pricing so customer, cond scale qty,rate r needed.
deltion indicator is used to delete existing records.
3) maintain structure relations till BKOND3
4) for field mapping do Auto field mapping
give Tcode VK15
give value for VAKEY ( concate salesorg, plant,materialno,customer)
assign dates in standard format (YYYYMMDD)
5) Run remaining steps like assigning files, read convert and all
u r flat file structure shud be da same like u r internal table.
if u r not givin values provide empty space.
flat file
zpr3 cust1 mat1 aud ea 100 10 95 20
zpr3 cust1 mat1 aud ea 100 10 90 30
zpr3 cust2 mat2 aud ea 300 10 70 20
i hope it gives u some idea .
if its useful rewrd me. -
Creation of condition record (MEK1) for freight w.r.t. vendor in STO
I am working in ECC 6.0 environment. My requirement is to fetch value of freight automatically w.r.t. selected vendor in condition while creation of STO.
How can i define condition record by MEK1 for the same? Which access sequence needs to be assign to freight condition for creation of condition record of the same so system can fetch value of freight in STO w.r.t. vendor?hi,
Create one access sequence for freight conditon with follwing table and assign the same that access sequnce to condtion .
665 Vendor/Customer/Material
716 Vendor/Plant/Material
give the fright accout key for valution with FG cost add and seperate GR/IR vaules for vendor payment.
while purchase order update conditon and in the view detial mentain transporter vendor for the same .
pass the miro ref planned delivery cost
Sans. -
BAPI for creation of condition records MEK1 tcode
Hi,
Any one used to upload condition records data for MEK1 transaction code. Please give me reply any once knows.
Thanks in advance
Shaik BashaHi Vijay,
Thanks for giving reply. I checked BAPI_PO_Change and
BAPI_PO_CREATE1. But in these two PO number is the mandatory field. In mek1 tcode, for particular condtion type key combination i dont have any PO field that time i will use this FMs. Please give me advice regarding this.
I am also facing some other problem i.e to change the routing master data. I alreay downloded data from routing master in excel and i did changes in excel. Now i';ll upload the excel to sap that will update the routing master. If u have any idea for updating the routing master data.please send me the fm.
Regards
Shaik Basha.
Maybe you are looking for
-
Error message whentrying to connect or synch to 8310
I have an 8310 with v 4.2.2.170 firmware. I am using the latest desktop v. 4.6.0.12(may 22 2008). I have been synching with my Outlook calendar and contacts on my Vista notebook without any problems until today. When I try to connect I get a messa
-
ESS for R/3 4.6C on new NetWeaver Portal -- deployment fails!
Hi ESS Experts, We're having problems deploying the older BP for ESS R/3 4.6C to our Netweaver Portal. Our Software Deployment Manager canu2019t install the file. Normally, BPs are .sca files but the BP for ESS 4.6C is a .zip file. We can manually re
-
Why won't my iPhoto content refresh in iMovie?
I am relatively new to the iLife suite, but so far things have made sense. I was going to use iMovie to create a DVD slide show for my parent's anniversary. I imported all of the content into iPhoto and I have both an Event and Album labeled "Anniv
-
Flex mobile paged list troubles with destructionPolicy
Hello, i have set a list with data paging in a flex mobile view with destructionPolicy=never, when coming back to this view i get some errors when the paging mechanism is triggered (there is no errors when all of the items were previously fetched). T
-
Hands-on Lab (Session S318544) Implementing Oracle Spatial Web Services
Hello Siva Ravada, Could you please tell me where I can get all the sql scripts that are mentioned/needed for Hands-on Lab (Session S318544)? Thank you much.