Skip to Content
author's profile photo Former Member
Former Member

Code working in sap ecc 6.0 and not working in sap 4.6 ...

Hi everyone,

I have copied one report from ecc 6.0 to 4.6.Code is working fine ,but in selection screen some buttons are missing.

Could you please help me in this ....I am attaching screenshots

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    Posted on Aug 05, 2016 at 07:07 PM

    If it's a real "selection screen" (statements PARAMETERS and so on), then maybe the buttons are achieved by the SELECTION-SCREEN FUNCTION KEY <number> (1 to 5) statement, and the buttons are displayed only if the structure components SSCRFIELDS-FUNCTXT_0<number> contains the icon + text. Could you verify that? It's possible that the program uses text symbols for filling these fields, and either you didn't copy them, or you just didn't activate the text elements (LIMU REPT <yourprogram>).

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 09, 2016 at 04:22 AM

    Just check if you have activated all the components of this report like text symbol, selection text, headings etc...

    Also Check the screen elements for the report.

    Regards

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 09, 2016 at 01:35 PM

    Hi,

    Thanks for the reply.

    I have deleted the screens which I have used and created screens and GUI Status for those screens by adding function keys.

    I have activated text elements,headings also.Thank you very much ,my code is working now and I can activate it.

    But in execution some dump is getting like

    Dump - Access using NULL object reference is not possible!!!

    Could you please help me out in this....

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Satish Kumar Balasubramanian

      CALL METHOD spreadsheet->set_ranges_data

      EXPORTING ranges = ranges

      contents = excel_input

      no_flush = 'X'

      importing error = errors.

      append errors.

      I am getting the same dump at this method.....could anyone help me out...

      Thanks in advance.

  • author's profile photo Former Member
    Former Member
    Posted on Aug 12, 2016 at 10:53 AM

    CALL METHOD spreadsheet->set_ranges_data

    EXPORTING ranges = ranges

    contents = excel_input

    no_flush = 'X'

    importing error = errors.

    append errors.

    I am getting the same dump at this method.....could anyone help me out...

    Thanks in advance.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.