Skip to Content
0

Function Module J_1IG_IMP_INV_DET Field "XKOMV" is unknown.

Apr 27, 2017 at 06:57 AM

715

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

7 Answers

Brian Vanderwiel Jun 30, 2017 at 05:36 PM
1

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.

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member
May 02, 2017 at 08:16 AM
0

Hi,

The issue is not clear, there is no XKOMV call in FM- J_1IG_IMP_INV_DET

Reg,
Brinda

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

The note 2458404 has PDF attachment "Import_Customizing steps" in page no. 11 it mention to Kindly implement the routine and paste the below mentioned logic after the correction instructions are applied.

But we are unclear where to apply this routine.

Please helps to solve this issue

Regard,

Santosh Samant

0
avatar image
Former Member May 29, 2017 at 06:06 AM
0

Importing Parameters of the Function Module 'J_1IG_IMP_INV_DET' has been replaced with a new Function module 'J_1IG_IMP_INV_DETERMINE'.

can anyone suggest me what is the source code for this function module 'J_1IG_IMP_INV_DET' with all import export variables..

thanks in advance...

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member May 31, 2017 at 11:10 AM
0

Please provide code for FM J_1IG_IMP_INV_DETERMINE

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Jun 01, 2017 at 07:05 AM
0

where we have to implement routine mention in note 2458404 .

logic is as :

DATA lt_excdefn TYPE J_1IG_GST_EXCDEFN_TT. DATA: ls_excdefn TYPE j_1iexcdefn. DATA: XXKOMV LIKE line of XKOMV, ex_drseg type drseg. CALL FUNCTION 'J_1IG_IMP_INV_DETERMINE' EXPORTING IM_KOMK = komk IMPORTING EX_EXCDEFN = lt_excdefn EX_DRSEG = ex_drseg . LOOP AT lt_excdefn INTO ls_excdefn. READ TABLE XKOMV INTO XXKOMV WITH KEY KSCHL = ls_excdefn-kschl. IF SY-SUBRC = 0. XKWERT = Xkwert + ex_drseg-customs_val. ENDIF. CLEAR.

Please suggest where we have to add this code .

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Sep 12, 2017 at 08:23 AM
0

Hi, found any solution on this trail.

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Prof. Yogesh M Desai

Please avoid hijacking someone's thread and add your question. Create a new discussion and before posting a question, please make sure you have searched all existing content -- as the answers may already be available.

Try to use these search options, too:

https://cse.google.com/cse/home?cx=013447253335410278659:5di2969x5we

https://www.google.com/cse/home?cx=013447253335410278659:k8ob9ipscwg

SAP Search

You can find more important guidelines in the community rules of engagement and learn questions and answers best practices here.

0
avatar image
Former Member Oct 03, 2017 at 10:43 AM
0

Hi, actually I think, that there is still in issue with routine 800. From my perspective the coding should be:

DATA lt_excdefn TYPE J_1IG_GST_EXCDEFN_TT.
DATA: ls_excdefn TYPE j_1iexcdefn.
DATA: XXKOMV LIKE LINE OF XKOMV,
ex_drseg TYPE drseg.

IF xkomv-krech = 'A'.
CALL FUNCTION 'J_1IG_PASS_DRSEG'
IMPORTING ex_drseg = ex_drseg.

SELECT *
FROM j_1iexcdefn
INTO TABLE lt_excdefn
WHERE kschl = ex_drseg-kschl
AND cond_name = 'IMPCUSTAP'.

IF sy-subrc = 0.
SELECT *
FROM j_1iexcdefn
INTO TABLE lt_excdefn
WHERE kschl = xkomv-kschl
AND ( cond_name EQ 'CCQIMPSEOF' OR
cond_name EQ 'CCQIMPINV' ).

IF sy-subrc <> 0.
XKWERT = Xkwert + ex_drseg-customs_val.
ENDIF.
ENDIF.
ELSE.
IF sy-cprog = 'SAPLMR1M'.
CALL FUNCTION 'J_1IG_PASS_DRSEG'
IMPORTING ex_drseg = ex_drseg.

SELECT *
FROM j_1iexcdefn
INTO TABLE lt_excdefn
WHERE kschl = ex_drseg-kschl
AND cond_name = 'IMPCUSTAP'.

IF sy-subrc <> 0.
XKWERT = 0.
ENDIF.
ENDIF.
ENDIF.

Share
10 |10000 characters needed characters left characters exceeded