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

pf-status

Former Member
0 Likes
508

Hello experts,

I want to use the pf-status declared in other program in my program?

e.g. in program zxyz pf-status defined is 'test'.

now i want to use this pf-status in my program ie.in 'zabc'.

how do i do that??

thanks in advance.

Saurabh

Hello experts,

I want to use the pf-status declared in other program in my program?

e.g. in program zxyz pf-status defined is 'test'.

now i want to use this pf-status in my program ie.in 'zabc'.

how do i do that??

thanks in advance.

Saurabh

3 REPLIES 3
Read only

Former Member
0 Likes
493

Hi,

Goto se41,

Type the name of the program and pf-status there.

Then goto the icon on top saying 'user interface'.

Click on COPY, then click STATUS.

Write your program name and status to which you have to copy and from which you want to copy.

Press COPY.

And its done.

Thanks,

Pritha.

<REMOVED BY MODERATOR>

Edited by: Pritha Agrawal on Mar 4, 2008 1:17 PM

Edited by: Alvaro Tejada Galindo on Mar 4, 2008 2:58 PM

Read only

Former Member
0 Likes
493

Declare as :

DATA PROG LIKE SY-REPID.

MOVE 'ZTESTPROG' TO PROG. <-- ZTESTPROG is another program

<-- ABCD is pf-status of program ZTESTPROG

SET PF-STATUS 'ABCD' OF PROGRAM PROG.

Read only

Former Member
0 Likes
493

Hi saurabh,

Go to SE41.

Program: zxyz

Status: test

Then press the button "Copy Status" Ctrl+F6.

Give your program name and status name to copy it.

Remove the button you wanted form your generated PF-Status.

Now in your program you need to make one perform for this:

Karthik.