on 08-13-2013 10:09 AM
Hi Gurus,
Could you please advise me why CoGs comes zero cost , but sales price comes perfect ? This is happening for Internal customers only where they are costplus type customers ..?
It is working perfect for standard customers ...
Could you please throw some light on this issue ?
Kind Regards
Rama
Hello Rama,
COGS is determined in Delivery & not in Billing Doucment.
Can you please explin our business process in detail. Also ou have mentioned that VPRS is not present in Invoice for Internal Customers. Which means there are separate Pricing Procedures for different types of Sales.
Thanks,
Jignesh Mehta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear,
Fine .Now coming to the point is ,You dont have that VPRS condition Type for Non Standard customers ( in pricing Procedure ) thats why you were not getting that into Billing level .If you use that condition Type in Pricing Procedure then It should be come into Billing level .
Without VPRS condition Type in V/08 ,how can we get that into Billing level ?
Not possible .So ,we need to maintain it in V/08 .
If you have any doubts please let me know .
Thanks,
Naren
Dear,
Please let me know ,what is the Error you are facing ?
Note : If you maintain Standard Price or Moving Average Price in Materials Master ( MM01 or MM02 ) for that Materials then We will get that Costs automatically in Sales Order level .
Thanks,
Naren
Hi
For BOM material please tell me is it main item? I mean are you looking for VPRS of main item or sub item or do you want cost of sub items transferred to main item? If possible please paste the screenshot of condition tab analysis screen of VPRS condition. It will help us to understand the issue.
If you want to transfer cost of sub items to main item then you can do this in copy control from delivery to billing at item level. There is an option which you can see there.
Thank$
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Ranga ,
We have two PP ..
Z1 - Standard customer - It has VPRS in it .
Z2 - Internal customer ... - It was not having VPRS in it .
So just added VPRS (copy of VPRS ) in Z2 PP ... and aunder CalTY have added a routine..
Routine logica is basicall to identify bactch price ..below is the logic..
check komp-zzvbtyp = 'J'.
select single mtart prdha into (lv_mtart, lv_prodh) from mara
where matnr = komp-matnr.
if sy-subrc eq 0 and
lv_mtart eq 'ZSBM' and
komp-zzbtchval is initial.
* komp-zzvbtyp = 'J'.
select vbap~vbeln
vbap~posnr
vbap~matnr
vbap~prodh mara~mtart into table it_vbap
from vbap
inner join mara on
mara~matnr = vbap~matnr
where vbeln = komp-aubel and
prodh = lv_prodh.
sort it_vbap by vbeln posnr mtart .
* read table it_vbap into wa_vbap with key mtart = 'ZSBM'.
* delete it_vbap where prodh ne wa_vbap-prodh.
select vbelv posnv rfwrt into table it_vbfa
from vbfa
for all entries in it_vbap
where vbelv = komp-vgbel
and VBTYP_N = 'R'
and posnv = it_vbap-posnr.
if not it_vbfa is initial.
sort it_vbfa by vbelv posnv.
loop at it_vbfa into wa_vbfa .
lv_btchval = lv_btchval + wa_vbfa-rfwrt.
endloop.
komp-zzbtchval = lv_btchval.
endif.
endif.
*if komp-zzvbtyp = 'J'.
* we are in a delivery
xkwert = komp-zzbtchval.
CALL FUNCTION 'Z_CALCULATE'
EXPORTING
operand1 = komp-zzbtchval
operand2 = komp-kpein
operator = '*'
IMPORTING
RESULT = lv_unit_cost
.
CALL FUNCTION 'Z_CALCULATE'
EXPORTING
operand1 = lv_unit_cost
operand2 = komp-mglme
operator = '/'
IMPORTING
RESULT = lv_unit_cost
.
xkomv-kbetr = lv_unit_cost.
*endif.
Hope it helps..
Kind regards
Rama
Hi
Please confirm are you using same pricing procedure and condition type for both processes?
If possible share the screens of condition tab of billing document.
Thank$
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Siva,
I guess this is enhancement, because as per standard COGS will not populate during Billing
so please check with your abaper if there is a code to restrict this to populate only for standard customers
regards,
santosh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rama,
Can you share your Billing pricing screen?
Is it same condition type (VPRS) used everywhere?
What is "Internal customers only where they are costplus type customers ..?"
Please clarify the above issues.
Thanks,
Suman$
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.