cancel
Showing results for 
Search instead for 
Did you mean: 

Legal Controll Export

Former Member
0 Kudos

Hello All,

We are implementing the export controll for AGREX licence for export to switzerland.

In the customs document we have the following issue while  completing the document and send to ATLAS.

I enter a number with the meassure KG to reduce the licence with the weight and add this customs document to the licence .

But I got the above message when I check the message!

Does anybody has an idea what I am doing wrong.

Thanks for help.

Regards,

Jörg

Accepted Solutions (1)

Accepted Solutions (1)

former_member215181
Active Contributor
0 Kudos

Hi Jörg,

The message is generally issued where the quantity represents the Number of Pieces or other such units where the authorities expect an integer value.

The program code compares the entered value with the TRUNC function of the value, and issues the error if they are different.

So value 3 would be ok, but value 3.1 (or even 3.0) would not be ok.

Hope that helps.

Regards,

Dave

Former Member
0 Kudos

Hi Dave,

thanks for the answer, but I enter a full number and get always the same message.

I enter for example 150 and then the Abs.Quantity in KG for the documents on item level.

I use the document type X001 Agrex Export License.

Do you have any other idea?

Thanks for help.

Regards,

Jörg

thomasrausch
Active Participant
0 Kudos

Hello Jörg,

have you checked the OSS? I found the following

1975051 Erwiterung für AES 2.2 - 3.Berichtiung des EDI-IHB 13.02.2014

Regards,

Thomas

thomasrausch
Active Participant
0 Kudos

Hello Jörg,

and in the coding you will find

*Es sind nur die Werte "l" (Liter) und "St" (Stück) zulässig, wenn das

*Datenfeld "WARE / UNTERLAGE / Typ" mit dem Wert "X001" (Ausfuhrlizenz

*AGREX) angegeben wird.

          IF ( lv_doc_type(4) EQ 'X001' ).

            IF ( ls_it_doc-papum_qu IS NOT INITIAL AND

                 ls_it_doc-papum_qu NE 'l' AND

                 ls_it_doc-papum_qu NE 'St' ).

             MESSAGE e374 WITH lv_doc_type

                                is_it_keys-itvsy

                           INTO gv_dummy.

              PERFORM applog_msg_n_it_add

                USING is_it_keys

                      gc_tabcode-it_document_new

                        'PAPQU'

                        '/SAPSLL/CUHD_LOAD_0410_S-PAPQU'

                        gc_altext-standart.

              CLEAR cv_consistent.

            ENDIF.

          ENDIF.

*Es sind nur ganzzahlige Werte erlaubt, wenn das Datenfeld "WARE /

*UNTERLAGE / Typ" mit dem Wert "X001" (Ausfuhrlizenz AGREX) angegeben

*wird. Anzuwenden ist das kaufmännische Rundungssystem.

          IF ( lv_doc_type(4) EQ 'X001' ).

            IF ( trunc( ls_it_doc-papqu ) NE ls_it_doc-papqu ).

             MESSAGE e374 WITH lv_doc_type

                                is_it_keys-itvsy

                           INTO gv_dummy.

              PERFORM applog_msg_n_it_add

                USING is_it_keys

                      gc_tabcode-it_document_new

                        'PAPQU'

                        '/SAPSLL/CUHD_LOAD_0410_S-PAPQU'

                        gc_altext-standart.

              CLEAR cv_consistent.

            ENDIF.

          ENDIF.

With TC SE91 and Message class /SAPSLL/CUS_ECC and Messages number you find the message

Item &2: Depreciation quantity for document &1 has incorrect format

Regards,

Thomas

Former Member
0 Kudos

Hello Thomas,

the OSS Note is installed. And I still have the problems.

I use the X001 with the qualifier "MB" perhaps there is a problem with the qualifier?

Thanks for help.

Regards,

Jörg

Former Member
0 Kudos

Hello Thomas,

I tried it also with"l"Liter and "ST" Stück.

But always the same error message while checking the message!

Also it makes no sense to reduce the licence AGREX with "L" or "ST".

The licence is filled with a limit of maximum x KG

Thanks for help
.

Regards,

Jörg

thomasrausch
Active Participant
0 Kudos

Hello Jörg,

unfortunately do not work with AGREX and have only SLL -LEG 901 0010 SAPK 90110INSAPSLL SLL -LEG 901 : Add-On Installation in use  and not 90111INSAPSLL.

I would now do the following: in the functiongroup / SAPSLL / INCOMP_CHECK_DE (TC SE80) search for the  routine FORM pdoc_ind_chk_21 and set a breakpoint to see what happens with ls_it_doc-papum_qu and ls_it_doc-papqu.

By the way,if you look in the coding , you find for the unit of measure test a 'l' and not ' L' and a ' St' and not 'ST'. GTS is always very sensitive when lowercase or greatercase description are in use.

Hope this helps.

Regards,

Thomas

Answers (0)