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

Material Characteristics

Former Member
0 Likes
1,540

Hi,

I have class details & batch no. of a material.But i am not getting characteristics values of each material.

Which table contains these information.How can i relate class with characteristics?

7 REPLIES 7
Read only

Former Member
0 Likes
1,155

MARA or MM03

Read only

Former Member
0 Likes
1,155

hi

i didnt get wat data ur asking abt meterial

try mseg, mkpf, mara, marc, mard, makt

these are the main tables for materials

shiva

Read only

Former Member
0 Likes
1,155

AUSP and CABN

eg,

TYPES: BEGIN OF tp_kssk_klah,

objek LIKE kssk-objek, " Key of object to be classified

mafid LIKE kssk-mafid, " Indicator: Object/Class

klart LIKE kssk-klart, " Class Type

clint LIKE kssk-clint, " Internal Class Number

adzhl LIKE kssk-adzhl, " Internal counter for archiving objects via engin. chg. mgmt

aennr LIKE kssk-aennr, " Change Number

class LIKE klah-class, " Class number

END OF tp_kssk_klah.

TYPES: BEGIN OF tp_kssk_ksml,

objek TYPE kssk-objek,

klart TYPE kssk-klart,

clint TYPE kssk-clint,

atnam TYPE cabn-atnam,

mafid TYPE kssk-mafid,

posnr TYPE ksml-posnr,

adzhl TYPE kssk-adzhl,

imerk TYPE ksml-imerk,

END OF tp_kssk_ksml.

DATA : ig_kssk_klah TYPE STANDARD TABLE OF tp_kssk_klah WITH HEADER LINE,

ig_kssk_ksml TYPE STANDARD TABLE OF tp_kssk_ksml WITH HEADER LINE.

SELECT aobjek amafid aklart aclint aadzhl aaennr

b~class

INTO TABLE fp_ig_kssk_klah

FROM kssk AS a JOIN klah AS b

ON aklart EQ bklart

AND aclint EQ bclint

FOR ALL ENTRIES IN it_matnr

WHERE a~objek EQ it_matnr-matnr

AND b~klart IN s_klart

AND b~class IN s_class.

SELECT aobjek aklart aclint catnam amafid bposnr aadzhl bimerk

INTO TABLE fp_ig_kssk_ksml

FROM kssk AS a JOIN ksml AS b

ON aclint EQ bclint

AND aklart EQ bklart

JOIN cabn AS c

ON bimerk EQ catinn

FOR ALL ENTRIES IN fp_ig_kssk_klah

WHERE objek EQ fp_ig_kssk_klah-objek

AND a~clint EQ fp_ig_kssk_klah-clint

AND a~klart IN s_klart.

Read only

Former Member
0 Likes
1,155

Use the function module VC_I_GET_CONFIGURATION.

Find the below example prog. which give you an idea of how to use the Fn module VC_I_GET_CONFIGURATION.


v_config = wa_vbap-cuobj.
if v_config is not initial.
	CALL FUNCTION 'VC_I_GET_CONFIGURATION'
	 EXPORTING
	  INSTANCE = v_config
	 TABLES
	  CONFIGURATION = i_configuration.
               IF SY-SUBRC <> 0.
                * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                * WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
              ENDIF.
loop at i_configuration into wa_configuration.
	if wa_configuration-ATNAM = 'A_THICK_MM'.
		v_thick = wa_configuration-atwtb.
	endif.
	if wa_configuration-ATNAM = 'A_WIDTH_MM'.
		v_width = wa_configuration-atwtb.
	endif.
endloop.
endif.

Read only

Former Member
0 Likes
1,155

Hi

From Table aufm get charg as batch no. then get atinn from table ausp. then pass atinn in table cawn get atwrt as charecteristic value.

It will be helpfull.

Regards

Srimanta

Read only

Former Member
0 Likes
1,155

Hi,

I am getting the field OBJEK from table KSSK.but it is displayed in number.How can i convert to text to see the value?

Read only

Former Member
0 Likes
1,155

Thanks