‎2012 Jul 03 10:50 AM
Hi All,
I have a requirement wherein users wants to upload material data through an excel (csv) sheet. The program in-turn create IDOC with message type MATMAS and basic type MATMAS01 and post the material.
I developed the program but its giving error in the Log. Error is like:
Trying to create: <Plant>_____<Valuation Area>________
No Material Number Transferred
Blow are issues:
1. What all are the mandatory fields of segments which needs to be passed?
2. What should be message function value?
3. How to pass data to different segments in order to select different view like basic data 1,2; sales data 1,2 etc?
Any code help will be highly appreciated.
Thanks,
Praveen
‎2012 Jul 03 10:57 AM
Hi,
Probably, you must also transfer the material number. It sounds that for the specific material type, external number range is assigned. As for the required fields, it depends on the customizing.For the required segments, you can see from transaction WE30.
Regards.
‎2012 Jul 03 10:57 AM
Hi,
Probably, you must also transfer the material number. It sounds that for the specific material type, external number range is assigned. As for the required fields, it depends on the customizing.For the required segments, you can see from transaction WE30.
Regards.
‎2012 Jul 04 7:47 AM
Hi,
Yes, that's right. After transfering material number issue was resolved. Howvever, if I want to have system generated materila number where should I change the configuration so that material number is not transferred via excel.
Regards,
Praveen
‎2012 Jul 04 8:09 AM
You can use transaction MMNR for that. Each Group of material types is assigned to a number range object.