Tabstrip Problem in Dynpro's

I am using below code but in tabstrip tag function code is not working properly
would any body help me.
REPORT  ZSUBSCREENS.
tables:crhd,afru,zsabpce.
data: itab like zsabpce occurs 0 with header line.
controls:tab1 type tabstrip.
controls:control1 type tableview using screen '200'.
data:ok_code1 like sy-ucomm,
     okcode1 like sy-ucomm.
tab1-activetab = 'DISPLAY'.
call screen 100.
*&      Module  STATUS_0100  OUTPUT
      text
module STATUS_0100 output.
  SET PF-STATUS 'ZSTATUS'.
SET TITLEBAR 'xxx'.
tab1-ACTIVETAB = 'DISP'.
endmodule. 
*&      Module  USER_COMMAND_0100  INPUT
      text
MODULE user_command_0100 INPUT.
*tab1-activetab = 'DISP'.
*tab1-activetab = 'ok_code1'.
okcode1 = ok_code1.
clear ok_code1.
*tab1-activetab = 'okcode1'.
*case ok_code1.
   WHEN 'DISP'.
if okcode1 = 'DISP'.
   SELECT * FROM zsabpce INTO CORRESPONDING FIELDS OF  TABLE itab WHERE
   zdate = zsabpce-zdate.
   if sy-subrc <> 0.
   message i000(001) with 'record  not found'.
   exit.
   endif.
when 'BACK'.
elseif okcode1 = 'BACK'.
leave program.
*endcase.
endif.
ENDMODULE.                 " USER_COMMAND_0100  INPUT
What is the problem would any body help me.

Hi chaitanya,
May i know where are u writing the code for your subscreen?
See using the Display Tab trigger you are filling the table...but where are u displaying it...i.e. it has to be displayed in the subscreen rite? where is that being written...i assume u are using a table control for that in screen 200...just check that out...
Otherwise i dont see any problem with this...
Correct me if i am wrong or if misunderstood ur question...!
Thanks and Regards,
Sriram.

