2015 Apr 15 10:36 AM
Hi all , i have a basic problem. I have a custom report for use batch input to mm02. My report works and update fields in the test system but not work in the production system.
call transaction 'MM02' using bdctab mode gv_mode update 'S'
messages into messtab .
In P system, messtab is blank after the call transaction and i haven't any error message.
2015 Apr 15 10:50 AM
Hello Umut Yazici.
Please make use of BAPI_MATERIAL_SAVE_DATA instead of BDC.
It will be easier for readability and also for program maintenance.
Regards.
2015 Apr 15 10:52 AM
Hi Umut,
Change the mode as gv_mode = 'A' - Display mode, check the issue in the front end.
Regards
Rajkumar Narasimman
2015 Apr 15 11:42 AM
Hi Umut,
If your code was working properly in Dev& Q.. means it should ideally work in P.Can you check the recent transports to production related to Materail masters.Any screen related changes are moved...
Regards,
Kannan
2015 Apr 15 12:18 PM
Hi Kannan, my code was working properly in Dev& Q, but not work in P. I check the recent transports.(No difference between Q and P systems.)
i try Rajkumar solution : Change the mode as gv_mode = 'A' but nothing happened.
I use ok_code( =BU) my last screen on mm02 and Q SYSTEM back success message wtih no m3801.
My report don't back any message for this issue on P system.
2015 Apr 15 12:37 PM
So check for
Regards,
Raymond
2015 Apr 15 12:48 PM
Hi Umut,
As mentioned by Raymond,
Check the authorisation..Try to do a manual entry with the help of a business user in production and check screen by screen.Check whether any additional checks/clicks are enabled
Also check you have any entries in SM12.
Regards,
Kannan
2015 Apr 15 1:19 PM
i can do manually.(not an authorization problem.)
no difference between quality and production systems.
call transaction 'MM02' using bdctab mode gv_mode update 'S'
messages into messtab .
Messtab is not return any records. I tried (gv_ mode = 'A' or 'N' or 'E' )
2015 Apr 15 2:24 PM
Hi Umut,
Can you check you are getting any update failures in SM12 when doing a BDC update.
Regards,
Kannan
2015 Apr 15 2:59 PM
Hi Kannan, i am not getting any update failures in SM12 when doing a BDC update.
2015 Apr 15 3:38 PM
Hi Umut ,
Try to send the original program created from SHDB to PRD then process it in front end.
May some fields is mandatory or some messages interrupt your recording from complete.
2015 Apr 15 3:33 PM
Hi Umut,
Can you do a code comaprison using the RFC option and see both dev and production code are in sync.Just check with basis team regarding the return code while they imported the code into production.
Regards,
Kannan