SAP Program RGJVW001 - Valuation of foreign currency PO's assigned to an account

Description
This program produces adjustment postings for all non
valuated goods receipts planned in foreign currency in the
purchase order.
The report selects all items of the PO History and checks the following:
- PO in foreign currency
- PO item planned for consumption
- non valuated GR posted
- no invoice was posted or invoice quantity posted is lower than
GR quantity.
If these conditions are set, the report creates, on the entered posting
date, a debit line according to the original planned cost objects and
a credit line on a GRNI (Goods receipt no invoice) shadow account in
the original foreign currency. Then a reversal will be done on the
entered reversal posting date where the GRNI account will be cleared.

Precondition
- GRNI account must be maintained with activity code JV8
- GRNI must not be on an open item basis
- GRNI must be open for direct postings
- GRNI must not be blocked or flagged for deletion
- GRNI account cannot be used for other FI-postings, except the
accruals for Goods receipts

Output
You always get an error list, if any error occurs.
If you choose creating a batch input session you get a list
"CARRIED OUT TO BATCH INPUT" with the following fields:
1. line
Transaction Posting
Reversal
Posting Date
Company Code
Business Area
Cost Center
Order number
Project number
Purchase order number
Purchase order line item number
Comment Posting cannot be carried out
' ' => OK
2. line
Posting key debit
Account
Currency key
Debit value
3. line
Posting key credit
Account
Currency key
Credit value

Example
Local Currency: GBP
GRNI shadow account: 191110
Purchase Order: Quantity 100 Pieces
Net Price 10,22
Currency USD
account 400000
Cost center 2220
Non valuated GR already done and IR not posted.
Posting from Report:
Posting date PK account Cost center amount Currency
28.02.1994 40 400000 2220 1022 USD
50 191110 1022 USD
01.03.1994 50 400000 2220 1022 USD
40 191110 1022 USD