2023 May 24 5:01 AM
I'm trying to check if theres a custom user exit for the ITEM tab> Delivery Address.
Currently, the delivery address is coming from KNA1. But the user wants the address of the default Partner Function from BP.
Fetch default partner function in BP>Check that default BP in KNA1> Overwrite the delivery address
2023 May 24 6:19 AM
SZA1 is one of the generic function groups for address management.
I would suggest you find a user/customer Exit or BAdI in the calling application (such as form USEREXIT_MOVE_FIELD_TO_VBAP of include MV45AFZZ)
2023 May 26 8:58 AM
Is this applicable for ME21N or Purchase Order? As I'm thinking of feasibility to overwrite the ADDR1
2023 May 26 10:23 AM
For purchase orders, in Enjoy transaction ME21N, look at the methods of BAdI ME_PROCESS_PO_CUST, in those methods you can update many informations.
For example, you could try in implementation of method PROCESS_ITEM, which receive a reference to IF_PURCHASE_ORDER_ITEM_MM, to: call method IM_ITEM->GET_DATA , change MEPOITEM-ADRN2 and then call IM_ITEM->CHANGE_DATA if actually changed)