While doing CO11N for a production order and doing goods movement I am
able to confirm operations and goods movements occur sucessfully.In Doc
info of material document I can see the T code which created the
material document is CO11N.
But when I use BAPI: BAPI_PRODORDCONF_CREATE_TT to do confirmation and
goods movement, material document which gets created have T code as
COGI in Doc info.
Material documents generated through BAPI should have T code as CO11N
in Doc. info.
Moreover, table AFWI is getting updated for eg. with MBLNR=0000000536
and MJAHR=000 and sometimes as MBLNR=4900011573 and MJAHR= 2011!!
Why MBLNR=0000000536 and MJAHR=000? Is BAPI taking some time lag in
updating this table??