Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Problem when call transaction MD04

0 Kudos

Dear All

       I come across a problem

      We need a report which is similar to MD4C

      So I use alv form to create a report  and refer to this blog http://blog.csdn.net/zcy691640/article/details/44078171

    

      Use FM: MD_PROJECT_REPORT.

    

    The problem is  when I  Call transaction MD04 in  alv  and double click on one item.

     The program crashed.

  

  

  The error message displays as below

But when I use Leave to transaction 'MD04', I works.

I tried to debug and found that before the alv result displayed ,the value of  I_NODE_KEY is "1",but after I double clicked on one item to try call

'MD04',the value of I_NODE_KEY is null.

Maybe I need free Memory or internal sessions before  use "Call transaction 'MD04'",or set export "1" to I_NODE_KEY?

Could anybody help to slove this problem?

Thank you very much.

1 ACCEPTED SOLUTION

0 Kudos

Thank everyone who has read this article

Actually I solved this problem  by myself just now.

Only add one line of code

free memory.

I only free memory id before.%>_<%

1 REPLY 1

0 Kudos

Thank everyone who has read this article

Actually I solved this problem  by myself just now.

Only add one line of code

free memory.

I only free memory id before.%>_<%