cancel
Showing results for 
Search instead for 
Did you mean: 

Update Contact person Function Field BUT051-PAFKT

kalpesh_pandey
Contributor
0 Kudos

Hi, I am loading data to S4HANA 1909 on Premise. I created Customer and contact both as BP. I created relationship between customer and contacts using a BAPI. This BAPI does not have field for Function or department for Contact person. Once relationship is created I am looking for BAPI or iDOC which can update relationship BUT051-PAFKT etc. I tried below BAPIs/iDOCs but they are give successful msg but relationship is not updated.

Any help on this would be appreciated.

BAPI tried:

BAPI_BUPR_CONTP_CHANGE - Did not update.

BUPR_CONTP_CHANGE- Error when sending blank for IV_X_SAVE. If send X then successful but no update. BUR_BUPR_BUT051_COLLECT- Tested and it did not make change

iDOCs:

CVI_EI_INBOUND_MAIN_M01- Did not update.

DEBMAS06- This is provided by SAP as RDM job. It errors out as below.

Errors occurred during call of function module BUPR_CONTP_ADDR_CHANGE

Message no. R11335

Diagnosis

The business partner BAPIs were called up incorrectly. The indicator IV_X_SAVE was given differing settings when the modules were called."

kalpesh_pandey
Contributor
0 Kudos

I am also ok if there is any method using which I can create relationship along with loading PAFKT field.

kalpesh_pandey
Contributor
0 Kudos

ok. I found out that we need to run explictly Commit at end

gattumahesh_at
Explorer
0 Kudos

Can you provide me the configuration steps for idoc: CVI_EI_INBOUND_MAIN_M01 ?

Did it worked ? What is the process code and FM it is using ?

Accepted Solutions (1)

Accepted Solutions (1)

kalpesh_pandey
Contributor
0 Kudos

commit was needed

Answers (0)