‎2015 Mar 26 11:46 AM
Hello Experts,
I am trying to create a MIRO Document when saving the PO. I am using the BADI's ME_PURCHDOC_POSTED -POSTED interface to call the
standard BAPI BAPI_INCOMINGINVOICE_CREATE to create the Invoice for the same in Update Task.
When I am executing the BAPI with all the data populated into relevant internal tables, I am getting a short dump on FM CALCULATE_TAX_DOCUMENT.
The dump comes up with Runtime Error POSTING_ILLEGAL_STATEMENT. Upon investigation looks like it is trying to call a screen 301/300.
I have created a FM ZICA_CREATE_INV_FROM_PO which calls the standard BAPI BAPI_INCOMINGINVOICE_CREATE. This Z FM is called in an update task.
Any pointers to the solution would be helpful.
Regards,
Manu
‎2015 Mar 26 12:06 PM
‎2015 Mar 26 12:06 PM
‎2015 Mar 26 3:41 PM