‎2009 Feb 20 6:03 AM
LOOP AT IT_FINTSO INTO WA_FINTSO.
IF WA_FINTSO-TOTAL GE 0.
MOVE-CORRESPONDING WA_FINTSO TO WA_FINTSO1.
APPEND WA_FINTSO1 TO IT_FINTSO1.
CLEAR: WA_FINTSO,WA_FINTSO1.
ELSE.
MOVE-CORRESPONDING WA_FINTSO TO WA_FINTSO2.
APPEND WA_FINTSO2 TO IT_FINTSO2.
CLEAR: WA_FINTSO,WA_FINTSO2.
ENDIF.
ENDLOOP.
‎2009 Feb 20 6:18 AM
....So, what is the problem here?
oops, dint see your response.
Edited by: avinash ravipati on Feb 20, 2009 11:48 AM
‎2009 Feb 20 6:05 AM
Hi;
Code seems ok, what problem you are getting let us know?
Regards
Shashi
‎2009 Feb 20 6:06 AM
‎2009 Feb 20 6:10 AM
actually i tried to put that code in mark up available in right side , how to put code in back ground
‎2009 Feb 20 6:22 AM
So you want to put the code in background (Grey block)?
***Your code here
Is this what you wanted to know?
simply write {}code{} and another {}code{} in two different lines leaving a blank line between them. Paste your code in the blank line between these two.
‎2009 Feb 20 6:30 AM
‎2009 Feb 20 6:09 AM
Hi,
code is wrong.
you are looping a structure and moving it into workarea.
in loop you are using move-corresponding from that work area, which is wrong.
move-corresponding is used to move structure contents, right.
‎2009 Feb 20 6:18 AM
....So, what is the problem here?
oops, dint see your response.
Edited by: avinash ravipati on Feb 20, 2009 11:48 AM
‎2009 Feb 20 6:18 AM
Hi,
didn't get u
LOOP AT IT_FINTSO INTO WA_FINTSO.
IF WA_FINTSO-TOTAL GE 0.
MOVE-CORRESPONDING WA_FINTSO TO WA_FINTSO1.
APPEND WA_FINTSO1 TO IT_FINTSO1.
CLEAR: WA_FINTSO,WA_FINTSO1.
ELSE.
MOVE-CORRESPONDING WA_FINTSO TO WA_FINTSO2.
APPEND WA_FINTSO2 TO IT_FINTSO2.
CLEAR: WA_FINTSO,WA_FINTSO2.
ENDIF.
ENDLOOP.Pl elaborate
‎2009 Feb 20 6:34 AM
Hi Mahesh ,
How you to post the code in background in sdn..
just like what u did..
‎2009 Feb 20 6:40 AM
Priya,
Just paste ur code on this layout, and select all that code ,
then click on the 4th icon at the top <>.
it will display as
priyafor more info see the thread above by Sachin.
And u should award before closing the threads for useful answers
thanks\
Mahesh
Edited by: Mahesh Reddy on Feb 20, 2009 7:45 AM
Edited by: Mahesh Reddy on Feb 20, 2009 7:46 AM
‎2009 Feb 20 6:18 AM
Hi,
Do check if the structures WA_FINTSO and WA_FINTSO1 are exactly similar to each other, the data types and its corresponding lenghts. Otherwise this can throw a run time error.
Regards.