Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Related to Field Sperr and Sperm in Bp tcode

rishi_kulkarni123
Participant
0 Kudos
1,219

Hello All,

I am looking for the BADI for BP which will help me to set these two flags I.e SPERR and SPERM.

please help me .

3 REPLIES 3

raymond_giuseppi
Active Contributor
0 Kudos
1,083

Did you look at the BAdI BUPA_*_UPDATE (from BUPA_ADDR_UPDATE to BUPA_TAX_UPDATE, e.g. BUPA_GENERAL_UPDATE)

Hint: Try the FM BUPA_*_CALLBACK in the BAdI implementating class to access data then a FM such as BUPA_*_CHANGE to update the data, e.g. BUPA_CENTRAL_CHANGE)

0 Kudos
1,083

Hi @raymond.giuseppi,

actually, the above field is present in the LFA1 table not in BP related table so could you please help me with this

0 Kudos
1,083

So you are not on a S/4 HANA system - Read 2790047 - Fields not available in transaction BP

You could either

  • Update in the vendor transactions directly
  • look at BAdI CVI_CUSTOM_MAPPER where you can add your own mapping from BP to vendor, check method MAP_BP_TO_VENDOR Assign Business Partner Data to Vendor Data to update C_VENDOR-CENTRAL_DATA-CENTRAL-DATA[X]-SPERR and SPERM