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: 

BAPI to update z field in KNA1 table

praveen1695
Explorer
0 Kudos
2,203

Hi,

Please suggest me a suitable BAPI to to update z field in KNA1 customer master by passing KUNNR as import parameter and internal table as table parameter.

i have checked

SD_CUSTOMER_MAINTAIN_ALL

OIF_UPDATE_KNA1

BAPI_CUSTOMER_CHANGEFROMDATA1

Thanks,

Praveen

7 REPLIES 7

0 Kudos
1,405

Hi

May be you should use BAPI_CUSTOMER_CREATEFROMDATA1. Use the field EXTENSIONIN for your z fields

Regards

Ajay

0 Kudos
1,405

ajaydavar, what's your SAP version, when did SAP add this parameter (Also isn't this BAPI restricted to SAP Online Store?)

0 Kudos
1,405

Yes, we are not able to find EXTENSION field

0 Kudos
1,405

Did you able to achieve this ?

If yes, can you please share the details..

raymond_giuseppi
Active Contributor
0 Kudos
1,405

Did you try a class method such as CMD_EI_API=>MAINTAIN_BAPI ?

0 Kudos
1,405

No, I am looking for a BAPI or FM

0 Kudos
1,405

To my knowledge, there is none, no FM released by SAP in any case. (Even BAPI_CUSTOMER_CHANGEFROMDATA[1] and FM of group V02D are intended exclusively for use in the SAP Online Store)

With IDOC on a S4/HANA system you could look for BAdI such as DEBMAS_IDOC_EXTENSION and CUSTOMER_ADD_DATA_BI to find a workaround solution, but I have not tested this type of solution.