Skip to Content
0

Automatic customer extension on all company codes and all sales areas

Aug 04, 2017 at 06:54 AM

37

avatar image
Former Member

Hello!

From CRM system after replication we receive only master data of business partners and one or several sales areas. In CRM system we have no data about company codes. Then our users manually extend debtors on all company codes and sales areas. I need some automatic customer extension on all company codes and all sales areas.

I think I can do it through:

1) BAdI

2) user-exit or

3) BTE

I looked for FMs where have CHANGING/EXPORT parameters: KNB1 (for extension on all company codes) and KNVV (for extension on all sales areas).

1) There are 2 suitable BAdIs in XD01 transaction:
CUSTOMER_ADD_DATA
CUSTOMER_ADD_DATA_BI
Also there is CUSTOMER_ADD_DATA_CS, but there in their methods have not CHANGING/EXPORT parameters KNB1 and KNVV.
In CUSTOMER_ADD_DATA have 2 methods:

PRESET_VALUES_CCODE Preassign KNB1 Dependent of the General Data
PRESET_VALUES_SAREA Preassign KNVV Dependent of the General Data
They have CHANGING parameters E_KNB1 и E_KNVV, but they are structures, not tables, I can't insert several records to them.

In CUSTOMER_ADD_DATA_BI have method:
PROCESS_ALE_OWN_CHANGE_POINTER Evaluate Own Change Pointer
And he have CHANGING table-parameters T_KNB1_KEY and T_KNVV_KEY, but in description of this method is said about ALE - it seems not suitable - with ALE I have no experience.

2) user-exit
There is SAPMF02D - but there KNB1 and KNVV are sent as IMPORT parameters.

3) BTEs have such:
00001310 CUSTOMER MASTER DATA: GUI Callup
00001320 CUSTOMER MASTER DATA: Save
00001321 CUSTOMER MASTER DATA: Save with data transfer
00001330 CUSTOMER MASTER DATA: Key texts
00001340 CUSTOMER MASTER DATA: Final checks
00001350 CUSTOMER MASTER DATA: Individual duplication check
00001360 CUSTOMER MASTER DATA: Auth. check: Acct group
But there are like in user exit KNB1 and KNVV are sent as IMPORT parameters.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers