In bdc how we handle page phone area in transaction pa30

in bdc how we handle page phone area in transaction pa30.suppose one maintain phone no but not pager no.in that case how we will handle

in my system ..i have phone number only displayed...if you want to put page number also then add a ddition qualifier like PG or some number by contacting functional guys..
regards:)

Similar Messages

  • In  BDC how you handled header data and item data

    In  BDC how you handled header data and item data

    Raja,
    Can you be more clear ?
    Usually you load the header data one and then loop at the item data and then load the item data.
    This example should help you.
    http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
    Regards,
    Ravi
    Note - Please mark all the helpful answers

  • In bdc how we handle tabstrips...& tablecontrols

    hi gurus,
                in bdc how we can handle tabstrips and table controls.... pls any one suggest ..
    regards,
    praveen

    Table controls are used to display the data in tabular fashion for better visibility and for easy understanding in Screens as well as in reports.
    syntax:
    CONTROLS <tab_ctrl_name> TYPE TABLEVIEW USING SCREEN <screen_no>.
    chk the demo prog:
    DEMO_DYNPRO_TABCONT_LOOP
    Cursor Position on Table Controls
    At PBO you can set the cursor on a specific field of a specific row of a table control.
    SET CURSOR FIELD <f> LINE <lin> OFFSET <off>.
    Using the optional addition OFFSET, you can enter the offset of the cursor in the field as described under Setting the Cursor Position .
    At PAI you can read the current cursor position.
    GET CURSOR FIELD <f> LINE <lin> ...
    In addition to the information given under Finding Out the Cursor Position , field  contains information on which row of the table control the cursor is currently on. You can also use
    GET CURSOR LINE <lin>.
    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.
    just refer to the link below
    http://www.sapmaterial.com/tablecontrol_sap.html
    step by step procedure with screen shots
    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
    Also you can see the below examples...
    Go to se38 and give demodynpro and press F4.
    YOu will get a list of demo module pool programs.
    One more T-Code is ABAPDOCU.
    YOu can find more examples there.
    See the prgrams:
    DEMO_DYNPRO_TABLE_CONTROL_1 Table Control with LOOP Statement
    DEMO_DYNPRO_TABLE_CONTROL_2 Table Control with LOOP AT ITAB
    http://www.geocities.com/ZSAPcHAT
    http://www.allsaplinks.com/files/using_table_in_screen.pdf
    Check the below link.
    http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
    THis is example to upload the Bank details of the Vendor which has the TC.
    REPORT zprataptable2
    NO STANDARD PAGE HEADING LINE-SIZE 255.
    DATA : BEGIN OF itab OCCURS 0,
    i1 TYPE i,
    lifnr LIKE rf02k-lifnr,
    bukrs LIKE rf02k-bukrs,
    ekorg LIKE rf02k-ekorg,
    ktokk LIKE rf02k-ktokk,
    anred LIKE lfa1-anred,
    name1 LIKE lfa1-name1,
    sortl LIKE lfa1-sortl,
    land1 LIKE lfa1-land1,
    akont LIKE lfb1-akont,
    fdgrv LIKE lfb1-fdgrv,
    waers LIKE lfm1-waers,
    END OF itab.
    DATA : BEGIN OF jtab OCCURS 0,
    j1 TYPE i,
    banks LIKE lfbk-banks,
    bankl LIKE lfbk-bankl,
    bankn LIKE lfbk-bankn,
    END OF jtab.
    DATA : cnt(4) TYPE n.
    DATA : fdt(20) TYPE c.
    DATA : c TYPE i.
    INCLUDE bdcrecx1.
    START-OF-SELECTION.
    CALL FUNCTION 'WS_UPLOAD'
    EXPORTING
    filename = 'C: irst1.txt'
    filetype = 'DAT'
    TABLES
    data_tab = itab.
    CALL FUNCTION 'WS_UPLOAD'
    EXPORTING
    filename = 'C:second.txt'
    filetype = 'DAT'
    TABLES
    data_tab = jtab.
    LOOP AT itab.
    PERFORM bdc_dynpro USING 'SAPMF02K' '0100'.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'RF02K-KTOKK'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '/00'.
    PERFORM bdc_field USING 'RF02K-LIFNR'
    itab-lifnr.
    PERFORM bdc_field USING 'RF02K-BUKRS'
    itab-bukrs.
    PERFORM bdc_field USING 'RF02K-EKORG'
    itab-ekorg.
    PERFORM bdc_field USING 'RF02K-KTOKK'
    itab-ktokk.
    PERFORM bdc_dynpro USING 'SAPMF02K' '0110'.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'LFA1-LAND1'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '/00'.
    PERFORM bdc_field USING 'LFA1-ANRED'
    itab-anred.
    PERFORM bdc_field USING 'LFA1-NAME1'
    itab-name1.
    PERFORM bdc_field USING 'LFA1-SORTL'
    itab-sortl.
    PERFORM bdc_field USING 'LFA1-LAND1'
    itab-land1.
    PERFORM bdc_dynpro USING 'SAPMF02K' '0120'.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'LFA1-KUNNR'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '/00'.
    PERFORM bdc_dynpro USING 'SAPMF02K' '0130'.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'LFBK-BANKN(01)'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '=ENTR'.
    cnt = 0.
    LOOP AT jtab WHERE j1 = itab-i1.
    cnt = cnt + 1.
    CONCATENATE 'LFBK-BANKS(' cnt ')' INTO fdt.
    PERFORM bdc_field USING fdt jtab-banks.
    CONCATENATE 'LFBK-BANKL(' cnt ')' INTO fdt.
    PERFORM bdc_field USING fdt jtab-bankl.
    CONCATENATE 'LFBK-BANKN(' cnt ')' INTO fdt.
    PERFORM bdc_field USING fdt jtab-bankn.
    IF cnt = 5.
    cnt = 0.
    PERFORM bdc_dynpro USING 'SAPMF02K' '0130'.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'LFBK-BANKS(01)'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '=P+'.
    PERFORM bdc_dynpro USING 'SAPMF02K' '0130'.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'LFBK-BANKN(02)'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '=ENTR'.
    ENDIF.
    ENDLOOP.
    PERFORM bdc_dynpro USING 'SAPMF02K' '0130'.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'LFBK-BANKS(01)'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '=ENTR'.
    PERFORM bdc_dynpro USING 'SAPMF02K' '0210'.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'LFB1-FDGRV'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '/00'.
    PERFORM bdc_field USING 'LFB1-AKONT'
    itab-akont.
    PERFORM bdc_field USING 'LFB1-FDGRV'
    itab-fdgrv.
    PERFORM bdc_dynpro USING 'SAPMF02K' '0215'.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'LFB1-ZTERM'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '/00'.
    PERFORM bdc_dynpro USING 'SAPMF02K' '0220'.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'LFB5-MAHNA'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '/00'.
    PERFORM bdc_dynpro USING 'SAPMF02K' '0310'.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'LFM1-WAERS'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '/00'.
    PERFORM bdc_field USING 'LFM1-WAERS'
    itab-waers.
    PERFORM bdc_dynpro USING 'SAPMF02K' '0320'.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'RF02K-LIFNR'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '=ENTR'.
    PERFORM bdc_dynpro USING 'SAPLSPO1' '0300'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '=YES'.
    PERFORM bdc_transaction USING 'XK01'.
    ENDLOOP.
    PERFORM close_group.
    Regards
    Anji
    Through Dialog prog
    You can go through this document...
    http://esnips.com/doc/48bd95e8-facc-4932-b923-465ba59bad24/Table-Control.pdf
    refer this program.....
    TABLES: kna1,knbk.
    DATA: v_kunnr LIKE kna1-kunnr.
    DATA: v_check TYPE c.
    DATA: BEGIN OF it_knbk OCCURS 0,
    banks LIKE knbk-banks,
    bankl LIKE knbk-bankl,
    bankn LIKE knbk-bankn,
    bkont LIKE knbk-bkont,
    koinh LIKE knbk-koinh,
    chk TYPE c,
    END OF it_knbk.
    DATA: v_ucomm TYPE sy-ucomm,
    v_dynnr TYPE sy-dynnr.
    DATA: l_index TYPE sy-index.
    data: count type i.
    CONTROLS: tc1 TYPE TABLEVIEW USING SCREEN 0200.
    *& Module STATUS_0100 OUTPUT
    text
    MODULE status_0100 OUTPUT.
    SET PF-STATUS 'ABC'.
    SET TITLEBAR 'xxx'.
    ENDMODULE. " STATUS_0100 OUTPUT
    *& Module USER_COMMAND_0100 INPUT
    text
    MODULE user_command_0100 INPUT.
    v_ucomm = sy-ucomm.
    CASE v_ucomm.
    WHEN 'DISP' OR 'CHNG'.
    IF v_kunnr space.
    SELECT banks
    bankl
    bankn
    bkont
    koinh
    FROM knbk
    INTO TABLE it_knbk
    WHERE kunnr = v_kunnr.
    LEAVE TO SCREEN '0200'.
    ENDIF.
    WHEN 'BACK'.
    LEAVE TO SCREEN 0.
    ENDCASE.
    ENDMODULE. " USER_COMMAND_0100 INPUT
    *& Module MOD_KUNNR INPUT
    text
    MODULE mod_kunnr INPUT.
    IF NOT v_kunnr IS INITIAL.
    SELECT SINGLE
    kunnr
    FROM kna1
    INTO v_kunnr
    WHERE kunnr = v_kunnr.
    IF sy-subrc 0.
    MESSAGE e000(zz) WITH 'INCORRECT CUSTOMER NUMBER'.
    ENDIF.
    ENDIF.
    IF v_kunnr IS INITIAL.
    MESSAGE e000(zz) WITH 'PLEASE ENTER A VALUE'.
    ENDIF.
    ENDMODULE. " MOD_KUNNR INPUT
    *& Module STATUS_0200 OUTPUT
    text
    MODULE status_0200 OUTPUT.
    SET PF-STATUS 'ABC1'.
    SET TITLEBAR 'xxx'.
    ENDMODULE. " STATUS_0200 OUTPUT
    *& Module SCREENMOD OUTPUT
    text
    MODULE screenmod OUTPUT.
    IF v_ucomm = 'DISP'.
    LOOP AT SCREEN.
    screen-input = 0.
    MODIFY SCREEN.
    ENDLOOP.
    ELSE."if v_UCOMM = 'CHNG'.
    LOOP AT SCREEN.
    IF screen-group1 = 'G1'.
    screen-input = 0.
    ELSE.
    screen-input = 1.
    ENDIF.
    MODIFY SCREEN.
    ENDLOOP.
    endif.
    if sy-ucomm = 'INSE'.
    loop at screen.
    IF ( tc1-current_line tc1-lines ).
    screen-input = 0.
    else.
    screen-input = 1.
    modify screen.
    endif.
    endloop.
    endif.
    ENDMODULE. " SCREENMOD OUTPUT
    *& Module EXIT2 INPUT
    text
    MODULE exit2 INPUT.
    LEAVE TO SCREEN 0.
    ENDMODULE. " EXIT2 INPUT
    *& Module modify INPUT
    text
    MODULE modify INPUT.
    IF v_check = 'X'.
    it_knbk-chk = 'X'.
    MODIFY it_knbk index tc1-current_line.
    ELSE.
    CLEAR it_knbk-chk .
    ENDIF.
    ENDMODULE. " modify INPUT
    *& Module USER_COMMAND_0200 INPUT
    text
    MODULE user_command_0200 INPUT.
    v_ucomm = sy-ucomm.
    CASE v_ucomm.
    WHEN 'DELE'.
    DELETE it_knbk where chk eq 'X'.
    DESCRIBE TABLE it_knbk LINES tc1-lines.
    WHEN 'INSE'.
    CLEAR it_knbk.
    APPEND it_knbk.
    DESCRIBE TABLE it_knbk LINES tc1-lines.
    WHEN 'LIST'.
    LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN '0200'.
    WRITE 'Report'.
    WHEN 'BACK'.
    LEAVE TO SCREEN '0100'.
    ENDCASE.
    ENDMODULE. " USER_COMMAND_0200 INPUT
    *& Module validate INPUT
    text
    module validate input.
    IF IT_KNBK IS INITIAL.
    MESSAGE E000(ZZ) WITH 'A BLANK LINE CANNOT BE SAVED'.
    ENDIF.
    endmodule. " validate INPUT
    Regards

  • How to adjust page tiling areas?

    I trying to make a stationary letterhead template. I'd like to make more room at the bottom of the page available for printing.
    How do I adjust the margins or size of the page tiling areas?
    Thanks

    followup:  if you have a bleed at the bottom three sides, select "Tabloid" as the page / document size.  But, be prepared to trim it down ( proofing ).

  • Some how my ipad and phone are sinc pictures and apps but I don't want them too how to I fix that ???

    All the pics I take on my phone are showing up on my ipad and all the appsi download on my phone are showing up on my ipad I don't like this since my ipad is for work and school and the pics and apps  take up memory I don't have to spare and am annoyed that I have to keep deleting stuff I'm afraid to delete my pics because I am afraid it will also be deleted from my phone can someone help me with this please !!!!!!!

    If you currently have Settings > iTunes & App Store > Apps (under 'automatic downloads') set 'on' on your iPad then turn that 'off'. For the photos, do you currently have Settings > iCloud > Photos > My Photo Stream set 'on' on your iPad ?

  • How to Handle dynamic views in mm01 transaction

    Hi ,
           Can any body say me how to handle Dynamic views in MM01 tcode. Since every time new view has to be selected, how can we manage this through our program.
    Regards,

    Hi Nilesh,
    Views will be vary based on the Material Type what u are selectiing , so u have to focus on this settings.
    Regards
    Peram

  • Jdev 10.1.2 UIX: How to handle page event and also follow link destination

    Hello guys, I think this should be easy:
    I have a frame with a link that produces an event which is handled by an event handler. But this link also has destination and targetFrame attributes.
    The event handling just updates the visual state of the frame which contains the link, but I also need the link to load the destination into the targetFrame, but this is not happening, just the event is handled but the link doesn't work.
    How can I get both, the event handling and the destination, work?
    Here is the code for the link:
    <link text="${uix.current.title}" destination="${uix.current.destination}"                                                             
                    targetFrame="main">
      <primaryClientAction>
       <fireAction event="optionClick">
         <parameters>
           <parameter key="clickedIndex" value="${uix.current.index}" />
          </parameters>
        </fireAction>
      </primaryClientAction>
    </link>Thanks
    Fer

    Thanks to everyone who read it. I figured out how to solve this.
    The workaround was to set every link destination to one action which performs 2 things:
    1. Update the visual state of the first frame (setting attributes to a session object) and;
    2. Puts the destination that I wanted to be loaded into the second frame as a request attribute;
    besides all the above, the link had its targetFrame set to "_parent", so the Frameset page was reloaded and therefore reloaded both frames, this way the first frame renders updated (thanks to the changes made to the session object) and the second frame has its source attribute bound to ${requestScope.frameDestination} to load the desired page (actually a struts action).
    Hope this helps someone else.
    Bye.

  • Regarding bdc , how to handle records when power is off

    hi experts
    whenever i update the records by session method suppose after 100
    records power is off, then how i can handle the records now.
    this is frequently asked me .
    please replay.
    thanks
    subhasis.

    put the power on again, and go to transaction SM35 and search for your session.
    regards,
    Hans
    Please reward all helpful answers !!!!!

  • How do handle a rollbackException and other transaction exceptions

    Hello,
    I'm trying to do commit and rollbacks for my stateless session bean and I'm having a problem handling exceptions like javax.transaction.RollbackException. This causes me to be unable to complile my code. When I do put a catch in for the rollbackException it says it can't be reached. Below is the code:
    if (madeConnection != true)
    returnCode = 8;
    else
    UserTransaction ut = ejbContext.getUserTransaction();
    ut.begin();
    try{          
         statement = c.prepareCall("{call NBA907(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}");                    
         java.lang.Integer dept = Integer.valueOf(department);
         short dpt = dept.shortValue();
         TrxNum = (short) recordId;
         //**** Input parameters ****
         statement.setString(1, AAA.toUpperCase());
         statement.setString(2, BBB);
         statement.setShort(3, CCC);
         statement.setString(4, DDD.toUpperCase());
         statement.setString(5, EEE);
         statement.setString(6, FFF);
         statement.setString(7, GGG);
         statement.setString(8, HHH);
         statement.setString(9, III);
         statement.setString(10, JJJ);
         statement.setString(11, KKK);
         statement.setString(12, LLL);
         statement.setShort(13, MMM);
         statement.setString(14, NNN);
         statement.setString(15, OOO);
         //**** Output parameters ****
         statement.registerOutParameter(16, Types.CHAR);
         statement.registerOutParameter(17, Types.SMALLINT);
         statement.registerOutParameter(18, Types.CHAR);
         rs = statement.executeQuery();
         sProcedureCode = statement.getString(16);
         sqlCode = statement.getShort(17);
         returnMessage = statement.getString(18);
         if (!(sProcedureCode.equals("01")))
         ut.setRollbackOnly();
         System.out.println ("***************************************");
         System.out.println("Method - updateRecord");
         system.out.println("SQL Code - " + sqlCode);
         System.out.println("SP Code - " + sProcedureCode);
         System.out.println("Message - " + returnMessage);
         System.out.println("*****************************************");
         if (sProcedureCode.equals("99"))
         returnCode = sqlCode;
         else     
              returnCode = Integer.parseInt(sProcedureCode);           
    catch(SystemException e) {
    System.out.println("SQLException caught: " + e.getMessage());
    catch(SQLException e) {
    System.out.println("SQLException caught: " + e.getMessage());
    finally {
    try {
              ut.commit();
              statement.close();
              c.close();
         catch (SQLException ignored) {}
    Any ideas?
    TIA,
    J.Clancey

    I got past the exception errors but the line
    UserTransaction ut = ejbContext.getUserTransaction();
    is returning a null. Below is the changes I made to get past that error.
    public int updateRecord(String User, String Password, int recordId, String department, String description, String classCatg, String coordinate, String startMonth, String startYear, String endMonth, String endYear, String POSeason, String merchType, String Chain)
              int returnCode = 0;
              String sProcedureCode = null;
              String returnMessage = null;
              short sqlCode = 0;
              String collectionId = "BA_ANBCS";
              CallableStatement statement= null;
              ResultSet rs = null;
              String tranType = "C";
              String tranNumber = null;      
              String storedProCode = null;
              short TrxNum = 0;
              boolean madeConnection = true;
              Context ctx = null;
              DataSource ds = null;
              Connection c = null;          
              java.util.Properties parms = new java.util.Properties();
              parms.setProperty(Context.INITIAL_CONTEXT_FACTORY,
                   "com.ibm.websphere.naming.WsnInitialContextFactory");               
              try {
                   ctx = new InitialContext(parms);               
              catch (Exception e1)
                   System.out.println("Unable to get initial context");
                   System.out.println(e1);
              try
                   ds = (DataSource)ctx.lookup("jdbc/DB2T");
                   c = ds.getConnection(User, Password);
              catch (SQLException e) {
                   System.out.println("SQLException caught: " + e.getMessage());
                   madeConnection = false;
              catch (Exception e) {
                   e.printStackTrace();
                   madeConnection = false;
              if (madeConnection != true)
                   returnCode = 8;
              else
                   System.out.println("Made Else");
                   UserTransaction ut = ejbContext.getUserTransaction();
                   try{
                        System.out.println("Before Begin");
                        ut.begin();
                        System.out.println("After Begin");
                   statement = c.prepareCall("{call NBA907(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}");                    
                        java.lang.Integer dept = Integer.valueOf(department);
                        short dpt = dept.shortValue();
                        TrxNum = (short) recordId;
                        //**** Input parameters ****
                        statement.setString(1, Chain.toUpperCase());
                        statement.setString(2, collectionId);
                        statement.setShort(3, dpt);
                        statement.setString(4, classCatg.toUpperCase());
                        statement.setString(5, merchType);
                        statement.setString(6, coordinate);
                        statement.setString(7, POSeason);
                        statement.setString(8, startMonth);
                        statement.setString(9, startYear);
                        statement.setString(10, endMonth);
                        statement.setString(11, endYear);
                        statement.setString(12, description);
                        statement.setShort(13, TrxNum);
                        statement.setString(14, tranType);
                        statement.setString(15, User);
                        //**** Output parameters ****
                        statement.registerOutParameter(16, Types.CHAR);
                        statement.registerOutParameter(17, Types.SMALLINT);
                        statement.registerOutParameter(18, Types.CHAR);
                        rs = statement.executeQuery();
                        sProcedureCode = statement.getString(16);
                        sqlCode = statement.getShort(17);
                        returnMessage = statement.getString(18);
                        System.out.println("Before SP Check");               
                        if (!(sProcedureCode.equals("01")))
                             //c.rollback();
                             ejbContext.setRollbackOnly();                         
                             System.out.println("***********************************************");
                             System.out.println("Method - updateRecord");
                             System.out.println("Stored Procedure - NBA 907");
                             System.out.println("Record Number - " + TrxNum);
                             System.out.println("Department - " + dpt);
                             System.out.println("Class Category - " + classCatg);
                             System.out.println("Merch Type - " + merchType);
                             System.out.println("coordinate - " + coordinate);
                             System.out.println("POSeason - " + POSeason);
                             System.out.println("Start Month - " + startMonth);
                             System.out.println("Start Year - " + startYear);
                             System.out.println("End Month - " + endMonth);
                             System.out.println("End Year - " + endYear);
                             System.out.println("Description - " + description);
                             System.out.println("Chain - " + Chain);
                             System.out.println("User Id - " + User);
                             System.out.println("SQL Code - " + sqlCode);
                             System.out.println("SP Code - " + sProcedureCode);
                             System.out.println("Message - " + returnMessage);
                             System.out.println("***********************************************");
                        ut.commit();     
                        if (sProcedureCode.equals("99"))
                             returnCode = sqlCode;
                        else     
                             returnCode = Integer.parseInt(sProcedureCode);                     
                   catch (SystemException sysex) {
                                  throw new EJBException
                                  ("Rollback failed: " + sysex.getMessage());
                   catch (RollbackException sysex) {
                                  throw new EJBException
                                  ("Rollback failed: " + sysex.getMessage());
                   catch (NotSupportedException sysex) {
                                  throw new EJBException
                                  ("Rollback failed: " + sysex.getMessage());
                   catch (HeuristicMixedException sysex) {
                                  throw new EJBException
                                  ("Rollback failed: " + sysex.getMessage());
                   catch (HeuristicRollbackException sysex) {
                                  throw new EJBException
                                  ("Rollback failed: " + sysex.getMessage());
                   catch(SQLException e) {
                        System.out.println("SQLException caught: " + e.getMessage());
                   try {
                                  ut.setRollbackOnly();
                             catch (SystemException sysex) {
                                  throw new EJBException
                                  ("Rollback failed: " + sysex.getMessage());
                   finally {
                        try {
                             statement.close();
                             c.close();
                        catch (SQLException ignored) {}
              return returnCode;
    I will also check page 396.
    Thanks vickyk.
    TIA for any help resolving this null problem.
    J.Clancey

  • How to handle defect items in sap sd..

    Hi Friends,
    How to handle defect items in sap sd..
    My requirement is some of the XYZ materials are damaged 10%.Some more materials(Material number is XYZ) are damaged to 20%.When sales order is created with these defect items,the system should pickup the defect items only?One more thing is for 10% damaged items,one price is given.For 20% damaged items,one more price is given and so on.How this will be configured in sap sd.
    We hav an idea that making these type of defects as scrap.Then create one more material number  as AXYZ(Defects of XYZ) and receipt without po.We can use the defects in sales order and soon.But how pricing will be set for different levels of damages?
    Any ideas,documents and settings required for this scenario and share any ideas
    Thanks in advace....VM

    Hi All,
    Thank you very much for your replies and sharing your valuable information
    Just I am giving all the meeting points and those are
    They donu2019t want to convert into scrap.
    One more point is that if materials are in batches then???
    When we create sales order that damaged one only should be picked by the system.
    Manual entering the price need to be stopped
    Without maintaining separate material for the damaged, any possibilities?
    We discussed abt Split valuation point .Is it suitable to this? then how?
    How to handle this we are thinking.
    Both Rithvikau2019s point and Jigneshu2019s point need to be considered, actually this is main issue. There are more chances of malpractices/confusion to the user as mentioned by Rithvika. Here one more constraint is more material codes required for 10%, 20%, 30%........90% damaged one for one material as said by Jignesh
    Actually I mentioned only as example 10% and 20% but have many.
    Any ideas how to proceed...
    Thanks and Regardsu2026VM
    Edited by: vm on Apr 13, 2009 4:45 PM

  • How do you change the default Page Handling/Page Scaling settings?

    Hello, I use Adobe Acrobat 7.0 Standard. I work in the construction industry, so it is important drawings are printed to scale. when I go to print an A3 landscape pdf the page handling > page scaling settings automatically default to 'Fit to Printer Margins' - which then throws out the scale of the drawing content. I can manually change this setting to 'None' each time I print, but this is not fool proof as I sometimes forget.
    Is there a way to change the default setting for this property? Any help is appreciated.
    Thanks

    Hi,
    Answering to your questions.
    I hope the below link will help you, About how to set up URL Forwarding in iWS.
    For iWS6.x version.
    http://docs.iplanet.com/docs/manuals/enterprise/60sp1/ag/escontnt.htm#1002112
    For iWS4.x version.
    http://docs.iplanet.com/docs/manuals/enterprise/41/ag/esapuir3.htm#1057412
    Thanks,
    Daks.

  • HOW TO HANDLE MULTIPLE VALUES IN BDC FOR A PARTICULAR FIELD.

    I THINK IT IS HANDLING OF TABLE CONTROLS IN BDC
    PLEASE LET KNOW WHETHER THESE TWO ARE SAME CONCEPT OR NOT
    HOW TO HANDLE TABLE CONTROLS IN BDC
    Moderator message - Please do not use all caps. Please do not ask interview questions -  post locked
    Edited by: Rob Burbank on Jun 26, 2009 10:02 AM

    Hi,
    To handle table control in BDC you will have to enter at least one record in the table control and there after use the index number to increment to the next line item.
    Say you run a recording for a transaction which has a table control (ME21), here after you have completed the recording, you'll see the code which will have sometjing like <fieldname>(01) and the entered value. that valeu has been entered as the first line item (01 being the index).
    You will have to replace the hard coded line item index with a variable and inside a loop increment the item index. Once you reach the maximum allowed line items on your screen juct press the pagedown button (or insert new row) and reset the index to 1.
    Following is a code snippet I used while uploading data for ME31K (vendor contract). It is not the complete code but does show how your code needs to be changed with using index for line items.
    Here we assumne that the maximun number of lines displayed at a time on the screen is 14.
    << Unformatable code removed >>
    Hope this helps.
    Regards,
    Sachin
    Edited by: Rob Burbank on Jun 26, 2009 10:03 AM

  • How to handle error messages in BDC background mode

    Hi experts,
      I got one problem in BDC, We are uploading data throgh BDC program,that program is calling Standard Batch Input programs,
    Now we got one requirement, i.e., In some special cases we have to send one message as a error message.I handled this in foreground but, how to handle this in background.

    Hi,
    if session is being used
    automatically the log will begenereated in the sm35 transaction
    but if call transaction is used
    put all the error messages in the applicationserver using
    open data set
    and after the exectionof the program in the background
    you have to run another progam which reads the data stroed inthe application server
    that also with open data set only...
    thanks & regards,
    Venkatesh

  • How to Handle pop ups in BDC

    hello gurus,
    I seen one post on how to handle popups.
    the post is like this...
    Many times in transaction pop-up screen appers and for this screen you dont pass any record but some indication to system telling it to proceed further.
    For example  u have a screen (pop up) with YES, NO Buttons on it.
    To handle such screen, system has provided a variable called BDC_CURSOR. we pass this variable to BDC_DATA and process the screen.
    Usually such screen appers in many transactions, in this you are just passing information  that YES you want to save the information, that means YES should be clicked. so you are transferring the information to BDCDATA i.e., field name of YES, which is usually SPOP_option. Instead of BDC_OKCODE. you are passing BDC_CURSOR.
    please kindly explain me how to handle the pop screens in detail if possible send me a sample code, please

    Hi Ashok,
    I checked transaction PA40, but I am not getting any pop up message. Have you done the recording for PA40 in SHDB? I think in recording, you just need to press enter if any pop up comes. One more suggestion, instead of BDC, a function module ''HR_INFOTYPE_OPERATION' can be used for HR infotype update. I have used the same FM forinfotype 0017( travel privileges) update.
    Regards,
    Pranjali

  • How to handle Table control in BDC

    How to handle Table control in BDC

    HI,
    Table Control in BDC
    HI,
    Refer the link:
    http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
    The concept is easy: it has to indicate the index of the table control in the field name, so if you have to populate the first record of table control:
    BDC-FIELDNAME = <FIELDNAME>(01).
    If you fill the second row:
    BDC-FIELDNAME = <FIELDNAME>(02).
    and so....
    Now the problem is usually on how many records you have to load, because u can fill only the rows of table control available in the screen, If you have more records than it can be displayed yuo have to simulate the command to go next page.
    The number of recod can be displayed can depend on pc resolution and many program haven't command to go to next page (in this case it could be impossible create a BDC program9.
    A way to create a bdc program resolution indipendent is to work on the first and second row.
    - Place the first hit in the first row of bdc;
    - Place the second insert in the second row of bdc;
    - Place the last hit to the top of table control;
    - Place the next hit in the second row;
    - Place the last hit to the top of table control;
    - Place the next hit in the second row;
    - .... and so
    For more info: Search in SDN with TABLE CONTROL IN BDC.
    Will get a lot of related links.
    <b>Reward points if this Helps.
    Manish</b>

Maybe you are looking for

  • Acrobat 8.1.2 Stops Working When Opening a Drop-Down Dialog Box

    Whenever I try to open a drop-down dialog box in Acrobat the application stops working and Vista requests that the application be closed and that I will be notified of a solution when one is available. I've experienced the problem for six months. I m

  • No interface mapping in Interface detemination

    Hi all ,           while creating interface detemination Integration Configuration i am not able to choose any thing in interface mapping though i have created one interface mapping in integration repository . regards praveen

  • ERM: Exceeding SoD violations treshold

    Hi all, In ERM role definition, when exceeding the SoD violations treshold, it is not possible to continue the role definition since next stage doesn't get active. Has anyone of you face this before? How do you tackle it? Many thanks ion advance. Kin

  • Applet access question

    hi! I have an applet , the applet functions as a server . the server suppose to work on the users computer , meaning all the sockets and ports will be opened on the users computer not on the host where the applet sits . then i want the applet to writ

  • Can you edit repeat times in appointments

    Hi I would like to have a repeat time of quarterly and 6 monthly in repeat, is it possible to  add these? Thanks