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

Code help pleaseu0085

Hai

I want to check wether there are fields WWRET; WWREV, WWCUC WWGCN in the table CE1XXXX where (XXXX is Operating concern populated in the selection.)

Thanks in advance

Oli

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Dec 07, 2004 at 03:23 PM

    Hi Oli,

    These fields are CHARS (Merkmale) of your Operating Concern. If you go to transaction KEA0 you could check these fields in the structure of you Operating Concern. If your Operating Concern is active an generated you could see these fields in the table CE1XXXX. Use transaction SE11.

    Best regards

    Vladimir Golovtchiner

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 07, 2004 at 03:46 PM

    Oliver,

    1. ) table TKEFE hold the chars of an operating concern.

    2.) Read ddic info (table dd03l)

    3) try assign component 'WWRET' of structure

    where structure represents ce1xxxx.

    One of the approach should fulfill your needs.

    Christian

    Add a comment
    10|10000 characters needed characters exceeded

    • Oliver,

      here quick & dirty

      you would have to concatenate l_tabname.

      data: gref_data type ref to data.

      data: g_tabname type dd02l-tabname value 'CE10100'.

      field-symbols: <g_struct> type any,

      <g_field> type any.

      create data gref_data type (g_tabname).

      assign gref_data->* to <g_struct>.

      assign component 'WWRET' of structure <g_struct> to <G_field>.

      if sy-subrc is initial.

      • WWRET is component of structure

      else.

      • it is not part of the structure.

      endif.

      Christian

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.