Skip to Content
0
May 31, 2017 at 10:41 AM

How to EDIT Incoming Idoc Data in Processing Function Module

245 Views

Hello Team,

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:

https://archive.sap.com/discussions/thread/1954090

Thanks & Regards,

Piyush