2007 Jul 24 6:47 PM
Hi All,
The Bapi 'BAPI_ACC_DOCUMENT_POST' was used in a program at my work place, which is giving some errors. For example when the cost center 2790 was used at the item level, it gave the following error:
Cost center 1000/2790 does not exist on 07/24/2007.
But when I try to do the G/L posting directly with the BAPI, specifying all the input parameters the same as given in the program, it is doing it successfully. So, I am confused to know what exactly could the problem be as the direct BAPI is doing the posting but not, when the same BAPI is called in a program. Can anyone know the solution to my problem??
Thanks in Advanace.
2007 Jul 24 6:50 PM
Hi,
Just an idea - did you remember to put the leading zeroes in your master data fields (i. e. 0000002790 and not 2790)? If not, use CONVERSION_EXIT_ALPHA_INPUT or similar method to inert leading zeroes.
Hope this helps (please reward me if it does),
Joerg
hi,
may be this cost center got something to do with the current date.... check with that.
i am not sure.. but may be this is not open for the current period.
thansk
mahesh
2007 Jul 24 6:50 PM
Hi,
Just an idea - did you remember to put the leading zeroes in your master data fields (i. e. 0000002790 and not 2790)? If not, use CONVERSION_EXIT_ALPHA_INPUT or similar method to inert leading zeroes.
Hope this helps (please reward me if it does),
Joerg
2007 Jul 24 6:50 PM
Hi,
BAPI check dependecies of configiration, one thong i would sugget you
goto SE37->give BAPI name-> DISPLAY-> See Documetation
Reward if useful!
2007 Jul 24 6:51 PM
hi,
may be this cost center got something to do with the current date.... check with that.
i am not sure.. but may be this is not open for the current period.
thansk
mahesh
2007 Jul 24 6:55 PM
Hi Mahesh,
When I did the G/L posting directly with the BAPI, it didnot show any errors and did the posting successfully. And the cost center was valid in the given period.
Thanks.
Mohan
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |