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

how to call mmpv TCODE through BDC program.

Former Member
0 Likes
629

Hi

In my requriment i have to create custom program through which i have to call mmpv TCODE, because mmpv closes period for indivisual company code and for large number of company code it is time cunsuming exercise. for that i that i have to creat custom program. it is having selection screen like below.

company code (marv-bukrs)

fiscal year of current period (marv-lfgja)

current posting period (marv-lfmon)

fiscal year of previous period (marv-vmgja)

month of previous period (marv-vmmon)

fiscal year of last periodof previous year (marv-vjgja)

last month of previoud year (marv-vjmon)

allow posting to previous year (marv-xruem)

disallow dack posting after a change of period (marv-xruev)

and output should show : company codes affected,the periods closed and the current period open for posting .and also show wheather back posting allowed / disallowed for the company code.

2 REPLIES 2
Read only

Former Member
0 Likes
482

So what information do you need? Do you want to know how to create the BDC? How to call it? How to get the information you need to report back?

Read only

Former Member
0 Likes
482

CALL FUNCTION 'BDC_INSERT' "BDC_OBJECT_UPDATE

EXPORTING

TCODE = 'mmpv'

TABLES

DYNPROTAB = BDC_TAB.

hope this helps

Warren