Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

LDB_PROCESS selections problem

Former Member
0 Kudos

Hi there dear ABAP'ers.

I've got such a question

I've got a standard report F.05, which doesn't do BD SELECTs directly, but instead it calls LDB_PROCESS FModule and processes a 'SDF' LDBase.


    call function 'LDB_PROCESS'
       exporting
            ldbname                     = 'SDF'
*          VARIANT                     =
           EXPRESSIONS                 =  sdf_expressions
*          FIELD_SELECTION             =
*          DYN_NODE_TYPES              =
       tables
            callback                    = gt_callback
           SELECTIONS                  =  seltab
       exceptions
        ... 

F.05 for G/L accounts valuation returns some 'aggregated' values, and I would like to debug it somehow.

When I debug the place in code where LDB_PROCESS is calleg, I see that FM's parameter 'SELECTIONS' contains an itab:


SELNAME  KIND SIGN OPTION LOW      
D_SAKNR|S   |I   |EQ    |3110000000
X_CURTP|S   |I   |EQ    |60        
D_BUKRS|S   |I   |EQ    |TCLZ      
D_GJAHR|S   |I   |EQ    |2009      

I try to edit a 'SDF' LDbase in SE36 transaction. I am launching a SELECTIONS screen, then try to insert into screen fields values as in FModule's parameter itab, and when I wish to launch LDB program I got an error message, that one more parameter is missed (key date for open items).

So how does it work that LDB_PROCESS doesn't pass the key date parameter and it fetches data from LDBase correctly, whilst when I launch LDB manually from SE36 - it needs one more additional parameter?

Another thing is ... why when I set a breakpoint in LDB program, after launching F.05 - debugger does not stop at LDB's breakpoint ... I thought that when launching LDB_PROCESS sap launches a LDB's program to gather appropriate data ...

Greetings. P.

Edited by: Piotr Wojciechowski on Oct 30, 2009 2:12 PM

Edited by: Piotr Wojciechowski on Oct 30, 2009 2:12 PM

1 REPLY 1

raymond_giuseppi
Active Contributor
0 Kudos

try transaction FBL3N with use LDB SDF, it uses flags to select cleared, non cleared or all items, depending on the flag selected some different dates are to be provided.

Regards,

Raymond