2008 Sep 25 2:26 PM
Hi,
How can i call FM 'BDS_ALL_CONNECTIONS_GET' with parameters that selection-options range?
that right;
DATA: CLASSNAME LIKE BAPIBDS01-CLASSNAME ,
CLASSTYPE LIKE BAPIBDS01-CLASSTYPE ,
objkey LIKE BDN_CON-OBJKEY ,
CALL FUNCTION 'BDS_ALL_CONNECTIONS_GET'
EXPORTING
logical_system = logical_system
classname = classname
classtype = classtype
objkey = objkey
client = client
all = ' ' " <- get the newest version
no_gos_docs = ' ' " <- get Gos docs too
IMPORTING
count = i_count
TABLES
signature = signature
all_connections = connections
framework = framework
EXCEPTIONS
no_objects_found = 1
error_kpro = 2
internal_error = 3
not_authorized = 4
OTHERS = 5.
how can i do it when i defined that parameters as selection-options that
select-options :
CLASSN FOR TOJTB-NAME OBLIGATORY DEFAULT 'BUS2032' ,
CLASSTYP FOR BAPIBDS01-CLASSTYPE OBLIGATORY DEFAULT 'BO' ,
OBJKY FOR BAPIBDS01-OBJKEY OBLIGATORY DEFAULT '0000000011'.
can somebody help me pls ?
thanks.
2008 Sep 25 2:33 PM
2008 Sep 25 2:38 PM
You need to keep the selection variables this way.
selection-screen begin of block object with frame title text-001.
parameters: classn(30) obligatory memory id oao,
classtyp like bapibds01-classtype obligatory
memory id ctype value check,
objkey(70) memory id oai.
selection-screen end of block object.
i think in sap we don't have table with above said keys to make select and get the records
a®
2008 Sep 25 2:49 PM
yes i already did that
i'm trying to call that FM with a selection-options range.
thanks also.