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

report

Former Member
0 Likes
348

hi

i need details to Create Material Master report for existing stock details.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
277

hi chaitu,

Creating a Material Master Record

Prerequisites

Before you create (not extend) a material master record, check that one does not already exist for this material. You can check this using the search help or by calling up the materials list.

Check whether a material master record exists for a similar material that you can use as a reference; that is, whose data you can copy as default values.

Procedure

In the Material Master menu, choose one of the following options:

– If you want the data to be available immediately, choose Material ® Create (general) ® Immediately.

– If you want to schedule the material master record, choose Material ® Create (general) ® Schedule.

– If you want to create a material master record of a particular material type, choose Material ® Create (special) ® < Material type>. This saves you having to enter the material type on the following screen. However, it is not possible to schedule material master records of this kind.

The initial screen for creating a material master record appears.

Enter the following data:

– Material number (only in the case of external number assignment and if allowed by the material type; otherwise leave this field blank)

– Industry sector

– Material type (unless you have created the material by choosing Material ® Create (special) ® < Material type>)

If you want to use another material master record as a reference, enter the number of the reference material under Copy from.

If you are scheduling the material master record, enter the following data:

– Key date from which the material master record is to be valid

– Change number if you want to use engineering change management

If you have entered a key date, the system checks that it does not precede the valid-from date of the change number. If you have not entered a key date, the system uses the valid-from date of the change number. In both cases, the date must be in the future.

Choose Enter.

The Select View(s) dialog box appears. The views displayed at this point depend on how the material type has been configured in Customizing for the Material Master in Define Attributes of Material Types.

Select the views, that is, the user departments, for which you want to enter data and choose Enter.

The Organizational Levels dialog box appears.

Specify the organizational levels as required and, if appropriate, enter a profile.

If you have specified a reference material, also specify under Copy from the organizational levels of the reference material whose data is to be copied as default values. If you do not do this, the system will copy only the data at client level.

Choose Enter.

The data screen for the first user department appears.

Enter the material description and the base unit of measure in the appropriate fields (if not already copied from the reference material). This information is mandatory and identical for all user departments. Consult with the other users to decide what you are going to enter here.

Enter the data for your user department as required.

Choose Enter to access the data screen for the next user department and enter your data for the other user departments selected in the Select View(s) dialog box. The system issues a message telling you when you have reached the data screen for the last user department selected.

If you want to enter data for a user department that you did not select in the Select View(s) dialog box, you can access the user department direct by choosing it, but only if you are authorized to process data for this user department and if the user department is allowed by the material type.

Save your data.

The initial screen appears, where you can start to create the next material master record.

Creating Material Master Data

Once you have made all the settings required to distribute materials, you can create a material and then distribute it.

Log on again to the sending system and follow these steps:

Choose Logistics ® Materials management ® Material master from the material master maintenance.

Choose Material ® Create (general) ® Immediately.

Enter the material, industry sector and material type.

Make sure that the industry sector and material type you enter are known in the receiving system. Otherwise, errors will occur when you post the material in the receiving system.

Material: Material001

Industry sector: mechanical engineering

Material type: finished product

Choose Select view and then Basic data.

Enter the basic data of your material.

To avoid any errors occurring during data transfer, make sure that the receiving system will understand the information you have entered.

Material short text: Material for ALE: First steps

Base unit of measure: ST

Save the material.

Sending Material Master Data

Use

You can send materials and material variants to a target system.

Procedure

Choose General ® Material ® Send.

Enter the following data:

The material that you have created

Message type: MATMAS for R/3 standard, ARTMAS for R/3 Retail

A target system

If you want to send configuration values for material variants in the IDoc of the material master record, activate the Send Material Completely indicator.

Specify the application server you want to use.

If you want to send more than one material at a time, specify the number of materials that you want to send together.

Choose Execute.

You should now be able to display your material in the receiving system. If the material is not available here, either the transmission has not yet finished or an error has occurred. The next step shows you how to check the communication and detect any errors.

