SD pricing based on Batch characteristics
Hi,
I have a requirement whereby the pricing in the billing document is dependent on the batches in the delivery document. Eg. For a single material, I may two batches each one having its % of impurities - 2% for the Batch 1, and 5% for Batch 2 in the delivery document. For this reason, Batch 1 should have Price 1 and Batch 2 should have Price 2 in the billing document. How will I configure this? At the time of Sales order, I do not know my exact price(since the batch details are not known), hence, I will be giving just a base price. The actual prices are to be calculated in the billing document based on batch characteristics(in the delivery document).
I would appreciate your inputs.
Regards,
Tim
Hi,
I think you can maintain your condition record in VK11 on the following combinations:
Material /Batch
This access sequence can be created by making your own condition tables in transaction V/03.
While doing billing ,you can carry out new pricing.
Suppose you have a condition type PR00 in sales order and you are also maintaining access sequence for this purpose then this access sequences should be such that when you carry out pricing at billing the same values should not be copy to billing.
Then the system would take the value of second access sequence from VK11.
Your second access sequence will be Material/Batch and the condition in the billing document will be picked based on them.
Regards
Karan
Similar Messages
-
Retrival of values based on Batch Characteristics
Dear all
I am maintining some characteristics for a material on Batch classes. Like to pull the total stock based on any 1 these characteristics.Kindly suggest what are the tables we can use for this and logic
Thanx
MKHi,
Please check these tables
MCHA Batches
MCH1 Batches
MCHB Stock: batches
CABN Characteristics ( o.a. batch/vendor)
CABNT Characteristics description
CAWN Characteristics ( o.a. material)
CAWNT Characteristics description
AUSP Characteristic Values
Class types and objects :
TCLAO Several class types for object
TCLA Class types ( vb. lfa1 => v10 en 010)
TCLAT Class type text
TCLT Classifiable objects
TCLC Classification status
Links:
INOB Link between Internal Number and Object
KLAH Class header data
KSSK Allocation Table: Object (vb.matnr) to Class
KSML Characteristics for a class (internal number)
Regards,
Raj. -
Pricing of material based on batch
hello gurus,
i have a question,here i have scenario in which i want to differentiate the price of the material based on batches.
pls correct me if i have made some wrong,
now v/05 i have created a table in which i have taken batch and material as my field
and now in v/07 i have assigned to access sequence ahd this acess sequence i have added to PR00 condition type.
now when i go to VK11 i tried to use the acess sequence and give price i get an error.
pls if u give me some suggestions it will be a great help to me.what error do you get...?
If you are pricing with regards to batch everytime a batch is over the PR00 record will expire. so every time you have a new batch you will have to have a new record. Sound very tedious.
Let us know when and how exactly do you wish to achieve this..
Regards -
Batch Characteristics value in report
I want to develop a custom report where material master batch characteristics value should be displayed.
The report will display based on Process order No. In Process order AFPO table I am bringing MATNR, CHARG, WERKS information.
Now, the MATNR is maintained with a batch classification of class type 001 (material class) one characteristic "Z_NUMERIC" and value is maintained as "22345".
Now, in custom report I have to bring the 22345 no. In which Table I can get the information for material for 001 class type characteristics value?
Please repond.You can find it in table ausp
Regards,
Dhaval -
Pricing based on Material Master Classification
Hi Guru's,
Can we have a pricing based on material master classification.
Scenario: Material can have few characteristic. If we select few of the classification, this should influence pricing.
Any idea on this, has anybody worked on this before?
Thanks,
AnilI am not sure about classification, might work with Variant Config.
Alternatively, you can use split valuation if you don't have many characteristics.
Hope this helps- -
Modifying batch characteristics value
Dear Experts,
We have created batch characteristics named 'POTENCY','LOD','ASSAY'.
Now the value of POTENCY is calculated based on the formula, that is LOD * ASSAY. There are chances that the value is sometimes calculated more than 100%. Now I want to put a restriction that if the value increases more than 100 than the value of POTENCY should be automatically be 100.
What should I do to resolve this issue.
NOTE - POINTS WILL BE REWARDED.......Hello,
You can write a specific FM called by the configurator (procedure which call a user FM). Input are your LOD andd ASSAY, output is POTENCY. Inside you can write your formula.
Parameters are given by std tables.
This is sample :
FUNCTION zsca_calcul.
*" IMPORTING
*" VALUE(GLOBALS) TYPE CUOV_00
*" TABLES
*" MATCH STRUCTURE CUOV_01
*" QUERY STRUCTURE CUOV_01
*" EXCEPTIONS
*" FAIL
*" INTERNAL_ERROR
DATA : w_met_cmin_r LIKE cuov_01-atflv.
CLEAR : w_matnr_paracheve, w_instance .
BREAK-POINT.
lecture des données en entrée dans la table query
LOOP AT query WHERE atcio = 'I'. "input parameter
vérification type num
IF query-atfor NE 'CHAR'.
MESSAGE ID 'ZSCA_CONFIGURATEUR' TYPE 'W' NUMBER '000' RAISING fail
ENDIF.
CASE query-varnam.
WHEN 'MET_NUMART_MLAZ'. ' my single input characteristic
w_matnr_paracheve = query-atwrt.
PERFORM lire_mara. ' process the input parameter
PERFORM lire_carac.
WHEN OTHERS..
MESSAGE ID 'ZSCA_CONFIGURATEUR' TYPE 'W' NUMBER '000' RAISING fail.
ENDCASE.
ENDLOOP.
update of the output characteristic MET_CODEMAT (it is numeric and contains value 9
READ TABLE query WITH KEY varnam = 'MET_CODEMAT'.
match = query.
match-atfor = 'NUM'.
match-atflv = 9.
APPEND match.
ENDFUNCTION.
Regards. -
Deriving GR Qty from batch characteristics - Object dependency
Dear friends,
Is it possible to derive GR Qty automatically based upon the characteristics mentioned in the batch at the time of Production declaration? Has somebody written object dependency regarding this?
Best Regards,
AvinashWhich transaction you will be using to do GR.
Regards,
Vineet -
Reproduce Batch Characteristics F4 Search Help
Hi All,
I must reproduce the batch characteristics screen for a z-transaction based on the tcode msc1n. I have the screen working fine except for the F4 help. The fields are generated dynamicaly with type ATWRT (same as msc1n) based on Class/matnr..... I wanted to assign the same help to these fields but it looks like the standard method is also created dynamically via code (a lot of code).
I think the standard uses the form create_new_batch_classif in prog SAPLCHRG(include LCHRGF05)
One way that I thought it might work is with something like calling that routine with:
PERFORM create_new_batch_classif(saplchrg)
but is there any way of doing this and having all the relevant data (tables and fields) available so that the routine knows what to do?
Does anyone know if this is re-producable?
Thanks,
Kroc.Thanks Ramchander.
The standard tcode dynamically builds the screen fields depending on the class/klart. The field type is always ATWRT but there is no F4 help attached. The help is determined by code using the routine create_new_batch_classif in the saplchrg function pool. If I have to re-create that, then that is what I will do but it is a monster so really hoping there is an easier way.
Thanks. -
MIGO : Error when copying batch characteristics
Hi,
I've some problem on MIGO Tcode when i want to copy the batch characteristics.
I work with class type 022.
I create a GR from PO. (movement 101). My item line contained sub-items (with BOM). So i would like to copy the batch characteristics in reference of component batch values.
I've implemented the UE "EXIT_SAPMM07M_004".
Case 1 : In this UE, i fill a standard internal table (named VALUES) with the characteristics names and values i want to resume.
and i use the FM 'CLFM_OBJECT_CLASSIFICATION' with the father and the son batch information in UE, i go to MSC3n and all characteristics are copied (even those unwanted). But when i go to MCS2N, i retrieve the expected values.
Case 2 : Only use the internal table, but some characteristics are not maintained.
Case 3 : Only use the FM, but no characteristics are reversed.
Does anyone could help me ?
Thanks in advance
Best regards.Hi,
Table and field used in additional data table should be related to the object than only it will work, for e.g. MCHA and ERDAT will work if you create a characteristcis and assign it to class type Batch (022/023) because MCHA table has Batch no. as primary key,
this implies for using material specific table e.g. MARA , you should use characteristics with class type 001 (Material class) , try using with table MARC also
Cheers
Dheeraj -
Item categories are re-determining based on batch split during delivery
Hello All,
During delivery item categories of bill of materilas are changing based on batch split.
Scenerio: item level bill of materials configured.
Ex: COMPUTER is main item and item category group is LUMP and item category is TAP
but it is relevent for billing as per client requirement
key board, cpu and moniter are bills of materilas item category group is NORM and item category is ZZTA
These above items are relevent for delivery and not relevent for billing
Problem: During batchsplit in delivery item category determining as "TAN" for item category ZZTA
That can be shown when we click on batch split button for sub line item (moniter, cpu) category ZZTA
all batch split line items are copied to billing and getting account determination pricng error because of TAN is relevent for billing
Could you suggest me to prevent the TAN item category for batch split in delivery
Should TAE item category to be maintained for delivery item categories
currently delivery item categories are configured as shown below
del doc type=zlf , item cat. group=lumf, higher level item cat.=tap, No default item catgory
Thanks & RegardsHi
In the asign item cateogories use usage CHSP (Batch split) for norm and assign default item category as ZZTA. This will get determined your item category when you use batch split.
Spro --> Sales --> Sales document Item --> Assign item categories -
Copy of Batch characteristics value from material master to Batch
Hi Gurus,
I have maintained some values in the characteristics under batch classification in material master and want to copy the values in batch characteristics during batch creation at process order release.
Can any one help me to achieve this in standard way?
Thanks
SandipHi,
Try to understand the batch classification functionality...In batch classification characteristic values changes from batch to batch...Values should not be maintained in the material master...it does not have any meaning...in the material master we need to assign only the batch class with class type 023 in classification view ...no need to assign the values there....Batch classification means characteristics values differs from batch to batch...
Thanks
Kumar -
Updated Batch Characteristics on Order Release is not available in MSC3N
Hi All,
I have maintained the Class (023) and characteristics for Finished Material. When I am releasing the production order, I am assigning the values for batch characteristics (Custom defined characteristic) after that, If I go and see the corresponding batch in display mode (MSC3N) the value for the characteristic is not updated (entered value not available its blank).
u2022 Automatic batch creation for the production order during the order releasing is happening exactly as per the configuration but the entered value for the characteristic is not available for the corresponding batch in change as well as display mode (MSC2N/MSC3N)
Please guide to solve out this issue
Thanks in AdvanceHi Sanil,
Thanks for your speedy reply.
For me characteristics and all available as per the expectations but the updated value for the characteristcs on release is not sticking with the batch.
Please guide me to solve out this issue.
Thanks in Advance -
Copying Batch Characteristics Value from Standard SAP Table Field
Dear Experts,
1. While creating a user-defined Batch Characteristics 'CREATED_BY' using ct04, on the Additional Data tab, I filled the following fields as follows: Table Name = MCHA, Field Name =ERNAM.
'CREATED_BY' was then assigned to a batch Class TRIMMED (of class type 022).
TRIMMED was assigned to a batch managed material ADE245DD.
After posting co15 (confirmation of production order) for material ADE245DD, the value in table MCHA & field ERNAM is automatically copied into the Batch Characteristics value field of u2018CREATED_BYu2019 for the generated batch.
2. But I am unable to achieve the same result when I create another Batch Characteristic with similar settings in the Additional Data tab as follows: Table Name = MARC, Field Name = DISPO.
After doing co15, the value stored in table MARC and field DISPO does not get copied into the Batch Characteristics value.
Please what do I need to do in Scenario 2 above to achieve the same result as in Scenario1?
RegardsHi,
Table and field used in additional data table should be related to the object than only it will work, for e.g. MCHA and ERDAT will work if you create a characteristcis and assign it to class type Batch (022/023) because MCHA table has Batch no. as primary key,
this implies for using material specific table e.g. MARA , you should use characteristics with class type 001 (Material class) , try using with table MARC also
Cheers
Dheeraj -
Getting Batch from Packaging material Number (Batch characteristics)
Hi Gurus,
I've a requirement.
i want to know the batches where the packaging material is used.
Packaging material is one of the batch characteristics, if i assign the same packaging material number in one batch, that should not be assigned to another batch.
I want to know in which batches the same packaging material is assigned.
Please guide me?? which table has the links for batch, packaging material number and main material number???
How can i find this???
Thanks in advance.
Adi.we can use the MMCL transaction/BMBC to see this.
In MMCL we have a FM to get the Data. -
Change Documents for batch characteristics
Dear Guys,
Badly in need of your help !
In our project, we are required to report changes made on batches characteristics.
My program fetches records from CDPOS table that has change doc. object as 'CLASSIFY'.
The challenge is to find the new and old value. They are not directly stored in VALUE NEW and VALUE OLD. They are simply '1'.
I'm sure that they are stored somewhere in the database because the vlaue before and after change can be seen in the transaction mch3n via menu-> Display Change Documents.
I tried hard finding the table-field but looks like its not straight forward. This is really challenging.
Regards,
AshokGert,
The change done in the project profile will only affect newly created projects.
Have you checked if change documents are created for new projects?
Hope this helps
Rgds
Martina
Maybe you are looking for
-
Occasionally, when composing and email, the word "Attaching" appears at the bottom of the window and a progress bar repeatedly sweeps as though a file is being attached, but I haven't tried to attach anything to the email.
-
Is there an app to help this app out? It can get a little distracting moving my finger across my phone every 10 seconds to keep up with the blue dot on my map. I LOVE this feature, and all this app needs is an auto-rotator to make it perfect. Is ther
-
Can i use a different apple id for the apple store?
I wanted to have a seperate account for the apple store. Is this possible? anyone please help.
-
hi all I am facing an issue in Oracle Forms when I am trying to add a database item to a database block. As soon as I add the new database item to this block, an already existing relation (created between this block, as detail, and another block) sto
-
"Unterminated value for attribute '' in XML Tag ''.(SBL-UIF-00265)"
Getting this message when I do Edit Web Layout for a view in Siebel tools 7.8.2 "Unterminated value for attribute '' in XML tag ''.(SBL-UIF-00265)"...Anyone have any idea why I am getting this message?