I want to save at runtime an internal table so I can see it in SM35 transaction...
REPORT zjmprueba MESSAGE-ID 56.
DATA: ibdc TYPE STANDARD TABLE OF bdcdata
WITH HEADER LINE.
ibdc-program = 'ZPSPNM009'.
ibdc-dynpro = '100'.
ibdc-dynbegin = 'X'.
CALL FUNCTION 'BDC_OBJECT_CREATE'
name = 'zpruebadata'
CLIENT = SY-MANDT
DATATYPE = '%BDC'
USER = SY-UNAME
HOLDDATE = ' '
KEEP = ' '
dynprotab = ibdc
SYSTEM_FAILURE = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
It doesn't work and it doesn't send any message. Anyone has made something like this?