IDoc Interface/ALE

Purpose

The IDoc interface exchanges business data with an external system.

The IDoc interface consists of the definition of a data structure, along with processing logic for this data structure.

The data structure is the IDoc. The IDoc is the exchange format common to all the communicating systems. You can specify exception handling in the SAP Business Workflow, with IDocs, without the data already having to exist as SAP application documents.

You need the IDoc interface in the following scenarios:

· Electronic data exchange (EDI)

· Connect other business application systems (e.g. PC applications, external Workflow tools) by IDoc

· Application Link Enabling (ALE).

Application Link Enabling (ALE) is a technology to create and run distributed applications.

Distribution of Material Variants

Use

If you use ALE to distribute Material Variants, you can send the values assigned during configuration in the IDocs of the material master. You have the following alternatives:

Send material variants directly

Send material variants using change pointers

The system generates a change pointer when you create or change a material in dialog mode, if the values assigned to a material variant during configuration are changed, and if the generation of change pointers is activated for message type MATMAS.

Integration

The following rules apply when saving configuration data:

Before transporting the configuration, the following data must already exist in the target system:

The configurable material (KMAT)

Characteristics

Classes

Class assignment for the configurable material

Configuration profile

Dependencies, if required

In the target system, the system uses the object dependencies to run checks in the background, and only saves the configuration if it is consistent and complete.

The configuration profile is transported with the IDoc for information only, and is not saved. However, the source system compares the configuration profile in the IDoc with the configuration profile in the target system. The material is only saved if the two profiles have the same scenario and the same name.

These consistency checks can be switched off or made less thorough by implementing one or more of three modifications.

The following restrictions apply when sending configuration data:

Configurations for mySAP Retail cannot be transferred.

If you have used a user exit to implement multilevel configuration for material variants (see note 211898), multilevel configurations of material variants cannot be transported.

If units of measure are overwritten in the configuration, the units are not transported as overwritten. The unit of measure defined in the characteristic is always transferred to the target system.

If you use an IDoc to overwrite material master data in the target system, and the IDoc does not contain a configuration but the target system does, the configuration remains unchanged in the target system – it is not deleted.

If you change the cross-plant material status, thereby releasing the distribution lock for a material, the material is sent in its entirety. In this case, all configuration data is sent with it. This also applies if the material status was not changed in dialog mode (for example, planned changes were activated, or an IDoc was imported).

Prerequisites

You have defined the following settings in Customizing for the material master:

Send direct

In Customizing for the material master, choose Basic Settings then Make Global Settings and set the When Sending Complete Material indicator.

Send using change pointer

In Customizing for the material master, choose Basic Settings then Make Global Settings and set the When Configuration Is Changed indicator.

Activities

To send direct, proceed as follows:

In the SAP Easy Access Menu, choose Tools ® ALE ® Master Data Distribution ® Cross-Application ® Material ® Send.

Enter the material you want to distribute, and the class belonging to it (see also Sending Material Master Data).

To send with change pointers, proceed as follows:

From the SAP Easy Access Menu, choose Logistics ® Materials Management ® Material Master ® Create/Change (see also Creating a Material Master Record, and Changing a Material Master Record with Immediate Effect).

Change the configuration values assigned to the selected material (see also Maintaining Material Master Records for Variants).

The system generates a change pointer.

Changing a Material Master Record with Immediate Effect

In the Material Master menu, choose Material ® Change ® Immediately.

The initial screen appears.

Enter a material number.

If you want to refer to a change number, enter one in the appropriate field. The date of the change number must be prior to or the same as the current date.

Choose Enter.

The Select View(s) dialog box appears.

Select the user departments whose material data you want to change and choose Enter.

The Organizational Levels dialog box appears.

Enter your organizational levels and choose Enter.

The first data screen appears.

Make your changes and save them.

thanks

karthik

