I have to make Multiple entry at table maintanance at a time

Hello all,
My requirment is to enable the multple user can loginto the same table for making there entry simultaneosuly .
i have created the table and table maintance as well. and i have created the new lock object and added the code accrdingly and i have used the custom fm which is generated in the tablemainta  function group.
forex: table xyz
user 1 , 2, 3, 4, 5,so on..
table should allow all user tomake there entry at time and the entry edited one user should be disabled to other user.
I have gone the forum i didnt found the correct one ..plz guide me ..plz find the attached code .i got this code and referredthe samein my prog ..any suggestions on the below.
1.       Create table ZTEST_SHUKS3.
2.       Create table maintenance generator for the table. 
3       Create lock object EYTSS_E433SH in SE11. Give it name as EZTEST_SHUKS3. 
4       create a report  ZREP_SHUKS3 and transaction code ZTEST_SHUKS3  to call this report. This tcode will call table  mainatance     generator of table ZTEST_SHUKS3 . 
5  create the report as below
6 Now open table maintenance function  group(ZTEST_SHUKS3)  in SE80.We know for table maintenance SAP automatically creates code in the function group. Now we will make some modification in that existing code to change the behavior. Open the screen you created through table maintenance and add one module. 
screen: 0001
double clik on screen and add one module in PBO of the screen
loop at extract with control
tctrl_ZTEST_SHUKS3 CURSOR NEXTLINE.
MODULE LIST SHOW LISTE
ADD HERE
MODULE m_change_locking
Check the code below to be added in the module m_change_locking. 
MODULE m_change_locking OUTPUT.
*Call the function module corresponding to the lock object we created
  CALL FUNCTION 'ENQUEUE_EZTEST_SHUKS3'
    EXPORTING
      matnr          = ztest_shuks3-matnr
      werks          = ztest_shuks3-werks
    EXCEPTIONS
      foreign_lock   = 1
      system_failure = 2
      OTHERS         = 3.
  IF sy-subrc NE 0.
row is locked..hence gray..
    LOOP AT SCREEN.
      screen-input = 0.
      MODIFY SCREEN.
    ENDLOOP.
  ENDIF.
ENDMODULE.                 " m_change_locking  OUTPUT 
REPORT  zrep_shuks3.
**Selection range for view maintenance
DATA:
  BEGIN OF selekttab OCCURS 1.         "Selektionsbereich
        INCLUDE STRUCTURE vimsellist.
DATA: END OF selekttab,
**Table of inactive CUA functions for view maintenance
BEGIN OF excl_cua_funct OCCURS 1.    "inaktive CUA-Fkt bei View-Pflege
        INCLUDE STRUCTURE vimexclfun.
DATA: END OF excl_cua_funct.
DATA: lt_enq_del TYPE STANDARD TABLE OF seqg3,
      lt_enq_read TYPE STANDARD TABLE OF seqg7,
      lw_enq_read TYPE seqg7,
      lw_enq_del TYPE seqg3,
      lv_subrc TYPE sy-subrc.
*Read all the lock details in system
CALL FUNCTION 'ENQUE_READ2'
  EXPORTING
    gclient = sy-mandt
    gname   = ' '
    guname  = '*'
  TABLES
    enq     = lt_enq_read.
*We will search entry for table level lock for our table
LOOP AT lt_enq_read INTO lw_enq_read
WHERE gname EQ 'RSTABLE'
AND   garg CS 'ZTEST_SHUKS3'.
  MOVE-CORRESPONDING lw_enq_read TO lw_enq_del.
  APPEND lw_enq_del TO lt_enq_del.
ENDLOOP.
*Delete table level lock entry for our table
CALL FUNCTION 'ENQUE_DELETE'
  EXPORTING
    check_upd_requests = 1
  IMPORTING
    subrc              = lv_subrc
  TABLES
    enq                = lt_enq_del.
