2014 Oct 20 4:03 AM
Hi,
Iam using the below code in PBO of the maintanence screen
PROCESS BEFORE OUTPUT.
MODULE LISTE_INITIALISIEREN.
MODULE sort . ---------------------------------->custom module created by me
In the above sort module iam using below code to sort
MODULE SORT.
DATA : IT_PVFTMAP LIKE ZHRPYT_PVFTMAP OCCURS 1 WITH HEADER LINE .
IT_PVFTMAP[] = TOTAL[].
SORT IT_PVFTMAP BY ZPERIOD+0(2) ZPERIOD+2(4)."F1 F2 F3.
TOTAL[] = EXTRACT[].
EXTRACT[] = TOTAL[].
ENDMODULE.
Any one could you please help me in sorting the TOTAL[] or EXTRACT[] in table maintanence.
Hi,
Iam using the below code in PBO of the maintanence screen
PROCESS BEFORE OUTPUT.
MODULE LISTE_INITIALISIEREN.
MODULE sort . ---------------------------------->custom module created by me
In the above sort module iam using below code to sort
MODULE SORT.
DATA : IT_PVFTMAP LIKE ZHRPYT_PVFTMAP OCCURS 1 WITH HEADER LINE .
IT_PVFTMAP[] = TOTAL[].
SORT IT_PVFTMAP BY ZPERIOD+0(2) ZPERIOD+2(4)."F1 F2 F3.
TOTAL[] = EXTRACT[].
EXTRACT[] = TOTAL[].
ENDMODULE.
Any one could you please help me in sorting the TOTAL[] or EXTRACT[] in table maintanence.
2014 Oct 20 5:12 AM
2014 Oct 20 5:24 AM
Hi Archer,
Iam getting dump sa "Two internal tables are neither compatible nor convertible".
Pleae suggest me it is urgent i priority...
thanks & regards,
kranthi
2014 Oct 20 5:33 AM
uh, what happened to your code, i using the same code you mentioned, it works fine to me.
Your code wrote in a Include program like me?
regards,
Archer
2014 Oct 20 5:40 AM
Hi ,
In the above code
IT_PVFTMAP[ ] = TOTAL[ ] this statement gives the dump.becoz TOTAL is defined by sap we dont know the declaration of TOTAL[ ].but ours is IT_PVFTMAP[ ] of type zmara.
we may not sure both these are same type declaration.
Please suggest me this is urgetn in priority.
2014 Oct 20 6:48 AM
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |