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

Modifying entry in a table using report program

Hi this is my requirement

In table GB01, remove a possibly existing entry with GB01-BOOLCLASS = 015, GB01-CLASSTYPE = S., GB01-BCLTAB = BSEG and GB01-BCLFIELD = *. Instead insert an entry with the following parameters:

GB01-BOOLCLASS = '015'

GB01-CLASSTYPE = 'S'

GB01-BCLTAB = 'BSEG'

GB01-BCLFIELD = 'VBUND'

GB01-BEXCLUDE = ''

Please provide the coding

Thanks in advance.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 04, 2007 at 11:47 AM

    update table GB01 set : BOOLCLASS = '015'

    CLASSTYPE = 'S'

    BCLTAB = 'BSEG'

    BCLFIELD = 'VBUND'

    BEXCLUDE = ''''

    where BOOLCLASS = 015 and CLASSTYPE = 'S' and BCLTAB = 'BSEG' and BCLFIELD = '*' .

    hope this helps.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 04, 2007 at 11:43 AM

    Hi,

    Data wa_gb01 type gb01.
    wa_GB01-BOOLCLASS = '015' 
    wa_GB01-CLASSTYPE = 'S' 
    wa_gb01-BCLTAB = 'BSEG' 
    wa_GB01-BCLFIELD = 'VBUND' 
    wa_GB01-BEXCLUDE = ''
    Modify GB01 from wa_gb01.

    Regards,

    Satish

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 04, 2007 at 11:50 AM

    You can maintain the entires in this table using transaction OKOR, there is no need to write a program.

    Regards,

    Nick

    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.