Different pricing for same material in 2 line items
Dear All ,
In a sales order i have two line items of same material . One with the item category TAN and another REN . line item with TAN is the normal sale item while as second line item is for Return of same materail . .
Now i want Different pricing for the Normal sale item and Return item in single sales order . The pricing has to come automaticaly through the condition records
Please suggest me how to do it
Thanks in Advance .
Satish
Hi,
Add the item category (field name: PSTYV) to the allowed fields in the pricing condition table.
create new conditon table include the field item category.
create a access seq that includes your new condition table
Assign that access seq to the condition type which is assigned to the pricing procedure.
create the condition records.
This will solve your problem.
Note:
How will your customers accept if you reduce the price while returning?
Otherwise create new discount type that including the condition table which contains the field item categry.
And create condition record for that item category.
Hope this will solve your problem
Reward if usefull
Muthupandiyan.
Similar Messages
-
How to Maintain two different prices for same material in different qty?
Dear all,
How to maintain two different prices for same material in different batch quantities in purchase order(ie.,info record)?
(Vendor is supplying quantities in 2 different batches & also in different prices)
Expecting valuable reply.
JeyakanthanIn a PO you can create 2 items, and each item can be maintained with a different price in the conditions.
In info record it is not possible to have different prices for the same period, except for scales.
so if you have a price of e.g. 2 USD for 1000 kg and 1,90 USD for 2000 kg then you can maintain this in scales, but you still have to have 2 items in the PO so that each one can individually find its price.
Alternative you can create contracts (as well with more than one item) to reflect the different prices and batches. -
Using different UOMs for same material (stock, production, sales)
Hi,
here is our scenario:
1. A material that we sell is 10 meters long in its full length.
2. We want to be able to sell it in any length. E.g. 2 meters, 4 meters, 5 meters, etc.
3. The by-product will be 10 meters - the sold length and should be kept in stock.
4. The same material should be kept in stock at seperate lengths and we/warehouse want to be able to see how many of each length are kept in stock. E.g. 10 PCs of 5 Meters, 5 PCs of 10 meters etc.
Any ideas how this would best be solved?hi Kenneth,
U can activate batch management for ur product.
Create class(class type=023) having characteristics length and values wat u want to maintain,
after that assign ur class in mm02 in classification view and maintain ur stock in batches
in mmbe u can see ur stock batch wise
please come back if more clearification
Nilesh Ithape -
BDC For VA01(For MULTIPLE Material ie Multiple Line Items)
i have to do A BDC using call trasncation which has Multiple material in line items,so please could you send me some sample code
Hii pls refer the following code.. it is BDC for me31k.. hop this will help....
*& Report name : ZOA_P1 *&
*& Program title : Outline agreement Creation program *&
*& Description : BDC program which creates outline *&
*& agreement *&
*& Author : Sheeba B *&
*& Author ID : 5855 *&
REPORT zoa_p1
NO STANDARD PAGE HEADING LINE-SIZE 100.
include program***************************
INCLUDE zbdcrecx4.
*C-structure for table ekko fields
TYPES:BEGIN OF tp_temp,
lifnr TYPE lifnr,
ekorg TYPE ekorg,
ekgrp TYPE ekgrp,
bukrs TYPE bukrs,
END OF tp_temp.
****************Declarations********************
*C-variables for table ekko field
DATA: BEGIN OF tp_final OCCURS 0,
lifnr TYPE lifnr,
ekorg TYPE ekorg,
ekgrp TYPE ekgrp,
bukrs TYPE bukrs,
ematn TYPE ematn,
ktmng TYPE ktmng,
netpr TYPE netpr,
werks TYPE werks,
END OF tp_final,
*C-variables used in the program
wa_temp TYPE tp_temp,
*C-variable for entering multiple item level details
*C-for same vendor
w_count(2) TYPE c VALUE '01',
w_count(2) type N value 01,
w_str(40) TYPE c,
w_str1 TYPE string.
*C-selection screen parameter for file name
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 5(20) text-000 FOR FIELD f_name.
SELECTION-SCREEN POSITION 25.
PARAMETERS: f_name LIKE rlgrap-filename.
SELECTION-SCREEN END OF LINE.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR f_name.
CALL FUNCTION 'DSVAS_DOC_WS_FILENAME_GET_50'
EXPORTING
def_filename = 'F_NAME'
def_path = 'C:\'
mask = '.TXT'
MODE = ' '
TITLE = ' '
IMPORTING
filename = f_name
EXCEPTIONS
INV_WINSYS = 1
NO_BATCH = 2
SELECTION_CANCEL = 3
SELECTION_ERROR = 4
OTHERS = 5
*IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
*ENDIF.
***Start of selection*********
START-OF-SELECTION.
*C-function for uploading file from workstation
w_str1 = f_name.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = w_str1
FILETYPE = 'ASC'
has_field_separator = 'X'
HEADER_LENGTH = 0
READ_BY_LINE = 'X'
DAT_MODE = ' '
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
CHECK_BOM = ' '
IMPORTING
FILELENGTH =
HEADER =
TABLES
data_tab = tp_final
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
OTHERS = 17
*IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
*ENDIF.
PERFORM open_group.
*C-looping at internal table for passing
*C-field values to transaction
LOOP AT tp_final.
MOVE :tp_final-lifnr TO wa_temp-lifnr,
tp_final-ekorg TO wa_temp-ekorg,
tp_final-ekgrp TO wa_temp-ekgrp,
tp_final-bukrs TO wa_temp-bukrs.
*C-for each new vendor
*C-pass header details to transaction
AT NEW lifnr.
REFRESH bdcdata.
PERFORM :bdc_dynpro USING 'SAPMM06E' '0200',
bdc_field USING 'BDC_OKCODE'
'/00',
bdc_field USING 'EKKO-LIFNR'
wa_temp-lifnr,
bdc_field USING 'EKKO-EKORG'
wa_temp-ekorg,
bdc_field USING 'EKKO-EKGRP'
wa_temp-ekgrp,
bdc_dynpro USING 'SAPMM06E' '0514',
bdc_field USING 'BDC_OKCODE'
'=ENTE',
bdc_field USING 'EKKO-BUKRS'
wa_temp-bukrs,
bdc_dynpro USING 'SAPMM06E' '0201',
bdc_field USING 'BDC_OKCODE'
'/00',
bdc_field USING 'EKKO-KDATE'
'12/31/9999'.
ENDAT.
*C-passing item level details to transaction
PERFORM :bdc_dynpro USING 'SAPMM06E' '0220',
bdc_field USING 'BDC_OKCODE'
'/00'.
CONCATENATE 'EKPO-EMATN(' w_count')' INTO w_str.
PERFORM bdc_field USING w_str tp_final-ematn.
CONCATENATE 'EKPO-KTMNG(' w_count')' INTO w_str.
PERFORM bdc_field USING w_str tp_final-ktmng.
CONCATENATE 'EKPO-NETPR(' w_count')' INTO w_str.
PERFORM bdc_field USING w_str tp_final-netpr.
CONCATENATE 'EKPO-WERKS(' w_count')' INTO w_str.
PERFORM bdc_field USING w_str tp_final-werks.
PERFORM:bdc_dynpro USING 'SAPMM06E' '0211',
bdc_dynpro USING 'SAPMM06E' '0220',
bdc_field USING 'BDC_OKCODE'
'/00'.
*C-Incrementing count for insertin next
*C-line item for the same vendor
w_count = w_count + '01'.
CONCATENATE '0' w_count INTO w_count.
*C-For different vendors save details and create contract.
AT END OF lifnr.
PERFORM : bdc_dynpro USING 'SAPMM06E' '0211',
bdc_dynpro USING 'SAPMM06E' '0220',
bdc_field USING 'BDC_CURSOR'
'RM06E-EBELP',
bdc_field USING 'BDC_OKCODE'
'=BU',
bdc_transaction USING 'ME31K'.
*C-resetting w_count for new vendor
w_count = '01'.
ENDAT.
ENDLOOP. -
Maintain diffrent prices for same material
How to maintain different prices for same material (assume that the price of the the material is varying frequently that to with high margin)
But my req is need to maintain N values for same material .Is it possible??
For ex,
3 Jul Purchasing 20 Pc with 20 INR
5 Jul Purchasing 10 Pc with 10 InR
7 jul Purchasing 20 pc with 2 Inr .... like that price is changing freq. But i dont want to use MAP .Whatever price i purchased will be used for cost calculation.Any suggestion??
Message was edited by:
velmurugan sHi,
If your Purchase price changes frequently and you want your MAP or STD price to match the purchase price then you will have to write a simple ABAP that will read the last price paid for each item and automatically post an MR21 to change the MAP or STD price to that price.
I have seen this used in other implementations and it is the only real way to get the MAP or STD price to relate to the last price paid.
I would question why you need to do this though as the two "prices" are designed to be different and there is no accounting reason why they should always be hkept in line.
Steve B -
How to make Different Price for same product in one Sale Order
How can i customizing my system?
I need to sale for different price same product A in one sale order. And price condition type cant be manually. i can separate them by position. for ex. in first position: product A is one price and in 2nd product A with discount. i tried to do it by changing a price group for 2nd position to determinate a discount condition but it generates invoice split.
Someone have any suggestions?Hi
you can have it automatically determined after some custo and using userexit_pricing_prepare_tkomp in MV45AFZZ and RV60AFZZ.
The idea is to use ítem category field (PSTYV) as a part of pricing data to determine different prices for same material by changing manually ítem category when creating a sales order
- you'll need to create a new ítem category copied from the one you´re using and do all assignments
- add field PSTYV, if not there, to pricing field catalog. This thread has an example on how to and coding required for userexits
http://scn.sap.com/thread/1693234
- Adjust your pricing sequence as per new table
- Maintain specific prices in new table for materials with this new ítem category
Finally, when creating a sales order change, when required, default ítem category by new one to get specific price for material.
Regards,
JM -
How do we maintain diff price for same material diff customer
Hi Experts,
Wish you all a very happy new year 2010.
Here is the question which I have for you..very elementary.
I need to maintain different price for different customer for same material in the same sales area, for the same plant
Can anyone let me know how to do it !!
There are more than 10k customers for whom different price needs to be maintained.
P.S: I tried to search in the forum a lot about this, but was not able to find one correct answer.
Thanks and Regards
Rohit DujariHello,
You can take help of ABAPer to create a batch input session or you may use LSMW . You can split these 10000 customers into some practicle numbers (group) depending on your policy.
You may also explore rules for creating condition records which frankly i am not awareyou get a select rule tab on bottom side of screen when you go to vk11/vk12
Regards
Vivek -
GATP/ATP Check for Different Order Types for same material
Hi :
I have a material code X for which 2 different type of Sales Order (Say A and B )needs to be created.
For Sales Order Type A the atp check needs to be done in APO through GATP for material code X.
For Sales Order Type B the atp check needs to be done in SAP R/3 ECC 6.0 through availabilty check functionality for same material code X.
It is not possible to create seperate material codes to carry out atp/gatp check seperately in R/3 and in APO.
In real time the atp and cumulative atp position should be same in R/3 and in APO.
Please let me know solution for this issue.
With Regards
Ashish GuptaHi Ashish,
Can you share with us as to how you were able to solve this issue. I have a similar issue like yours and I am totally clueless as to what needs to be done..
My scenario goes this way:
I have to modify the Schedule line dates for a GATP material according to a newly created date which I calculate based on the Route Schedule id (VL51, VL52) and display the same in the Sales Order schedule line items.
Also can I get a new set of schedule line dates from the APO system for a date which I calculate based on the Goods Issue date - VALW-AULWE in any exit using a FM or a BAPI?? so that I can get these dates and populate the same in the Sales Order Schedule line??
Thanks in advance,
Susanth -
Create inbound delivery for same material with multiple batches
Hi Experts,
An ASN( advanced shipping notification) contains multiple batch numbers for same material or line item.An IDOC has different segments with batch numbers but in SAP while creating Inbound delivery(VL31N) only batch number ( segment) get posted automatically in SAP other batches are need to post manuaaly.
I am using IDoc type : Delivery03 ,Message type: DESADV
How to resolve this problem?
Thanks,
AnilHi Anil,
Welcome to SCN for your first post. Did you check with your functional people about this.
Regards,
Madhu. -
Two Purchase Info Records for Same Material & Plant Combination
Hi,
2 Purchase Info Records are there for Same Material & Plant for 2 Different Vendors & Net Price is maintained in both Info Records
1. Material M1 - Plant 1000 - Vendor A - Net Price Rs.4
2. Material M1 - Plant 2000 - Vendor B - Net Price Rs.3
Vendor A is Regular Vendor
(Tick as Regular Vendor is his Purchase Info Record)
It is observed that Rs.3 is picked up for Costing Purposes
Requirement is that - Net Price within Pur. Info Record of Regular Vendor i.e Rs. 4 must be picked up always for Costing Puposes.
Is this possible???
What Logic system uses while picking up the Price in case where there are 2 Pur. Info Records for same Material & Plant???
Thanks & Regards...
Ameya...Hi,
1. Material M1 - Plant 1000 - Vendor A - Net Price Rs.4
(Validity - 28.04.2008 To 31.12.2008)
2. Material M1 - Plant 1000 - Vendor B - Net Price Rs.3
(Validity - 01.01.08 To 31.12.2008)
Thanks & Regards...
Ameya... -
Cost Estimation Through Two PIR valid for same material
Hello Everyone
I am trying to costing strategy with PIR (Purchase Info Record). Just to check whether its working right or not i have only choosen sub strategy 'Effective Price from Quotation'. My problem is we have got more than one PIR for the same material from different vendors (both have valid dates). My first question is how system will calculate if both PIRs for same material is valid with different prices.
My expectation was that system should pick up the price from PIR which has regular vendor flag ticked in PIR master record but this is not the case. System is picking up the price from the other PIR although i don't know the logic. I am observing system is picking the lower price (as i tested two materials) in both cases. Can anybody guide me how can i make sure that system picks up the price from PIR which has regular ticked or can anybody suggest something elsethat which is right sub strategy to use for PIR?
Thanks in advenceHi Young Sun
The link really helped me a lot to understand the process how system is picking up price. We don't use source list and quota requirement. I have noticed that system will not consider regualr flag tick in PIR for costing unless you you configure at backend in
Material Logistics->Purchasing->Source Determination->Define Regular Vendor
Once i have activated that tick system is working fine and picking up the price from regular vendor flag. If regular vendor is not ticked system will go vendor with lower price.
@Imdad: Thanks for your kind help as well and input.
Many thanks again.
Regards -
How to arrive same day two difference prices for same material/customer
how to arrive same day two difference prices for same material/customer.pls give the solution
thanks in advance
Aravinthan.KHi
This is possible through some careful customization
In your condition table you need to bring the field PRICE LIST
That is customer/ Material/ Price list
That is customer ABCD / Material X / Price list 01---Price is Rs 10
That is customer ABCD / Material X / Price list 02---Price is Rs 20
The condition records to be maintained like this
So same material and same customer with price list 01 price is Rs 10 and with price list 02 price is Rs 20
Now in sales order you will find price list field in item details SALES B tab
Through incompletion log you can make this field as an mandatory field
Now in sales order same material and same customer according to the price lists different price is picked
In img-sd-basic functions-Maintain Price-Relevant Master Data Fields--here you can define different price lists
Regards
Raja -
Dear All
Is it possible to maintain 2 prices for same material.this is the requirement from our client the base price some times has 2 values based on the price on which the product is purchased from supplier.
Can we maintain the credit limit at ship to party level.
Regards
Mohammed
Edited by: Raeesuddin Mohammed on Jan 20, 2011 8:21 PMYes.
-If you are talking about Purchase price, you maintain 2 diffrent info records in ME11 for each vendor.
- If you are talking about selling price you maintain 2 pricing records in VK11. -
Separate Moving Average prices for Same Material
HI All,
My client wants to maintain moving average price separately by shipment wise. In this scenario same material for same plant might have different moving average prices for each shipment. Is it possible with standard SAP system or how is it map in to System?
Thank you & Best Regards
SameeraDuplicate thread already same question raised refer below link,
[Re: Separate Moving Average prices for Same Material] -
Different quant of same material in same bin
Dear all,
If we had "Different quant of same material in same bin " then it is mixed storage ?
Please share your knowledge.
Thanks & Regards,
Olet MallaDear syed,
But according to defination mixed storgage means different material in same bin.
But your saying that different quant of same material in same bin is mixed storage.
Please explain in brief.
Thanks & Regards,
Olet Malla
Maybe you are looking for
-
Safari 5.0.3 Crashing Often Mac OS 10.5.8
Since upgrading, we're experiencing multiple, random crashes of Safari 5.0.3. We're on a Mac with OX 10.5.8. I've read many posts similar but suggestions are all different. Have cleared Cache and History. That helps, but happens again without fail. H
-
Air Extreme + 2 Air Express = I can't play 2 stereos at the same time - why
I just got a new airport extreme hoping the the "n" would give me better connectivity to 2 different stereos through 2 airport expresses. I had been using a netgear wireless router that is connected to an actiontec DSL modem. When I had the netgear w
-
I would like to know if there is a way to do pass a parameter p_Parameter having a value of say A1, A2,A3,....An for a query in PL/SQL stored procedure for a query such as : Select * From Employee where EmpId in (p_Parameter) I was able to resolve th
-
People Hub is not allowing to search contacts
Hi, I have Lumia 525 and I'm using this phone in India. I'm running Windows 8.1 Preview for Developers unfortunately from last couple of days I'm facing problem with my people hub.. When ever I tried to search any contact it says not available but sa
-
Adobe Photoshop Elements 12 Installation nicht auf C:\
Hallo, habt Ihr alle Photoshop auf C:\ installiert. Da mein SDD nur 120 GB groß ist, hab ich Photoshop auf einer 2. HDD installiert. Diese Platte ist in mehrer Partitionen unterteilt, da 2TB groß. Also hab ich PS auf F:\ installiert. Soweit, sogut. D