Skip to Content
avatar image
Former Member

2LIS_02_HDR Enhancement issue

We have newly installed 2LIS_02* datasources in ECC system. Due to project need we need to enhance DS 2LIS_02_HDR for field IHREZ (Reference), which we trying to get from EKKO-IHREZ.

Our enhancement is implement in include ZXRSAU01 under component SMOD->RSAP0001. Enhancement code works fine in Development environment, but after transport in Quality system it doesn't return any data in newly added field.

Also, its a fresh installation so there was no chance of inboud/outboud and RSA7 entries to be cleaned-up, however as precautionary we followed these steps. On execution it does not throw any error and also all structure and code has been imported successfully in QA system.

We have implemented below piece of code for our enhancement:-

------------------------------------------------------------------------------------------

TABLES: EKKO.

DATA: L_TABIX TYPE SY-TABIX,

L_MC02M_0HDR TYPE MC02M_0HDR.

CASE I_DATASOURCE.

WHEN '2LIS_02_HDR'.

LOOP AT C_T_DATA INTO L_MC02M_0HDR.

L_TABIX = SY-TABIX.

SELECT SINGLE * FROM EKKO WHERE EBELN = L_MC02M_0HDR-EBELN.

IF SY-SUBRC = 0.

L_MC02M_0HDR-ZZPO_REF = EKKO-IHREZ.

MODIFY C_T_DATA FROM L_MC02M_0HDR INDEX L_TABIX. ENDIF.

ENDLOOP.

--------------------------------------------------------------------------------------------------------------------

Pls let me know if you have ever encountered such issue and what steps had been taken to correct issue.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Dec 04, 2016 at 03:43 PM

    Hi Vinay,

    Have you checked that all required transports have been imported into Quality?

    It is possible that you have transported the code (in include program ZXRSAU01), however, you need to ensure that the project created in CMOD, where the enhancement is assigned, is also transported and activated in the Quality system.

    You can also try to put a breakpoint into the code, and try a test run using RSA3. If the break-point is not encountered, then it is likely that the project is not activated, or the enhancement is not properly assigned to the active project (CMOD).

    If the break-point is encountered, you can debug the code line by line to determine if the issue is with the data, or some other reason.

    Thanks.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 06, 2016 at 08:22 AM

    Hi Lorenzo,

    Your doubt was correct,I checked the project created under CMOD and it was missing from transported object.

    I will transport it again and do test, hope it should work. Else will bother again :)

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 12, 2017 at 01:23 PM

    Hello Vinay,

    we are busy doing about the same as you did.
    I was wondering how you have appended the new field?
    Did you change MC02M_0HDR, or MCEKKOUSR or MCEKKOBWAP structure?

    And i suppose IHREZ is not delta relevant? Or did you create extra logic to handle this?

    Add comment
    10|10000 characters needed characters exceeded