Application Development and Automation 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: 
Read only

Modifying entry in a table using report program

Former Member
0 Likes
717

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
644

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.

4 REPLIES 4
Read only

Former Member
0 Likes
644

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

Read only

0 Likes
644

please give me clear coding

Read only

Former Member
0 Likes
645

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.

Read only

Former Member
0 Likes
644

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

Regards,

Nick