How to put char. valuation type (VBRP-BWTAR) to COPA?
We use split valuation for materials and want transfer valuation type (VBRP-BWTAR) to COPA.
Step1. i use KEDR to set a derivation rule.
Source Field: (1) COPA KAUFN (Sales Order Number) (2) COPA KDPOS (Item Number in Sales Order)
Target Field: CO-PA WW003 (Valuation Type)- user defined char.
Condition: COPA KAUFN not blank
Attributes: User-defined step ID: C01
Step2. Insert Block in "INCLUDE ZXKKEU11"
if I_STEP_ID = 'C01'.
**Valuation Type
SELECT SINGLE * FROM VBRP WHERE VBELN = ce0_1000-RBELN
AND POSNR = ce0_1000-RPOSN.
if sy-subrc = 0.
ce0_1000-WW003 = VBRP-BWTAR.
endif.
endif.
Step3. Then, we use KE4ST to simulate. We debug KE4ST, and find sy-subrc = 4.This means ce0_1000-RBELN and ce0_1000-RPOSN is empty.So, the user exit does not work.
We also check SAP Note 70231, but we find VBAP-PAOBJNR is empty after sales order created.So, this note is invalid.
If some one knows the answer, pls tell me([email protected]). Thanks in advance.
Edited by: Derak Lee on Jan 4, 2008 8:35 AM
Edited by: Derak Lee on Jan 4, 2008 8:35 AM
Hi ,
please check your customizing settings according to note 111232. I think you can derive BWTAR without exit.
I suppose, you do not have correct settings in der TKEZU.
Regards,
Andrea
Similar Messages
-
How to exclude some valuation type in the MRP calculation ?
Dear Experts ,
We have C1,C2,C3 as valuation types each valuation type has quantities , The problem is the reorder point will put the quantities of C3 and C2 in consideration of the reorder point
HOW TO DISABLE THIS ?????
Please AdviceJust like DB said, you must create a storage location where the MRP indicator is set as not relevant.
To do this, you can make a permanent setting in OMIR.
But for materials already extended to that location, you will have to do it manually for each material master. Do this setting in MRP 4 View against the storage that you would like to exclude from MRP.
Hope this helps.. -
How to set Default valuation type c3 & c2 in creation of refrubishmentorder
Dear friends
Please let me know How we can make inthe order type refurbishment the valuation types as c3 to c2 only
User should not have any option of entering the valuation types
when we are creating order it will make default as c3 from & c2 to the control on user should not be there
please guide me if you can
I have tried with t code OMWC but it is not working
Regards
chandrashekhar Ingolechandrashekhar Ingole,
I do not have any sample ABAP code...
If you have no experience in ABAP programming, then I would recommend you pass the requirement on to your ABAP team.
PeteA -
HI Everyone,
While creating a GR with reference to PO it peak up the valuation type field bwtar from the EKPO table normally. In my scenario i'm getting BWTAR from table LIPS. I have used a BADI(MB_MIGO_BADI).
But now when i post the goods in migo transaction it throws an error saying 'Material document data and PO data do not match (Valuation Type)' . That means it re-checks the entry from the PO which is different from the value which we got from LIPS and throws the error.
The movement type is 101 for outbound delivery.
The requirement is to allow the entry with different valuation type as that in PO.
Could this be achieved?
Any help would be great.
Thanks & Regards,
Satyam BhardwajIt is not possible to change the valuation type in MIGO. Instead I restricted the user at the time of GI to enter different valuation type. If the valuation type he entered during GI is different than that in PO, i ammend the PO at database level and also note that mcha table also needs to be updated with same valuation type.
Thanks for your replies.
Regards,
Satyam -
hello sap minds
when we create the po how system picks the valuation type?
my client have both batch management and split valuation active.pls tell me the link in between them and how they are inter linked.DURING GOODS RECIEPT HOW VALUATION TYPE IS PICKED AND HOW IT IS CONNECTED TO ACCOUNT ASSIGNMENT CATEGORY.
thanx in advance for sharing valuable knowledge
REGARDS
SUMIT SIMRANDear,
Using split valuation you have an option of differentiating partial stocks of material according to particular criteria & handling them differently regarding valuation within a plant.
Check the below link for configuration:
http://www.sap-img.com/mm025.htm
http://www.sap123.com/a/29/
Hope it will help you.
Regards,
Alok Tiwari -
DEFINE VALUATION TYPE IN MIGO TRANSACTION.
DEAR ALL,
pls. guide me how to define the valuation type in material master and basic criteria for it. as well as i want to define this valuation type in migo transaction also.
pls. reply as soon as possible.... its urgent.
bst rgds,
rajeshHi,
Refer below link;
[Split Valuation|http://www.sap123.com/showthread.php?t=29] -
Valuation Type Stock Transport Order
Dear All,
Can a Stock transport order be created without specifying valuation type in it? If YES, then how to configure the same in SAP??
If NO, then how to ensure that valuation type and batch of a material in receiving plant remains same as in the supplying plant. In our case there are always multiple valuation types/batches for a given material in one plant.
regards,
BaljitHello,
Would you mind to rephrase your question so we can see the relationship between <b>Oracle</b> and the stock transport?
If you can't, perhaps you could post it in a more suitable forum. Like, perhaps, SAP ERP Financials
You can find the list of forums here:
https://www.sdn.sap.com/irj/sdn/forums
Thanks -
Changing Valuation Type in Production Order
Hi
How to change the valuation type in production order, when there is partial delivery?
Regards
RaviHi,
Before release the final authority you can change the order value but after the release and made the po not possible.
Anil -
Wrong ' valuation type' in production order - SAP AFS
Hi guru,
We have production orders for material AFS with Valuation
Category 'X'(automatic batch)and with split valuation.
During release of production order, the field 'valuation type' (AFPOD-
BWTAR) in folder ''Good receipt' is valuated with a wrong value.
In debugging we found the function /AFS/_LCOKO1F09 that in reading the
table MBEW the first value different from 'blank' fill the
fields 'c_bwtar' (value C), but the correct value is 'P'.
It seems some confusion among the value of field AFPOD-BWTAR and MBEW-
BWTAR because the help value (F4) on AFPD-BWTAR is different from help
value of MBEW-BWTAR.
So if you can help us.
Best regardsHi
U v mention that u r using valuation category (X). Which is ment for automatic batch creation.
generally valuation is ment for origion of prod., quality lebels, etc.
If this is ur requirement then u can't use valuation category (X).
U need to create seperate valuation category based on parameters on which u want valuation.
Regards
Ashish -
Changing Valuation Type for Non Serialized Material
Dear Experts,
May i know how to change the valuation type for Non serialized Material.
Scnerio :
Issued New Material from warehouse with Valuation type -C1,
Once i used shop floor it damaged and now i want to return back to store with Valuation type C3.
May i know how can i do this.
Regards,
KavvyaHi Seenu,
Actually when i am using t-code IE4N and changing the valuation type C1 to C3 without changing the valuation type the system return the material to store. But for serialized material first i changed the valuation type through IQ02 then i am using the IE4N.
But i dont know how can i cahnge the valuation type for Non serialized material.
Also may i know why i am facing problem in IE4N, Is it required some configuration to directing changing the valuation type in IE4N itself.
Kavvya -
Re :Defining of new valuation types
Hi All,
Please explain how to define new valuation types.
REgards,
vivekHI,
In case if you want to maintain 2 prices for a single material then we make use of split valuation.
Example: A typical example i can give is that.
If there is motor. the motor can be new, used, or broken status.
So these three valuation types can be created under one valuation category and have different prices for these.say new 5000rs used 3500rs and broken 1500rs.
The confi. steps are:
1.SPRO> MM>VALN AND ACC ASSIGNMENT> SPLIT VALUATION> Acitvate Split Valuation
2.SPRO> MM>VALN AND ACC ASSIGNMENT> SPLIT VALUATION> Configure Split Valuation
Click on Golbal type: create your own valuation types as Type 1, Type 2 etc
Click on Global categories:create your own Valuation Category as Type(T) and
Activate all valuation types(Type1, Type2 ) for your category(T)
Goto MM01, enter materialu2026u2026u2026u20261st enter valuation category and save & again enter MM01 enter the Valuation type as Type 1 and maintain price for it and repeat the same for all the Types.
When you create a PO for split valuated material it will ask for valuation type and you can enter your required valuation type and save.
check the following:
http://www.sap-img.com/mm025.htm
http://www.sap123.com/showthread.php?t=29
http://www.sapficoconsultant.com/Bonus/Split%20Valuation%20configuration.pdf
http://help.sap.com/saphelp_47x200/helpdata/en/47/61017149f011d1894c0000e829fbbd/frameset.htm
I hope you got my point.
Thanks & Regards,
Kiran -
Field Valuation Type should be available on all PO's
Hi,
Would like the field Valuation Type (MEPO1211-BWTAR) available at all times on PO's but when I remove the "Invisible" indicator on the screen setting and activate+save it system just forget what was done and the field is marked "Invisible" again. Any idea to what my problem is?
BRhi,
The field valuation type becomes editable / uneditable depending on the customisation settings ie. tick the indicator while setting the SPRO settings for the valuation catagories...
Its not possible to apply to the all PO's at once...it depends on the SPRO settings for each...
Regards
Priyanka.P -
Split Valuation Material Cost Estimate into COPA
Hi all,
Is there any way how we can transfer the split valuation material cost estimate into COPA?
I checked the actual line items, there is no "valuation type / batch" characteristics there.
Is this the main cause?
Please kindly suggest on the best way to solve this issue
Thank you very much
Regards, ErwinHi, Ajay
Does this mean that, even though i manage to create the valuation type as characteristic in COPA, i won't be able to get 2 different cost estimate based on valuation type into COPA?
Hm, then, are there any solutions which can be done to solve this issue?
The client needs a COPA report which can show the breakdown of the sold materials cost estimates
As usual, thank you very much for your help
Regards, Erwin -
Get Valuation Type (BWTAR) of the last material movements (MM)
Hi people,
My requirement is to create a program to make negative adjustments to material stocks (using BAPI_GOODSMVT_CREATE). As incoming data I have the material along with the quantity to be adjusted. Plant (WERKS) and Storage location (LGORT) are fixed. If the adjustment quantity is inferior to the total stocks on all the batches (I'll get the values from MCHB table and sum them up - Batch and Valuation type in this cases are considered the same, so field CHARG = BWTAR), then I need to know which where the lastly adjusted valuation types, and then make the adjustments on that valuation types.
Which leads me to my question: How do I know which were the latest valuation types for a given movement (101 or 311 in this case) and material? Is the only option to search in tables MSEG/MKPF ordering by date (getting the latest material documents? Do I have other options?
Thanks for your help.Hi Sai, many thanks for your reply.
But don't think your suggestion would work, because this batches are already created. Besides if I enter to MSEG table only with movement and batch as keys, i'll get thousands of records since this batches are not unique as in other cases.
I don't only need the latest batch, i need the latest batches till the quantity is
covered. Because the quantity to adjust can be greater than that of the latest batch.
I'll give you an example: suppose the actual stocks for a given material in a plant/stge.Loc. are like this:
Batch1 = 30,0
Batch2 = 30,0
Batch3 = 30,0
and they were entered in that order. So my program receives a negative adjustment of 45,0: I need to adjust Batch3 to 0,0 and Batch2 to 15,0.
The problem lies in: how do i know i need to adjust Batch3 first, then Batch2 (and go on till there's nothing to adjust)?
I've been thinking in doing something like this (after verifying that MCHB stocks are greater):
DATA:
BEGIN OF i_movs OCCURS 0,
mblnr LIKE mkpf-mblnr,
mjahr LIKE mkpf-mjahr,
bldat LIKE mkpf-bldat,
cputm LIKE mkpf-cputm,
bwtar LIKE mseg-bwtar,
menge LIKE mseg-menge,
meins LIKE mseg-meins,
END OF i_movs.
SELECT
a~mblnr a~mjahr a~bldat a~cputm
b~bwtar b~menge b~meins
INTO TABLE i_movs
FROM mseg AS b
INNER JOIN mkpf AS a ON
a~mjahr = b~mjahr AND
a~mblnr = b~mblnr
WHERE
*-There's an index to this four fields so access should be quick
b~matnr = 'A1111111111' AND
b~werks = k_werks AND
b~lgort = k_lgort AND
b~bwart IN ('101', '311') AND
NOT bwtar = ' '.
SORT i_movs DESCENDING BY mblnr mjahr bldat cputm.
And then loop and take the valuation types from my internal table...but i'm not quite satisfied with that because i'll get ALL movements for the material, so the program will grow slower with time as new GM documents are created...
Any other ideas?
Thanks again. -
How to make valuation type field not changeable in delivery tab of PO
Hai friends,
I am new to badis..please guide me to solve the issue...
how to make valuation type field not changeable in delivery tab of PO...
The field shd be in display mode only ...actually...there a badi has been used before
to get valuation type from a ztable depending on material and plant...
Now ..my requirement is that the user shd not change the default value brought from the ztable...Hi SRINIVAS,
You can achieve this from BADI only if BADI is allows you to do this. You cannot achieve everything from a BADI. Check if there is any expoting field in the methods that can be ticked for making the field in display mode. If not then you cannot achieve this from BADI.
The field you want to default to display is a standard or zfield. If z, then you can changethe attribute of the screen field to Output only.
Regards,
Manish
Maybe you are looking for
-
Photos there but not there!
When I go over an event's thumbnails, I can see all my photos. But when I click on the event to open it, some photos are missing. I have launched a slide show to see if they would all appear and sure enough everything was ok. Back to the event, and s
-
In ALV Grid to eliminate the zero.
Hi Experts, i am working with abap hr .In my grid there is location allowances amount is 2750.00. I want to eliminate the .00. I tried with SHIFT l_res RIGHT DELETING TRAILING '0(2)'.But this not working. Can any body suggest how to eliminate the
-
How do I get my desktop Mac to show an Autofill option on Firefox 8.0?
After installing 8.0, I lost the Autofill feature from my toolbar
-
Brightness Values in Lighroom Development and Photoshop
Why do brightness values differ between Lightroom development module and Photoshop? A picture taken form newtral grey card with correct exposure shoud translate into RGB values of 125 or a brightness of 50% in the HSB-model. This works with photoshop
-
HELP.. phone is crashing numerous times a day!
Looking for advice other than pulling the battery please Im running OS6.0 Bundle 2921 and I cant seem to stay connected for even an hour without a crash... I tried updating to newest version but it already is. Phone also will not connect to desktop m