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: 

Screen enhancement vs BAPIs

Former Member
0 Kudos

I developed an enhancement to substitute one of the subscreens used in the Material Maintenance (Retail) to release some of the standard validations in the Forecast Planning subscreen.

It was done by creating a copy of the Standard subcreen, and modifying the function module in charge of the validations. Additionally it was changed the customizing of the screens sequence.

When the transaction MM42 is executed and the new subscreen is called, the desired validations are working correctly.

In a related process it is called a BAPI (BAPI_MATERIAL_MAINTAINDATA_RT) that can maintain the data in the Forecast subcreen. When the BAPI is used, it uses the standard subscreen, then the validations executed are the standard ones. So, the BAPI is not considering the new customizing of the subscreens secuence.

Any idea of why is this happening? Should the BAPI execute the validations in the standard subscreen or the ones available for the custom subscreen? Can the BAPI consider the custom subscreen?

Thanks. Diana.

1 REPLY 1

eduardo_hinojosa
Active Contributor
0 Kudos

Hi Diana,

Check BADI artmas_bapi_extend

Regards,

Eduardo