04-03-2009 9:23 PM
Hi friends,
We have inbound INVOIC message type configured in our system to post vendor invoices for both MM ( process code INVL ) and FI ( process code INVF ).
Upon the idoc posting is complete the requirement is to send a ACCONF idoc back to the sender with the status on the invoice idoc posting. I'm having trouble finding any information on what needs to be set-up to trigger this ACCONF Idoc type ACCONF01I.
Can anyone help with this?
Thanks in advance for your time.
04-03-2009 11:07 PM
Hi,
I am not sure if this is the best way how to create your IDoc but you can try to use Business transaction event. There is event for posting FI documents. You can try to use this event to call FM which will generate your IDoc. Another possibly better way might be to define your IDoc as output message for FI document. Hence SAP will generate it automatically after creating FI document. You can find some examples of setting IDoc as output message in transaction NACE. Look for output types with word EDI in description. I would try the second option first.
Cheers
04-04-2009 5:15 AM
04-04-2009 6:08 PM
Thank You Martin and SAP ABAPer. I have seen config screen for LIV output but have yet to find output determination when FB01 invoice is posted. Looked at BTE's as well, but do not have access to use them in my system. Until then I'll dig into output determination.
If there is anyone else with this set-up in their system and can give more detail information on this, will be greatly appreciated.
Thank You.
04-08-2009 2:16 AM
After considering a lot of options, fixed the issue by creating custom process codes and FM's for INVL and INVF.
Thanks again both for your response.