09-06-2008 6:00 AM
Hi,
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
- IF_EX_BADI_SD_SALES_BASIC~DETERMINE_BUSINESS_AREA
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.
Thanks
Navdeep Singh
09-07-2008 1:12 AM
You cannot create an implimentation for a BADI if it says for SAP internal use, you need to look for another BADI or User exit