‎2006 Dec 14 2:49 PM
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.
‎2006 Dec 14 2:52 PM
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?
‎2006 Dec 14 3:13 PM
CALL FUNCTION 'BDC_INSERT' "BDC_OBJECT_UPDATE
EXPORTING
TCODE = 'mmpv'
TABLES
DYNPROTAB = BDC_TAB.
hope this helps
Warren