SAP Reports / Programs

/SAPSLL/CUHD_LEGDOC_EXP SAP ABAP Report - Display Documents for Customs Export Declarations







/SAPSLL/CUHD_LEGDOC_EXP is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter /SAPSLL/CUHD_LEGDOC_EXP into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

/SAPSLL/CUHD_DOC_EXP - Documents for Customs Export Decl.


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT /SAPSLL/CUHD_LEGDOC_EXP. "Basic submit
SUBMIT /SAPSLL/CUHD_LEGDOC_EXP AND RETURN. "Return to original report after report execution complete
SUBMIT /SAPSLL/CUHD_LEGDOC_EXP VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: S_QUALD = D .
Selection Text: S_QALDOC = D .
Selection Text: S_PAPTY = D .
Selection Text: S_PAPOF = D .
Selection Text: S_PAPNO = D .
Selection Text: S_PAPDE = D .
Selection Text: S_FTVBS = Legal Unit
Selection Text: S_FTORG = FT Organizational Unit
Selection Text: S_ERNAM = Created By
Selection Text: S_DATE = Created On
Selection Text: S_COYEAR = Year
Selection Text: S_CORDER = Document Number
Selection Text: S_AENAM = Changed By
Selection Text: P_WEEK = Created This Week
Selection Text: P_TODAY = Created Today
Selection Text: P_OTHER = Other Date
Selection Text: P_DVARI = Display Variant
Selection Text: P_CTYAR = Country of Destination
Title: Display Documents for Customs Export Declarations
Text Symbol: T09 = Document Mgt
Text Symbol: T08 = Selection Log
Text Symbol: T07 = Date
Text Symbol: T05 = Documents
Text Symbol: T04 = Feeder System Doc. Data - Billing
Text Symbol: T03 = Output Format
Text Symbol: T02 = SAP GTS Document Data
Text Symbol: T01 = Organizational Structure


INCLUDES used within this REPORT /SAPSLL/CUHD_LEGDOC_EXP

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

SELECT_OPTIONS_RESTRICT CALL FUNCTION 'SELECT_OPTIONS_RESTRICT' EXPORTING program = syst-repid restriction = gs_restriction EXCEPTIONS too_late = 1 repeated = 2 selopt_without_options = 3 selopt_without_signs = 4 invalid_sign = 5 empty_option_list = 6 invalid_kind = 7 repeated_kind_a = 8 OTHERS = 9.

/SAPSLL/PREPARE_DATE_RANGE CALL FUNCTION '/SAPSLL/PREPARE_DATE_RANGE' EXPORTING iv_today = p_today iv_week = p_week iv_other = p_other it_datcr = s_date[] IMPORTING et_crtsp = gr_crtsp EXCEPTIONS invalid_call = 1 OTHERS = 2.

/SAPSLL/CUHD_LEGDOC_SELECTION CALL FUNCTION '/SAPSLL/CUHD_LEGDOC_SELECTION' EXPORTING iv_srvll = gc_services-customs iv_indei = p_indei ir_ftorg = s_ftorg[] ir_ftvbs = s_ftvbs[] ir_corder = s_corder[] ir_coyear = s_coyear[] ir_qaldoc = s_qaldoc[] ir_papty = s_papty[] ir_papno = s_papno[] ir_papof = s_papof[] ir_papde = s_papde[] ir_quald = s_quald[] ir_ernam = s_ernam[] ir_crtsp = gr_crtsp ir_aenam = s_aenam[] iv_ctyar = p_ctyar IMPORTING et_cuhd_legdoc = gt_document EXCEPTIONS no_data_found = 1 no_authority = 2 OTHERS = 3.

/SAPSLL/CUHD_LEGDOC_DISPLAY CALL FUNCTION '/SAPSLL/CUHD_LEGDOC_DISPLAY' EXPORTING is_variant = gs_variant iv_srvll = gc_services-customs iv_indei = p_indei iv_regty = gc_regty-customs CHANGING ct_document = gt_document.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name /SAPSLL/CUHD_LEGDOC_EXP or its description.