‎2007 Jul 14 6:54 PM
Hi,
I'm not sure if this is the right forum...
I'm looking for the coding where in transaction MIGO the FI document is created. I create a goods movement with a purchase order as referece document. I'm not able to find the place where the corresponding FI doc. is created.
Can someone help me here?
Thanks,
Reg
‎2007 Jul 15 1:57 AM
Are you looking for how the finance document is created even though you are creating a material document and where in the code that call happens? Somewhere at the end of the process, there is a call to several FI function modules, each creating a FICO document such as as accounting document, COPA document etc. It gets all the function module names from a config table and then executes each one of those function modules in a loop. I will post the name of that table as soon as I find as I don't remember it at the top of my head. This automated FI postings config when a material movement is done in the system and is dependent on material movement type.
‎2007 Jul 15 8:20 PM
Yes, this is exactly what I need. I want to add a new entry into accounting document into a different/new account. But until now I wasn't able to find the place when the creation starts.
Thanks,
Reg
‎2007 Jul 15 11:30 PM
But that should be a config task. In config, in MM under inventory management, movement types, there will be a place where you set up the accounts per movement type for automatic posting. So if you want to change the account that a certain movement is currently posting to, you change it here in config not through coding.
‎2007 Jul 16 8:39 AM
No, this is not possible because MM is not used completely...Please give me the include/routine where the FI is created. It must be before (or inside) the module MB_CREATE_GOODS_MOVEMENT. After the commit the material doc. is created and also the accounting doc.
‎2007 Jul 16 8:45 AM
Go to VL32n
Enter the delivery Number for which you posted Goods reciept.Then use Doc FLow(F7) .You would be able to see all the doc. for accountiong press {accounting tab}
Please award points !!!
‎2007 Jul 16 9:34 AM
‎2007 Jul 16 7:40 PM
I found the place by myself: it's in include MM07MFF9_F_BELEG_ERGAENZEN before module CKMV_AC_DOCUMENT_CREATE. This module creates the account document. I've to insert a modification before and change the items and amounts table...
I don't new another account doc. , I 'only' have to change the accounts, split an exsiting entry etc.
‎2016 Jan 21 7:04 AM