Batch wise Price-- Possible ?????
Dear SAP Gurus,
Is it possible to maintain price for each individual batch in SD or MM??? as for example Plant-material-Vendor-Batch combination.
If not directly possible- any work around??? anybody worked on it?
Regards,
Sarang
Hi Santosh,
Using condition records including batch has many restrictions as given below:
1. This is only possible if you want to determine batch on Sales Order level.
If so, then you must enable the functionality that Order should not save until correct batch has been identified.
That mean , we will not be able to create Open Orders.
2. Batch may be altered in Delivery, suppose anyone has changed the batch in delivery , then again the calculation will go wrong.
As per your question, I think you can construct such condition tables since field CHARG is already available in catalog.
alternatively you can follow the following :
If you have Batch enabled at Order Level:-
You can catch Batch Cost Price in VPRS or Some Other Condition.
(ii) Then, Add another condition say ZBSP(Batch Specific Price) in your pricing procedure. make it statistical.
add a routine which checks for the value in VPRS, adds relevant margin and and Displays Batch Price.
If you have Batch enabled at Delivery Level:-
in order , you can give some average price value,
Then, In Billing , You will come to know the exact Batch Specific Price.
Hope this information adds to your requirement.
Plz reward if found useful.
Regards,
Gaurav Raghav.
Similar Messages
-
Dear
we have a scenario batch pricing,in that we have requirement thatif price is not picked from the batch i should not allow to do invoice .Is it possible to do the customisation
please help
regards
DamodharHi All,
use FM SD_BATCH_CLASSIFICATION_DATA
Input parameters are
CH_CHARG -- batch number
CH_MATNR--- Material Number
CH_WERKS-- Plant
when the batcha are Unique at Plant level
please see tha code below it is internally calling 'CLAFCLASSIFICATION_OF_OBJECTS'_
function sd_batch_classification_data.
*"Globale Schnittstelle:
*" IMPORTING
*" CH_CHARG LIKE MCHA-CHARG
*" CH_MATNR LIKE MCHA-MATNR
*" CH_WERKS LIKE MCHA-WERKS
*" EXCEPTIONS
*" NO_CLASSIFICATION
*" NO_CLASSTYPES
data: "Internal Tables of Classes found
begin of i_class occurs 5.
INCLUDE STRUCTURE CLASS. "v_n_516772
include structure sclass. "^_n_516772
data:
end of i_class.
data:
ch_object like ausp-objek, "Object Key for Classification
begin of mcha_object, "Object Key MCHA
matnr like mcha-matnr,
werks like mcha-werks,
charg like mcha-charg,
end of mcha_object,
begin of mch1_object, "Object Key MCH1
matnr like mch1-matnr,
charg like mch1-charg,
end of mch1_object,
ch_level, "Level of batch definition
ch_classtype like klah-klart, "classtype batch
ch_table like tcla-obtab, "object table batch
table_lines like sy-tabix, "Number of Table Lines
popup_lines like sy-tabix. "Number of Lines in Popup
determine batch-level
call function 'VB_BATCH_DEFINITION'
importing
kzdch = ch_level.
read classification depending on batch level
clear ch_object.
if ch_level eq null.
ch_classtype = '022'.
ch_table = 'MCHA '.
mcha_object-matnr = ch_matnr. "Concatenate Object Key
mcha_object-werks = ch_werks. " ..
mcha_object-charg = ch_charg. " ..
move mcha_object to ch_object. " ..
else.
ch_classtype = '023'.
ch_table = 'MCH1 '.
mch1_object-matnr = ch_matnr. "Concatenate Object Key
mch1_object-charg = ch_charg. " ..
move mch1_object to ch_object. " ..
endif.
call function 'CLAF_CLASSIFICATION_OF_OBJECTS'
exporting
classtype = ch_classtype
features = 'X'
object = ch_object
objecttable = ch_table
tables
t_class = i_class
t_objectdata = i_clobjdat
exceptions
no_classification = 1
no_classtypes = 2.
case sy-subrc.
when 1.
raise no_classification.
when 2.
raise no_classtypes.
endcase.
describe table i_clobjdat lines table_lines.
if not table_lines is initial.
popup_lines = table_lines + 11.
if popup_lines > 20.
popup_lines = 20.
endif.
endif.
call screen 1000
starting at 10 06
ending at 80 popup_lines.
endfunction.
Out put will give all the batch classification, Charecter and Charecterstic value. -
Is Batch wise costing possible in SAP (Pharmacutical Industry)
Hi,
Could someone please help me with the below requirement.
Details gathered from Client:
1. Every Raw Material (RM) has a Batch Number
2. Every SFG has a Batch Number
3. Every FG has a Batch Number
4. One Order = One Batch
My Requirement:
1. How do we calculate the cost of every batch of RM that goes into the production of a SFG or FG.
2. and the how do we calculate the Batch Cost of the entire SFG or FG.
I hope my question is clear.
Thanks in advance...Date wise trial balance can be created using report writer tools. Have done this for my clients.
Following activities have to be done:
Install table FAGLFLEXA using t.code: GRCT
You can do this by copying FAGLFLEXT, after copying, add additional fields like posting date, value fields like balance carryforward etc.
Create a report library using t.code GRR1 and reference the table FAGLFLEXA or FAGLFLEXT
Create a report under the library created above
Using report writer or report painter you design the report same as F.08
Let me know your email id, will provide the detail screenshots.
Thanks,
Sharif -
Requirement:
There are 2 plants AAAA-Manufacturing Plant, BBBB-Central Warehouse.
Plant BBBB is procuring FG from AAAA. Its intercompany sale between 2 company codes.
Batch (B1) of FG u2018Xu2019 with qty 100 is procured from AAAA with cost 1000.
Batch (B2) of FG u2018Xu2019 with qty 100 is procured from AAAA with cost 1200.
Client want to valuate the inventory with the Actual cost of each Batch procured.
Since price control u2018Su2019 is used for FG, the inventory will be valuated with standard price.
The difference between procurement cost and standard price will be posted to PRD.
Client is not accepting the PRD account
Hence batch wise inventory valuation needs to be done, But for that Price control u2018Vu2019 needs to used for FG.
Price control V for FG is not advisable, as it will have impact on account management, Product costing in the manufacturing plant.Hi Vikas,
The Query :
DECLARE @WTREntry int = 1
SELECT T0."ObjType"
, T0."DocEntry"
, T1."DocLine"
, T1."ItemCode" "ItemCode"
, T3."DistNumber" "BatchNumber"
, (T1.DocQty/Abs(T1.DocQty)) * T2."Quantity" Quantity
, T2."BinAbs" "BinAbs"
, T1."LocCode" "Whse"
, T4."BinCode" "BinCode"
, T1."LogEntry"
FROM OWTR T0 JOIN OITL T1 ON T0."DocEntry" = T1."DocEntry" AND T0."ObjType" = T1."DocType" AND ISNULL(T1."DefinedQty",0)>0
JOIN OBTL T2 ON T1."LogEntry" = T2."ITLEntry"
LEFT JOIN OBTN T3 ON T2."SnBMDAbs" = T3."AbsEntry"
LEFT JOIN OBIN T4 ON T2."BinAbs" = T4."AbsEntry"
WHERE T0."DocEntry" = @WTREntry
ORDER BY T0."DocEntry", T1."DocLine", T1."LogEntry"
Change the @WTREntry to your doc entry.
Note the negative qty mark the direction is out.
Positive qty mark direction in. If you need to get only the in, then filter the negative quantity.
Also note that the above assume a transfer from Bin to Bin.
Regards
Edy -
Batch wise rate and revenue for Profitability reports
Process are
We are doing GR of material based on Batch wise and we have moving average price for all trading material.
let say i did 2 GR
Material A
Batch x
MAP 10rs
QTY 10 kg
Material A
Batch y
MAP 15 rs
QTY 20 kg
now i have stock of 30 kg of material with batch X and Y
Now i got sales order of 15 qty and I issued 10 qty from batch X and 5 qty from batch Y
and did billing also.
Now my client want profitability batch wise and rate of consumption also batch wise.
I can create one characteristic WWBAT for batch and also planned Table lookup for Derivation from SD table LIPS.
But how to get cost Batch wise - 10 rs for batch -X and 15 rs for batch-Y. becoz price will come from VPRS which is my latest MAP
regards
RRHi
For Batch - You need to create a WW Char i.e. User Defined Char
Valuation Type - Should be available as a Standard Char in COPA.. You can pull it in your Op Concern from KEA5 using "Reference" option
To get the Batch No - You need to create a derivation step in KEDR using "Enhancement" method... SOURCE field can be ARTNR and Target Field will be WW Char.... Then you can write exit COPA0001 or COPA0005
Valuation Type can also be fetched using the same exit...
br, Ajay M -
Inventory Count for Batch Managed materials - Plant, S.Loc and Batch Wise
Hi.,
In the company's current scenario, the printing of batch managed materials are scheduled under 3 Job names.
1. First job determines the materials/batches that need to be created today using Program RM07ICN1
2. Second Job Processes the BDC Session created by Program RM07ICN1 using Program: RSBDCSUB
3. Third Job prints the Inventory tickts at the appropriate Storage location using Program: RM07IDRU
Each Job has its own variant.
The Variant for SL.No 1 is defined w.r.t
i. Material Type : Two Material types have been defined
ii. Under selection variable, GIDAT ( Planned count date and GBDAT are flagged.
Current Analysis:
A. The inventory documents get printed with Materials as per the cycle counting indicators defined which govern which material has to be currently counted.
B. Inventory documents are generated for all materials in all the plants and in all the storage locations
C. Batches for a material number may print on different cycle count documents throughout the year.
Customer requirement:
The inventory documents to print on basis of
1. Material, Plant and S.Loc.
This would help in identifying the batches which are currently being counted as well.
2. Customers requirement is to ensure that all batches are accounted for and will identify any overage of batches since in the current process, they are never reviewed as a whole.
QUESTION:
1. How to configure the Customer requriement.
2. How to configure the Variant/s, if thats the place the configuration has to be done to satisfy the customer.
3. How to activate the Variant in SE37 after definition in the Step Indicator. Does it activate on execution?
When i run the Program using SE38 , maintaining options in the Screen ( giving Material, Plant and S.loc), i get the desired list (Batches w.r.t Material,plant.S.Loc). But there is a list of over 150 Batch managed materials and it would not be physically possible to maintain the variant for each each Material,plant,S.loc wise.
Is there a way to configure the customer requirement/s.
Any and all help is much appreciated.
ThanksHello Mahesh,
<b>Customer requrirement is specific, they want a list of Inventory Documents to be generated on basis of Material in each Plant-S.Loc batch wise.</b>
Then you need to define multiple varinat for the program.
<b>(a) If i am giving two variants in the same Program name RM07ICN1, how to execute one after after in sequence.
In testing, I have defined in the " Step", Progran RM07ICN1 with one variant and Program RM07ICN1 with another Variant. But on execution of Program RM07ICN1 thru SE38, the screen defined latter ( second variant screen data ) is displayed.</b>
You need to define several steps in SM36 transaction for the program using each variant. SE38 you can use only to save your variant data so later you can use this variant in SM36.
Once you schedule the job with SM36 and release it then it will automatically execute this job as per your criteria (timeline)
Hope this helps.
Regards
Arif Mansuri -
Hi
Any work around for batch wise item cost at the time of issue.
ThanksFrom your example, you have 2 batches
Batch A1 is received first with Qty 10 Cost 10,000
Batch B1 is received next with Qty 10 Cost 20,000
Now when you issued qty from batch B1 then Item cost will be only 10,000.
This is the default B1 functionality.
To know the next FIFO layer for an Item and its remaining quantities and price use the following query
/* Unlike items managed by Moving Average and Standard valuation methods, the item cost of
items managed by FIFO are only accessible through OINM. This query will enable the user
to find the next item cost for a given item numbermanaged by FIFO. */
Select
Top 1 T0.HTransSeq, /* The highest transaction number represent the
highest revaluation line for a given layer. Selecting the top 1 when
order desc will enable to select the last revaluation of the layer */
T0.Transtype, /*Provide the information on the origin of the layer*/
T0.Base_REF, /* Provide the document number when exists */
T0.ItemCode, /* Item number */
T0.calcprice, /* Cost price */
T0.openqty, /* available qty for the layer */
T0.BaseCurr, /* currency of the transaction */
T0.TransSeq, /* Layer number */
T0.HTransSeq /* Highest revaluation of a given layer */
From
OINM T0
Inner Join
OITM T1 on
T0.Itemcode = T1.Itemcode
Where
T1.Evalsystem ='F' and /* check only the item manage by FIFO */
T0.openqty > 0 and /* exclude the layers where the open quantity is null */
T0.itemCode = '[%0]' and /* Select Specific item number */
T0.Warehouse = '[%1]'
Order by
T0.HTransSeq desc /* Order desc enable to select the last layer
revaluated */ -
Dear All,
I have received a requirement from the Client that
they need a batch wise Pricing in the R/3 System eg: If material (A) is of 500 and the Material Code XY00.
and if the cost of Product Increase /Decrease and the Material Code remains the same XY00
How will i maintain in the batch wise pls let me known step by step so that i can Configure it its on the Urgent basis Pls help
Thanks
SanaNo, you do not have to assign to Sales Document Type.
You should create it as a table & assign it to relevant Access sequence. You require to maintain condition record for the same to be called in Sales Order.
<b>Write-up on pricing procedure</b>:
In SD, Pricing Procedure is determined based on Sales Area (Sales Organization + Distribution Centre + Division) + Customer Pricing Procedure + Document Pricing Procedure. Sales Area is determined in Sales Order Header Level. Customer Pricing Procedure is determined from Customer Master. Document Pricing Procedure is determined from Sales Document Type / Billing Type (if configured). Once the pricing procedure is determined, Condition records are fetched. If appropriate condition records are found, the price is determined. If Mandatory pricing condition is missing, system will through an error message.
In SD, the steps to configure Pricing procedure are as under:
Step 1:
Condition table: If existing condition table meets the requirement, we need not create a new condition table. Considering the requirement for new condition table, the configuration will be done in spro as follows: IMG --> Sales & Distribution --> Basic Function --> Pricing Control --> Condition Table (select the required fields combination, which will store condition record).
Step 2:
Access Sequence: If existing access sequence meets the requirement, we need not create a new access sequence. Considering the requirement for new sequence, the configuration will be done in spro as follows: IMG --> Sales & Distribution --> Basic Function --> Pricing Control --> Access Sequence (Access sequence is made up of Accesses (Tables) & the order of priority in which it is to be accessed. Here we assign the condition table to access sequence.
Step 3:
Condition Type: If existing condition type meets the requirement, we need not create a new condition type. Considering the requirement for new condition type, the configuration will be done in spro as follows: IMG --> Sales & Distribution --> Basic Function --> Pricing Control --> Condition Type. It is always recommended to copy an existing similar condition type & make the neccessary changes. Here we assign Access sequence to Condition type.
Step 4:
a. Pricing Procedure: It is recommended to copy a similar pricing procedure & make the neccesary changes in new pricing procedure. Pricing Procedure is a set of condition type & arranged in the sequence in which it has to perform the calculation. Considering the requirement for new Pricing Procedure, the configuration will be done in spro as follows: IMG --> Sales & Distribution --> Basic Function --> Pricing Control --> Pricing Procedure --> Maintain Pricing Procedure.
b. Pricing Procedure: After maintaining the pricing procedure the next step will be determination of pricing procedure. Configuration for determining pricing procedure in SPRO is as follows: IMG --> Sales & Distribution --> Basic Function --> Pricing Control --> Pricing Procedure --> Determine Pricing Procedure.
5. Condition record: Condition record is a master data, which is required to be maintained by Core team / person responsible from the client. During new implementation, the condition records can be uploaded using tools like SCAT, LSMW, etc.
It is assumed that document pricing procedure, customer pricing procedure , ... are in place.
Regards,
Rajesh Banka
Rajesh Banka -
Batch wise Valuation for a material
HI Expert,
for maintaining batch wise pricing for a material, we can use split valuation.
Is it possible that without using split valuation , we could maintain batch wise valuation.
If yes how.?
Regards,
Santoshonly option is split valuation
-
Stock on posting date -storage location and batch wise
Dear All
I need to developa report exactly same as MB5B but with storage location and batch wise.
We need storage location wise opening stock, total receipts, total issues and closing stock, and values for given time period.
I have gone through some history tables like MCHBH and MBEWH.
But all the history tables are having fileds for period wise but not date wise.
Any focus on this?You have to read the coding of MB5B to see how SAP is doing it.
The stock per date is calculated, starting from a month end, adding or reducing quantities based on movements until the date in question is reached. -
Batch wise stock for a Purchase order
Here, i am receiving the goods from the customer for jobwork, while receiving the material (cloth) itself i wont receive the design what i have to print on the material.(For eg customer will send me some 5000 mtrs, he wont mention the design for that. but we have to give a lot number for the whole 5000 mtrs, then after 1 week he will give design for 2000 mtrs. and also he will tell 2000 mtrs 4 colors i have to divide that 2000 mtrs into 4 different batches and i have to bring it in to stock. and also i have to see the report that customer issued 5000 mtrs and for 2000 mtrs he had given program remaining 3000 mtrs he has to give program(Design)).
what i did is i created new doc type in PO (customer Cloth Receipt)
I made number range for that doc type as what they are currently maintaining now (so that number will be lot number, it will be the identification for that customer to track the material what he have supplied)
i created the new output type so that i can give the printout as an acknowledgement to customer
i created the customer as vendor
i did inbound delivery for that material what i have received (5000 mtrs) from customer(Vendor)
when i receive the program(design) for 2000 mtrs 4 different batches
i did GR against the inbound delivery so that while doing GR i can create 4 different batches and i can bring that 2000 mtrs into stock.
Pls guide me some steps where i can make this process simple......Hi Jurgen,
Thanks for your reply. I am not looking for any analysis report or LIS report.
i am looking for simple ageing report for a date entered by the user. I got the logic and tables for the current date but if i need to refer the stock ageing of previous date like my stock ageing at 30-06-2010. I am not able to get any tables where i can have the batch stock for a given date or a month.
The report output format to be
stock <=30 days
stock>30 and <=90
stock>90 and <=180
stock>180 days
The criteria for calculation will be the date entered by the user in the input screen. If the user enters the date as 30-06-2010 then all the stock received in the month of june and still lying in my storage location will fall the category <=30 and display in the report.
Stocks received in the month of march, april and may will fall under the category "stock >30 and <=90".
If I can get the batch wise stock for a particular month , I can pick the posting date of the Goods receipt from the batch number and calcuate my ageing (i.e date entered in the input scren of the report 30-06-2010 - batch posting date).
I am also referring to the note which you have sent but in the mean while if you can help me to identify the tables where I can get the batch stock for a particular month.
Thanks
Fazal. -
Month wise Closing balance of Material Wise and Batch Wise
Hi,
We can get period wise closing balance for Plant-Storage Location-materials in MARDH.
But i didnt find any table which can provide Plant - S.Loc - Year - Period (or Month) - Batch wise closing Balances.
Can any body please suggest a table on the above criteria.
Thanks
Pardha Saradhi Bandaru.Hi,
The required batch information can be taken from the table S034
Regards
Merwyn -
Batch Wise Closing Balances Table
Hi,
We can get period wise closing balance for Plant-Storage Location-materials in MARDH.
But i didnt find any table which can provide Plant - S.Loc - Year - Period (or Month) - Batch wise closing Balances.
Can any body please suggest a table on the above criteria.
Thanks
Pardha Saradhi Bandaru.Hi,
Check table MCHB
Regards,
Ratish -
i wanted to see batch wise material's op stock, closing stock, receipt value, issue value (qty wise and value wise), then which report we can consider. i am looking mb5b but in this either batch is appearing or value is appearing, but batch, value both are not coming in one screen
u can c only a limited information for the batch.
if u want all these infrmation, then a report has to be developed thru ABAP development -
Batch wise stock for a given period or month
Hi,
My company wants to implement stock ageing report in MM.
We manage the stocks in Batches. For us the main criteria for stock ageing is batch creation date.
The report should run stock ageing based upon the date range given as an input screen
For ex : date range in input can be of today or as of 30.06.2010.
If the report is run as of today then I am able to get the batch stock from table MCHB . Quantity from field "CLABS" and the batch creation date from the field "ERSDA"
But if the report to be run as of 30-06-2010. Then I am not able to get the data from MCHBH as of 30.06.2010.
I have checked for one material in the table and as per stock it should be 351 as of 30-06-2010 but in the MCHBH table for the month 06. year 2010 it is showing as 136 pcs only.
As our LIS tables are not getting populated correctly I am not able to check those tables too.
Can any one guide me with the logic or the table where I can get the batch stocks for a particular month.
I need Material, Batch, Quantity month and year .
Please advice how can i get the data and from which table.
Thanks you for your support in advance.
Regards
FazalHi Jurgen,
Thanks for your reply. I am not looking for any analysis report or LIS report.
i am looking for simple ageing report for a date entered by the user. I got the logic and tables for the current date but if i need to refer the stock ageing of previous date like my stock ageing at 30-06-2010. I am not able to get any tables where i can have the batch stock for a given date or a month.
The report output format to be
stock <=30 days
stock>30 and <=90
stock>90 and <=180
stock>180 days
The criteria for calculation will be the date entered by the user in the input screen. If the user enters the date as 30-06-2010 then all the stock received in the month of june and still lying in my storage location will fall the category <=30 and display in the report.
Stocks received in the month of march, april and may will fall under the category "stock >30 and <=90".
If I can get the batch wise stock for a particular month , I can pick the posting date of the Goods receipt from the batch number and calcuate my ageing (i.e date entered in the input scren of the report 30-06-2010 - batch posting date).
I am also referring to the note which you have sent but in the mean while if you can help me to identify the tables where I can get the batch stock for a particular month.
Thanks
Fazal.
Maybe you are looking for
-
K9N Platinum - Doesn't boot with PWR2 connected
Hi, I've just built a new PC with a K9N Platinum Motherboard (7250 Ver 1.0) I immediately discovered a problem: -If I connect to the power supply the PWR2 Molex (the additional power connector on the motherboard, to provide additional power to the vi
-
Printing a PDF from Adobe - Garbled Text
This might sound like a strange thing to do but I have tried this many times, hoping each time it would work. Basically I create a PDF file in Adobe 7.0 Pro. I insert all sorts of text, callouts, and other shapes. I don't want to send this file to my
-
T-42 wireless will not reconnect
MY ( new to me [used])T-42 wireless will not reconnect unless the computer is restarted. I had this issue with the OEM XP pro. I installed XP home complete with new drivers & updates from IBM- same problem. The wireless card is called just IBM in the
-
Survey: Which gfx card really acheives the best results?
So there seems to be a whole host of different success stories with the general speed of Aperture and it would be interesting to see what everyone is running with (gfx card) and if thats perceived as quick enough
-
Can any body provide configuration steps for "Travel Request" for TRIP transaction? Please provide the schema creation steps for Travel request. Thanks,