‎2012 Aug 23 6:26 AM
Hi Guys,
I am trying post an Invoice for Employee Vendor in AP.
Here is my code.
Getting the following error
I checked that the vendor has been assigned to the company code CC01, but still throwing that error.
Thanks
Sam
‎2012 Aug 23 7:41 AM
Do the error messages not sound clear enough?
- The vendor does not exist in the company - check LFB1 just after selecting from LFA1. (*)
(Also remove the call to CONVERSION_EXIT_ALPHA_INPUT as you read data from database value is already in internal format.)
- Check the GL account, it is associated to a primary cost element in controlling, check field status group and ask functional to identify a correct assignment like cost center, order, wbs, etc.
(Check your ztm_wagetyp_gl table for a field like a cost-center in its definition.)
Regards,
Raymond
(*) I read again your post, so add BUKRS in your where clause.
‎2012 Aug 23 7:41 AM
Do the error messages not sound clear enough?
- The vendor does not exist in the company - check LFB1 just after selecting from LFA1. (*)
(Also remove the call to CONVERSION_EXIT_ALPHA_INPUT as you read data from database value is already in internal format.)
- Check the GL account, it is associated to a primary cost element in controlling, check field status group and ask functional to identify a correct assignment like cost center, order, wbs, etc.
(Check your ztm_wagetyp_gl table for a field like a cost-center in its definition.)
Regards,
Raymond
(*) I read again your post, so add BUKRS in your where clause.
‎2012 Aug 28 5:52 AM
I missed few things like Dynamic Cost center assignment to the GL Account and Reference Document No.
Now its posting successfully.
Thanks
Sam
‎2012 Aug 23 7:45 AM
Dear,
You have to assign Account asignment 50103 to CO object through oby* tcode.