‎2011 Nov 25 6:08 AM
Dear Experts,
I am displaying a Hierarchical ALV using the FM REUSE_ALV_HIERSEQ_LIST_DISPLAY with its PF-STATUS. The program is doing the same treatment as the transaction MR11.
My problem is that after selecting a line in the ALV and doing all the treatment in the USER-COMMAND section, my program need to display a log showing the result but the PF-STATUS is still displaying also on the log. I do not the PF-STATUS to display on the Log.. Any solution??
Thanks
Ally
‎2011 Nov 25 6:27 AM
HI ally ,
I have given 2 ways to solve this issues, Kindly follow the below suggestions,
1) Check your "OK_CODE" in Coding as per your conditions ,
2) Use "IF" condition to disable your PF status in Log ,
for eg ;
IF FLAG = 'X'. "to set the PF-STATUS according to output.
SET PF-STATUS 'ZABC' EXCLUDING ITAB.
ELSE.
SET PF-STATUS 'ZDEF' EXCLUDING 'UNDO'.
ENDIF.
Use the above example code and modify as per your requirements.
Regards ,
Saravana.S
‎2011 Nov 25 6:27 AM
HI ally ,
I have given 2 ways to solve this issues, Kindly follow the below suggestions,
1) Check your "OK_CODE" in Coding as per your conditions ,
2) Use "IF" condition to disable your PF status in Log ,
for eg ;
IF FLAG = 'X'. "to set the PF-STATUS according to output.
SET PF-STATUS 'ZABC' EXCLUDING ITAB.
ELSE.
SET PF-STATUS 'ZDEF' EXCLUDING 'UNDO'.
ENDIF.
Use the above example code and modify as per your requirements.
Regards ,
Saravana.S
‎2012 Jun 08 9:35 AM