Skip to Content

FM to remove data in Use fixed address in CAA2 Screen

Hi,

I am looking for an FM to Remove 'Use Fixed address field'. I want to check and uncheck as per the business requirement. I have highlighted the field in yellow below.

Please help.

Thanks,

Anand.

sap-help.png (38.4 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    May 17, 2018 at 03:23 PM

    Both scenarios could be handled via the account change bapi. Removing the flag is simple - but adding it requires you to have determined the right address to use for fixing.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi William,

      Thank you for the above. Can you please let us know which field in the BAPI 'BAPI_ISUACCOUNT_CHANGE' should be done to acheive this?


      Thanks,

      Anand.

  • Jun 06, 2018 at 06:32 AM

    The field FKKVKP-ADRNB is set if another than the standard adress is chosen in transaction CAA2.

    Check in CAA2

    In the header you find the field "BP: Address Description". Beside you find the flag ' ' Fix.

    If you now press F4 for field "BP: Address Description" and you choose in the popup another than the standard address the flag Fix is set and the field FKKVKP-ADRNB is saved with the fixed adressnumber.

    You can use the BAPI BAPI_CTRACCONTRACTACCOUNT_CHNG to change the field address number (FKKVKP-ADRNB).

    BAPI_CTRACCONTRACTACCOUNT_CHNG
    ...
    *"  TABLES
    *"      CTRACPARTNERDETAIL STRUCTURE  BAPIFKKVKPI OPTIONAL
    

    BAPIFKKVKPI
    ADDR_NO Address Number
    

    Add comment
    10|10000 characters needed characters exceeded