on 04-27-2017 7:57 AM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, found any solution on this trail.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You can find more important guidelines in the community rules of engagement and learn questions and answers best practices here.
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 .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please provide code for FM J_1IG_IMP_INV_DETERMINE
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The issue is not clear, there is no XKOMV call in FM- J_1IG_IMP_INV_DET
Reg,
Brinda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.