Problem in modul pool

Dear all,
i have one mmp is written in version 4.7 and here we migrate sap in ecc 6.0, problem is when i execute the program in 4.7 then screen data will display fine, then same program i execute in ecc 6.0 then screen not dispaly any data.
pleaese give me some solution for it.
abhilash

Dear Abhilash,
Have you checked the upgrade document released by SAP on migrating from 4.7 to ECC 6.0. It may be possible that certain standard functionality might have been enhanced/changed which could affect your output. In this case you may have to align your program accordingly. SAP note search with MP keywords can also be helpful.

Similar Messages

  • Problem in Module Pool Program

    Hi All,
    I got one problem in Module pool program.Im using table control.when selected multiple coloms by table control option left top.
    when I want to de-select one by one,unable to de-select. Please suggest me.
    thank you,
    Anu.

    Thank You All.
    Solved my self.
    The coding as below.
    PROCESS BEFORE OUTPUT.
      CALL SUBSCREEN SUB INCLUDING SY-REPID '110'.
      LOOP AT GT_ITAB INTO WA WITH CONTROL VCONTROL.
        MODULE SET.
        MODULE STATUS_0100.
      ENDLOOP.
    PROCESS AFTER INPUT.
       CALL SUBSCREEN SUB.
      LOOP AT GT_ITAB .
        CHAIN.
          FIELD WA-EBELN.
          FIELD WA-EMATN.
          FIELD WA-EBELP.
          FIELD WA-MATNR.
          FIELD WA-MARK.
          MODULE MODIFY ON CHAIN-REQUEST.
        ENDCHAIN.
      ENDLOOP.
        MODULE USER_COMMAND_0100.
    MODULE USER_COMMAND_0100 INPUT.
    CASE SY-UCOMM.
        WHEN 'SAVE'.
          PERFORM SAVE_VARIANT.
          PERFORM VARIANT_EXISTS.
        WHEN 'SEL'.
          LOOP AT GT_ITAB INTO WA.
            WA-MARK = 'X'.
            MODIFY GT_ITAB FROM WA .
          ENDLOOP.
    endmodule.
    MODULE STATUS_0100 OUTPUT.
      SET PF-STATUS 'ZTESTING'.
      SET TITLEBAR 'ZTEST'.
      SET PF-STATUS  'ZTESTING' EXCLUDING IT_EXTAB.
      MOVE:WA-EBELN TO EKKO-EBELN,
           WA-EBELP TO EKPO-EBELP,
           WA-MATNR TO WA-MATNR.
      MOVE:WA-EMATN TO WA-EMATN.
    MODIFY GT_ITAB FROM WA INDEX VCONTROL-CURRENT_LINE.
      VCONTROL-LINES = SY-DBCNT.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    MODULE SET OUTPUT.
      SET CURSOR FIELD CURSORFIELD OFFSET POS.
    ENDMODULE.                 " SET  OUTPUT
    Thank You,
    Anu.

  • Strange problem in module pool programming

    Hi all,
    we have a module pool program which consists of screen 100 and 200 and 3 sub-screens 201,202 and 203.the problem is when we double click on any field we get a pop up message which should appear only when we press the 'SAVE' button for which ok_code is 'CHNG'.I have debugged the program for screen 100 pbo,pai,200 pbo but the value of ok_code is not equal to 'CHNG' then it takes me to screen 200 and when i double click then popup appears and and in 200 PAI the value of ok_code had already got changed  to 'CHNG' without entering the change logic and I have not even pressed the SAVE button which has 'CHNG' code associated with it.Can any one help me solve this problem.I wish I could give a better explanation.
    Thanks and Regards,
    Sangram

    Hi,
    This is because the Shortcut key assigned to SAVE button in PF-STATUS is "F2". F2 is for Double Click. Assign some other Function Key to SAVE or any Button. Try to avoid assigning F2 key.
    This would solve the problem.
    Best regards,
    Prashant
    PS : Please reward all helpful answers !

  • Select-options Problem in module pool

    Hi,
         I have created select-options in a seperate program and i have called the subscreen in module pool program.
    I dont have any problem with the display of select-options but whatever the value given is not getting in to the program. Hw to solve this problem
    Assured Points
    Thanks in Advance
    Jai

    hi,
    did you declare that in top include?
    if not declare it globally.
    In stead of subscreen, try to do with screen itself.
    Create screen like this.
    selection-screen begin of screen 300.
    selection-screen begin of block b1 with frame title text-000.
    select-options : so_ebeln for v_ebeln modif id g1,
                     so_vbeln for v_vbeln modif id g2.
    selection-screen end of block b1.
    selection-screen end of screen 300.
    Call this screen : in PAI of ur another screen.
    call selection-screen 300.
    Regards
    Sandeep REddy

  • Selection screen problem in module pool

    Hi friends,
    I am working on module pool programming, I need to put select screen on the screen of the module pool porgramming. I used Input/Output field to do that and activated. But I am getting message invalid field format (screen error) can any one tell me why I am not able to run the seletion screen when I am using input/output field, also please let me know how to solve this problem.
    Regards,
    Line

    Hello,
    Think that this is useful for u/
    SELECTION-SCREEN - Defining selection screens
    Variants:
    1a. SELECTION-SCREEN BEGIN OF SCREEN scr.
    1b. SELECTION-SCREEN END   OF SCREEN scr.
    2. SELECTION-SCREEN BEGIN OF SCREEN scr AS SUBSCREEN.
    Effect
    Defines a selection screen with the number scr. scr may be up to 4 digits.
    SELECTION-SCREEN BEGIN OF SCREEN scr.
    Additions:
    (zu SELECTION-SCREEN BEGIN OF SCREEN scr) 1. ... TITLE title
    2. ... AS WINDOW
    Notes
    In reports (type 1 programs), a selection screen with number 1000 is created automatically when you use the SELECT-OPTIONS, PARAMETERS and SELECTION-SCREEN statments. This selection screen appears when you SUBMIT the report.
    In any type of program (apart from subroutine pools - type S), you can define further selection screens using SELECT-OPTIONS, PARAMETERS and SELECTION-SCREEN. You enclose these statements between the SELECTION-SCREEN BEGIN OF SCREEN and SELECTION-SCREEN END OF SCREEN statements.
    You call these screens using the CALL SELECTION-SCREEN statement.
    Screen number 1000 is not allowed (reserved for standard selection screen).
    When you generate the program, all user-defined selection screens are also generated.
    Within a report (type 1 program), all SELECT-OPTIONS, PARAMETERS and SELECTION-SCREEN statements outside a SELECTION-SCREEN BEGIN/END OF SCREEN block form part of selection screen 100 (standard selection screen)
    Regards,
    LIJO JOHN.

  • List Box Problem In MODULE POOL PROGRAM(EDIT MODE)

    I Have Developed A MODULE POOL PROGRAM ,
    It Basically Consists Of   CREATE  EDIT and DISPLAY Modes.
    CREATE MODE:
    When I am Creating For Example FORM NO 1,it is having Fields With drop down list box with values
    A,B and C. if I Choose A then That form will Get Created With A value and Form 1 will be created.
    EDIT MODE:
    The same form If u want to edit In EDIT Mode ,it is displaying value A and it Showing the list box in the fillowing Manner.A,B,C,and A.(This is what the problem I am Facing Know).It Is Displaying the value two times.How to Avoid this ,PLs Help me in this regard.
    Thaks & Regards,
    Anuradha.

    Where ever you are populating the List Box, write a REFRESH statement just before that.
    Means Refresh the old content and add new content

  • Problem is Module pool custom F4 help

    In module pool selection screen . I have defined vendor field as a select option and attached a custom search help to it . Now the problem is that when i press F4 on that field and select a value from the help , that value is not populated in the input field .
    The other problem is that if we keep this vendor select option as blank , then in the select statement using " IN S_lifnr " gives a dump as it treats the field as blank .( does not function as standard) . does this have anything to do with the custom search help .
    any help would be appreciated .

    Do you mean that u created a custom cearch help using se11 and attached that using F4IF_INT_TABLE_VALUE_REQUEST.
    I dont think that is possible. 
    F4IF_INT_TABLE_VALUE_REQUEST is used to programmatically create an f4 help, fetching data from an internal table.
    here is an eg.
    DATA: BEGIN OF VALUE_ITAB OCCURS 0,
          moldno TYPE zqmrr-zzmoldno,
          END OF VALUE_ITAB.
    DATA: FIELD_TAB LIKE DFIES OCCURS 0 WITH HEADER LINE.
    DATA: RETURN_TAB LIKE DDSHRETVAL OCCURS 0 WITH HEADER LINE.
    select-options :           s_moldno  for zqmrr-zzmoldno,
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_MOLDNO-LOW.
      REFRESH VALUE_ITAB[].
      REFRESH FIELD_TAB[].
      REFRESH RETURN_TAB[].
      SELECT ZZMOLDNO FROM ZQMRR INTO table VALUE_ITAB.
      FIELD_TAB-FIELDNAME = 'ZZMOLDNO'.
      FIELD_TAB-TABNAME   = 'ZQMRR'.
      APPEND FIELD_TAB.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
       DDIC_STRUCTURE         = ' '
          RETFIELD               =  FIELD_TAB-FIELDNAME
        TABLES
          VALUE_TAB              = VALUE_ITAB
         FIELD_TAB              = FIELD_TAB
         RETURN_TAB             = RETURN_TAB
       DYNPFLD_MAPPING        =
    EXCEPTIONS
       PARAMETER_ERROR        = 1
       NO_VALUES_FOUND        = 2
       OTHERS                 = 3
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
      IF SY-SUBRC = 0.
        S_MOLDNO-LOW = RETURN_TAB-FIELDVAL.
      ENDIF.
    compare and try to find  what u are doing wrong,

  • Problem creating module pool

    I'm trying to create dialog program ( probably referred to as a module pool in today's terminology) in R/3 4.7 and I'm getting authorization errors when I use the naming convention I have always used  SAP + M + Z + program name.  For example if my program name was TEST the dialog program name would be SAPMZTEST.  In creating this program I answer yes to creating the top include, then yes to the proposed name of the top include which is MZTESTTOP.  Then I get stopped by the authorization error.
    My question is this:  Is there a new way to create dialog programs in 4.7 or is this merely an authorization problem - if so, what value needs to be the object entry of S_DEVELOP
    I would greatly appreciate some guidance on this
    Thanks,
    Brent

    I did that and the basis guys responded that we are only authorized to create programs in the Y & Z name space.  I tried to explain that there was a particular naming convention for module pools.
    I just wanted to make sure that there is no change in the naming convention, and no change in the way those programs are created.
    Thanks,
    Brent

  • Problem in module pool with table control scrolling

    hi,
    i am using the table control in module pool,in the table control i have radion button for all the rows.
    After i got the data into the table control ,if i select radio button and if i press vertical scroll bar button, that radio button is deselecting,how to solve this issue.
    Please help me.

    Hi
    Generally we don't keep radiobuttons in table control for selecting the records
    We keep check boxes for selecting the records
    Radio button is used to select a single from a group of records and at a time only one is selected, where as checkboxes at a time you can select a single or multiple.
    So use checkboxes and code correctly see the doc for Table control
    syntax:
    CONTROLS .
    if you only want to determine the row of the table control. SY´-SUBRC allows you to check if the cursor is placed in a row of a table control.
    u need to comment the performs of table control fields and write ur own perform statements. And u have to declare the table control fields as separate internal tables.
    Go through this urls.
    www.****************
    www.sap-img.com
    Check the below links.
    http://www.planetsap.com/howdo_a.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbac5135c111d1829f0000e829fbfe/content.htm
    http://sap.niraj.tripod.com/id25.html
    Reward points if useful
    Regards
    Anji

  • Screen problem in Module pool program

    Hi all,
    I have developed a module pool program, in which i have used simple selection screen and after executing it will call screen 9001 to display the data. everything is goin fine but if i leave my output screen as it is for some time (or even if i lock my system then unlock it) i am getting an error message
    "Selection screen ZDEV1110PGM_SF 1000 was not called using CALL SELECTION-SCREEN".
    do any one have idea why this is happining without doing anything further to the output.
    Regards,
    Nilanjana

    Have you used CALL SCREEN ?
    Regards
    Abhii

  • Problem in Module Pool Programming

    hello,
    I am using module pool programming.
    i want to assign the text to textbox during runtime
    thanks!

    Hi Raghvendra Bhanap,
    declare the variable with the same name of text box(In module pool) and in the PAI even write the module by double clicking on that in your program just assign some text to that name then the text automatically come in that text box.
    See this example programm.
    *In Screen Painter PAI Event.*
    moudle assigntext.
    In your Program.
    Data w_name(40). (*In the module pool also put this name only)
    Module assigntext.
    w_name = 'Raghvendra Bhanap'.
    Endmodule.
    Reward if it is useful,
    Mahi.

  • Selection OPTION: Date input problem in Module POOL through Subscreen

    Dear ALL,
    Being new to ABAP, I am struck in a Problem.
    Requirement:
    I want an option on the Screen( My Screen 9000) for Date Range. Through this Date-Range I want to filter and pull some data from
    Database.
    As Date Range Selection option is possible only through Sub-Screen integration. Hence I integrated a Sub-Screen 400 (as below) and named the Sub-Screen area as SEL on my screen.
    Problem: As soon as I enter the dates on the screen, then those dates are not taken up by the code.
    During debugging I saw the the S_datum-low and S_datum-high are empty (in fact 00000000)
    The code follows:
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_9000.
      Call SUBSCREEN SEL  INCLUDING sy-repid '400'.
    PROCESS AFTER INPUT.
      MODULE USER_COMMAND_9000.
    DATA:  gv_datum     Type   dats,
    SELECTION-SCREEN BEGIN OF SCREEN 400 AS SUBSCREEN.
        SELECT-OPTIONS: s_datum FOR gv_datum.
    SELECTION-SCREEN END OF SCREEN 400 .
    Plz help where I am missing something.
    Regards
    Chandan

    Call the subscreen during the AT SELECTION-SCREEN event.
    SELECTION-SCREEN BEGIN OF SCREEN 400 AS SUBSCREEN.
    SELECT-OPTIONS: s_datum FOR gv_datum.
    SELECTION-SCREEN END OF SCREEN 400 .
    AT SELECTION-SCREEN.
       CALL SCREEN 100.
    *&      Module  STATUS_0100  OUTPUT
    *       text
    MODULE status_0100 OUTPUT.
       SET PF-STATUS '0100'.
    *  SET TITLEBAR 'xxx'.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
    *       text
    MODULE user_command_0100 INPUT.
       CASE sy-ucomm.
         WHEN 'BACK' OR 'EXIT' OR 'CANCEL'.
           LEAVE TO SCREEN 0.
       ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT

  • Module pool program error

    hi expects,
       in this program in screen 100, i have provided select-options for material no,maximum qty,no. of kanban,no of unit per kanban in tabstrip and i am having 3 pushbuttons (create (screen110),change(screen 120),display(screen 130).but i am getting error in 100 & 110).in 110 , i should provide again select-options and table control.please help me to solve this problem.
    *& Module pool ZSAPMZPGM2 *
    PROGRAM ZSAPMZTECHANICALTESTPGM2 .
    TABLES : ZTECHANICALTEST2,MAKT.
    DATA : BEGIN OF ITAB OCCURS 0,
    ZMANDT LIKE ZTECHANICALTEST2-ZMANDT,
    ZMATNR LIKE ZTECHANICALTEST2-ZMATNR,
    ZMAXQTY LIKE ZTECHANICALTEST2-ZMAXQTY,
    ZNUMKB LIKE ZTECHANICALTEST2-ZNUMKB,
    ZBUNT LIKE ZTECHANICALTEST2-ZBUNT,
    ZCRTBY LIKE ZTECHANICALTEST2-ZCRTBY,
    ZCRTDT LIKE ZTECGHANICALTEST2-ZCRTDT,
    ZUPDBY LIKE ZTECHANICALTEST2-ZUPDBY,
    ZUPDDT LIKE ZTECHANICALTEST2-ZUPDDT,
    END OF ITAB.
    CONTROLS : VCONTROLS TYPE TABLEVIEW USING 120.
    CONTROLS : STRIP TYPE TABSTRIP.
    DATA : DYNNR LIKE SY-DYNNR VALUE 110
    *& Module USER_COMMAND_0100 INPUT
    text
    module USER_COMMAND_0100 input.
    CASE SY-UCOMM.
    WHEN 'DATA SELECTION'.
    DYNNR = 110.
    STRIP-ACTIVETAB = 'DATA SELECTION'.
    ENDCASE.
    endmodule. " USER_COMMAND_0100 INPUT
    *& Module USER_COMMAND_0110 INPUT
    text
    module USER_COMMAND_0110 input.
    CASE SY-UCOMM.
    WHEN 'CREATE SCREEN'.
    INSERT ZTECHANICALTEST2 FROM TABLE itab.
    SELECT * FROM ZTECHANICALTEST INTO ITAB.
    PROCESS BEFORE OUTPUT.
    *&SPWIZARD: PBO FLOW LOGIC FOR TABLECONTROL 'V_CONTROL'
      MODULE V_CONTROL_INIT.
    *&SPWIZARD: MODULE V_CONTROL_CHANGE_TC_ATTR.
    *&SPWIZARD: MODULE V_CONTROL_CHANGE_COL_ATTR.
      LOOP AT   G_V_CONTROL_ITAB
           INTO G_V_CONTROL_WA
           WITH CONTROL V_CONTROL
           CURSOR V_CONTROL-CURRENT_LINE.
    *&SPWIZARD:   MODULE V_CONTROL_CHANGE_FIELD_ATTR
        MODULE V_CONTROL_MOVE.
        MODULE V_CONTROL_GET_LINES.
      ENDLOOP.
    MODULE STATUS_0100.
    PROCESS AFTER INPUT.
    *&SPWIZARD: PAI FLOW LOGIC FOR TABLECONTROL 'V_CONTROL'
      LOOP AT G_V_CONTROL_ITAB.
        CHAIN.
          FIELD ZTECHANICALTEST2-ZMANDT.
          FIELD ZTECHANICALTEST2-ZMATNR.
          FIELD ZTECHANICALTEST2-ZMAXQTY.
          FIELD ZTECHANICALTEST2-ZNUMKB.
          FIELD ZTECHANICALTEST2-ZKBUNT.
          FIELD ZTECHANICALTEST2-ZCRTBY.
          FIELD ZTECHANICALTEST2-ZCRTDT.
          FIELD ZTECHANICALTEST2-ZUPDBY.
          FIELD ZTECHANICALTEST2-ZUPDDT.
          MODULE V_CONTROL_MODIFY ON CHAIN-REQUEST.
        ENDCHAIN.
      ENDLOOP.
      MODULE V_CONTROL_USER_COMMAND.
    *&SPWIZARD: MODULE V_CONTROL_CHANGE_TC_ATTR.
    *&SPWIZARD: MODULE V_CONTROL_CHANGE_COL_ATTR.
    MODULE USER_COMMAND_0100.
    IF SY-SUBRC = 0.
    MESSAGE I000(0) WITH 'CREATED'.
    ELSE.
    MESSAGE E001(0) WITH 'NOT CREATED'.
    ENDIF.
    WHEN OTHERS.
    CLEAR OK_CODE.
    SET SCREEN 120.
    LEAVE SCREEN.
    ENDCASE.
    ENDCASE.
    endmodule. " USER_COMMAND_0110 INPUT
    *& Module USER_COMMAND_0120 INPUT
    text
    module USER_COMMAND_0120 input.
    CASE SY-UCOMM.
    WHEN 'DISPLAY SCREEN'.
    INSERT ZTECHANICALTEST2 FROM TABLE itab.
    SELECT * FROM ZTECHANICALTEST2 INTO ITAB.
    IF SY-SUBRC = 0.
    MESSAGE I000(0) WITH 'DISPLAY'.
    ELSE.
    MESSAGE E001(0) WITH 'NOT DISPLAY'.
    ENDIF.
    WHEN 'DISPLAY SCREEN'.
    CLEAR OK_CODE.
    SET SCREEN 130.
    LEAVE SCREEN.
    ENDCASE.
    ENDCASE.
    endmodule. " USER_COMMAND_0120 INPUT
    *& Module USER_COMMAND_0130 INPUT
    text
    module USER_COMMAND_0130 input.
    CASE SY-UCOMM.
    WHEN 'CHANGE SCREEN'.
    CASE SY-UCOMM.
    MODIFY ZTECHANICALTEST2 FROM TABLE itab.
    PROCESS BEFORE OUTPUT.
    *&SPWIZARD: PBO FLOW LOGIC FOR TABLECONTROL 'V_CONTROL'
      MODULE V_CONTROL_INIT.
    *&SPWIZARD: MODULE V_CONTROL_CHANGE_TC_ATTR.
    *&SPWIZARD: MODULE V_CONTROL_CHANGE_COL_ATTR.
      LOOP AT   G_V_CONTROL_ITAB
           INTO G_V_CONTROL_WA
           WITH CONTROL V_CONTROL
           CURSOR V_CONTROL-CURRENT_LINE.
    *&SPWIZARD:   MODULE V_CONTROL_CHANGE_FIELD_ATTR
        MODULE V_CONTROL_MOVE.
        MODULE V_CONTROL_GET_LINES.
      ENDLOOP.
    MODULE STATUS_0100.
    PROCESS AFTER INPUT.
    *&SPWIZARD: PAI FLOW LOGIC FOR TABLECONTROL 'V_CONTROL'
      LOOP AT G_V_CONTROL_ITAB.
        CHAIN.
          FIELD ZTECHANICALTEST2-ZMANDT.
          FIELD ZTECHANICALTEST2-ZMATNR.
          FIELD ZTECHANICALTEST2-ZMAXQTY.
          FIELD ZTECHANICALTEST2-ZNUMKB.
          FIELD ZTECHANICALTEST2-ZKBUNT.
          FIELD ZTECHANICALTEST2-ZCRTBY.
          FIELD ZTECHANICALTEST2-ZCRTDT.
          FIELD ZTECHANICALTEST2-ZUPDBY.
          FIELD ZTECHANICALTEST2-ZUPDDT.
          MODULE V_CONTROL_MODIFY ON CHAIN-REQUEST.
        ENDCHAIN.
      ENDLOOP.
      MODULE V_CONTROL_USER_COMMAND.
    *&SPWIZARD: MODULE V_CONTROL_CHANGE_TC_ATTR.
    *&SPWIZARD: MODULE V_CONTROL_CHANGE_COL_ATTR.
    MODULE USER_COMMAND_0100.
    IF SY-SUBRC = 0.
    MESSAGE I000(0) WITH 'DISPLAY'.
    ELSE.
    MESSAGE E001(0) WITH 'NOT DIPLAY'.
    ENDIF.
    WHEN CHANGE SCREEN.
    LEAVE PROGRAM.
    ENDCASE.
    endmodule. " USER_COMMAND_0130 INPUT
    *& Module STATUS_0130 OUTPUT
    text
    module STATUS_0130 output.
    SET PF-STATUS 'xxxxxxxx'.
    SET TITLEBAR 'xxx'.
    LOOP AT CONTROL VCONTROL.
    MODIFY ZTECHANICALTEST2 FROM TABLE ITAB.
    PROCESS BEFORE OUTPUT.
    *&SPWIZARD: PBO FLOW LOGIC FOR TABLECONTROL 'V_CONTROL'
      MODULE V_CONTROL_INIT.
    *&SPWIZARD: MODULE V_CONTROL_CHANGE_TC_ATTR.
    *&SPWIZARD: MODULE V_CONTROL_CHANGE_COL_ATTR.
      LOOP AT   G_V_CONTROL_ITAB
           INTO G_V_CONTROL_WA
           WITH CONTROL V_CONTROL
           CURSOR V_CONTROL-CURRENT_LINE.
    *&SPWIZARD:   MODULE V_CONTROL_CHANGE_FIELD_ATTR
        MODULE V_CONTROL_MOVE.
        MODULE V_CONTROL_GET_LINES.
      ENDLOOP.
    MODULE STATUS_0100.
    PROCESS AFTER INPUT.
    *&SPWIZARD: PAI FLOW LOGIC FOR TABLECONTROL 'V_CONTROL'
      LOOP AT G_V_CONTROL_ITAB.
        CHAIN.
          FIELD ZTECHANICALTEST2-ZMANDT.
          FIELD ZTECHANICALTEST2-ZMATNR.
          FIELD ZTECHANICALTEST2-ZMAXQTY.
          FIELD ZTECHANICALTEST2-ZNUMKB.
          FIELD ZTECHANICALTEST2-ZKBUNT.
          FIELD ZTECHANICALTEST2-ZCRTBY.
          FIELD ZTECHANICALTEST2-ZCRTDT.
          FIELD ZTECHANICALTEST2-ZUPDBY.
          FIELD ZTECHANICALTEST2-ZUPDDT.
          MODULE V_CONTROL_MODIFY ON CHAIN-REQUEST.
        ENDCHAIN.
      ENDLOOP.
      MODULE V_CONTROL_USER_COMMAND.
    *&SPWIZARD: MODULE V_CONTROL_CHANGE_TC_ATTR.
    *&SPWIZARD: MODULE V_CONTROL_CHANGE_COL_ATTR.
    MODULE USER_COMMAND_0100.
    ENDLOOP.
    ENDLOOP.
    endmodule. " STATUS_0130 OUTPUT
    *& Module STATUS_0120 OUTPUT
    text
    module STATUS_0120 output.
    SET PF-STATUS 'xxxxxxxx'.
    SET TITLEBAR 'xxx'.
    LOOP AT CONNTROL VCONTROL..
    PROCESS BEFORE OUTPUT.
    *&SPWIZARD: PBO FLOW LOGIC FOR TABLECONTROL 'V_CONTROL'
      MODULE V_CONTROL_INIT.
    *&SPWIZARD: MODULE V_CONTROL_CHANGE_TC_ATTR.
    *&SPWIZARD: MODULE V_CONTROL_CHANGE_COL_ATTR.
      LOOP AT   G_V_CONTROL_ITAB
           INTO G_V_CONTROL_WA
           WITH CONTROL V_CONTROL
           CURSOR V_CONTROL-CURRENT_LINE.
    *&SPWIZARD:   MODULE V_CONTROL_CHANGE_FIELD_ATTR
        MODULE V_CONTROL_MOVE.
        MODULE V_CONTROL_GET_LINES.
      ENDLOOP.
    MODULE STATUS_0100.
    PROCESS AFTER INPUT.
    *&SPWIZARD: PAI FLOW LOGIC FOR TABLECONTROL 'V_CONTROL'
      LOOP AT G_V_CONTROL_ITAB.
        CHAIN.
          FIELD ZTECHANICALTEST2-ZMANDT.
          FIELD ZTECHANICALTEST2-ZMATNR.
          FIELD ZTECHANICALTEST2-ZMAXQTY.
          FIELD ZTECHANICALTEST2-ZNUMKB.
          FIELD ZTECHANICALTEST2-ZKBUNT.
          FIELD ZTECHANICALTEST2-ZCRTBY.
          FIELD ZTECHANICALTEST2-ZCRTDT.
          FIELD ZTECHANICALTEST2-ZUPDBY.
          FIELD ZTECHANICALTEST2-ZUPDDT.
          MODULE V_CONTROL_MODIFY ON CHAIN-REQUEST.
        ENDCHAIN.
      ENDLOOP.
      MODULE V_CONTROL_USER_COMMAND.
    *&SPWIZARD: MODULE V_CONTROL_CHANGE_TC_ATTR.
    *&SPWIZARD: MODULE V_CONTROL_CHANGE_COL_ATTR.
    MODULE USER_COMMAND_0100.
    endmodule. " STATUS_0120 OUTPUT
    *& Module STATUS_0110 OUTPUT
    text
    module STATUS_0110 output.
    SET PF-STATUS 'xxxxxxxx'.
    SET TITLEBAR 'xxx'.
    WHEN 'DELETE ROWS'.
    CASE SY-UCOMM.
    DELETE FROM ZTECHANICALTEST2
    WHERE MATERIAL = 'NY'.
    WHEN 'UNDELETE ROWS'.
    LEAVE SCREEN.
    WHEN 'SELECT ALL'.
    CASE SY-UCOMM.
    SELECT * FROM ZTECHANICALTEST2 INTO ITAB.
    WRITE :/ ITAB.
    ENDSELECT.
    ENDCASE.
    WHEN 'DESELECT ALL'.
    endmodule. " STATUS_0110 OUTPUT

    what error message you are getting?

  • Problem in Connection pooling after deploying BC4J App Module as EJB

    Hi,
    We have deployed the application modules on standalone OC4J as stateful EJB session beans.
    The problem is that with each user, the number of database connections seem to increase. This is making the application unscalable, which defeats the purpose of using EJB!
    Can someone please suggest how to limit the number of database conections in this scenario?
    Can this be solved by application module pooling? How can we use the PoolMgr to work with the session beans?
    We have tried to invoke disconnect on the application module after calling methods(using appmodule.disconnect(true)) and reconnect (appmodule.reconnect()) on entering the method. This keeps the number of connections low and works the first time the method is invoked. But subsequently, it gives nullpointerexception when the Row is accessed in the JSP.
    The exception we are getting is :
    java.lang.NullPointerException
         at oracle.jbo.client.remote.ViewUsageImpl.getStructDef(ViewUsageImpl.java:241)
         at oracle.jbo.client.remote.ViewUsageImpl.findAttributeDef(ViewUsageImpl.java:275)
         at oracle.jbo.client.remote.RowImpl.getAttributeIndexOf(RowImpl.java:368)
         at oracle.jbo.client.remote.RowImpl.getAttribute(RowImpl.java:144)
         at Supplier.client.ejb.beanmanaged.SupplierAM_IntPaymtVORowBeanManagedClient.getMdid(SupplierAM_IntPaymtVORowBeanManagedClient.java:63)
         at supplier.sccPayCheq._jspService(_sccPayCheq.java:102)
         [SRC:/Supplier/sccPayCheq.jsp:44]
    The Application module configuration (in bc4j.xcfg) is:
    <AppModuleConfig name="SupplierAM9iAS">
    <AppServerConnectionName>StandaloneOC4JConnection</AppServerConnectionName>
    <AppModuleJndiName>Supplier.SupplierAM</AppModuleJndiName>
    <java.naming.security.credentials>admin</java.naming.security.credentials>
    <DeployPlatform>EjbIas</DeployPlatform>
    <java.naming.security.principal>admin</java.naming.security.principal>
    <DtMiddleTierDeploymentProfile>ProjectMiddleTier.deploy</DtMiddleTierDeploymentProfile>
    <ApplicationName>Supplier.SupplierAM</ApplicationName>
    <DtDeploymentProfile>ProjectEJB.deploy</DtDeploymentProfile>
    <DtCommonDeploymentProfile>ProjectCommon.deploy</DtCommonDeploymentProfile>
    <JDBCDataSource>jdbc/ConnectionCoreDS</JDBCDataSource>
    <jbo.server.internal_connection>jdbc/ConnectionCoreDS</jbo.server.internal_connection>
    <jbo.ejb.txntype>local</jbo.ejb.txntype>
    <jbo.doconnectionpooling>true</jbo.doconnectionpooling>
    <ApplicationPath>ProjectEJB</ApplicationPath>
    </AppModuleConfig>
    The Datasource used (in $ORACLE_HOME/j2ee/home/config/data-sources.xml) is:
    <data-source
              class="oracle.jdbc.pool.OracleConnectionCacheImpl"           connection-driver="oracle.jdbc.driver.OracleDriver"
              ejb-location="jdbc/ConnectionDS"
              inactivity-timeout="30"
              location="jdbc/ConnectionCoreDS"
              name="ConnectionDS"
              password="*******"
              pooled-location="jdbc/ConnectionPooledDS"
              url="jdbc:oracle:thin:@<IPADDESS>:<SID>"
              username="USER"
              xa-location="jdbc/xa/ConnectionXADS"
              max-connections="5"
              min-connections="1"/>

    Can this be solved by application module pooling? How
    can we use the PoolMgr to work with the session
    beans?You can use a stateless checkout/checkin appmodule.
    Take a look at the following help topics which explain this in good detail.
    "About Application Module Pooling"
    "About JSP Pages and Application Module Pooling"
    The pool can help reuse the appmodule instance across requests thus reducing the number of concurrent db sessions.
    Dhiraj

  • Problem in custom infotype module pool

    Hi experts,
    I have created custom infotype using PM01 where i am showing fields Basic and HRA. When I enter the value for Basic, automatically the calculation for HRa should be done depending on formula. Also, the HRA fields should be only output field. When I do the changes in the module pool PBO and regenerate the object , the changes I made get disappered. Do I have to create Z of the includes. If so, how to assign it to the infotype?  Please help me to solve this problem since its urgent.
    Thanks in advance.
    Proper solution would be rewarded.
    Ujjwala

    C
    This is the flavour of Infotype.
    When you regenerate the Infotype, you are again reassigning the Chanrecterstcis of your Infotype. so the Existing will get regenerated with the Standard Code.
    To avoid this what I suggest you is.
    After finishing the Regeneration then edit the Module pool of the Infotype basically Screen 200 then add your code and Activate it there itself. Hope you got it.
    If you again Regenerate it you loose your Code.
    If you have further Questions please let me know.

