2016 May 26 3:56 PM
Hi ,
I am currently working for a integration project where the end system is the sap system , we are facing a strange behavior where some idocs are reaching in sap system but are not getting created . There are no logs in we02/we05 nor any entry in the control tables .
The issue is with the material creation or MATMAS message type .
The SAP system is of 4.6 c. and the basic type is MATMAS04 .
The inbound FM used is a custom FM in which we are doing some validations which are needed for our project .
While debugging i have seen , document no of the idoc remains intact within the entire FM.
The idoc misses out when we try to push a idoc with invalid data for a mandatory field for material creation .
As we are in a critical phase of the project . Responses will be greatly appreciated.
Thanks,
Laxmikant
2016 May 26 6:20 PM
If you have missing or invalid data then I'm quite confused what solution do you expect from SCN on this?
2016 May 26 4:03 PM
If it works well with the SAP standard FM then the error is certainly in your custom FM, but how shall we are able to tell you what is wrong if we do not see the coding?
2016 May 26 4:18 PM
Thanks Juergen,
We had already tried to replace the custom FM with the standard one. Still it seems the same issue persists.
2016 May 26 6:20 PM
If you have missing or invalid data then I'm quite confused what solution do you expect from SCN on this?
2016 May 26 9:33 PM
The issue is , idocs don't get created in sap even if reached SAP....the settings are fine. Is there any way to figure out the issue or anybody else have ever faced such type of issue.
2016 May 26 10:00 PM
It is a bit confusing, you are saying on one side that the idoc is missing, on the other side you debugged something. How can you debug something that is missing?
In which transaction are you when you start your debugging? What do you see in BD87. And why do you want to push an IDOC with invalid data? to where do you want to push it?
2016 May 27 3:15 PM
i can debug by putting a infinite loop in the beginning of the inbound FM . in debugging i can see the data in the idoc structure . but at the end of the inbound idoc function module when i press f8 and check in we02 , cant see the idoc created . Nor in edidc table also.
I dont want to push incorrect, but this is a bug raised by my client .
2016 May 27 3:37 PM
The problem is clearly in the ABAP code in the inbound function module. We can't know on SCN what that code is but an ABAPer should be able to help you with this.
Since you've already marked this as answered I guess it's all good now... If you found a solution yourself then kindly share with the community, so that others could learn from it too.
2016 May 26 10:47 PM
I'm also still confused what exactly is the issue and what you are trying to achieve... It's the data that reaches SAP and then an IDoc gets created, so saying "IDoc reached SAP but not created" simply makes no sense. If it's not created then there is no IDoc.
Kindly provide more details and clarify the question if you expect assistance on SCN. Maybe the issue is with your custom FM that you chose not to share with us. How would anyone know?