Application Development and Automation 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: 
Read only

Problem with PF-STATUS

Former Member
0 Likes
763

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
670

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

2 REPLIES 2
Read only

Former Member
0 Likes
671

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

Read only

0 Likes
670

Answered!!!