Skip to Content
avatar image
Former Member

ABAP Run time error when display the Customs Export declarations


I'm receiving ABAP Run time error when display the Customs Exp. Declarations Under SAP Customs Processing -> Customs Processing - Import / Export -> Monitoring.

Error messaging point to Function Module - /SAPSLL/CUHD_LOAD_SELECTION.

While debugging we found that Primary Key of the below structures are not the same

lt_corpar type /sapsll/corpar_t

lt_corpar_ht type /sapsll/corpar_k02_ht

Does anyone has the SAP Notes or solution to this issue other than changing the structures manually. I'm not sure about the impact if i change manually

Error message short details


Termination occurred in the ABAP program "/SAPSLL/SAPLCUHD_SELECTION" - in


The main program was "/SAPSLL/CULO_DISPLAY_CUS_EXP ".

In the source code you have the termination point in line 144

of the (Include) program "/SAPSLL/LCUHD_SELECTIONU01".


We are on GTS Release 8.0 and Support Package SAPK-80014INSAPSLL (Support pack level 14).


Pradeep Maddi

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Sep 05, 2011 at 03:38 PM

    Hi Pradeep,

    Don't go changing the Dictionary Structures - that's just asking for trouble!

    I don't think there's anything wrong with the structures. The "hash" version of the structure necessarily has a simpler key - that's a feature. I think the problem is more likely that the selection found duplicate records, from the point of view of the hash table. In debug, you should be able to check for that - check the contents of table lt_corpar after the call to DATA_SELECTION_POST. The problem could certainly happen if you have two or more instances of the same Partner Function in one Customs Document - and I guess that's what's going on.

    Please come back if you continue to have problems.

    Best regards,


    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 08, 2011 at 05:09 AM

    Hello Pradeep,

    have you checked 1531799 - Runtime error in outbound activities display?

    It is in SP 15 correction instructions are for object /SAPSLL/CUHD_SELECTION.



    Add comment
    10|10000 characters needed characters exceeded

    • Hi Pradeep,

      As already mentioned, I think the problem may be due to duplicate partner functions. Check which Partner functions you have in the Customs Declaration, and make sure that you don't have the same Partner Function more than once (for example, 2 Forwarding Agents).