Demo on FPM LIST GUIBB with Edit/Save/Delete/Sort/Filter Functionality

...Previous

10 . Goto method “PROCESS_EVENT” and enter the following code.

data wa_messages like line of et_messages.
  
data wa type zstudent.

  
if io_event->mv_event_id 'DEL'.

          
read table itab index iv_lead_index into wa.
            
delete zstudent from wa.
              
if sy-subrc eq 0.
                flag 
' '.
              wa_messages
-msgid 'ZLIST_GUIBB'.
              wa_messages
-msgno '000'.
              wa_messages
-severity 'S'.

              
append wa_messages to et_messages.


              
else.

              wa_messages
-msgid 'ZLIST_GUIBB'.
              wa_messages
-msgno '001'.
              wa_messages
-severity 'E'.

              
append wa_messages to et_messages.

              
endif.
    
endif.

  
IF IO_EVENT->MV_EVENT_ID 'SAVE'.

          
IF C_FLAG 'X'.


              wa_messages
-msgid 'ZLIST_GUIBB'.
              wa_messages
-msgno '000'.
              wa_messages
-severity 'S'.

              
append wa_messages to et_messages.

              c_flag 
abap_false.

            
ENDIF.

    
ENDIF.

11 . Activate each and every method individually and afterwards activate the class.

12 . Now go to SE80 and create a web dynpro component say “YLIST_GUIBB”.

13 . Double click on component name and click on Implemented Interfaces tab and enter “IF_FPM_UI_BUILDING_BLOCK”.

14 . Click on “Reimplement”.

15 . Activate the component.

 16 . Create the application.

 

17 . In “Properties” tab enter the following values

                Component     :  FPM_OIF_COMPONENT

                Interface view :  FPM_WINDOW

                Plug name        : DEFAULT

         

18 . Go to the package where you have saved the WebDynpro Application and right click on the Application and click “Create/Change Configuration”.

Click here to continue...

 

Please send us your feedback/suggestions at webmaster@SAPTechnical.COM 

HomeContribute About Us Privacy Terms Of Use • Disclaimer • SafeCompanies: Advertise on SAPTechnical.COM | Post JobContact Us  

Graphic Design by Round the Bend Wizards

footer image footer image