reward me ponts if usefull

1 REPLY 1
Read only

Former Member
0 Likes
278

hi chaitu,

Creating a Material Master Record

Prerequisites

Before you create (not extend) a material master record, check that one does not already exist for this material. You can check this using the search help or by calling up the materials list.

Check whether a material master record exists for a similar material that you can use as a reference; that is, whose data you can copy as default values.

Procedure

In the Material Master menu, choose one of the following options:

– If you want the data to be available immediately, choose Material ® Create (general) ® Immediately.

– If you want to schedule the material master record, choose Material ® Create (general) ® Schedule.

– If you want to create a material master record of a particular material type, choose Material ® Create (special) ® < Material type>. This saves you having to enter the material type on the following screen. However, it is not possible to schedule material master records of this kind.

The initial screen for creating a material master record appears.

Enter the following data:

– Material number (only in the case of external number assignment and if allowed by the material type; otherwise leave this field blank)

– Industry sector

– Material type (unless you have created the material by choosing Material ® Create (special) ® < Material type>)

If you want to use another material master record as a reference, enter the number of the reference material under Copy from.

If you are scheduling the material master record, enter the following data:

– Key date from which the material master record is to be valid

– Change number if you want to use engineering change management

If you have entered a key date, the system checks that it does not precede the valid-from date of the change number. If you have not entered a key date, the system uses the valid-from date of the change number. In both cases, the date must be in the future.

Choose Enter.

The Select View(s) dialog box appears. The views displayed at this point depend on how the material type has been configured in Customizing for the Material Master in Define Attributes of Material Types.

Select the views, that is, the user departments, for which you want to enter data and choose Enter.

The Organizational Levels dialog box appears.

Specify the organizational levels as required and, if appropriate, enter a profile.

If you have specified a reference material, also specify under Copy from the organizational levels of the reference material whose data is to be copied as default values. If you do not do this, the system will copy only the data at client level.

Choose Enter.

The data screen for the first user department appears.

Enter the material description and the base unit of measure in the appropriate fields (if not already copied from the reference material). This information is mandatory and identical for all user departments. Consult with the other users to decide what you are going to enter here.

Enter the data for your user department as required.

Choose Enter to access the data screen for the next user department and enter your data for the other user departments selected in the Select View(s) dialog box. The system issues a message telling you when you have reached the data screen for the last user department selected.

If you want to enter data for a user department that you did not select in the Select View(s) dialog box, you can access the user department direct by choosing it, but only if you are authorized to process data for this user department and if the user department is allowed by the material type.

Save your data.

The initial screen appears, where you can start to create the next material master record.

Creating Material Master Data

Once you have made all the settings required to distribute materials, you can create a material and then distribute it.

Log on again to the sending system and follow these steps:

Choose Logistics ® Materials management ® Material master from the material master maintenance.

Choose Material ® Create (general) ® Immediately.

Enter the material, industry sector and material type.

Make sure that the industry sector and material type you enter are known in the receiving system. Otherwise, errors will occur when you post the material in the receiving system.

Material: Material001

Industry sector: mechanical engineering

Material type: finished product

Choose Select view and then Basic data.

Enter the basic data of your material.

To avoid any errors occurring during data transfer, make sure that the receiving system will understand the information you have entered.

Material short text: Material for ALE: First steps

Base unit of measure: ST

Save the material.

Sending Material Master Data

Use

You can send materials and material variants to a target system.

Procedure

Choose General ® Material ® Send.

Enter the following data:

The material that you have created

Message type: MATMAS for R/3 standard, ARTMAS for R/3 Retail

A target system

If you want to send configuration values for material variants in the IDoc of the material master record, activate the Send Material Completely indicator.

Specify the application server you want to use.

If you want to send more than one material at a time, specify the number of materials that you want to send together.

Choose Execute.

You should now be able to display your material in the receiving system. If the material is not available here, either the transmission has not yet finished or an error has occurred. The next step shows you how to check the communication and detect any errors.

