MIRO invoice creation with the Personnel Number in account assignment
I am using BAPI_INCOMINGINVOICE_CREATE for creating an Invoice using MIRO transaction.
In MIRO transaction-> PO reference-> Multiple account assignment-> we have the personnel number: In BAPI table-parameter ACCOUNTINGDATA and ITEMDATA is used to populate the account assignmet data but this structure doesn't have the Personnel Number field (PERSON_NO).
How can i create an Invoice with the Personnel Number in Account assignment, Is there any Userexit or BADI is available ?
Edited by: fract_get on May 23, 2011 6:49 PM
Sampath Adavelly replied
You can use EXTENSIONIN parameter from tables. There are BADI's related to this but don't know the name of badi. Please search forum for or use transaction code SE84 to search the BADI's/
you can check the badi: INVOICE_UPDATE and method 'before_save or something similar to map to db table fields.
See this thread to understand how extension parameters works.
Edited by: Sampath Kumar on May 23, 2011 11:28 AM