Application Development 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: 

create attachment with BINARY_RELATION_CREATE to BUS2081

former_member637921
Participant
0 Kudos
863

Hello,

I'm trying to create attachment with BINARY_RELATION_CREATE to incoming invoice. i succeed for BKPF with objtype = 'MESSAGE', but when i try to attach for BUS2081- there is no error but i can't see the document attached not in FB03 and not in MIRO. is there another objtype that goes with BUS2081.

Thanks

Moshe

2 REPLIES 2

Jelena_Perfiljeva
Active Contributor
0 Kudos
117

Start SQL trace, create an attachment manually and then in the trace search what object type was used.

0 Kudos
117

i've put break-point in FM 'BINARY_RELATION_CREATE' and saw that the object key in MIRO was only with BELNR and GJAHR (without BUKRS in the begining)