Skip to Content
0
Former Member
Apr 09, 2008 at 10:12 AM

Updating a field in KNA1 table

916 Views

Hii ABAP Gurus,

Please help me out from the following situation....

Will reward points for the helpfull answers.

I have a requirement where i need to update only 1 field in KNA1 table.... for that iam using

update kna1 set loevm = 'X' where kunnr eq wa_output-kunnr.

But i know u people will suggest me to use BAPI. in that case i tried to use BAPI.

(BAPI_CUSTOMER_CREATEFROMDATA1)

I have never worked on BAPI....Can any one please help me out regarding how to use this BAPI and what to pass in and out.

call function 'BAPI_CUSTOMER_CREATEFROMDATA1'

exporting

pi_personaldata =

  • PI_OPT_PERSONALDATA =

pi_copyreference =

  • IMPORTING

  • CUSTOMERNO =

  • RETURN =

THANKS IN ADVANCE AND WILL REWARD POINTS FOR THE HELPFULL ANSWERS