on 10-01-2015 4:33 PM
We have a requirement for incompleteness check on header text in customs declaration
Users type information in "Internal Note" (Text ID 0001) in header text of customs declaration which is then printed on the export packing list. We want to make this a mandatory entry and if its missing, then it should show in the incompleteness check for that message.
I tried creating a field in "field definition" as below and assigning it to the check procedure.
Table Name HD_TXT
Field Name ITVSY
Qualifier Value
Tab Page SLL_TAB_TXT_HDR
Now the issue is even if I type some text in internal note, I still get the error to "Item does not exist". I have tried changing the Field Name value (TDID, TDSPRAS, TDSPRAS_ISO, TDOBJECT, TDOBNAME) but it doesn't help. Any suggestions as to how I can achieve this.
Hello Nilesh,
do you talk about M0940 - Export Declaration - Approved Exporter?
Regards,
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thomas, We have a custom message ZP** created for export packing list. We need to perform the incompleteness check in this message type. I have created an incompletemess schema and attached to the ZP** message, but couldnt make it work as desired for incompleteness check on the header text field.
Regards,
Nilesh
Hello Nilesh,
duringe the incompleteness check a user Exit will be processed:
*-- User-Exit BADI aufruf CALL METHOD is_ecc_cntrl-badi->modify_consistency_check EXPORTING is_ecc_cntrl = is_ecc_cntrl
is_ecc_cuhd = is_ecc_cuhd
iv_lghdl = iv_log_handle
CHANGING cv_consistent = cv_consistent.
It is implemented in the class /SAPSLL/IF_EX_CUS_ECC.
Follow the customizing path
Business Add-Ins for Customs ManagementBAdI: EDI Outbound Processing and Incompleteness Checks and define (follow the instuctions).
Here you can define you own methode.
For example I added some coding (this works for Messages M0940 and the incompleteness check Routine DE_EXP_UV2 with FM /SAPSLL/CHECK_DE_EXP_DAT_21)
I used a FM Z_APPLOG_MSG_N_ADD and tghe coding is
So, you have to define you own check routines in the Methode and the FM.
Hope that gives you an idea of a solution
Regards,
Thomas
Thomas, Thanks for your reply. I have tried the solution in our development system and it works great. Thanks for your help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nilesh,
I don't think it's possible to use that technique when dealing with Texts. Instead, you should develop and configure a new Function Module to perform that (and any similar) check.
As an example, you could take a look at Function Module /SAPSLL/CHECK_GB_EX_FULL, where Form TXT0002_GB_CHK checks for the presence of Text ID 0002 when the message is an amendment or cancellation.
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.
User | Count |
---|---|
15 | |
3 | |
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.