2008 Jan 24 9:25 AM
HI Experts,
I have a report where I am taking few inputs from user. But for saving that inputs, SAVE button on menubar is disabeled. HOw Can I activate this SAVE button & How Can I attach it with my report for desired Action.
Urgent.
Thanks.
Khan.
2008 Jan 24 9:52 AM
Hi,
Go to PF-Status of that screen. it will get through your Process Before Output.
SET PF-STATUS 'SAVE'.
Double click on 'SAVE', it will get you to Standard toolbar. Write SAVE text on that icon.
it will get enabled..
regards,
vikas.
plz reward if helpful...
Hi,
Go to PF-Status of that screen. it will get through your Process Before Output.
SET PF-STATUS 'SAVE'.
Double click on 'SAVE', it will get you to Standard toolbar. Write SAVE text on that icon.
it will get enabled..
regards,
vikas.
plz reward if helpful...
2008 Jan 24 9:52 AM
Hi,
Go to PF-Status of that screen. it will get through your Process Before Output.
SET PF-STATUS 'SAVE'.
Double click on 'SAVE', it will get you to Standard toolbar. Write SAVE text on that icon.
it will get enabled..
regards,
vikas.
plz reward if helpful...
2008 Jan 24 10:01 AM
hi Vikas,
Thanks for reply... I am new to this PF status. So Can u Plz explain from where I start. Where I have to write
SET PF-STATUS 'SAVE'.
thanks
Khan
2008 Jan 24 10:02 AM
2008 Jan 24 10:06 AM
2008 Jan 24 10:11 AM
hi,
u can write SET PF-STATUS 'ZSTAT' in initialization or start-of-selection.
then double click on given name ( here ZSTAT) it will allow u to create ur own menu ( tool bar ) then u can handle created buttons in AT USER-COMMAND event.
TABLES : vbrk.
DATA : off TYPE i,
lin TYPE i,
fld TYPE char10.
DATA : BEGIN OF itab OCCURS 0,
vbeln LIKE vbrk-vbeln,
fkart LIKE vbrk-fkart,
fkdat LIKE vbrk-fkdat,
netwr LIKE vbrk-netwr,
kunag LIKE vbrk-kunag,
END OF itab.
TOP-OF-PAGE.
ULINE AT /1(80).
FORMAT COLOR 3 ON.
WRITE:/1 sy-vline,
3 'Billing Doc.',
18 sy-vline,
20 'Billing Type',
33 sy-vline,
35 'Billing Date',
48 sy-vline,
50 'Net Value',
68 sy-vline,
69 'Customer',
80 sy-vline.
ULINE AT /1(80).
FORMAT COLOR OFF.
START-OF-SELECTION.
SET PF-STATUS 'TEST'.
SELECT vbeln fkart fkdat netwr kunag FROM vbrk
INTO CORRESPONDING FIELDS OF TABLE itab
WHERE vbeln LIKE '00000033%'.
LOOP AT itab.
WRITE:/1 sy-vline,
itab-vbeln UNDER 'Billing Doc.' HOTSPOT ON,
18 sy-vline,
itab-fkart UNDER 'Billing Type',
33 sy-vline,
itab-fkdat UNDER 'billing Date',
48 sy-vline,
itab-netwr UNDER 'Net Value' LEFT-JUSTIFIED,
68 sy-vline,
itab-kunag UNDER 'Customer' HOTSPOT ON,
80 sy-vline.
ENDLOOP.
ULINE AT /1(80).
AT USER-COMMAND.
CASE sy-ucomm.
WHEN 'BACK' OR 'UP' OR 'CANC'.
LEAVE PROGRAM.
ENDCASE.
reward if usefull....
2008 Jan 24 11:00 AM
HI,
Set pf-status is working fine but Why its not working When I comment HOtspot text in top-of-page.
write: 'click' hotspot.
thanks.
khan
2008 Jan 24 11:08 AM
2008 Jan 25 4:28 AM
hi Shah,
NOt in ur code...but in mine in top-of-page.....
*************************
TOP-OF-PAGE.
WRITE:/1(108) 'FORCASTING REPORT' CENTERED.
WRITE :/1(108) P_DATE CENTERED.
SKIP.
WRITE:/ 'click' HOTSPOT.
SKIP.
FORMAT COLOR COL_HEADING ON.
WRITE : /1(108) SY-ULINE.
WRITE : /1 SY-VLINE,
(5) 'Plant' CENTERED,
SY-VLINE,
(4) 'Month' CENTERED,
SY-VLINE,
(20) 'Material No.' CENTERED,
SY-VLINE,
(40) 'Description' CENTERED,
SY-VLINE,
(15) 'Quantity' CENTERED,
SY-VLINE,
(5) 'Unit' CENTERED,
SY-VLINE.
WRITE : /1(108) SY-ULINE.
**************************
If I comment any of the above three bold line, the save button set by SET PF_STATUS doesnot work...why is that So.
Thanks.
Khan
2008 Jan 25 9:57 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |