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: 

BDC mm02 not update in production system

umtyzc
Participant
0 Kudos
419

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.

11 REPLIES 11

Arun_Prabhu_K
Active Contributor
0 Kudos
177

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.

rajkumarnarasimman
Active Contributor
0 Kudos
177

Hi Umut,

Change the mode as gv_mode = 'A' - Display mode, check the issue in the front end.

Regards

Rajkumar Narasimman

Former Member
0 Kudos
177

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

0 Kudos
177

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.




0 Kudos
177

So check for

  • Actual data you try to change and authorization failure (SU53) - try MM02 manually (if allowed)
  • Any BAdI or similar change related to material master data that could have been imported in Quality Assurace System and not in Production System?
  • Also during an execution in 'A' mode, take care of any other status message, e.g. M3810 "No changes made" or M3807 "Function carried out"

Regards,

Raymond

0 Kudos
177

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

0 Kudos
177
  • Actual data you try to change and authorization failure (SU53) - try MM02 manually (if allowed)


i can do manually.(not an authorization problem.)

  • Any BAdI or similar change related to material master data that could have been imported in Quality Assurace System and not in Production System?


no difference between quality and production systems.

  • Also during an execution in 'A' mode, take care of any other status message, e.g. M3810 "No changes made" or M3807 "Function carried out"

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' )

0 Kudos
177

Hi Umut,

Can you check you are getting any update failures in SM12 when doing a BDC update.

Regards,

Kannan

0 Kudos
177

Hi Kannan, i am not getting any update failures in SM12 when doing a BDC update.

0 Kudos
177

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.

Former Member
0 Kudos
177

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