Hi All
I have following problem with this FM BAPI_DOCUMENT_GETLIST2. I was looking a lot on different forums but I cannot find answer which corresponds to my problem.
I have in DMS saved files for our customer and Iu2019m using object linking as
Objlinkselection-DOKOB = KNA1
Objlinkselection- OBJKY = KUNNR.
It works well, but it takes all doc from beginning. Iu2019d like to make selection that final table documentdata is in range of defined range date with values 20111201 to 20111231
Now I have to select all documents for this customer and after that I have to make loop to get correct files. And it takes a huge time and in a few years it will collaps 😊
LOOP AT LT_DOCUMENTDATA INTO <FS> WHERE CREATEDATE IN rn_DATE. ... ENDLOOP.
Any hint how to make this faster?
Just to avoid any misunderstandings, I'm not asking on loop speed but how to select by FM less rows based on create date.
Thank a lot fo any hint
Petr