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.