on 11-07-2017 9:11 AM
Hi All,
I have a change requested from user and I was wondering if its possible to address this through config (without code change).
Requirement:
When the Import declaration is created, an idoc is sent to customs authorities through communication process. Idoc Message Type /SAPSLL/CCECUS under segment /SAPSLL/E2CCEHD (header), we have field GROVAL (Gross Value) andGRCUR (Currency of Value). Requirement is to change currency value, from document's local currency to USD. Gross value to be reflected accordingly.
Findings:
By debugging, we have found that those values are taken from table /SAPSLL/LEGCULC from field AMNT_TRA (Data Trans.Amt) and CUR_TRA (Currency). But this table also stores AMNT_ORI and CUR_ORI which will satisfy my requirement. If i modify the part of the code to pick the values from CUR_ORI instead of CUR_TRA, then my requirement will be fulfilled.
Code
*------- Bruttopreis (HD-Segment)
READ TABLE is_cuhd-legculc
INTO ls_legculc
WITH KEY pobjt = gc_pobjr-customs_doc_head
guid_pobj = is_cuhd-guid_cuhd
valty = gc_val_type-net_value.
IF sy-subrc IS INITIAL.
cs_cuhd-hd-groval = ls_legculc-amnt_tra.
cs_cuhd-hd-grcur = ls_legculc-cur_tra.
Question:
Is there any way we can do this without modifying the code? Any config maybe?
whats the significance of Currency Amount for Data Transfer? I can understand Net and gross value but don't understand currency for data transfer.
Hi Supratik,
Yes, the Transfer amount can be configured to use either the document currency or the Customs currency. The Customs currency is the one configured for the Legal Regulation (IMGpath: Customs Management > Control Settings for Application Areas by Legal Regulation of a Legal Code).
In the Calculation Procedure, double-click on the relevant Duty Type, and change the "Amount Rule" to <blank> or 'C' as required. With a new Declaration (don't use an old one, because the settings are recorded in each document), you should see the difference in the iDoc contents.
Hope that helps.
Regards,
Dave
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Dave.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, Sorry.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dave,
Works perfect after the config change as mentioned. Thanks a lot for your insight. Really appropriate your help.
One more question though. Can this be controlled depending upon a particular partner?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
15 | |
4 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.