Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
4Activity
0 of .
Results for:
No results containing your search query
P. 1
Zdyn Pro Se51

Zdyn Pro Se51

Ratings: (0)|Views: 17 |Likes:
Published by mukesh0286

More info:

Published by: mukesh0286 on May 21, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as TXT, PDF, TXT or read online from Scribd
See more
See less

12/14/2012

pdf

text

original

 
*&---------------------------------------------------------------------**& Module pool ZDYN_PRO **& **&---------------------------------------------------------------------**&* created by mukesh chaurasia................*& **&---------------------------------------------------------------------*PROGRAM ZDYN_PRO .TABLES : ZMUKS55.DATA: BEGIN OF ITAB OCCURS 10,ID LIKE ZMUKS55-ID,NAME LIKE ZMUKS55-NAME,ADDRESS LIKE ZMUKS55-ADDRESS,LOCATION LIKE ZMUKS55-LOCATION,PHONE LIKE ZMUKS55-PHONE,SALARY LIKE ZMUKS55-SALARY,END OF ITAB.DATA : ID LIKE ZMUKS55-ID,NAME LIKE ZMUKS55-NAME,ADDRESS LIKE ZMUKS55-ADDRESS,LOCATION LIKE ZMUKS55-LOCATION,PHONE LIKE ZMUKS55-PHONE,SALARY LIKE ZMUKS55-SALARY.*&SPWIZARD: FUNCTION CODES FOR TABSTRIP 'TBS11'CONSTANTS: BEGIN OF C_TBS11,TAB1 LIKE SY-UCOMM VALUE 'TBS11_FC1',TAB2 LIKE SY-UCOMM VALUE 'TBS11_FC2',TAB3 LIKE SY-UCOMM VALUE 'TBS11_FC3',END OF C_TBS11.*&SPWIZARD: DATA FOR TABSTRIP 'TBS11'CONTROLS: TBS11 TYPE TABSTRIP.DATA: BEGIN OF G_TBS11,SUBSCREEN LIKE SY-DYNNR,PROG LIKE SY-REPID VALUE 'ZDYN_PRO',PRESSED_TAB LIKE SY-UCOMM VALUE C_TBS11-TAB1,END OF G_TBS11.DATA: OK_CODE LIKE SY-UCOMM.*&SPWIZARD: OUTPUT MODULE FOR TS 'TBS11'. DO NOT CHANGE THIS LINE!*&SPWIZARD: SETS ACTIVE TABMODULE TBS11_ACTIVE_TAB_SET OUTPUT.TBS11-ACTIVETAB = G_TBS11-PRESSED_TAB.CASE G_TBS11-PRESSED_TAB.WHEN C_TBS11-TAB1.G_TBS11-SUBSCREEN = '1102'.WHEN C_TBS11-TAB2.G_TBS11-SUBSCREEN = '1103'.WHEN C_TBS11-TAB3.G_TBS11-SUBSCREEN = '1104'.WHEN OTHERS.*&SPWIZARD: DO NOTHINGENDCASE.ENDMODULE.*&SPWIZARD: INPUT MODULE FOR TS 'TBS11'. DO NOT CHANGE THIS LINE!
 
*&SPWIZARD: GETS ACTIVE TABMODULE TBS11_ACTIVE_TAB_GET INPUT.OK_CODE = SY-UCOMM.CASE OK_CODE.WHEN C_TBS11-TAB1.G_TBS11-PRESSED_TAB = C_TBS11-TAB1.WHEN C_TBS11-TAB2.G_TBS11-PRESSED_TAB = C_TBS11-TAB2.WHEN C_TBS11-TAB3.G_TBS11-PRESSED_TAB = C_TBS11-TAB3.WHEN OTHERS.*&SPWIZARD: DO NOTHINGENDCASE.ENDMODULE.*&---------------------------------------------------------------------**& Module USER_COMMAND_0110 INPUT*&---------------------------------------------------------------------** text*----------------------------------------------------------------------*module USER_COMMAND_0110 input.CASE SY-UCOMM.********************************************** INSERT *************************************************WHEN 'INSERT'.CLEAR : ITAB, ITAB[].REFRESH : ITAB, ITAB[].ITAB-ID = ID.ITAB-NAME = NAME.ITAB-ADDRESS = ADDRESS.ITAB-LOCATION = LOCATION.ITAB-PHONE = PHONE.ITAB-SALARY = SALARY.APPEND ITAB.INSERT ZMUKS55 FROM TABLE ITAB .CLEAR : ITAB, ITAB[].REFRESH : ITAB, ITAB[].IF sy-subrc = 0.MESSAGE i001(zmsg) WITH 'SUCCESSFUL INSERT DATA'.ID = ' '.NAME = ' '.ADDRESS = ' '.LOCATION = ' '.PHONE = ' '.SALARY = ' '.ELSE.MESSAGE i001(zmsg) WITH 'NOT-INSERTING THE DATA'.ENDIF.********************************************** RESET *************************************************WHEN 'RESET'.ID = ' '.NAME = ' '.ADDRESS = ' '.LOCATION = ' '.PHONE = ' '.
 
SALARY = ' '.********************************************** UPDATE *************************************************WHEN 'UPDATE'.ITAB-ID = ID.ITAB-NAME = NAME.ITAB-ADDRESS = ADDRESS.ITAB-LOCATION = LOCATION.ITAB-PHONE = PHONE.ITAB-SALARY = SALARY.APPEND ITAB.UPDATE ZMUKS55 FROM TABLE ITAB.IF sy-subrc = 0.MESSAGE i001(zmsg) WITH 'RECORD UPDATED SUCCESSFUL'.ID = ' '.NAME = ' '.ADDRESS = ' '.LOCATION = ' '.PHONE = ' '.SALARY = ' '.ELSE.MESSAGE i001(zmsg) WITH 'RECORD UPDATE UN-SUCCESSFUL'.ENDIF.CLEAR ITAB.********************************************** DELETE *************************************************WHEN 'DELETE'.ITAB-ID = ID.ITAB-NAME = NAME.ITAB-ADDRESS = ADDRESS.ITAB-LOCATION = LOCATION.ITAB-PHONE = PHONE.ITAB-SALARY = SALARY.APPEND ITAB.DELETE ZMUKS55 FROM TABLE ITAB .CLEAR ITAB.IF sy-subrc = 0.MESSAGE i001(zmsg) WITH 'SUCCESSFUL INSERT DATA'.ID = ' '.NAME = ' '.ADDRESS = ' '.LOCATION = ' '.PHONE = ' '.SALARY = ' '.ELSE.MESSAGE i001(zmsg) WITH 'NOT-INSERTING THE DATA'.ENDIF.ENDCASE.endmodule. " USER_COMMAND_0110 INPUT*&---------------------------------------------------------------------**& Module STATUS_0110 OUTPUT

Activity (4)

You've already reviewed this. Edit your review.
1 hundred reads
Edward Kim liked this
Pavan liked this
taqiengg liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->