cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

MRP Live MD01N CX_AMDP_EXECUTION_FAILED when setting the breakpoint in AMDP Badi PPH_MRP_RUN_BADI

Aliaksei135
Newcomer
0 Likes
1,436

I want to check the execution of MD01N, the part of AMDP enhancement as I want to implement my own Badi Implementation for Badi Definition PPH_MRP_RUN_BADI. For that I'm setting the breakpoint in the CL_FSH_PPH_MRP_RUN_BADI class( this BADI already has standard implementations which is executable ), for instance in method MDPS_ADJUST. Without this breakpoint everything is working correct. But when I want to check the data which is comes in this AMDP method in debug MD01N works around 5 minutes and then dumps. This dumps are always come in pair:  AMDP_EXECUTION_FAILED and MESSAGE_TYPE_X for CL_PPS4_MRP_DISPATCHER========CP.  Short details of this dumps: 

During execution of database procedure V_PPH_MAT_CTRLDD an error occurred. SQL code of the database: 2048 column store error:
"SAPHANADB"."CL_PPS4_MRP_RUN=>MAT_PLANT_MRP#stb2#20240425130751": line 16 col
3 (at pos 586): "SAPHANADB"."CL_PPS4_MRP_RUN=>MAT_PLANT_MRP": line 51 col 7
(at pos 1838): "SAPHANADB"."CL_PPS4_MRP_CHECKS=>READ_AND_CHECK": line 24 col
5  Olap temporary data size exceeded 31/32 bit 

I've already checked the different SAP notes but didn't find any solution. All of the notes related to CX_AMDP_EXECUTION_FAILED specifying different reasons of error but in my case this error appears only in debug mode. I've already tried to turn off the parallelization of MD01N( by using 'support' command which is described in note 2668805 ) but that didn't help either. I also checked that when I'm running MD01N for material which is planned for classic MRP run this AMDP not executed, it's executed only when material is planned for MRP Live run but even if I run this for classic material with the active breakpoint in AMDP then I also see the same behavior with runtime error. Execution is always freezes in this method CL_PPS4_MRP_RUN=>MAT_PLANT_MRP. Need your help, how I can execute MD01N with the breakpoint in amdp badi implementation to check the logic of execution inside this AMDP methods for MRP Live? It doesn't even work for a single material run in MD01N

Accepted Solutions (0)

Answers (0)

Ask a Question