2006 Jun 08 6:44 AM
Hello All,
I am using the FM BAPI_ACC_DOCUMENT_CHECK in my object and i receive the message "Inconsistent currency information" in RETURN[].
Please let me know in what scenarios we get this message. When looked into the Documentation of BAPI_ACC_DOCUMENT_CHECK i could not get any info on the RETURN table.
Your pointers are welcome.
Regards,
-PSK
Hello All,
I am using the FM BAPI_ACC_DOCUMENT_CHECK in my object and i receive the message "Inconsistent currency information" in RETURN[].
Please let me know in what scenarios we get this message. When looked into the Documentation of BAPI_ACC_DOCUMENT_CHECK i could not get any info on the RETURN table.
Your pointers are welcome.
Regards,
-PSK
2006 Jun 08 6:49 AM
better to create a custom fn module like BAPI_ACC_DOCUMENT_CHECK the u can chage in export parameter.
2006 Jun 08 6:58 AM
Hi,
you are not passing some imp info to the<b> CURRENCYAMOUNT</b> table paramter.
check the documentation on it.
Currency Items
Description
This parameter describes the currency fields for a particular line item.
The parameter is a required field for the method POST. If the parameter is not maintained for the method CHECK, only a general account assignment check is carried out. Individual line items or several documents can be checked at once in this way.
The following fields must be filled out:
CURRENCY Currency key
AMT_DOCCUR Currency amount
Value range
The field CURR_TYPE (currency type) describes the role played by a currency in the SAP System.
The currency type can take on the following values, for example:
00 Transaction currency
10 Company code currency
20 Controlling area currency
30 Group currency
40 Hard currency
50 Index-based currency
60 Global company currency
If an entry is not made in the field CURR_TYPE, the default value "00" is retained.
If only one data record is transferred in transaction currency for each line item, the field CURR_TYPE does not need to be filled out. If several data records are transferred for each line item, the currency type must be entered for each record.
regards
vijay
2006 Jun 08 7:09 AM
Hi Vijay,
Thanks for the posting.
The CURRENCYAMOUNT is filled in this way:
ITEMNO_ACC CURR_TYPE CURRENCY AMT_DOCCUR
0000000001|00 |HUF |1000000.0000 |
0000000002|00 |HUF |1000000.0000-|
0000000003|00 |HUF |1000000.0000 |
0000000003|10 |EUR |6813.7400 |
0000000004|00 |HUF |1000000.0000-|
0000000004|10 |EUR |6813.7400-|
0000000005|00 |HUF |1000000.0000 |
0000000005|10 |EUR |757.0800 |
0000000006|00 |HUF |1000000.0000-|
0000000006|10 |EUR |757.0800-|
0000000007|00 |HUF |1000000.0000 |
0000000007|30 |USD |8256.8900 |
0000000008|00 |HUF |1000000.0000-|
0000000008|30 |USD |8256.8900-|
Is this an valid file and could you please point out at the line items which do not obey the process.
Regards,
- PSK
2007 Oct 09 7:21 PM
ITEMNO_ACC CURRENCY AMT_DOCCUR
I guess the negative signs in the AMT_DOCCUR are not supported try by changing the negative signs
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |