DETERMINE BUSINESS AREA IN SALES ORDER - BADI
I wanted to Hardcode a Business area for a specific document type while creating sales order.
Initially the code was added to the userexit to move fields to VBAP but the values added in that code get overriden by the business area determination logic (in FV45PF0V_VBAP-GSBER_ERMITTELN)
This function further calls the following method in the BADI - BADI_SD_SALES_BASIC
This BADI has the flag - 'For SAP Internal use' checked.
I am new to BADI's so wanted to know if it is ok to add code to this method and changes the business area in VBAP based on the sales document type.