Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Calling FM 'BDS_ALL_CONNECTIONS_GET'

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.

Tags:
Not what you were looking for? View more on this topic or Ask a question