cancel
Showing results for 
Search instead for 
Did you mean: 

GTS FM to get license data on customs declaration output

Former Member
0 Kudos

Hello Folks

We need to print license information (as determined in the customs declaration document - control tab) in the customs invoice/declaration output. Is there an FM that can be used since there are multiple tables involved here; CUHD, CORFLO, CORREF, CUIT and eventually LEGCON. Due to multiple tables and GUID references, the logic to fetch license info on the output (customized smartform output) is getting complicated.

Please advise if there is an easier way to get the license info using the customs declaration document number.

Regards

Amit

Accepted Solutions (1)

Accepted Solutions (1)

former_member215181
Active Contributor
0 Kudos

The "Profanity Filter" seems to have over-written parts of the Function Module name in my last response.  The asterisks should be replaced by the letters 'A', 'S' and 'S', in that order.

Former Member
0 Kudos

Thanks Dave, this can be used with some adjustments.

To invoke it from within GTS, I will have to determine the ECC logical system and pass the same as input parameter.

Regards

Answers (1)

Answers (1)

former_member215181
Active Contributor
0 Kudos

Hi Amit,

Take a look at Function Module /SAPSLL/LC_ASS_DOC_SELECT_RFC, intended to be called from the ERP system using Function Module /SAPSLL/ASS_DOCS_SD0C_FETCH_R3.

Does that help?

Regards,

Dave