Similar Messages

  • Tabstrip problem

    Hi;
    I have a tabstrip on my screen which have 8 tabs. Each tab has required fields which must be filled. My problem is : when i fill the fields on one tab and press SAVE button it didnt check the other required fileds on the other tabs whether they are filled or not. I dont want to check the fields if they are filled because there are 40-50 required fields on screen.
    Is there any other solution ?
    Thanks

    Mustafa,
    I don't understand your problem. You say when you Save it does not check the other fields and then you say you don't want it to check other fields. So it sounds like it's doing what you want it to do. No?
    Do you mean to say, you have so many fields that you don't want to check each field but at the same time, they are required fields? So you want to make sure all fields are filled when you Save but you don't want to check, right?
    If this is the case, as someone suggested, make the all the fields mandatory and it should work.
    Hope this helps
    Filler

  • Problem Web Dynpro Java applications using JasperReports

    Hello all,
    We have followed the footsteps of these blogs but we can not make it work.
    Part I --> Part-I: Print Web Dynpro Java applications using JasperReports
    Part II --> Part-II: Print Web Dynpro Java applications using JasperReports
    Part III --> Part-III: Print Web Dynpro Java applications using JasperReports
    Details system: 7.02 SP3
    We believe that the problem is in the library, because it finds them.
    1) We created project as a DC external library with *.jars
    2) Public part DC external library.
    3) Add public part of DC Library into new project DC WebDynpro Java.
    4) Development Component -> Build is OK
    5) Development Component -> Deploy is OK
    6) Test app ERROR.
    When we run the application shows the error:
    The initial exception that caused the request to fail, was:
       java.lang.NoClassDefFoundError: net/sf/jasperreports/engine/JRDataSource
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:141)
        at com.unisys.tmb.View01.onActiongenerarPDF(View01.java:161)
        at com.unisys.tmb.wdp.InternalView01.wdInvokeEventHandler(InternalView01.java:140)
        at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
        ... 28 more
    See full exception chain for details.
    Regards,
    Luis.

    Hello John,
    Thanks for the link. We have performed the steps in this blog:
    1) Create DC Project "External Library" with name js/jars:
    - Add *.jars in folder Libraries.[Screenshot Libraries|http://img846.imageshack.us/img846/8395/jsjars.jpg]
    - Add archives (*.jar) to public part with name ExternalLib. Which option to choose?
    a- Provides an API for developing/compiling other DCs (Option chosen)
    b- Can be packaged into other build results (eg SDAs)
    - Development Component -&gt; Build
    Step 1 is OK.
    2) Create "J2EE Server Component / Library" DC with name js/lib:
    - Add Used DC -> public part project ExternalLibrary -> "ExternalLib"
    - Specify both build time and run-time dependency here and strong.
    - Generated SDA file in <var>gen/default/deploy</var> How do we check that it contains <var>js.jar</var>?
    - folder gen/default/plublic/defLib/lib/java then you meet *.jars files again. is OK.
    - Development Component -> Deploy.
    - Go to Visual Administrator. We found the library js/lib, but has no associated *. jar. It is the problem.[Screenshot Visual Administrator|http://img542.imageshack.us/img542/5537/visualadminlib.jpg]
    3) Create "WebDynpro" DC with name pdf_jasper
    - Add used DC (defLib) to WebDynpro DC with option "Build time".
    - WebDynpro References -> Library references --> add <var>jslib
    - Deploy
    - Run error: java.lang.NoClassDefFoundError: net/sf/jasperreports/engine/JRDataSource
    Regards,
    Luis.

  • Problem with Dynpro

    Hi,
        I have a Dynpro and use Call Screen 9000 Starting at px py. The problem is when the user move it and press enter, the screen return to the original position px and py. I don't find any helpfull field in syst structure.
    Anybody can help me?
    Regards,
    Lisandro.

    Call Screen 9000 Starting at px py.
    Each and every time you call the above statement the value of Px and py decides its position. So u need a Fm/class to read the position of the Window so that nest time u call it - u have the desired values of px and py.
    In case pressing buttons of the window is repositioning it .. then u just check ur code. It should not be baving like that. Check the Next screen attrib of the this 9000.

  • Select-options problem in dynpro

    hi experts,
                         my requirement is to include select-options in module pool programming. So far i have called a subscreen from a zreport to my dynpro screen.
    but how can i fetch the value from that select-options.By what reference,I mean by what name i can refer to select-options.
    ztest.
    report ztest.
    tables: t001.
    selection-screen begin of screen 100 as subscreen.
    select-options: s_bukrs for t001-bukrs.
    selection-screen: end of screen 100.
    Module pool
    process before output.
    MODULE STATUS_0001.
    call subscreen sub including 'ZTEST' '100'.
    process after input.
    MODULE USER_COMMAND_0001.
    call subscreen sub.
    in debugger s_bukrs in unknown. So by what name i should refer to that select-options values??
    Thanks
    Gaurav

    hi,
    cant u do like this?
    TABLES: mara.
    DATA : BEGIN OF itab1 OCCURS 0,
            matnr LIKE mara-matnr,
           END OF itab1.
    SELECT-OPTIONS : s_matnr FOR mara-matnr.
    *&SPWIZARD: DECLARATION OF TABLECONTROL 'TAB1' ITSELF
    CONTROLS: tab1 TYPE TABLEVIEW USING SCREEN 1001.
    START-OF-SELECTION.
      CALL SCREEN 1001.
    *&SPWIZARD: OUTPUT MODULE FOR TC 'TAB1'. DO NOT CHANGE THIS LINE!
    *&SPWIZARD: UPDATE LINES FOR EQUIVALENT SCROLLBAR
    MODULE tab1_change_tc_attr OUTPUT.
      DESCRIBE TABLE itab1 LINES tab1-lines.
    ENDMODULE.                    "TAB1_CHANGE_TC_ATTR OUTPUT
    *&      Module  get_data  OUTPUT
          text
    MODULE get_data OUTPUT.
      SELECT matnr FROM mara INTO CORRESPONDING FIELDS OF TABLE itab1 WHERE matnr IN s_matnr.
    ENDMODULE.                 " get_data  OUTPUT
    *&      Module  STATUS_1001  OUTPUT
          text
    MODULE status_1001 OUTPUT.
      SET PF-STATUS 'ZTEST'.
    SET TITLEBAR 'xxx'.
    ENDMODULE.                 " STATUS_1001  OUTPUT
    *&      Module  USER_COMMAND_1001  INPUT
          text
    MODULE user_command_1001 INPUT.
      CASE sy-ucomm.
        WHEN 'BACK' OR 'UP' OR 'CANC'.
          LEAVE PROGRAM.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_1001  INPUT
    here i have table control on my screen and rather calling selection screen as sub screen i am calling screen for output from z report it self.....

  • Problem: Web Dynpro Java 6.40 FileDownload control in table

    Hi guys,
    I have the problem to display FileDownload elements in a table. Unfortunately it is NOT NW04s, but it is the old Release 6.40.
    Theoretically speaking, this should be possible too. (Performance wont be good according to two SDN articles of Betram Ganz).
    Still I have the following problem:
    If I want to obtain IWDModifiableBinaryType to save my file inside the context for displaying in the table then I get java.lang.NullPointerException.
    My Context is 0..n node "Submissions" where my file is stored as binary attribute "File1".
    Code to get the IWDModifiableBinaryType is:
    wdContext.getNodeInfo().getAttribute(IPrivateFormManagerAdminSubmissions.ISubmissionsElement.FILE1);
    or:
    wdContext.nodeSubmissions().getNodeInfo().getAttribute("Submissions.File1");
    Both is not working.
    Now I have the question if this should theoretically work and if there are any tips/code snippets how to do this?
    Whats wrong with the coding above?
    Thank you very much guys,
    much appreciated.
    Christoph
    Edited by: Christoph Koch on Jun 22, 2009 9:48 AM

    wdContext.nodeSubmissions().getNodeInfo().getAttribute(IPrivateFormManagerAdminSubmissions.ISubmissionsElement.FILE1);
    if the element its on the node Submissions then you have to especify it to get the node info. I hope it helps

  • Protected tab Titles + Tabstrip + Problem

    Hi,
    i have created a tabstrip using wizard and all the tab buttons and subscreens are working fine except for one warning message I get everytime I pust a tab. The message is
    Diagnosis
    Protected tab titles are not supported.You cannot print the title on a tab index as the tab index does not support this'.
    Procedure
    Check the screen modifications or the Screen Painter definitions of the tab title.
    When you modify the screen, do not set the INPUT attribute of the tab title to '0'.
    can anyone help me in solving this error?
    thanks in advance
    regards
    sai easwar

    Error message is like this
    Protected tab titles are not supported (tab TABSTRIP title COMPANY)
    Message no. 00119
    Diagnosis
    You cannot print the title on a tab index as the tab index does not support this.
    Procedure
    Check the screen modifications or the Screen Painter definitions of the tab title.
    When you modify the screen, do not set the INPUT attribute of the tab title to '0'.

  • Tabstrip problems

    Hi ALL,
    I am using tabstrip to do the work.
    the flow of call is like this.
    1,define the tabstrip, and subscreen for the tabstrip. and some other needed. we assume that the screen of tabstrip is 0100.
       any direct click on tabstrip can be performed correctly.
    2,after user click one button on the menu, call something like this: perform run_check.
    3,in run_check, updated the tabstrip-activetab, and update the content of subscreen, and also called the refresh of subscreen.
    4,the update of subscreen content is successful. but the tabstrip didn't. 
    5, only after all the operation finished, back to screen 0100, the tabstrip update can be visible.
    didn't there any operation like the refresh to tabstrip???
    Thank you!
    Best Regards,
    Sean
    Edited by: Sean Zhang on Dec 3, 2009 3:10 AM

    Hi Clemens,
    Thank you!
    I have checked it, the tabstrip-ACTIVETAB do changed.
    but if do the leave to screen 0100, the tabstrip is valid. (I mean the leave to 0100  can make the screen 0100 is visible, but I can not do this, because there are some other code to do after the tabstrip is activated)
    so for this kind of way I do like this:
    call screen 0100. then in the pbo of 0100 leave to screen 0.( this can back to the code and go on the following code)
    but this way doesnot work.
    Thanks,
    Best Regards,
    Sean
    Edited by: Sean Zhang on Dec 3, 2009 3:50 AM

  • Webgui Searchhelp tabstrip problem

    Hi All,
    In ITS in transaction XD02 when we click on search help all search properties are displaying properly with letters.The issue is suppose if we select one search property for example if we select "customers country code" it is displaying all the fields related to that property  and we moved out of the that transaction just by closing the search help.Again if we access xd02 after sometimeand when we click on search help it is still displaying the search fields for "customers by country code" instead of first search property fields "Customers (general)".In R/3 its working fine but this problem is occuring only when acessing through ITS. Can any one have idea how to avoid this one?
    Thanks in advance

    Hi Vinay,
    You see that it works perfectly fine in SAP GUI...normal GUI that you launch from SAP LOGON pad.
    But the problem arises only when we try to change the layout in  WEBGUI(ITS).i.e launches the same session on a WEB BROWSER.
    I may have to check if its a SAP error.....
    Its a ALV GRID in standard transaction SAP claims management screen..
    Thanks for the reply.
    Cheers,
    Jayant
    Edited by: Jayant on Jul 18, 2008 2:59 PM

  • Problem for dynpro 0124 in Transaction ME21 (MATERIALMANAGEMENT)

    Hi everybody,
    when creating a new purchase order(me21) with reference to an existing contract, in screen 124 and for Gui status BHR, the standard toolbar action search is inactive. How can i make it active because i have too big contracts(many items) and i have to search for a specific one (search by EKPO-TXZ01).
    Many Thanks

    Hi,
    I doubt that you can without changing standard SAP objects.
    Can you search for the item via another means? SE16 on table EKPO perhaps?
    Regards,
    Darren

  • Dynpro problem

    Hi;
    We have the next problem with dynpros:
    We are two Abapers, just for testing my partner create a dynpro  with buttons EXIT and FIND, and worked ok, i did the same in my laptop in the same client and my dynpro always exits when i pressed the FIND button, in both cases was the same code written from the bottom.
    I uninstalled and then reinstalled the Sapgui 710 in my laptop, recreated the dynpro and worked ok.
    Then my partner add Menu buttons to the dynpro and the menu buttons just exits the dynpro whe push them.
    I did the same changes to my dynpro and worked ok, the buttons do the code assigned in the OK_CODE.
    is a randomly behavior, the problem y pushing buttons, they just take you out of the dynpro.
    Any sugesttion.
    Thanks on advance,
    David Fúnez

    strange, I never saw that in 9 years! Make him reinstall his sapgui too as it seems it solved the problem on your laptop!

  • Submit button on Adobe Interactive form does not send data back to ABAP

    The integration of my ABAP View and Adobe works fine getting data into the form. The form is interactive and I am able to change the data. I am using ZCI and the XML Context. I display the FirstName attribute both on the ABAP View, and the Adobe Form. When I press the SUBMIT button the first time, it disables that button, but the ABAP View is not updated. I have an ONACTION event, but it doesn't get triggered at all.
    Here are my specs:
    Adobe Reader 8.1.1. Local
    Adobe LiveCycle Designer 8.01.3250.1.491864
    NetWeaver 7.0 SP19
    HR Support Pack 48 and Enhancement Pack 2

    Hi all,
    I assume the ZCI script included in the form (800.20070410093956.383622.376748 ) is too old (I guess it's from SP13 or14).
    In general, I propose the following to analyze/fix these kind of problems (Web Dynpro ABAP only):
    1. Check the tracefile (available from SAP NetWeaver 700 SP19): Add "&sap-wd-clientDebug=X" to the application URL and open the trace by typing <CTRL><ALT><SHIFT>T (see note 999998 too):
    -> Watch for an entry "Got a message from Adobe Reader: zciReady 1: 2: 3:". If this line doesn't appear => ZCI script too old, go on with step 2
    -> Watch for an entry "Got a message from Adobe Reader: zciVersion 1: 800....". That's the version of the ZCI script included in the form
    -> Watch for entries containing "sendDataToServer" and "responseFromServer": If you can't find these entries, something went wrong transferring the form data to the ABAP server: Watch out for entries containing "Error", there might be a network problem.
    2. Execute report FP_PDF_TEST_00 to find out the used ADS version: The corresponding ADS version of SP19 is 800.20090130093518.519793 or 800.20090608122643.560369 (look at the second part of the version string. It's a timestamp: The ZCI script included in the form is from April 2007, the ADS version of SP19 is from January/June 2009!
    -> Update the ADS or patch the ADS (see notes 999998, 1229392 and 956074)
    3. optional step: Have a look at note 999998, section "related notes" (this is the complete list of available notes for Web Dynpro ABAP Interactive Forms integration): Install all notes available for your release/SP - or even better: Update SAP NetWeaver (SAP_BASIS) to the latest available SP
    4. Update the ZCI script of the form using transaction SFP_ZCI_UPDATE
    5. Repeat step 1, I'm pretty sure that it will work now!
    Regards,
    Ralf

  • Mb1c ; BAPI_GOODSMVT_CREATE

    Hallo Friends,
    In my code using Batch-input for the SAP T_code: MB1C, I am having problem at Dynpro 410: Field: Production date and Self life expiration date. So Idecided to change and use the
    bapi: BAPI_GOODSMVT_CREATE.
    my itab type:
    TYPES: BEGIN OF TY_ITAB,
          MATERIAL                       "Materialnummer
          PLANT                           "Plant
          STGE_LOC                     "Storage Location
          BATCH                          "Batch Number
          MOVE_TYPE                   "Movement Type
          STCK_TYPE                "Stock Type
          SPEC_STOCK                  "Special Stock Indicator
          VENDOR                          "Vendor
          CUSTOMER                      "Customer#
          SALES_ORD                   "Sales Order Nr.
          S_ORD_ITEM                     "Item Number in Sales Order
          ENTRY_QNT                    "Quantity in Unit of Entry
          ENTRY_UOM_ISO        "UoM (ISO)
          ITEM_TEXT                   "item text
          ORDERID                     "Order Number
          ORDER_ITNO                   "Order item Pos
          EXPIRYDATE                     "Shelf Life Expiration or Best-Before Date
          PROD_DATE                     "Date of Manufacture
          VENDRBATCH(15),                     "Vendor Batch Number
          END OF TY_ITAB.
    movement type = 561
    for the SAP T_code MB1C, I choose bapi: GOODSMVT_CODE = 05 (other goods receipt)
    at execution / Call bapi, I am getting error message: No items were transferred
    Please, has someone used this bapi in regards of the t_code MB1C before?
    Can someone help me with codes and Itab inputs?
    Thanks in advance. Points will be given to very usefull answer.
    Blacky.

    Hi
    kindly find semple code for the same.
    See the following sample code
    Moderator message.  The sample code was cut and pasted from here: http://www.sap-img.com/abap/bapi-goodsmvt-create-to-post-goods-movement.htm  Cut and pasting from anywhere without giving credit is contrary to forum rules.  Please do not do it again.  Your points have been removed.
    Regards,
    Hiren Patel

  • PPDPIM :Update IDP:  ITS Programming

    Hi all,
    I am trying to update employees IDP ( PPDPIM ), through ESS. For this I have developed a RFC function module and written ITS program in SE80 which call the function module from ESS.The function module updates the IDP thru a BDC call transaction.
    When I test the function module in R3,it creates records correctly but it is giving error ( 1001 ) when i test it from ESS.
    need help in this regard.

    Hi!
    Sounds like a typical online / background problem (1001 = dynpro not found?!).
    Probably your transaction reacts different in batch mode. Write a small test report in R3 to check your function module in batch mode.
    If this is the problem, you can either try to figure out fields and dynpros of background or you might need to use a different technic for booking.
    Regards,
    Christian

  • Any ESS Multilevel Leave Request

    hi friends
      I am working on Multilevel ESS Leave Request Workflow. Is there any standard workflow for multilevel approvals. I know the standard workflow WS12300111 but its only one level approval. I want to have multilevel approval.
    Regards
    vijay

    hi mike
    Thanks for your reply.
    I have developed multilevel leave request workflow. Am facing the problem in dynpro screen. As am using standared task TS12300097 used for approval. when i used this task the 1st approver get's the workitem in portal. After approval the workitem is moviing to the second approver. but when i come and check in the 1st approver's UML i can find the approved list in the dash board am again able to approve the leave. Is this a bug in standard screen?. Do we need to go for new customized dynpro screen development?.
    waiting for your reply.
    Regards
    vijay

Maybe you are looking for