cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_CUSTOMER_CHANGEFROMDATA1 handling in BSP

Former Member
0 Kudos
82

Hello Sir/Madam,

How to get PI_SALESORG,

PI_DISTR_CHAN,

PI_DIVISION

dynamically, means according to the Customer No. I want to get.

Thanking You,

Netaji.B

SE, Yash Technologies,

Hyderabad.

CALL FUNCTION 'BAPI_CUSTOMER_CHANGEFROMDATA1'

EXPORTING

PI_PERSONALDATA =

PI_PERSONALDATAX =

  • PI_OPT_PERSONALDATA =

  • PI_OPT_PERSONALDATAX =

  • PI_COMPANYDATA =

  • PI_COMPANYDATAX =

  • PI_OPT_COMPANYDATA =

  • PI_OPT_COMPANYDATAX =

PI_SALESORG =

  • PI_DISTR_CHAN =

  • PI_DIVISION =

CUSTOMERNO =

  • IMPORTING

  • RETURN =

.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Netaji,

You can check out the DB table KNVP which contains Customer Master Partner Functions. The fields VKORG,

VTWEG, SPART correspond to Sales Organization, Distribution Channel, Division respectively of a particular customer. So whenever the user enters Customer number and clicks the button, onInput processing Event handler before calling the BAPI, get those fields.

Hope this helps you.

Regards,

Ravikiran.C

Message was edited by: Ravikiran C

Answers (0)