‎2008 Aug 08 1:46 PM
hi,
my save button is not getting activated in my screen in module pool . how it gets activeted so that when i click on it my data gets saved into table successfully.
Thanks & Regards,
Syam
‎2008 Aug 08 1:58 PM
HI,
for that u need to set PF status in the PBO of particular screen.
goto pbo->module status_0100.->set pf-status 'xxxx'.
u need to remove these xxxx and give a Zname. like ZPFSTAT.
now double click on it..
create pf status...
in the next screen select function keys---->and assign a function code for SAVE field.
Now in the pai u can use it..
like...
case sy-ucomm.
when 'SAVE'.
-
---
endcase.
‎2008 Aug 08 1:50 PM
‎2008 Aug 08 1:58 PM
HI,
for that u need to set PF status in the PBO of particular screen.
goto pbo->module status_0100.->set pf-status 'xxxx'.
u need to remove these xxxx and give a Zname. like ZPFSTAT.
now double click on it..
create pf status...
in the next screen select function keys---->and assign a function code for SAVE field.
Now in the pai u can use it..
like...
case sy-ucomm.
when 'SAVE'.
-
---
endcase.
‎2008 Aug 08 2:05 PM
Only if you set the status , then only it will activated.
In the PBO module you will have to do that.
SET PF-STATUS 'STATUS'.
just click on the status and create or if it created then go there
expand the Function keys and Activate the SAVE button by providing the Function code and text.
save and Activate the status and now check it./
‎2008 Aug 11 5:20 AM
hi,
You have to create a GUI status for this purpose. Right click on your module program and create a gui status , let say 'STATUS1' . Now in function keys , under the save button, specify its assosiated function code, let say 'SAVE1'.
in PBO you have to code like this.
SET PF-STATUS 'STATUS1'.
in PBO you have to code like this.
if sy-ucomm = 'SAVE1'.
< do these operations>
endif.
‎2008 Aug 11 5:29 AM
Hi,
Double click on the line "SET PF-STATUS" and assign a
FUNCTION CODE to the SAVE Button under Standard Tool
Bar in Menu Painter. Add the necessary code to SAVE the record in the DB.
Hope this helps.
Murthy
‎2008 Aug 11 5:54 AM
Hi,
Make sure you Activate the GUI Status after creating it.
Also, use the same fcode (in CAPITAL letters) in your PAI processing as given for the Save Button in GUI Status.
Regards,
Wajid Hussain P.
‎2008 Aug 11 6:32 AM
Hi,
Set your PF status in PBO event.
PF Status > Function Keys> give the function code for the SAVE button
save and activate your PF status.
regards
padma
‎2008 Aug 11 10:50 AM