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: 

View actual data from an EXPORT statement in the debugger

Former Member
0 Kudos

Attention ABAP pros, ninjas, and rock stars:

I am trying to learn more about some standard SAP code that is having a runtime error.

IF NOT gv_cluster_key IS INITIAL.

* Get the combinations

  IMPORT it_combi TO <plobs_in_view>

      FROM DATABASE indx(dp) ID gv_cluster_key.

ENDIF.

There is a mismatch on what is being imported and bombs on the IMPORT statement.

It would be great if there was a way to see what was being stored at the memory location, and then therefore get a hint as to where the mismatch is.

In debug, I have used Special Tools/System Areas (Internal); Area - MEMORIES and don't see anything that makes sense.

Is there a way to see what's in that memory location?

Thank you in advance.

G Allen

@glenn_a_allen

2 REPLIES 2

custodio_deoliveira
Active Contributor
0 Kudos

Hi Glen,

This is not a memory location, this is database cluster table INDX. AFAIK there's no (standard) way to display the data.

I guess your best chance is try to track the export and make sure the structure being exported is the same as the one being imported (including names). Also, you can put your import inside a try / catch, catching exception  CX_SY_IMPORT_MISMATCH_ERROR.

Cheers,

Custodio

former_member195402
Active Contributor
0 Kudos

Hi Glenn,

please check the SAP notes 1590418 and 1623389 for your issue

http://service.sap.com/sap/support/notes/1590418

http://service.sap.com/sap/support/notes/1623389

Regards,

Klaus