‎2005 Jun 10 1:12 PM
Hi all,
I'm using this BAPI to upload expenses note.
When I type manualy my expenses note via F-02, I've the field "Personnel No." to fill ( on the cost center pop-up).
With my BAPI, BAPI_ACC_GL_POSTING_POST, I don't know where to put this field, moreover, I get the error message " Field Pers.No. is a required field for G/L account.... ".
Thanks for your help.
Regards,
Erwan.
‎2005 Jun 10 1:19 PM
Hello Erwan,
I'm not sure to understand, if you seek for the field cost center look the tables accountgl-costcenter.
If not check the structure BAPIACGL08.
Regards
Frédéric
‎2005 Jun 10 1:19 PM
Hello Erwan,
I'm not sure to understand, if you seek for the field cost center look the tables accountgl-costcenter.
If not check the structure BAPIACGL08.
Regards
Frédéric
‎2005 Jun 10 1:36 PM
In fact, I don't find in the BAPI structures or tables the field 'Personnel No'.
Though the Bapi sends an error msg, posted above :
"Field Pers.No. is a required field for G/L account ...
".
( When you do manualy via the tcode 'F-02', the Pers. No. field is situated under the WBS element in the pop-up screen )
Help please.
Erwan.
Message was edited by: Erwan LE BRUN
‎2005 Jun 10 2:35 PM
What is the Data Element or the Domain of this field ?
(I can't go to this screen actually)
‎2005 Jun 10 2:38 PM
The field is :
'Personnel No'
Technical info : 'COBL-PERNR', data element : 'PERNR_D'
Thanks
‎2005 Jun 10 2:50 PM
It's really difficult to answer without this F.02 but maybe that could be the field documentheader-username.
Do you have check this one ?
‎2005 Jun 10 4:22 PM
The T-code to post the expenses note in SAP is 'F-02'.
No, it's not the username...
‎2005 Jun 11 2:50 PM
Have you guys checked out the possible bapi structures.
I would expect that there is somewhere a table with 2 fields
One for the field name, one for the field value.
Now of course you need all the fields to relate the entry to all other entries, but that would allow you to pass all these little miscellaneous information tidbits
Enjoy
Message was edited by: F.J. Brandelik
‎2005 Jun 13 10:48 AM
Im going to sum-up my problem, Ive to find a BAPI which correspond to the Tcode F-02 ( G/L Account posting ).
What I have to post are some employees note expenses, I though that the BAPI_ACC_GL_POSTING_POST was the good one to do that.
It should work fine, but this Bapi doesnt allow me to fill the Personnel N°
This field is a mandatory field in our F-02, but as I cant fill it with the BAPI, my G/L posting doesnt work.
Ive found another BAPI which seems to be better and contains the field Personnel N°, it is BAPI_ACC_EMPLOYEE_EXP_POST.
During my test my have the error: FI/CO interface: Line item entered several times.
Do u think this BAPI is good for what Ive to do?
Someone have an idea, concerning the error?
‎2005 Jun 28 12:59 PM
Hello Erwan,
I am trying to use BAPI_ACC_EMPLOYEE_EXP_POST for posting some bookings for General Ledger: I hope to be able to do tax relevant bookings with this BAPI, since BAPI_ACC_GL_POSTING_POST does not allow tax relevant bookings. I get the same problem you describe
FI/CO interface: Line item entered several times.
Did you find a solution to this by now?
TIA
Oswald
‎2005 Jun 28 2:57 PM
BAPI 'BAPI_ACC_DOCUMENT_POST' do not have a field to map Personnel No(PERNR). Extend the BAPI using 'EXTENSION1' parameter. Take a look at SAP Note. 487722. Follow the 4 steps specified on the note to implement BTE.
Please let me know if you need more help.
Ram Dindi.
‎2005 Jun 28 3:03 PM
Well, I should have really said 'BAPI_ACC_GL_POSTING_POST' instead of 'BAPI_ACC_DOCUMENT_POST'. The note is meant for all FI BAPI's. For 'BAPI_ACC_GL_POSTING_POST', try using CMOD/SMOD to enhance. For 'BAPI_ACC_DOCUMENT_POST', CMOD did not work for me. So, I used BTE.
Ram Dindi.
‎2005 Jun 29 4:00 PM
Thank you very much Ram Dindi,
It's an atypical solution provided by SAP.
Thanks a lot.
Regards,
Erwan.