cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to Trigger BAdI: Creation of File Converter for Data Import

puneetsabharwal
Explorer
0 Kudos
668

Hello Experts,

We have a scenario, where we need to load materials for entity types using a single .csv file from MDG-M Data import Framework (DIF). I referred the doc 'How to... Master Data Governance for Material: Use the Data Import Framework for Material' (Applicable for EHP6, MDG 6.1 & MDG 7.0) and implemented the BAdI accordingly.

I have also referred the following URL: https://blogs.sap.com/2017/03/02/data-import-framework-for-importing-multiple-materials/, but when tested, BAdI is not getting triggered.

On further analysis I found that our system is on MDG 8.0.

Please advise if the process is still the same for newer versions or we need to implement some SAP notes to make that happen?

What could be the possible solution for the above problem statement?

View Entire Topic
former_member200911
Participant
0 Kudos

Hi Puneet,

If it is showing in pending status means the process is still running or if it fails after some time then it is certainly an issue with the data in the file which needs to be checked first and as far as BADI is concerned i have mentioned earlier that you need to put a break point in access class as well probably the save/read method along with the converter BADI.

Thanks

Arihant

puneetsabharwal
Explorer
0 Kudos

Thank you Arihant for your suggestions. I checked again and I can see the BAdI is getting triggered and data is being picked from csv file, but no change request is created which contains the Materials information from the file. The status for files processed corresponding to the run number is "Pending".

Can you please let me know what could be the possible reason?

puneetsabharwal
Explorer
0 Kudos

Hello Arihant,

Thank you for your continuous inputs. So as of now I am able to trigger the BADI and have my custom logic to map file data with IDOC segment data.. But still no material is created.. No IDOC got created, no CR# is getting created.

The status of Run number is still Files pending to process.

Please advise.