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

Problem in material creation using IDoc

surya_prakash18
Explorer
0 Likes
3,947

Hello Experts,

I am creating material in ECC using Inbound Idoc (MATMAS05) using Idoc processing function module IDOC_INPUT_MATMAS01.

For the material type 'XXXX' which is only having BASIC DATA1, BASIC DATA2 views, material is created successfully but manufacturer part number(MARA-MFRPN) is not getting updated. IDoc in success status '53' but in the application log it has warning "The field MARA-MFRPN is not ready for input and therefore was not updated".

For the other material type 'ZZZZ' which is having all the material master views, material created successfully with manufacturer part number.

As per my analysis, Idoc processing function module is using direct input technique to create/change a material and it is using MAL1/MAL2 transaction codes.


Could you please guide me on the below points to resolve the issue:

1) Is there any configuration for fields specific to material type for updating using ALE(Direct input method)?

2) Any specific configuration related to transactions MAL1/MAL2?



Thanks in advance.


Surya



1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
3,444

Hi Surya,

This is screen sequence problem only. Check the materia type specific field selection for Manufacturer part number.

Screen sequence 12 - Manufacturer part number

Thanks,

Kiran

12 REPLIES 12
Read only

Former Member
0 Likes
3,445

Hi Surya,

This is screen sequence problem only. Check the materia type specific field selection for Manufacturer part number.

Screen sequence 12 - Manufacturer part number

Thanks,

Kiran

Read only

0 Likes
3,444

Hi Kiran,

Thanks for your reply.

As suggested, I have checked field selection group for manufaturer part number.

Manufacturer part number exist in basic data1 tab and the maintenance status for that field is "EDVKALBQPSZXCFG". As the material type is only having basic data 1 and basic data 2 tabs, is it the correct material status to have? Please suggest.

Regards,

Surya

Read only

0 Likes
3,444

Hi,

I guess manufacturer part number will be available at purchasing level.  You have the field status as E in that.  I mean the field is plant specific field

Can you check the material directly in MM02 and purchasing view is it hide, enable or display.

Thanks,

Kiran

Read only

0 Likes
3,444

Read only

0 Likes
3,444

Hi Kiran,

Thanks for your reply.

I have checked MM02, Manufacturing part number exist in 'Basic Data1' View.

For the material type 'XXXX' which I mentioned only 3 views exist. Basic data1, Basic data2, Classification view.

I think MFRPN field is customized from purchasing view to Basic Data1 view for this material type.

Is the maintenance status 'EDVKALBQPSZXCFG' for MFRPN is correct? or there could be someother issue?

Please suggest.

Regards,

Surya

Read only

0 Likes
3,444

Hi Surya,

Please check the below information on your SPRO settings for your material type.

LOGISTIC GENERAL->MATERIAL MASTER->FIELD SELECTION->ASSIGN FIELDS TO FIELDS SELECTION

Click on arrow mark button – field reference is nothing but your material type check the MFRPN is optional or hide.

Read only

0 Likes
3,444

Hi Kiran,

Thanks for your reply.

As suggested, I have checked SPRO --> Field selection group 123 (MFRPN exist in this group).

For the field selection group 123, The Z-material type is not configured in section 'Field selection'.

Instead material type HALB is referring to Z-material type.

For HALB material type, MFRPN is 'Optional Entry'.

Attached screen grabs.

Please check and suggest what would be the issue.

Regards,

Surya

Read only

0 Likes
3,444

Hi Surya,

just check directly in MAL1/MAL2 transaction, how the field is appearing for the error material.

is it hide/display/enabled?

Read only

0 Likes
3,444

Hi Kiran,

I will check MFRPN field in MAL1 transaction and get back to you.

Thank You.

Regards,

Surya

Read only

0 Likes
3,444

Hi Kiran,

I have checked MAL1/MAL2, Manufacturer part number (MFRPN) is in editable mode.

For the material type 'XXXX' which is only having 'Basic data' and 'Classification view', Is it the correct status to have for field MARA-MFRPN 'EDVKALBQPSZXCFG'??

Please suggest.

Regards,

Surya

Read only

0 Likes
3,444

Hi Kiran,

I have found the issue by debugging standard code. It is a customizing issue.

In OMS2, For material type 'XXXX', no values maintained for 'Ext. Purchase order' (T134-BSINT) and 'Int. Purchase orders' (T134-BSEXT). If no value maintained in these fields, field MARA-MFRPN is made 'Inactive'.

T134-BSINT, T134-BSEXT fields should contain values '1' or '2'.

After entering value in 'Ext. Purchase order' and 'Int. Purchase orders', I have tested and it is working as expected.

Thanks a lot for your help.

Regards,

Surya

Read only

0 Likes
3,444

Great Surya