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: 

Update assignment field of accounting document when doing MIGO/VL01N

rvinod1982
Contributor
0 Kudos

Hi,

When doing MIGO, accounting document gets generated in background. I would like to populate the assignment field of the accounting document (BSEG-ZUONR) with some value.

Also, I would like to update this field when doing outbound delivery VL01N also.

Kindly suggest which user-exit / badi will be suitable to meet this requirement.

Regards,

Vinod

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Try using the following BTE's

00001020 POST DOCUMENT: Prior to final checks

00001025 POST DOCUMENT: Final checks completed

00001030 POST DOCUMENT: Posting of standard data

00001050 POST DOCUMENT: Accounting interface

While checking these BTE's, check the Update Debugging option int h e debugging since the accounting document is created in the background.

Regards,

Harish

3 REPLIES 3

Former Member
0 Kudos

Hi,

Try using the following BTE's

00001020 POST DOCUMENT: Prior to final checks

00001025 POST DOCUMENT: Final checks completed

00001030 POST DOCUMENT: Posting of standard data

00001050 POST DOCUMENT: Accounting interface

While checking these BTE's, check the Update Debugging option int h e debugging since the accounting document is created in the background.

Regards,

Harish

0 Kudos

Hi,

Thnx for the solution.

I did it using badi AC_DOCUMENT.

Regards,

Vinod

rvinod1982
Contributor
0 Kudos

Hi,

Thnx for the solution.

I did it using badi AC_DOCUMENT.

Regards,

Vinod