on 2005 Dec 01 9:44 AM
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 =
.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
70 | |
10 | |
10 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.