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: 

Change of G/L Account for specific vendors in Transaction MIGO

Former Member
0 Kudos

HI Friends,

I have a requirement to change the G/L Account no for particular set of Vendors instead of G/L account maintained in the Transaction OBYC while doing MIGO.

I need a user exit through which i can change the G/L account number .

Thanks in advance.

Regards,

Sivani.

2 REPLIES 2

shishupalreddy
Active Contributor
0 Kudos

Hello,

Implement method LINE_MODIFY of BADI MB_MIGO_BADI .

IN this method u can find GO_ITEM as changing parameter , where u can find VENDOR NUMBER based on this u can find the account group from LFA1 and then u can change

goitem-KONTO (G/l ac number ) .

Regards,

Former Member
0 Kudos

I tried this ...... but it is not working.....My requirement is to change G/L Account no for Accounting document ....

By default it is picking up from transaction OBYC according to the configuration done .......I need to assign different G/L account which is not assigned in OBYC Transaction .......and SAP should not pick it from the configuration

Regards,

Sivani.