2014 Feb 06 12:30 PM
Hello,
I would like to find out the process of debugging a sales order creation to find out how plant is determined. And, how does one determine the SAP function modules, forms and master data used in the plant determination process?
2014 Feb 06 4:29 PM
SAPFV45P FORM VBAP-WERKS_ERMITTELN (Include FV45PF0V_VBAP-WERKS_ERMITTELN).
This is where the plant is determined for a sales order item.
To find this location,
> After entering all the data in the sales order screen, type /h into the ok command field before pressing enter.
> Then set a watchpoint on field VBAP-WERKS
> If this field is being filled, it will be hit.
Normally, plant is filled from the customer master or the material master.
2014 Feb 06 1:16 PM
Hi,
if you create or Change a saleorder use first tcode /h.
Regards, Dieter
2014 Feb 06 1:21 PM
go to se24 and open the class CL_EXITHANDLER and double click on the method GET_INSTANCE and put a break-point in CALL METHOD cl_exithandler=>get_class_name_by_interface.
We can get all d exits used as well...
Thanks And regards,
A.S
2014 Feb 06 2:01 PM
Hi,
Please check include MV45AF0T_T001W_SELECT. It may help you.
Thanks
Gangadhar
2014 Feb 06 4:29 PM
SAPFV45P FORM VBAP-WERKS_ERMITTELN (Include FV45PF0V_VBAP-WERKS_ERMITTELN).
This is where the plant is determined for a sales order item.
To find this location,
> After entering all the data in the sales order screen, type /h into the ok command field before pressing enter.
> Then set a watchpoint on field VBAP-WERKS
> If this field is being filled, it will be hit.
Normally, plant is filled from the customer master or the material master.
2014 Feb 07 8:02 AM