cancel
Showing results for 
Search instead for 
Did you mean: 

Link between CUSTOM Export Declaration and License Number

0 Kudos

Hi Experts

I need to fetch license details based on Export Declaration number. This information at item level in control tab of export declaration. But not able to get the logic to fetch this as we need the same information for our new report.

I have  tables: /SAPSLL/CUHD (Custom doc header), /SAPSLL/CUIT (Custom doc item), /SAPSLL/LCLIC (legal control: license header). But there is no key relationship b/n these tables to fetch all licence fields from document no.

Request your help in devloping the logic for the same.

Jaagrit Hooda

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member215181
Active Contributor
0 Kudos

Hi Jaagrit,

The linking table is /SAPSLL/LEGCON.  Find that entry using MOBJT = 'O' (letter, not number) and GUID_MOBJ = /SAPSLL/CUHD-GUID_CUHD.  Then you should be able to find the relationship between /SAPSLL/LEGCON and the Licence details in /SAPSLL/LCLIC.

Hope that helps.

Regards,

Dave