Showing results for 
Search instead for 
Did you mean: 

Posting of difference between COGS and PGI

Former Member
0 Kudos

Here's the story,

We have the goods issue that is done at a different value than the COGS posting, COGS posting coming from a custom VPRS condition type (getting a price from a special field in the material master through a routine).

Of course the difference between those 2 postings should go to a new FI account.

So the question is, do you know in which SD user exit (or something else)we can make that posting, and maybe even thanks to which function?

This is what we want to achieve

1. goods issue

1315110 Finished Goods 1.673,49-

1320130 Picked Not Invoiced 1.673,49

2. invoice

1320130 Picked Not Invoiced 1.673,49-

4005130 COGS - Soft Drinks 1.533,64

4415125 Mix Price Var-FinG 139,85

So we need to generate this additional line

thanks a lot for your help

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos


Hope you have checked the possibility of using trasanction code VOFM to achieve this difference in price posting?

There's also a lot of available documents which you can find through the search engine on "VOFM" routines.

Hope the above helps.


Former Member
0 Kudos

During the PGI and Billing (VPRS) the cost of material should be picked from material master. There should not be any differences in cost. Check if the cost has undergone changes between PGI and Billing dates.

Active Contributor
0 Kudos

Whether COGS varies between PGI & invoice ? Tell us how ?