Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Trigger IDOC ACC_DOCUMENT

Former Member
0 Likes
4,736

Hi all,

i trying to set up an Outbound scenario for Accounting documents.The idea is to send to an external system the idoc ACC_DOCUMENT03 that is associated to message type ACC_DOCUMENT.

When configuring the ALE distribution model (BD64) i tried to add the message type ACC_DOCUMENT but that not possible since this kind of information should be done using BAPI and not message type (SAP message information).

So, did all the customizing needed for associate the correct BO (correspondent Bussiness Object BUS6035) and the method POST.Also customized the obj. channel serialization

Still, at this moment my dificulty is to trigger the IDOC creation. Is there any way of doing it automatically? Our i need to use a developed abap program (BADI or user-exit) or even workflow? I'm trying to avoid writting code for this scenario. I was hopping that something like the Change Pointers exist's for this kind of information/scenario.

Can any one give a suggestion??

Thanks for your time,

Best Regards,

Pedro

6 REPLIES 6
Read only

Former Member
0 Likes
2,593

For the outbound IDoc check the following -

RFC destination to the target system: SM59

Receiver Port in the target system: WE21

Logical system: BD54

Partner profile for the above logical sys with correct outbound parameter in the message type: WE20

Make sure are all these configuration has been done?

Read only

0 Likes
2,593

Hi,

yes all of this is set up correctly. I have other IDOC working with change pointers for the same system, ports, etc...

Thanks,

Pedro

Read only

Former Member
0 Likes
2,593

Any suggestion?

Best Regards,

Pedro

Read only

0 Likes
2,593

It seems that SAP does not provide outbound ACC_DOCUMENT03. In [this thread|;, Miroslaw shows an abap program which generates the ACC_DOCUMENT03 idoc. If it works, also reply to him.

Read only

0 Likes
2,593

Hi Sandra,

thanks for your reply. Are you sure that there's no standard funcionality for triggering outbound ACC_DOCUMENT03 ? I trying to avoid write code...

Thanks,

Pedro

Read only

0 Likes
2,593

No (the only thing I know is that I had the same issue with MBGMCR (goods receipt), and I had to write an abap for creating the outbound idoc)