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: 

Insert Classification for customer master

Former Member
0 Kudos

Hi All,

In XD01 when creating customer(SOLD-TO) I have to assign classification of SOLD-TO to all the partner functions (i.e SHIP-TO,BILL-TO, PAYER). To assign classification i am using Userexit exit_sapmf02d_001 and CLAF_CLASSIFICATION_OF_OBJECTS fm.

When i am using this FM i am getting a error "Updation termination of sold-to ".

Can anyone please help me out to figure out y this error is coming.

Or any other place were i can include the code to assign classification.

Regards

venu

3 REPLIES 3

Former Member
0 Kudos

Hey champs,

Can you pls help me.. iam facing the same problem

Former Member
0 Kudos

Hi

Enhancement SAPMF02D may not be the right place to create the classification data for a customer and its partners

try the BAPI

BAPI_OBJCL_CHANGE

by using the CLASS = '011' (customer class )

the fun module CLAF_CLASSIFICATION_OF_OBJECTS is used to get the existing characteristcis , use a similar type for the creation of classification

with class '011'.

reward points if useful

regards

Anji

0 Kudos

Hi ,

when inserting the classification for sold to (in tcode xd01=>extras=>classification), same classification we need to insert the partner functions also. Can u plz tell me the right place for inserting the classification for partner functions. I have tried in user exit(sapmf02d). when inserted the classification for partner functions its terminate the sold inserting classification(standard functionality). Even i am not calling any standerd functional modules .just i am checking the classification exist or not for partner functions.if does not exist then direct i am inserting the classification into table KSSK.

waiting for suggitions.....

Regards,

Rao.