04-09-2007 4:12 PM
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
04-28-2007 6:21 AM
04-28-2007 11:49 AM
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
05-07-2007 7:46 AM
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.