/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
Below is a list of transaction codes which are relevant to this SAP report
/SAPSLL/CUHD_DOC_EXP - Documents for Customs Export Decl.
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.
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
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
/SAPSLL/CUHD_LEGDOC_EXP - Display Documents for Customs Export Declarations /SAPSLL/CUHD_LEGDOC_EXP - Display Documents for Customs Export Declarations /SAPSLL/CUHD_IVM_REPROC_VAR - /SAPSLL/CUHDIVMREPROCVAR /SAPSLL/CUHD_IVM_REPROC_PAR - /SAPSLL/CUHDIVMREPROCPAR /SAPSLL/CUHD_IVM_REPROC_FORMS - /SAPSLL/CUHDIVMREPROCFORMS /SAPSLL/CUHD_IVM_REPROCESS - Subsequent Posting of Customs Declaration/Shipment Items with Errors