02-04-2016 12:09 PM
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
02-04-2016 11:46 PM
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.
02-04-2016 2:35 PM
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
02-04-2016 11:46 PM
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.
02-05-2016 7:54 AM
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
02-05-2016 8:11 AM
02-05-2016 8:24 AM
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
02-05-2016 8:35 AM
02-05-2016 8:39 AM
Roberto - for the benefit of us all, can you explain what the issue was. I'm still no clearer, even with your solution!
02-05-2016 8:40 AM
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
02-05-2016 8:49 AM
Also I'm really waiting for an answer because I did not understood nothing from all the explanations.
02-05-2016 9:02 AM
Come on http://scn.sap.com/people/roberto.vacca2 - spill the beans!
02-05-2016 9:05 AM
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
02-05-2016 9:07 AM
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
02-05-2016 9:08 AM
02-05-2016 9:12 AM
02-05-2016 9:25 AM
It is just the missing ABAP solution for a Waldbrand - Programmieraufgaben.ch
02-05-2016 9:31 AM
02-05-2016 9:58 AM
We should never underestimate trivial questions or seemingly senseless