Application Development and Automation 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: 
Read only

Upload classification data in MSC1N tcode.

former_member210804
Active Participant
0 Likes
1,740

Hi Experts,

I have a requirement to upload records from excel file to classification data tab where few fields needs to be filled.

Before filling it, i used FM 'BAPI_BATCH_CREATE' to create basic data . Then i used FM  'BAPI_OBJCL_CREATE'  to fill classification data.

(i.e. QC Release date, Batch creation date, Date Retested, Production Date, etc...).But these fields are not updating in classification. in return value,

the below entries are filled.

S CL                   506 Saving changes to assignments

I CL                   736 Assignment was not created

Could you please let me know how to process it ? Give me structure field(s) that i need fill in FM.

4 REPLIES 4
Read only

former_member188724
Contributor
0 Likes
1,306

Hi Narasimha,

You are trying to create characteristics. Why dont you use FM  CLVF_INSERT_AUSP for these characteristics.
ATINN -Characteristic description & ATWRT-value.

Hope this helps.

Regards,

KS

Read only

0 Likes
1,306

Hi K S,

i tried with FM BAPI_OBJCL_CHANGE , but not creating the classification data saying '

S CL                   506 Saving changes to assignmen

I CL                    736 Assignment was not created

I have passed

objectkey as meterial number and batch with space.

objecttable as AUSP

classnum  as EXP_PROD_DATE

classtype  as 023

in ALLOCVALUESCHARNEW table ,i filled the below entry.

CHARACT                        VALUE_CHAR

CREATION_DATE                  09202011

please tell me the incorrect entry that i made.

and

I have tried the FM CLVF_INSERT_AUSP, by passing

OBJEK = T1500-BULK   "meterial

ATINN  = CREATION_DATE

ATWRT  = 01/01/2014

But AUSP result table initial. Please let me know the all mandatory fields that i need to pass to create classification data for Tcode MSC1N.

Best regards,

Narasimha.

Read only

0 Likes
1,306

Hi,

Did you debug the FM.

Please see the link

http://scn.sap.com/thread/1816534

Will be helpful.

Regards,

KS

Read only

0 Likes
1,306

OBJECT TABLE should be   'MCH1'


i just lost a couple of hours checking the correct Object table to read classification for material batches.

Give a try and let me know.