‎2013 Apr 18 11:07 AM
Hi,
After some unsuccesful resarches i'm come here asking for you help.
I tried some BAPI in order to get idocs list, or at least an IDOCS display, but none of them was working except for SPI_IDOC_READ but i get only one IDOC.
I tried :l BAPI_DOCUMENT_GETLIST, BAPI_IDOCAPPL_DISPLAY, DSD_ME_IDOCSTAT_EXTRACTOR, EDI_DISPLAY_IDOCS, IDOCS_OUTPUT_TO...
Perhaps i didn't have the right syntax, could you tell me which BAPI i shoud use and with which syntax please ?
PS: I'm developping with Windev
Thanks for reading me, hope you would be able to help me.
‎2013 Apr 18 12:09 PM
Hi Alexandre,
I afraid that there no BAPI (or RFC enabled function module) available to get the entire IDOC list. In SAP, the details are stored in the tables EDIDC and EDID4.
You might want to contact the SAP consultants to develop a custom RFC enabled function module for getting the list of IDOC within a data range. You can call the custom RFC enabled function module from your Windev system.
I will also search to see if there are any standard BAPI's available for your requirement.
Cheers
~Niranjan
‎2013 Apr 18 12:59 PM
Hi Niranjan,
If there is any BAPI for this, do you think there is one for have all IDOCS Number and then i could treat them with SPI_IDOC_READ for example, or it could be enough if i can get IDOCS in a file or something like that, but threads about exporting idocs wern't very clear for me.
‎2013 Apr 18 2:09 PM
Hi,
Do you need the entire IDOC data, which includes control record, data records and status records? Or do you need only the IDOC number from SAP?
Cheers
~Niranjan
‎2013 Apr 18 4:14 PM
Firstly i'll need all IDOCS number then the entire IDOC DATA which i can have with SPI_IDOC_READ I supose
Thanks Niranjan for helping me.
‎2013 Apr 22 8:13 AM
Hi,
I got the FM IDOC_DATE_TIME_GET, but this is of very little use. You might want to contact the SAP consultants to develop a custom RFC enabled function module for getting the list of IDOC within a data range. You can call the custom RFC enabled function module from your Windev system.
Then you can use the FM SPI_IDOC_READ to read all the IDOC data.
Cheers
~Niranjan