cancel
Showing results for 
Search instead for 
Did you mean: 

Update COGS, if MAP is Zero

Former Member
0 Kudos

Dear All,

MAP of Material (MM03-> Accounting View) is Zero, for which you have created the Sales Order. If the price is Zero, we passing weighted avg price to VPRS condition type in sales order using pricing routine( business requirement)but at the time of PGI, system is not generating any accounting document i.e. (COGS).

Please suggests, how to update the COGS in this case.

Regards,

Nagesh N

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Nagesh,

Do you maintained valuation class in Material Master and do you checked "Determine Cost" in item category.

Former Member
0 Kudos

HI Kiran,

your mentions setings, already there, Till some of the material have without MAP.

Regards,

Nagesh

Former Member
0 Kudos

I believe if you try to map your PGI to a Cost Center in that specific situation maybe it will help solve your problem.

BR

SCMM

Former Member
0 Kudos

Hi,

Cost Center is already mapped.

If moving avg price in zero, accounting document will not generate, this is the Standard behavior of the system. My scenario is, I have manually calculated MAP is available. But when do PGI, how to map calculated moving avg price, so that accounting document will get generate.

Please suggest.

Regards,

Nagesh

Former Member
0 Kudos

Hello,

COGS will get updated if you have material with cost. Since your Accounting view of material master, standard / Moving average price is zero, there is no value to pass it to COGS, that is the reason why it is not getting updated.

But I have one doubt, don't you have material / stock valuation?

Regards,

SAM

Former Member
0 Kudos

hi sam, thanks for your responce. i knew that COGS wil get updated if MAP There. Requirement is if MAP is zero then also COGS has to create, like we are updating in sales order using pricing routine. Please let me how to update COGS.

Former Member
0 Kudos

Hello,

It is the standard behaviour of SAP to post the cost of the material to COGS when doing the PGI. Since your MAP is 0, it is not creating accounting document while doing the PGI, it is normal. As like pricing routine, I don't think we can influence the system using Z developements to update COGS while doing PGI.

Regards,

SAM

Former Member
0 Kudos

Thanks SAM,

any suggestions from others

Regards,

Nagesh

Former Member
0 Kudos

Hi All,

Can I use BAPI AC_DOCUMENT_CRETAE to create accounting document if MAP is ZERO case or BADI AC_DOCUMENT

please give some inputs.

Regards,

Nagesh

Former Member
0 Kudos

Dear Experts,

waiting for suggestions, its bit urgent.

Regards,

Nagesh N