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

regarding badi code

Former Member
0 Likes
378

i have to take fields from RESB table..based on RSNUM..

XLOEK,SCHGT,DUMPS,KZEAR..if the record is 'X for all these'..i don want to display the rec...

if the value is 'X'..want to diplay this fields...XWAOK,POSTP..

if any of the field have "X" in both of these cond ...don want to dispaly...

if ERFMG AND ENMNG are equal ..i want to display...

pls send the coding for this.ASAP

1 REPLY 1
Read only

saranwin
Contributor
0 Likes
330

Use this code ;

select single XLOEK SCHGT DUMPS KZEAR from RESB into ( RESB-XLOEK, RESB-SCHGT, RESB-DUMPS, RESB-KZEAR )where RSNUM eq RSNUM.

if RESB-XLOEK is not initial RESB-SCHGT is not initial and RESB-DUMPS is not initial and RESB-KZEAR is not initial.

display the value ( write the code to display the value )

elseif ERFMG eq ENMNG .

display the value ( write the code to display the value )

endif.

Regards,

Saran