Skip to Content
0
Former Member
May 16, 2008 at 03:09 AM

How to run FM BDS_ALL_CONNECTIONS_GET

412 Views

Hi

I want the information from FD03 t code about the customer listing

how can i get very urgent

what should i do to execute the FM BDS_ALL_CONNECTIONS_GET to get the information from customer to get attachment list

what parameter do I have to pass

LOGICAL_SYSTEM = 'WG2-410'

classname = .......what information

CLASSTYPE = ..........what information

OBJKEY = '000000003809'

CLIENT = SY-MANDT

please let me know

*&----


**& Report Z_LIST_ACCOUNT *

**& *

*&----


**& *

**& *

*&----


*

REPORT Z_LIST_ACCOUNT .

Data: LOGICAL_SYSTEM LIKE BAPIBDS01-LOG_SYSTEM ,

CLASSNAME LIKE BAPIBDS01-CLASSNAME ,

CLASSTYPE LIKE BAPIBDS01-CLASSTYPE ,

OBJKEY LIKE SWOTOBJID-objkey,

CLIENT LIKE SY-MANDT ,

ALL LIKE BAPIBDS01-X .

DATA: ALL_C TYPE TABLE OF BDN_CON WITH HEADER LINE.

CALL FUNCTION 'BDS_ALL_CONNECTIONS_GET'

EXPORTING

LOGICAL_SYSTEM = 'WG2-110'

classname = 'BUS0012'

CLASSTYPE = 'BO'

OBJKEY = '000000003809'

CLIENT = SY-MANDT

ALL = 'X'

NO_AL_DOCS = ' '

NO_GOS_DOCS = ' '

  • CHECK_STATE = ' '

  • IMPORTING

  • COUNT = COUNT

TABLES

ALL_CONNECTIONS = ALL_C

  • SIGNATURE = SIGNATURE

  • FRAMEWORK = FRAMEWORK

EXCEPTIONS

NO_OBJECTS_FOUND = 1

ERROR_KPRO = 2

INTERNAL_ERROR = 3

NOT_AUTHORIZED = 4

OTHERS = 5.

*

*IF sy-subrc EQ 0.

*

*MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

*WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

*

*ENDIF."[/code]

LOOP AT ALL_C.

WRITE: / ALL_C-CLASSNAME.

WRITE: / ALL_C-CLASSTYPE.

WRITE: / ALL_C-OBJKEY.

WRITE: / ALL_C-LOIO_ID.

ENDLOOP.

CLEAR: ALL_C. REFRESH: ALL_C.