on 04-14-2014 3:23 PM
Hello,
I just want to confirm with the group of when the Default Data is executed in the GTS Interface. When the interface is running on the GTS-side, there are several user exits (BaDIs) that are available. Does anyone know if the Default Data is executed prior to the BaDIs or is it last in the interface thread?
Please let me know.
Regards, Dean.
Hi Dean,
The BAdI /SAPSLL/CUHD_PROP (Header and Item methods) comes after the Data Proposal has already run.
Regards,
Dave
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Dave,
Well, I am assuming you know about the New US Legal Regulations with Ultimate Consignee Type (UCT). Our feeder systems were not ready to implement the changes to the GTS interface for this topic. So, it was decided to pass the code in one of the additional data fields.
On the GTS-side, I took that code and placed in the proper fields using /SAPSLL/CUHD_PROP as you mentioned earlier. However, if the business was not up to speed maintaining the values to be sent to GTS, then idea was to use Default Data.... assuming Default Data was after the BaDIs. Well, based on above, we (I) now know that this is not correct and the Default Data is before the BaDIs.
I was trying to get away from creating a stupid default data tabel to use in the BaDI, but it seems I have no choice. Unless you have something up your sleeve?
Hi Dean,
The easiest way (in terms of not using Implicit Enhancements or hacking the standard code) will be to use the BAdI to re-run the DP for the field in question, and over-write the proposed value - building on your response to Dhilipan.
Provided the DP configuration won't change - and realistically you have to make that assumption - you can select the data from table /SAPSLL/DPDATA, using the fields:
The new value is to be obtained from field DPVALTRG. Obviously it's simpler to code if you only have one Field Combination in the access. Hopefully you are (or have) a reasonably good developer?
Hope that helps - and thanks for scoring my answer anyhow!
Regards,
Dave
Hello Dave,
It is simpler than that...
*
* Move Ultimate Consignee Type From ADDDA2 To UCTYP (Interim Solution) (US)
If iv_lgreg = 'US'.
If NOT CS_HEADER-ADDDA2+7(1) is INITIAL.
CS_HEADER-UCTYP = CS_HEADER-ADDDA2+7(1).
EndIf.
EndIf.
So, if no code passed, then the default data proposed value is not changed.
User | Count |
---|---|
12 | |
3 | |
1 | |
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.