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

BEFORE_LINE_OUTPUT

Former Member
0 Likes
503

Hi guys!

I'm using the event before_line_output. Is there a way to jump one line to another? I mean something like this:

LOOP

 *Some code Here

 if sy-subrc = 4.
   CONTINUE.
 endif.
ENDLOOP.

I wanna do something like the "Continue" inside the Event before_line_output bacause i don't want to print a specific line.

Any help would be appreciate.

Regards,

Carlos

Hi guys!

I'm using the event before_line_output. Is there a way to jump one line to another? I mean something like this:

LOOP

 *Some code Here

 if sy-subrc = 4.
   CONTINUE.
 endif.
ENDLOOP.

I wanna do something like the "Continue" inside the Event before_line_output bacause i don't want to print a specific line.

Any help would be appreciate.

Regards,

Carlos

1 REPLY 1
Read only

ssimsekler
Product and Topic Expert
Product and Topic Expert
0 Likes
344

Hi Carlos

I believe "before_line_output" is not intended for that kind of usage. So, if you do not want to write that line, why do you have it in your list? Another way might be to have another internal table filtered from the original one to hold just the records which will be written. Hope I understood correctly...

Regards

*--Serdar <a href="https://www.sdn.sap.com:443http://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=qbk%2bsag%2bjiw%3d">[ BC ]</a>