We have an issue while editing Idoc data in SAP system.
We are getting materials from another system via MATMAS idoc and in SAP we have configured internal number range for material master creation for the particular material type.
When Idoc comes into the system we are calling FM BAPI_MATERIAL_GETINTNUMBER to get next available material number from number range and adding this number to Idoc MATNR field.
This logic processing the idocs successfully but when I check the data into idoc the field MATNR doesn't have any value.
Please let me know how we can overcome this issue?
I have taken reference from below thread:
Thanks & Regards,