Application Development 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: 

Dont show output

Former Member
0 Kudos

Hello,

I need some help with my report.

I have a Form with:

FORM Initialisierung_wald.

     lv_zaehler_aktion = 0.

  

     WRITE:/ lv_zaehler_aktion , '. Schritt: einfügen des Waldes.'.

     CLEAR lv_zaehler_aktion.

  

     PERFORM aufbau_wald.

     PERFORM display_wald.

ENDFORM.

It works but it should not be seen in the output.

So is there something like hide?

I hope you understand my english.

Kind regards

Timo

1 ACCEPTED SOLUTION

Jelena
Active Contributor
0 Kudos

It works but it should not be seen in the output.

I understand the words, but not the meaning... What "it" works and what "it" should not be seen? And how would we know what is in those routines (PERFORM)?

Unless Roberto guessed what you meant (in which case - kindly close the discussion), please be more specific.

17 REPLIES 17

roberto_vacca2
Active Contributor
0 Kudos

Hi.

If I understand your needs , HIDE is used for interactive purpose in a list processing (old-school if you like it)

In shorts you should act like this:

WRITE:/ it_kna1-kunnr,

             it_kna1-name1.


HIDE it_kna1-kunnr. "Hide variable KUNNR


....


AT LINE-SELECTION.

CASE sy-lsind. "Row selected

      SELECT vbeln erdat FROM VBAK INTO TABLE it_vbak WHERE kunnr = it_kna1-kunnr.


       LOOP AT it_vbak.


               WRITE:/ it_vbak-vbeln,

                             it_vbak-erdat.


       ENDLOOP.


ENDCASE.

In this way you'll "HIDE" your variable for interactive purposes..

Hope to help

Bye

Jelena
Active Contributor
0 Kudos

It works but it should not be seen in the output.

I understand the words, but not the meaning... What "it" works and what "it" should not be seen? And how would we know what is in those routines (PERFORM)?

Unless Roberto guessed what you meant (in which case - kindly close the discussion), please be more specific.

Former Member
0 Kudos

I made this Picture. I hope it will helps.

There is the first step: "0. Schritt: Einfügen des Waldes"

After the first step the forrest is complete because the trees grow from the first one.

Here is my code

PeterJonker
Active Contributor
0 Kudos

interesting business case

0 Kudos

Hi.

Well in that case a workaround can be this hydrant..

SUBMIT <your_report> EXPORTING LIST TO MEMORY... and return

then

CALL FUNCTION 'LIST_FROM_MEMORY' .. to an internal table

and clear the fire you don't want to see ..

Hope to help.

Bye

Former Member
0 Kudos

Thank you so much Roberto.

It worked perfect

matt
Active Contributor
0 Kudos

Roberto - for the benefit of us all, can you explain what the issue was. I'm still no clearer, even with your solution!

Former Member
0 Kudos

I make my enducation in an company.

     Yes, it isn't a Business case but this is for learn more about SAP.

And I am very happy about each helpful answer

0 Kudos

Also I'm really waiting for an answer because I did not understood nothing from all the explanations.

matt
Active Contributor
0 Kudos

Come on http://scn.sap.com/people/roberto.vacca2 - spill the beans!

0 Kudos

Hi.

In my opinion, If someone doesn't give details, probably is a lazy man or probably he doesn't know well the situation. When you get lost in the forest  you don't have the knowledge to tell where are you or you don't want to tell where are you. So the problem is 50% ours and 50% of Timo

From the image I understand that Timo doesn't want to see the First Packet of writes (Iteration 0).

My suggestion is to put all in memory list and to choose what to see. I've seen worst questions here in SDN than Timo's question, so why don't give him some help to get out this forest burning?

Bye

0 Kudos

Choose to help or choose to not help.. That's the meaning of SDN. Isn't it? Beans don't give nothing It's not my target.. Do you want my beans? Ask to take them, I'll be glad to give you

0 Kudos

Trees, Hydrant, fire, beans...

I'm going back to bed.

matt
Active Contributor
0 Kudos

I think we're in the presence of a superior intellect...

JL23
Active Contributor
0 Kudos

It is just the missing ABAP solution for a Waldbrand - Programmieraufgaben.ch

matt
Active Contributor
0 Kudos

Good find! Now he should rewrite it in ABAP Objects.

0 Kudos

We should never underestimate trivial questions or seemingly senseless