Maybe you are looking for

  • Errors while Configuring a Oracle DB on RAC

    Iam configuring a DB Table in IDM 8.0. Here is my URL jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=on)(ADDRESS=(PROTOCOL=TCP)(HOST=10.240.149.191) (PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=10.240.149.192) (PORT=1521))(CONNECT_DATA=(SERVICE_NAME=IDMPRO

  • Hard Drive Recovery Not Working

    Hi, I just got a new hard drive for my HP Pavilion DV6 with Windows 7 after the original one crashed.  I am using recovery discs I made when I first got the computer to reformat it.  The beginning of the installation process goes great.  It prompts m

  • File to idoc scenario with controls

    I am working on file to idic scenario. file has four types of lines : Begin of file. header. items. end of file. each line has a element Record type and some other elements.for header record type is A , for item its B , for Begin of file its C and fo

  • Charts and/or illustrations ruin the formatting on my ereader

    I've been downloading library books using the Adobe digital editions software for a few weeks now.  This is the first book I downloaded that had charts embedded in the manuscript.  Every time I come to one of the charts, the chart is reduced to a col

  • Database Instance installation in Distributed System?

    Hi gurus, When you install a distributed system(SQL Server, AS ABAP), after install the central service instance(SCS), you will perform the database instance installaiton. For this step, can you still run the installation on the SCS host for installi