Online Tutorials & Training Materials | STechies.com
Register Login

Error KI178 - Enter a true account assignment relevant to cost accounting though FM HR_INFOTYPE_OPERATION.

|| || 2

Error KI178 - Enter a true account assignment relevant to cost accounting though FM HR_INFOTYPE_OPERATION.
Stechies

Hi All,

 

I need to know how we can do cost assignment while creating info type using FM HR_INFOTYPE_OPERATION.

I am able to create a record in info type table as well as cost assignment related main tables ASSOB & ASSHR by creating a new PDSNR. 

Everything is going fine. But when I see the record using PA20, cost assignment tab is coming as grey out.

I explored and found that we need to pass REFEX as 'X' in info type structure but when I am doing so, I am getting an error KI178 - Enter a true
account assignment relevant to cost accounting though FM HR_INFOTYPE_OPERATION.

 

Your assistance will be highly appreciable.


Comments

  • 25 Jun 2014 8:09 am Best Answer

    Yes it is possible to use both the FM's in conjunction. First create the IT0015 using the HR_INFOTYPE_OPERATION, if it is successful then you can create PDSNR assignment using the primary key of your IT0015 for ASSHR table. Then the same PDSNR reference can be used to create Cost center assignment in ASSOB table.

  • Nitesh Singh
    25 Jun 2014 8:09 am Helpful Answer

    You can generate new PDSNR using the FM NUMBER_GET_NEXT and the number range object is PD_SEQ_NR. you can refer to FM GET_PDSNR_RANGE for more details to get number range.