cancel
Showing results for 
Search instead for 
Did you mean: 

Function Module J_1IG_IMP_INV_DET Field "XKOMV" is unknown.

kaichen27
Explorer
0 Kudos

During implementation of the OSS note 2458404 for GST project I came to the point to implement the logic

Kindly implement the routine and paste the below mentioned logic after the correction instructions are applied.

DATA: ls_excdefn TYPE j_1iexcdefn. DATA: xxkomv LIKE LINE OF xkomv, ex_drseg TYPE drseg. CALL FUNCTION 'J_1IG_IMP_INV_DET' EXPORTING im_komk = KOMK IMPORTING EX_XKWERT = xkwert EX_EXCDEFN = ls_excdefn EX_DRSEG = ex_drseg . READ TABLE xkomv INTO xxkomv WITH KEY kschl = ls_excdefn-kschl. IF sy-subrc = 0. xkwert = xkwert + ex_drseg-customs_val. ENDIF.

First problem was that there is no description which function module is effected.

Second problem is that Field "XKOMV" is unknown.

Please help and correct the OSS.

Thx Kai

View Entire Topic
BrianVanderwiel
Participant

The code goes in the tax procedure routine that needs to be configured/created. In 2458404 attachment "Import_Customizing steps.pdf" on page 9 it mentions "Kindly note that the Condition base formula (‘800’) which is entered in the below screen shot is for indicative purpose. Choose a number which is available in your namespace / landscape & implement the routine with the logic mentioned below."

Also note there is new logic in 2491302 that replaces the original logic.