*Now call the table maintenace generator.
CALL FUNCTION 'VIEW_MAINTENANCE_CALL'
  EXPORTING
    action               = 'U'
    view_name            = 'ZTEST_SHUKS3'
    show_selection_popup = 'X'
  TABLES
    dba_sellist          = selekttab
    excl_cua_funct       = excl_cua_funct.
I followed the same steps but still not getting the multiple user enable .
plz help
regards
Raju
Edited by: abaprthree on Jul 22, 2009 7:54 PM

Hi,
I think you are looking for the report which will allow only for entries not for change. In this case, at PBO you write the code to make all the rows in display mode which have records using LOOP at SCREEN .....ENDLOOP. When you click on on NEW ENTRY button, add blank rows and put user entries. When you save,check for existing entries in the table because many users are entering the data at the same time, so check for duplicates KEY entries and UPDATE the table on SAVE button. If you will go in this way, I don't think you have to go for LOCK object. It's required only if you are going for EDIT mode.

Similar Messages

  • Enable Multiple entry at table maintanance at a time by more then one user

    Hello all,
    My requirment is to enable the multple user, can login to the same table for making there entry simultaneosuly . i have created the table and table maintance as well. and i have created the new lock object and added the code accrdingly and i have used the custom fm which is generated in the tablemainta function group.
    forex: table xyz user 1 , 2, 3, 4, 5,so on..
    table should allow all user tomake there entry at time and the entry edited one user should be disabled to other user. I have gone the forum i didnt found the correct one ..plz guide me
    regards
    raju

    >
    swathi4 m wrote:
    > This is not happening.
    What is not happening? If you want to control update access to a database table, you'll need to implement a lock object.  Read the SAP help on lock objects or search this forum.

  • I cannot delete multiple entries from table

    Hi
    i am trying to delete multiple entries from table while keeping some data.
    for example I have the following table
    Plant                            Item
    US101                         777
    US101                         888
    US101                         999
    US101                         666
    I want to keep the  rows where the item is 777 and 888 for plant US101 and keep delete the rest data
    I wrote the following code
    Delete source_package where Plant = 'US101' and Item NE '777' or '888'.
    but all the rows get deleted.
    I tried deleting single row and it worked.
    Delete source_package where Plant = 'US101' and Item NE '777' .
    How can I delete multiple rows.
    thanks

    Hi Bhat Vaidya,
    Plz refer the following code.. IT will solve ur problem..
    REPORT  ZSDN_TEST.
    data: BEGIN OF it_data OCCURS 10,
            plant(4),
            item_num TYPE string,
          END OF it_data.
    data: str type string.
    data: it_final like it_data OCCURS 10 WITH HEADER LINE.
    it_data-plant = 'US01'. it_Data-item_num = 777.  append it_data.
    it_data-plant = 'US01'. it_Data-item_num = 888.  append it_data.
    it_data-plant = 'US01'. it_Data-item_num = 999.  append it_data.
    it_data-plant = 'US01'. it_Data-item_num = 666.  append it_data.
    delete it_data where plant = 'US01' and item_num ne 777 and item_num ne 888.
    LOOP AT it_data.
    write:it_data-plant,it_data-item_num.
    skip.
    ENDLOOP.
    Regards,
    Apoorv

  • To delete multiple entries in table control in module pool

    Hi,
    Please help me out to know , <b>how to delete multiple entries from table control</b> when multiple lines in table control are selected.
    Regards,
    Irfan Hussain

    hai,
        you can do it inthis way.
    in the PAI event.
    loop at <table control name>
      module del_itab.
    endloop.
    in the nodule,write the folowing code.
    if <tablecontrol>-fieldname = 'X'.
    delete <tablecontrol-itab>
    endif.
    cheers

  • How to insert multiple entries in table control

    Hi All,
    I want to insert multiple entries in table control in BDC program.Can any body help in this regard.
    Thanks,
    Satish.

    Hi,
    Go through the following 2 example programs:
    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:\first1.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.
    ABAP Name   :   ZMM_PR_UPLOAD_MAT
    Description :   PR Upload BDC Program(With Material)
    Created by  :   Anji Reddy V
    Created on  :   04/11/2004
    Description :   This Program is used to Upload the Purchase
                     Requisition data Using the Transaction ME51N.
      Modification Log:
      Date         Programmer          Correction    Description
      04/11/2004   Anji Reddy          Initial
    REPORT zmm_pr_upload_mat
           NO STANDARD PAGE HEADING
           LINE-SIZE 255.
    Standard Include for Selection Screen
    INCLUDE bdcrecx1.
    Internal Table for Upload Data
    DATA: BEGIN OF i_pr OCCURS 0,
    Header Screen
            sno(3),               " SNo
            bsart(004),           " PR Type
            epstp(001),           " Item Category
            knttp(001),           " Account Assignment
            eeind(010),           " Delivery Date
           lpein(001),          " Category of Del Date
            werks(004),           " Plant
            lgort(004),           " Storage Location
            ekgrp(003),           " Purchasing Group
            matkl(009),           " Material Group
            bednr(010),           " Tracking No
            afnam(012),            " Requisitioner
    Item Details
            matnr(018),           " Material No
            menge(017),           " Quantity
           badat(010),
           frgdt(010),
            preis(014),           " Valuation Price
           waers(005),           " Currency
           peinh(005),
           wepos(001),
           repos(001),
            sakto(010),           " GL Account
            kostl(010),           " Cost Center
           bnfpo(005),
          END OF i_pr.
    Internal Table for header Data
    DATA: BEGIN OF it_header OCCURS 0,
            sno(3),               " SNo
            bsart(004),           " PR Type
            epstp(001),           " Item Category
            knttp(001),           " Account Assignment
            eeind(010),           " Delivery Date
            werks(004),           " Plant
            lgort(004),           " Storage Location
            ekgrp(003),           " Purchasing Group
            matkl(009),           " Material Group
            bednr(010),           " Tracking No
            afnam(012),            " Requisitioner
          END OF it_header.
    Internal Table for Item Data
    DATA: BEGIN OF it_item OCCURS 0,
            sno(3),               " SNo
            matnr(018),           " Material No
            menge(017),           " Quantity
            preis(014),           " Valuation Price
            sakto(010),           " GL Account
            kostl(010),           " Cost Center
          END OF it_item.
    Data Variables & Constants
    CONSTANTS : c_x             VALUE 'X'.  " Flag
    DATA : v_l(2),                          " Counter
           v_rowno(5),                      " Row No
           v_2(2),                          " Counter
           v_rows LIKE sy-srows,            " Rows in TC
           v_field(45).                     " String
    Parameters
    PARAMETERS: p_file LIKE ibipparms-path.  " Filename
    At selection-screen on Value Request for file Name
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
    Get the F4 Values for the File
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          program_name  = syst-cprog
          dynpro_number = syst-dynnr
        IMPORTING
          file_name     = p_file.
    Start of Selection
    START-OF-SELECTION.
    Open the BDC Session
      PERFORM open_group.
    Upload the File into internal Table
      CALL FUNCTION 'UPLOAD'
        EXPORTING
          filename                = p_file
          filetype                = 'DAT'
        TABLES
          data_tab                = i_pr
        EXCEPTIONS
          conversion_error        = 1
          invalid_table_width     = 2
          invalid_type            = 3
          no_batch                = 4
          unknown_error           = 5
          gui_refuse_filetransfer = 6
          OTHERS                  = 7.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      SORT i_pr BY sno.
      LOOP AT i_pr.
        MOVE-CORRESPONDING i_pr TO it_item.
        APPEND it_item.
        CLEAR it_item.
        AT END OF sno.
          READ TABLE i_pr INDEX sy-tabix.
          MOVE-CORRESPONDING i_pr TO it_header.
          APPEND it_header.
          CLEAR it_header.
        ENDAT.
      ENDLOOP.
      SORT it_header BY sno.
      SORT it_item BY sno.
      v_rows = sy-srows - 6.
    Upload the Data from Internal Table
      LOOP AT it_header.
    Header Data
        PERFORM bdc_dynpro      USING 'SAPMM06B' '0100'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'EBAN-BEDNR'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'EBAN-BSART'
                                      it_header-bsart.
        PERFORM bdc_field       USING 'RM06B-EPSTP'
                                      it_header-epstp.
        PERFORM bdc_field       USING 'EBAN-KNTTP'
                                      it_header-knttp.
        PERFORM bdc_field       USING 'RM06B-EEIND'
                                      it_header-eeind.
       PERFORM bdc_field       USING 'RM06B-LPEIN'
                                     it_header-lpein.
        PERFORM bdc_field       USING 'EBAN-WERKS'
                                      it_header-werks.
        PERFORM bdc_field       USING 'EBAN-LGORT'
                                      it_header-lgort.
        PERFORM bdc_field       USING 'EBAN-EKGRP'
                                      it_header-ekgrp.
        PERFORM bdc_field       USING 'EBAN-MATKL'
                                      it_header-matkl.
        PERFORM bdc_field       USING 'EBAN-BEDNR'
                                      it_header-bednr.
        PERFORM bdc_field       USING 'EBAN-AFNAM'
                                      it_header-afnam.
    Item Details
        v_l = 0.
    To add no. of rows
        v_2 = 0 .
    As the screen is showing 13 rows defaulted to 130
        v_rowno = 130 .
        LOOP AT it_item WHERE sno = it_header-sno.
          v_l = v_l + 1.
          IF v_l = 14 .
            IF v_2 = 12 .
              v_2 = 12 .
              v_l = 2 .
    From second time onwards it is displaying 12 rows only
              v_rowno = v_rowno + 120 .
              PERFORM bdc_dynpro      USING 'SAPMM06B' '0106'.
              PERFORM bdc_field       USING 'BDC_CURSOR'
                                            'RM06B-BNFPO'.
              PERFORM bdc_field       USING 'RM06B-BNFPO'
                                            v_rowno.
              PERFORM bdc_field       USING 'BDC_OKCODE'
                                            '/00'.
              PERFORM bdc_field       USING 'BDC_OKCODE'
                                                '/00'.
            ELSE.
    V_2 initialized to 12 for second screen purpose
              v_2 = 12 .
              v_l = 2 .
              PERFORM bdc_dynpro      USING 'SAPMM06B' '0106'.
              PERFORM bdc_field       USING 'BDC_CURSOR'
                                            'RM06B-BNFPO'.
              PERFORM bdc_field       USING 'RM06B-BNFPO'
                                            v_rowno .
              PERFORM bdc_field       USING 'BDC_OKCODE'
                                            '/00'.
              PERFORM bdc_field       USING 'BDC_OKCODE'
                                                '/00'.
            ENDIF.
          ENDIF.
          PERFORM bdc_dynpro      USING 'SAPMM06B' '0106'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '/00'.
          CLEAR v_field.
          CONCATENATE 'EBAN-MATNR(' v_l ')' INTO v_field.
          PERFORM bdc_field   USING v_field it_item-matnr.
          CLEAR v_field.
          CONCATENATE 'EBAN-MENGE(' v_l ')' INTO v_field.
          PERFORM bdc_field   USING v_field it_item-menge.
          PERFORM bdc_dynpro      USING 'SAPMM06B' '0102'.
          PERFORM bdc_field       USING 'BDC_CURSOR'
                                        'EBAN-PREIS'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '/00'.
          PERFORM bdc_field       USING 'EBAN-PREIS'
                                      it_item-preis.
          PERFORM bdc_dynpro      USING 'SAPMM06B' '0505'.
          PERFORM bdc_field       USING 'BDC_CURSOR'
                                        'EBKN-SAKTO'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=ENTE'.
          PERFORM bdc_field       USING 'EBKN-SAKTO'
                                      it_item-sakto.
    Cost Center
          PERFORM bdc_dynpro      USING 'SAPLKACB' '0002'.
          PERFORM bdc_field       USING 'BDC_CURSOR'
                                        'COBL-KOSTL'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=ENTE'.
          PERFORM bdc_field       USING 'COBL-KOSTL'
                                        it_item-kostl.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=ENTE'.
        ENDLOOP.
        PERFORM bdc_dynpro      USING 'SAPMM06B' '0106'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RM06B-BNFPO'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=BU'.
    Call The Transaction
        PERFORM bdc_transaction USING 'ME51'.
      ENDLOOP.
    Close the BDC Session
      PERFORM close_group.
    reward for useful answers.
    Regards,
    Anji

  • How  to maintain the entries using table maintanance??

    Hi,
    I have created a Ztable. and I have created table maintanance generator, then attached the table to a
    Tcode. but I am unable to maintain the entries in table maintanance??
    Can anyone help me out
    Regards
    Devi

    Hi this will help u.
    Hi,
    Go to SE11 enter table name ->change
    Utilities-> Table Maintenance Generator
    delete the Table maintenance by pressing delete button on menu,
    then start creating it again.
    Enter Auth.Group as &NC&
    Enter function group < some name>
    Maintenance Type -> One step
    Overview screen -> some Number (1 or 2)
    Press create
    enter dev class and save, activate.
    Go to SM 30 and check again.
    Reward if useful
    Regards,
    Hema Sundara.

  • No entry in table T001P when running time eval

    Hi,
    Can someone tell me, why this error occurs. "No entry in table T001P" when running time evaluation PT60. I checked his Infotype 1 and has the Personal Area/Subarea assigned.
    Thanks,
    Swarna.

    Hi,
    Please check these tables:
    V_001P_ALL
    V_503_AL
    Or try creating a blank entry in table T001P.
    Hope this helps,
    Reward points if helpful,
    Thank You,

  • SRM-EBP:  How to delete multiple entries in table BBP_DOCUMENT_TAB easier?

    We are running SRM 4.0 EBP on classic scenario.  I want to delete entries in table BBP_DOCUMENT_TAB easier and faster using FM BBP_DELETE_FROM_DOCUMENT_TAB.  Is there a standard program that calls this FM so that inputting the entries will be faster?  I see only CLEAN_REQREQ_UP but does not serve the purpose.  If none, how can I develop a program to achieve this?  Please help SRM Consultants.

    Hi,
    Please check note 535765, in it there is a special report that deletes entries from this table.
    I hope this helps,
    Kind Regards,
    Lisa

  • Customers have to make multiple attempts to pay

    I'm highly embarrassed by how many times some of my customers have to resubmit their form before their Paypal payment is processed.  It happens so often that I now have to check my forms every day to make sure I don't miss bookings, and then I have to manually raise a Paypal invoice and send an apologetic email to those whose payments did not get processed.
    These are not customers who have insufficient funds in their account. The problem seems to lie entirely with the AdobeForms software.

    Hi Karen,
    I received your email and have looked into our server logs for the transaction records under your account. It appears that in the past month, there are 129 form fillers initiated a payment transaction by submitting your forms, and 109 of them has successfully finished their transaction. Therefore, the failure rate is about  (129-109)/129 = 15.5%, which is honestly a bit high.
    Out of the 20 users who didn't finished their transactions, 3 of them were reported by PayPal that their transaction cannot be completed and instructed us to redirect the users back to PayPal. We don't have the details about why the 3 transactions cannot be completed, but that find of cases are usually because the funding source they chose in PayPal had no sufficient fund or got declined, but they have other funding sources to choose from. We never heard back from PayPal about the remaining 17 users who initiated the transaction, which means they either changed their mind and close their browsers directly, or PayPal has directly declined their payments and eventually they gave up and close the browsers.
    Please understand our integration with PayPal totally relies on PayPal to determine if the transaction can be approved or declined. There are 3 stages of a transaction:
    1. FormsCentral asks PayPal to start a transaction.
    2. The user is redirected to PayPal and finish their payment info there. We don't have any control over this stage.
    3. When we receive a notice from PayPal indicating we can finalize the transaction, we call PayPal again to finalize the transaction.
    If PayPal notifies us any errors at stage 1 & 3, we will have error logs in our server. If the PayPal can determine the transaction cannot be done at stage 2, they will just tell  the user there without notifying us. Some transaction problems can only be found at stage 3 when we ask PayPal to finalize the transaction.
    In your case, we found no errors at stage 1, 2 recoverable errors at stage 3 and they successfully completed the payment after we redirected them back PayPal, and another 3 recoverable errors at stage 3 but the users eventually gave up after we redirected them back to PayPal. As I mentioned above, the other 17 users with unfinished transaction must have encountered errors at stage 2 or simply changed their mind.
    We have some users complaining transaction failures at stage 2. We talked to PayPal and they mentioned the typical transactions that got declined at stage 2 are those being classified as high risk one based on their security check algorithm. PayPal won't reveal how their security check is done, but did mentioned a pretty common failure case. If people in the same company (behind the same firewall) try to make payments in a short time period, they will most likely be all declined, because their IP addresses appears the same to PayPal.
    Based on my investigation, it looks like we cannot do anything so far to help improving the transaction success rate of your forms, since most failures in your case are not under our control at all. I am really sorry about that. Please understand our PayPal integration works just like a cashier at the checkout counter. The credit card machine (the PayPal payment page in our case) takes the credit card information and send it over to the bank (PayPal payment processing center in our case) to get approval. When a transaction is declined, it is the bank's (PayPal's in our case) decision that makes it fail. We as a clerk is only told by the credit card machine that the transaction cannot be completed with very limited details.
    Here is my suggestion: whenever you found customers failed to complete the transaction, you can ask them:
    1. Contact PayPal to ask why their transactions failed if they tried to pay with their PayPal account.
    2. Contact either PayPal or their credit card bank to ask why the transaction failed if they tried to pay directly with their credit cards.
    Please do let me know if you have further questions.
    Thanks,
    Eman Fu
    Senior Computer Scientist
    Adobe Systems Incorporated

  • Select from multiple entries in table cell.

    Hi All,
    I'm having issues when trying to do a simple select from an access database:
    <CFQUERY NAME="GetAllByMonth" DATASOURCE="dsn">
    SELECT * FROM table WHERE  strMonth = '#url.strMonth#' AND strDisplay = Yes
    order by strOrder_id
    </CFQUERY>
    Table cells in rows contain coma separated values:
    January, February, March, April, May, June, October, November, December
    Unfortunately the query returns no values. I've tried changing the "=" with "like", "contains" but with no results.
    Difficult to know what to search for so any help gratefully recieved.
    Ta
    Trevor

    Here is an absolutely crazy "hack" that I once used when dealing with a database like that.  It had hundreds of thousands of rows with comma separated values that for various legacy could not be changed.
    So one day I did this ...  SELECT DISTINCT column_from_purgatory FROM table_from_hell.
    Much to my surprise, there were less than a hundred DISTINCT values in that column.  (They were, fortunately, reasonably-sized VARCHARs.)
    So I built a table of those values, then created a separate table into which I could put each of the comma-separated parts, and then wrote a small (Perl) script to populate the two.  For example, a row containing "January, March, April" would be linked to three rows containing one month-name each.
    Now, as long as I had a way to be sure that this pair of lookup-tables was always complete (which was slightly problematic), I had something that I could actually JOIN to.  It wasn't pretty ... in fact, it was butt-ugly ... but it saved a tremendous amount of processing time for this application.

  • Do I have to make sure the server stays on all the time?

    Is it ok if the server goes to sleep?  If it is needed will it wake up?  Will mail or calendar updates be slower if it is?

    Is it ok if the server goes to sleep?
    Not if you expect it to work.
    If it is needed will it wake up?
    If you have a Bonjour sleep proxy on the network (such as an AirPort base station), it may wake for access to Bonjour-advertised services if so configured in the Energy Saver preference pane.
    Will mail or calendar updates be slower if it is?
    It won't wake for those services. If you want to run a server, don't put it to sleep.

  • Export multiple schemas and tables in the same time

    Please help with this
    If I need to export 3 schemas SCH1, SCH2 and SCH3, also table tab1 and tab2 in schema SCH4, can anyone write only one parfile to export them in once.

    Are you going to use original exp/imp or data pump?
    It's not easy to do this in one shot if it's even possible.

  • Picking the value of PBEG and PEND incase of multiple entries 2002 on a day

    Hi Experts,
    Our client's business requirement is to have provision handling multiple entries multiple entries of same subtype of IT 2002 on same day with different Time entries.For example one IT 2002 Styp 1 has entry 10 am to 14 pm & other entry of IT 2002 styp 1 as 14 pm to 16 pm.
    In this scenario I want to have TWT with start time of 1st 2002 record i.e 10 & another TWT with end time of last 2002 record i.e. 16.
    I have written a PCR as
    OUTTPORIGS Origin status
        COLOP*     TIP  >TOP curr.TType
      P
        HRS=PBEG   Set
        ADDDB90T3  Add to day balance
        HRS=PEND   Set
        ADDDB90T4  Add to day balance
    But its giving me value of 2002 start time  as (1014=24) & END time (1416=30) respectively.
    Since TIP will have entries with origin E & A as well with P  and any entry can be 1st or last entry depending on time, I can't use VRSTFIRST & VARSTLAST.
    Please suggest me how to handle such scenario through PCR. Is there a way we can make decision on From & To of TIP entries.
    You can also suggest me if such need can be handled at masterdata level so that we can have just one entry
    Regards
    S S
    Hi All,
    Please also suggest me a better operation to pick the value of PBEG and PEND incase of multiple entries various subtypes of 2002 on same day.I need to compare start- end time of 2002 with 2011 entries and calculate total attendence hrs. Once again, I can't use VRSTFIRST & VRSTLAST as 1st & last TIP entry could be come from any infotype viz 2011,2002, 2001.
    Regards
    Sunita
    Edited by: Sunita on Feb 5, 2011 10:02 AM

    If you want to do it the T-SQL way, follow this article I wrote on deleting duplicates..
    http://sqlsaga.com/sql-server/how-to-remove-duplicates-from-a-table-in-sql-server/
    To read about what ranking functions does and how will they help you use this link..
    http://sqlsaga.com/sql-server/what-is-the-difference-between-rank-dense_rank-row_number-and-ntile-in-sql-server/
    Please mark as answer, if this has helped you solve the issue.
    Good Luck :) .. visit www.sqlsaga.com for more t-sql code snippets and BI related how to articles.

  • HELP: Customizing ESS Leave Request for multiple entries in one submission

    Hi experts,
    I appreciate help on this urgent problem. We're on ECC6 with EP7. My customization requirements are below:
    1) Allow multiple leave entries to be submitted at one go. Standard ESS only allows one date range entry per submission. We've customized the Webdynpro Leave request form to allow multiple entries in table form.
    Assuming there's 3 requests:
    R1 ~ 01-Oct-2007
    R2 ~ 03-Oct-2007
    R3 ~ 05-Oct-2007
    Whenever user clicks 'New Entry' button, Webdynpro will call bapi PT_ARQ_REQUEST_PREPARE to generate a new request ID.
    When user clicks on 'Review' button, I will loop at the requests internal table and check each of the entries, which is an individual request, via BAPI PT_ARQ_REQUEST_CHECK. Am I doing correctly so far?
    The checks return no error. Next comes the problem. When I click the 'Send' button, I will loop at the request IDs (in ascending order) into BAPI PT_ARQ_REQUEST_EXECUTE. I will get a dump, saying that the object cannot be found. Debugging shows that it cannot find the first request ID (R1) in the memory. I found that if I sort the request IDs in descending order, it will be able to find the last request (R3) and could process it. However, when it comes to the 2nd last request (R2), it will give me the same dump saying that object can't not found. Both R1 and R2 cannot be found whereas only R3 can be found.
    In overview, the logic we adopted is like this:
    1) PT_ARQ_REQUEST_PREPARE-CREATE (R1)
    2) PT_ARQ_REQUEST_CHECK (R1) upon clicking 'New Entry' Button
    3) PT_ARQ_REQUEST_PREPARE-CREATE (R2)
    4) PT_ARQ_REQUEST_CHECK (R2) upon clicking 'New Entry' Button
    5) PT_ARQ_REQUEST_PREPARE-CREATE (R3)
    6) PT_ARQ_REQUEST_CHECK (R1, R2, R3) upon clicking 'Review' Button
    7) Loop PT_ARQ_REQUEST_EXECUTE ( R3 - Returns OK, R2 - Returns object not found and terminates, R1 - not processed because execution terminated by R2).
    Can anyone please advise me how I should go about changing the BAPIs? Or are the CLASSes/BADIs to be changed?
    <b>Points will be rewarded for helping with this urgent requirement.</b> Thank you.
    Regards,
    Damien

    Hi Kiran,
    Thanks for replying. My guess initially was also that the requests are overwritten.
    I heard of another company's implementation who did the same concept and was able to do it. Unfortunately, I'm unable to get any information from them.
    Initially, my frontend programmer and I thought of adopting the 'dummy checks' methodology. i.e. Do dummy checks when clicking 'New entry' or 'Review' button. This is to ensure that the entries were entered correctly at front end. Only when the user clicks on the 'Send' button, my BAPIs take in a table of request entries and perform the Request_Prepare&Request_Check&Request_Execute one at a time.
    This may be expensive as there will be double the processing needed. One set for dummy checks and one set for the actual backend processing.
    Is there any way that I can create multiple requests in 'transcient' state so that it won't be overwritten and I can still find it when I call the BAPI PT_ARQ_PREPARE_EXECUTE? PT_ARQ_PREPARE_EXECUTE only takes in request IDs instead of request structures.
    Thanks again, Kiran, for replying. Have a good weekend.
    Regards,
    Damien

  • Can I use one purchase of Acrobat on more than one computer? I work on a desk top, lap top, and netbook.  Do I have to purchase multiple copies or what?  (PS -- If I start with a free trial download, how long can it be used for?)

    How many times can I use Acrobat Pro on my three compters -- the desk top, lap top, the net book.  Do I have to make multiple purchases?

    Hi markala,
    As per the End User License Agreement a single purchase of retail license for Acrobat is good for 2 computers.
    If you want to install it on 3 machines you need to procure a volume license.
    Regards,
    Rave

Maybe you are looking for

  • In MB5B report  having minus value

    Dear exports In MB5B report the opening (amount in LC) stock value in the minus value for zero quantity for some material. why it is? how can i balanced? Regards amsi

  • PID advanced not working after switching on and off

    Hello there, I am trying to simulate the control of an inverted pendulum with the simulation module and the PID toolkit and actually the model runs fine with one problem remaining. When I switch the PID to manual mode and then back to automatic the c

  • Arch as Vmware guest broken?

    Hi! For the past couple of weeks!! (ever since systemd 'upgrade') things in vmware-land have been going from bad to worse. I have Arch setup as a guest within vmware running on a windoes host. (Also on a mac host, same problems) Now, I migrated the s

  • Images getting overlapped?

    Hi all, I have one small problem.In my company there is PO form.At the end of the PO,I have to attach my code.I am getting one small problem,which I and my freinds are unable to resolve it for the past 10 days.I commented my entire code and checked w

  • Jumping to a page in HTML SideBar Menu

    Hello, I have following kind of menu hierarchy attached to a responsibility.    Home Menu        HTML Tab Menu (Tab)            Function1            HTML Sub Tab Menu (SubTab)                HTML SideBar  (SideBar)                    Function2