on 2018 Jun 26 7:20 AM
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?
Request clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
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.
Hi Puneet,
Process remains same for MDG 8.0 as well, you might need to implement notes for performance improvement of DIF nothing else.
for triggering BADI please put a break point on access class as well.
Thanks
Arihant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Arihant for the quick reply.
So the problem is when I do the Data import, I am getting the log, that says message type detected for selected file, but the BAdI is not getting triggered or event no idoc is created (before which BAdI should get called, where I will put my logic to fill the segments).
Please advise if there is any thing that might be missing for the BAdI call?2018-06-26-12-35-43.png
The logs which you are getting is very normal which you will get every time you run Simulation or Import it.
you need to write logic in converter BADI only which will read the content from the file and will pass the data to idoc segments.
Try to put a debugger in access class as well as in converter BADI and see if it is getting triggered.
you can check for notes 2298612,2328823 see if they are already implemented if not then you may check with your basis team for system compatibility with these notes please.
Thanks
Arihant
Hello Arihant,
That exactly I want to do in here, is to write the custom logic in BAdI but unfortunately, I am unable to identify why it is not getting triggered at all. I did some further digging yesterday and found that files got selected but no custom request number is getting created and its showing files processed pending (See attachement)
. Only when files will be picked for processing, BAdI will be triggered.
Can you please advise what could be the possible reason for the BAdI not getting called?
User | Count |
---|---|
53 | |
9 | |
8 | |
6 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.