Skip to Content

How to change the LFA1 data during save of a vendor. (XK01/XK02)

Sep 11, 2017 at 10:37 AM


avatar image

Hi All,

I am stuck in a requirement of creating vendors in SAP through XK01 transaction. As I am adding the address to the vendor ; my requirement is that after clicking on save; a proxy should be triggered and the address data should be passed to PI which will convert the address to standardized format and then return the updated address and the standardized address should be updated in LFA1 table.

Problem is that I am not getting any BADI or user exit where I can change LFA1 data. In the BADI VENDOR_ADD_DATA_CS; it is called only if you are pressing save on the customized screen added to the vendor data. My requirement is that even if I enter the address in the first tab and go the next tab and then press save; the proxy should be triggered. I have tried all the BADIs and Customer exits, but nowhere I am able to change the LFA1 data. Please help me as this is holding me for so long.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Raymond Giuseppi
Sep 11, 2017 at 11:31 AM

Did you try to force, only once, execution of the GET/SET_DATA methods of VENDOR_ADD_DATA_CS within implementation of method CHECK_DATA_CHANGED of BAdI VENDOR_ADD_DATA?

10 |10000 characters needed characters left characters exceeded