Issued Solved .!!!
Closing thread
Issued Solved .!!!
Closing thread
It would be good to share how it was solved, then the next reader with the same issue does not need to post this question again and is not annoyed by those "answered" discussions that have no information how it was answered
1. Didn't get any FM to get list of files from Shared folder.
2 .Below is the answer for Second point :
CONCATENATE'\\your shared ip\foldername\xyz.txt INTO lv_path.
d_string = lv_path. " text.
CALLMETHOD cl_gui_frontend_services=>execute
EXPORTING
document = d_string
Hi All,
Can any one tell me what IDOCs means and for what they are used?
I googled but didn't find the proper definition for IDOC.
Any kind of suggestion is appreciated.
Thanks.
Praveen.
Try below links.
http://www.guru99.com/all-about-idocdefinition-architecture-implementation.html
IDoc Basics For Functional Consultants
https://www.youtube.com/watch?v=rF4PrOrKZKY
If you google it, you would get a lot.
Thanks,
Pravi
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
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?
Thanks Juergen,
We had already tried to replace the custom FM with the standard one. Still it seems the same issue persists.
If you have missing or invalid data then I'm quite confused what solution do you expect from SCN on this?
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.
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?
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?
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 .
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.
Juhani, It's been 6 years since you posted your reply, but I have to tell you, it just helped me! I could not understand why I wasn't getting the purchasing org data on the pir - until I followed your instructions and populated ESOKZ. Thanks!
I had the same problem,
Solved puttin the Table control declaration before Internal table declaration.
After this, I saved and logged off. When returned, I activated and tested. It was ok.
Good Luck!
Hi, Srinivas Kuchadi
Thanks for sharing. May you share your full code to clearing using BAPI_ACC_DOCUMENT_POST and CLEAR_DOCUMENTS too? I am already try your instruction to clear using these BAPI and function but my documents still not clear? Please help...
Best Regards
You should save Text file as UTF-8 encoded in Notepad
Hi Pankaj
The above solution is very useful for me. But how to prepare a source file for that ? How to prepare template with multiple entries ?
Thanks
Ramesh
I am trying to use BAPI_OUTB_DELIVERY_CREATE_SLS to create an Outbound Delivery from a Sales Order Trading Contract. The BAPI creates the Delivery from the SO easily enough, but how to do I control the shipping condition value that is created in LIKP (LIKP-VSBED)? I need the delivery to be created with a specific VSBED.
Thank you for any help that you can provide.