Skip to Content

How to add new TAB in ME51N using MEREQ001 - custom fields in CI_EBANDB

Hi to All,

I've the following problem:

I have extended CI_EBANDB with some custom fields, then I have created new subscreen 011 via CMOD (MEREQ001).

Then, I've implementated EXIT_SAPLMEREQ_001 and EXIT_SAPLMEREQ_003.

Then, when start the ME51n the custom TAB (customer data) is empty.

Why? What the problem?

Thanks & Regards,

Umberto

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Apr 20, 2010 at 02:05 PM

    Hi Umberto,

    Could you please copy the code you implemented in EXIT_SAPLMEREQ_001 and EXIT_SAPLMEREQ_003 ?

    Add a comment
    10|10000 characters needed characters exceeded

    • EXIT_SAPLMEREQ_001:
      tables : ci_ebandb.
      data : i_mereq_item type mereq_item.
       
      if im_req_item is initial.
      clear: ci_ebandb.
      else.
      i_mereq_item = im_req_item->get_data( ).
      move-corresponding i_mereq_item to ci_ebandb.
      endif.
      
      EXIT_SAPLMEREQ_003
      data : i_mereq_item type mereq_item.
       
      if not im_req_item is initial.
      i_mereq_item = im_req_item->get_data( ).
      move-corresponding ci_ebandb to i_mereq_item .
      call method im_req_item->set_data( i_mereq_item ).
      endif.
      

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.