IDoc Interface/ALE

Purpose

The IDoc interface exchanges business data with an external system.

The IDoc interface consists of the definition of a data structure, along with processing logic for this data structure.

The data structure is the IDoc. The IDoc is the exchange format common to all the communicating systems. You can specify exception handling in the SAP Business Workflow, with IDocs, without the data already having to exist as SAP application documents.

You need the IDoc interface in the following scenarios:

· Electronic data exchange (EDI)

· Connect other business application systems (e.g. PC applications, external Workflow tools) by IDoc

· Application Link Enabling (ALE).

Application Link Enabling (ALE) is a technology to create and run distributed applications.

Distribution of Material Variants

Use

If you use ALE to distribute Material Variants, you can send the values assigned during configuration in the IDocs of the material master. You have the following alternatives:

Send material variants directly

Send material variants using change pointers

The system generates a change pointer when you create or change a material in dialog mode, if the values assigned to a material variant during configuration are changed, and if the generation of change pointers is activated for message type MATMAS.

Integration

The following rules apply when saving configuration data:

Before transporting the configuration, the following data must already exist in the target system:

The configurable material (KMAT)

Characteristics

Classes

Class assignment for the configurable material

Configuration profile

Dependencies, if required

In the target system, the system uses the object dependencies to run checks in the background, and only saves the configuration if it is consistent and complete.

The configuration profile is transported with the IDoc for information only, and is not saved. However, the source system compares the configuration profile in the IDoc with the configuration profile in the target system. The material is only saved if the two profiles have the same scenario and the same name.

These consistency checks can be switched off or made less thorough by implementing one or more of three modifications.

The following restrictions apply when sending configuration data:

Configurations for mySAP Retail cannot be transferred.

If you have used a user exit to implement multilevel configuration for material variants (see note 211898), multilevel configurations of material variants cannot be transported.

If units of measure are overwritten in the configuration, the units are not transported as overwritten. The unit of measure defined in the characteristic is always transferred to the target system.

If you use an IDoc to overwrite material master data in the target system, and the IDoc does not contain a configuration but the target system does, the configuration remains unchanged in the target system – it is not deleted.

If you change the cross-plant material status, thereby releasing the distribution lock for a material, the material is sent in its entirety. In this case, all configuration data is sent with it. This also applies if the material status was not changed in dialog mode (for example, planned changes were activated, or an IDoc was imported).

Prerequisites

You have defined the following settings in Customizing for the material master:

Send direct

In Customizing for the material master, choose Basic Settings then Make Global Settings and set the When Sending Complete Material indicator.

Send using change pointer

In Customizing for the material master, choose Basic Settings then Make Global Settings and set the When Configuration Is Changed indicator.

Activities

To send direct, proceed as follows:

In the SAP Easy Access Menu, choose Tools ® ALE ® Master Data Distribution ® Cross-Application ® Material ® Send.

Enter the material you want to distribute, and the class belonging to it (see also Sending Material Master Data).

To send with change pointers, proceed as follows:

From the SAP Easy Access Menu, choose Logistics ® Materials Management ® Material Master ® Create/Change (see also Creating a Material Master Record, and Changing a Material Master Record with Immediate Effect).

Change the configuration values assigned to the selected material (see also Maintaining Material Master Records for Variants).

The system generates a change pointer.

Changing a Material Master Record with Immediate Effect

In the Material Master menu, choose Material ® Change ® Immediately.

The initial screen appears.

Enter a material number.

If you want to refer to a change number, enter one in the appropriate field. The date of the change number must be prior to or the same as the current date.

Choose Enter.

The Select View(s) dialog box appears.

Select the user departments whose material data you want to change and choose Enter.

The Organizational Levels dialog box appears.

Enter your organizational levels and choose Enter.

The first data screen appears.

Make your changes and save them.

thanks

karthik

reward me ponts if usefull