Updating EKPA table entries

Dear Friends,
I need to update my purchase order and related material document entries in table EKPA which is not happening.
Is there some customization required or wht else; kindly help
Thanks in advance
Vrish.

Hi,
There is no need of customization. whenever you are creating P.O the relevant details are updated.Incase if the values are not updated.Please contact your SAP ABAP (or) else
maintain in SM30 enter the  table name and update
G.Ganesh Kumar

Similar Messages

  • Updating a table entry when remoteexception occures

    Hi,
    We are having the requirement that if remoteexception happens from EJB 1.1 then we need to update one table with status set to false.
    Since remoteexception is a system exception the transaction is marked for rollback and when we catch remoteexception and try to update the table
    it is not getting updated because the client transaction is also rolledback.
    we are actually using Websphere commerce server and we saw that WCS is able to update some of its own DB tables even when remoteexception occurs but we are not able to do it.
    So is there a way that when remotexception happens from EJB 1.1 we can update one of our tables.
    if yes then how can we do it.
    Thanks
    Ravi

    Try by putting this update code in a separate EJB with REQUIRES_NEW transaction scope.
    The the update is done in it's own transaction, and will not get affected by the other transactions 'marked for rollback' setting.
    -Roy

  • Incorrect / Unexplained EKPA table entries

    Hi ,
    We are facing a situation in the production system of our client where incorrect / unexplained entries are getting created in table EKPA. Wrong 'SA & P-Org combination' entries ( In Italics below) are getting generated in some cases which are non-existent in table EKKO. For the rest it's all right. I would like to know at which point table EKPA gets populated ? Does it happen as soon as the purchasing document is saved or there is any other trigger ?
    Kindly provide your explanations.
    Warm regards,
    Kingsuk Mukherjee
    EKPA Entries :
    700     5500003062          ZGPD               VN     1     DEMARAM     07/09/2009 J2339K4     
    700     5500003062          ZGPD               PI     1     DEMARAM     07/09/2009 J2339K0_P
    700     5500003062          ZGPD               GS     1     DEMARAM     07/09/2009 J2339K4
    700     5500003062          ZINT                       VN     1     SATHEJQ         04/20/2009 Q2031Z2
    700     5500003062          ZINT                        PI     1      SATHEJQ         04/20/2009 Q2031Z0_P
    700     5500003062          ZINT                       GS     1     SATHEJQ         04/20/2009 Q2031Z2
    EKKO Entry :
    700     5500003062     1885     L     ZLPA                    01/19/2010     DEMARAM     1     1     J2339K4     EN     P002     15     60     0     0.500     0.000     ZGPD     P03     USD     1.00000          01/19/2010     01/19/2010     02/15/2010                                                                                               FOB     MINNEAPOLIS     0.00               ZCAT00     SAP                         1     X                              US     X                                        02     0.00                                        1                                                                                                                                                                               0.00          0.00     0.00
    Edited by: Kingsuk Mukherjee on Feb 17, 2010 6:05 PM

    EKPA is updated when you save a PO, RFQ, Outline agreement.
    Looking at your example I can see that the same document number(5500003062) exists for 2 purchasing organisations (ZGPD and ZINT).
    Was the purchasing org changed?
    However, if I look at the dates it is even worse, as the EKPA entries are from 2009, while your EKKO entry is from 2010.
    do you reuse old number ranges? did one reset number ranges?

  • Update TVARV table entries using a Function Module or Program

    Hi Gurus,
    My requirement is that I have a entry in TVARV table which has a 'low'. We would like to change this value whenever we desire. We are unable to do it via sm30 and se16 as table maintenance access is not permitted in Production environment.
    Can you please provide any Function module or program code to do it?
    Requirement - User can enter a value into TVARV table by executing a function module or program
    Thank you all, will award points,
    Priyansh

    Hi Priyansh,
    Please refer to SAP Help for more information on variant maintenance and more specifically variable values in variants. You can use t/code STVARV for maintaining the variant variables in table TVARVC (Client-Specific Variant Variables).
    Note: I suggest to use the TVARVC table instead of TVARV.
    If you are looking for Function Modules in the area of Variant Maintenance, then please have a look at Function Group SVAR (t/code SE80).
    If you are looking for Function Modules in the area of User Variables in Variants, then please have a look at Function Group SVUV (t/code SE80).
    Furthermore, if you are looking for a program to update table TVARVC, please have a look at ABAP: Dynamic Variant Processing with STVARV.
    Best eregards,
    Sander

  • Transport table entries sap to sap using rfc

    Hi Guru's,
               I want to write a program for update one table entries of sap system  to onother table of sap system using RFC establishment.
    If you have any example code kindly give it to me.
    Thanks & Regards,
    Lakshman.annamaneni

    Hi,
    POST - 1
    Fisrt create RFC Destination in SM59 between sender & receiver system.
    *Sender System:*
    FUNCTION XX_RFC_READ_SPFLI.
    *"*"Local Interface:
    *"  IMPORTING
    *"     VALUE(CARRID) LIKE  SPFLI-CARRID
    *"     VALUE(CONNID) LIKE  SPFLI-CONNID
    *"  EXPORTING
    *"     VALUE(EX_SPFLI) LIKE  SPFLI STRUCTURE SPFLI
    *"     VALUE(SYS) LIKE  SY-SYSID
    *"  EXCEPTIONS
    *"      INVALID_DATA
      SELECT SINGLE * FROM spfli INTO spfli_workarea
             WHERE  carrid      = carrid
             AND    connid      = connid.
      IF sy-subrc EQ 0.
        ex_spfli = spfli_workarea.
      ELSE.
        RAISE invalid_data.
      ENDIF.
      Sys   = sy-sysid.
    ENDFUNCTION.
    *NEXT: create a Prog.*
    REPORT XX_RFC_Tutorial.
    Global Data Declaration
    TABLES: spfli.
    PARAMETERS: p_carrid LIKE spfli-carrid DEFAULT 'LH',
                p_connid LIKE spfli-connid DEFAULT '400'.
    DATA: SYSTEM LIKE SY-SYSID.
    * Calling the Function
    CALL FUNCTION 'XX_RFC_READ_SPFLI'
       EXPORTING
             carrid       =  p_carrid
             connid       =  p_connid
       IMPORTING
             ex_spfli     =  spfli
             sys          =  system
       EXCEPTIONS
             invalid_data =  1.
    * Handling Exceptions
    CASE sy-subrc.
       WHEN 1.
          WRITE 'No data available'.
           EXIT.
    ENDCASE.
    * Displaying Results
    WRITE: spfli-carrid,
           spfli-connid,
           spfli-cityfrom,
           spfli-cityto,
           spfli-deptime,
           spfli-arrtime.
    See the next post for Receiver System:
    Anil.

  • Standard table entries

    hi all
      i am having standard table J_1IPART2 . in this table i need to modify values of 4 fields with document number i.e with value of one field i need to modify values of 4 fields which already stored in database. can i have any ways to do it
              can i write a simple modify program in se38 to modify the values in database. is it work?  pls suggest me.
                                                       Kumar

    Hi Kumar,
    Yes you can write program to update the table directly and modify the entries for the specific document number, however this is not a recommended way as the database may become inconsistent with different entries maintained in different related tables.
    So before updating the table entries make sure the values you are updating are maintained in only this table and not anywhere else for the respective document number.
    regards.
    Vikas
    <b>Do reward useful  suggestions.</b>

  • Se16 table entries

    Hello all,
    I have deleted the some of the operations in the task list which was maintiained earlier and went back to Se16 and still seeing the deleted entried in the table PLPO. I guess it should not be in there. Does Se16 does not update the table entries based on the update in the transaction ?
    Mahee

    Hi,
    No they are not deleted (or marked deleted) in PLPO, the operations may be valid for a specific period of time. To see which operations are deleted check PLAS table, field LOEKZ.
    -Paul

  • Function Module to update Characteristic Value (AUSP table entry)

    Looking for a function module/BAPI to update a characteristic value (AUSP table entry).
    This is for a material master Material classification value, not a Variant Config value that I need to update.
    Anybody have one?  I have one that will find the value, but not change it.
    Thanks.

    That wasn't it, but it gave me the one piece I was missing.
    Answer is:
    Function Module "CLAE_CLASSIFY_OBJECT"
    In CHANGE_KSSK
    M = 0
    KLA = (Class Type)
    OBJEK = (Material Number for the Material Characteristic being changed)
    OBTAB = MARA
    CLASS = (Class Name with Characteristic to be changed)
    S = 1
    S = (blank)
    AENNR = (EC Change Number or Blank)
    DATUV = (Today's Date or date for change)
    C = "X"
    In CHANGE_AUSP
    OBJEK = (Material Number for the Material Characteristic being changed)
    ATINN = (Chararacteristic to be changed)
    M = 0
    KLA = (Class Type)
    ATWRT = (New Value for Characteristic)
    C = X

  • PO not updates in ICH due to table entry error

    Hi Experts,
    I have an issue while sending the PO from R/3 to SNC. Below error has occured and not able to understand what exactly this error. I have checked the PO data and everything is correct in R/3.
    "Error changing a table entry (secondary index /1OM/ORDR7MP3100, mode M)"
    Could you please help me to resolve the issue as many PO's are blocked due to above error.
    Regards
    Gowri

    Hi Gowri,
    It looks like ODM is not activated properly for PO.
    Check whether ODM activation is done properly or not.
    You can refer step 1,3 and 4 in SAP note 1178483 for activation of ODM or SAP note 836457.
    If above steps are already perform and still the same issue then you need to force generate the ODM go to
    transaction code:
    /N/SCMB/ODM_GEN_ORC for force activation of the component(check the force generate check box)
    /N/SCMB/ODM_GEN_ORDTP for force activation of the order data type(check the force generate check box)
    /N/SCMB/ODM_GEN_ORDA for force activation of the order data area(check the force generate check box)
    And perform the steps mentioned in the above SAP note.
    Regards,
    Nikhil

  • How to update two tables in a single call using JDBC Sender adapter

    Hello All,
    The scenario is, database entries have to be selected from two tables and at the same time those tables have to be udpated with the flag.
    We are using JDBC sender adapter and in Select Query, we are fetching the data by joinin the two tables.
    Update Statemtent: We can only update one table using this statement.
    Is it possible to update two tables using the Update Statement without using Stored Procedures.
    Let me know.
    Regards,
    Sreenivas.

    Hi Sreenivas,
    > Is it possible to update two tables using the Update Statement without using Stored Procedures.
    Yes its possible through join statement
    Check this links
    Update in JDBC Sender adapter for more than one table
    data from 2 tables for jdbc sender adapter
    Regards
    Ramesh

  • Error while updating DBDIFFVIEW table

    Hi,
    When we are doing new entries into the table: DBDIFFVIEW, the error:
    " Fill table key for table DBDIFFINFO only up to position 040 only  " is coming.
    Since updating the table at DB level directly is not advisable, please advise to correct the above error.
    Thanks & Regards,
    DVRK

    Hi All,
    The entries are maintained from DB level.
    Thanks for the help.
    DVRK

  • Doubt in customizing request with respect to table entries

    Hi All,
    I have a doubt in customizing request with respect to table entries.
    Suppose I have a customizing request with respect to a table that contains say 10 entries in the development system.
    Now I am transporting this request to the quality system in which the same table contains 20 entries.
    When I am transporting this table from the development system to the quality system, will my 10 entries in the development system get added to the 20 entries in the quality system or will my table get overwritten in the quality system.
    What difference will this be if it is a workbench request ? .
    Regards,
    Sushanth H.S.

    Hello,
    So if we are transporting contents of a table from one system to another, it should always be a customizing request and not a workbench request right.
    If the "Delivery Class" of the table is 'C'(Customizing table, maintenance only by cust., not SAP import) it will ask for a customizing request.
    If it is 'A'(Application table (master and transaction data)), it will ask for Workbench.
    To add to your previous qn, when you transport the entries to subsequent system it will always check the KEY FIELDS and then update. If you see a transport, then the table entries are represented by their key fields.
    If you create new entries in your table and transport, it will add the records. Else it will modify them
    Hope i am clear.
    BR,
    Suhas
    Edited by: Suhas Saha on Jan 23, 2009 11:51 AM

  • No table entries found for specified key

    Hi All,
    I have developed a program to upload data from flat file with the help of GUI UPLOAD. It is succesfully updating data in my Z-table.
    Whenever I tried to view the content of table for specific field, message shows No table entries found for specified key. However if I add * as a suffix, it shows the data & when I directly Execute table it also displays the data.
    I have also cross checked the spaces before or after the specific content, no space found.
    Only two fields are creating this issue Individually (one of them is key field)
    Regards
    Mukul Maheshwari

    Hi Dear ,
    Here i had implemented program go through it you can understand easily.
    While creating table give one field as primary as you know that.
    tables zdata1.
    data it_tab type TABLE OF zdata1 WITH HEADER LINE.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        FILENAME                      = 'C:\Documents and Settings\E50039\Desktop\data.txt'     ***************File path
       HAS_FIELD_SEPARATOR           = 'X'
      TABLES
        DATA_TAB                      = it_tab
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    LOOP AT it_tab.
    zdata1-no1 = it_tab-no1.
    zdata1-name = it_tab-name.
    zdata1-empid = it_tab-empid.
    insert zdata1.
    ENDLOOP.
    Flat file
    1 name1 empid1
    2 name2 empid2
    note: Give the tabspace between values in flat file.
    Edited by: Aditya.G on Oct 12, 2011 10:22 AM

  • Approach for holding the same message and updating the table field Status

    Hi,
    I have a scenario a (first) proxy asynchronous to JDBC synchronous and then(second) proxy asynchronous.
    my first proxy calls sends records (which has a status entry " in process" ) to JDBC it updates or inserts.
    JDBC sends a response (may be a count of records updated or inserted)
    now i need to handle some how to get the records which have been inserted or updated, so that i can map and change the table entry  status field" in process" to " active".
    Can i handle this without stored procedures.If so how
    Can it be done through BPM  where i retain inital mapping or any other solution. please  help.

    Hi Robin,
    Ok (but that would be the apt method)
    Some other approaches :
    1. Make a async scenario (Proxy to DB), which will update or insert records. Write a trigger in DB which will fetch updated/inserted records and send it to XI. Then you update them in R/3 (via proxy). So you will have two async interfaces (one is Proxy to DB and other one DB to Proxy)
    2. go for BPM. Receive (from proxy), transform sync send, transform send (to proxy) . I will not prefer this as it will be a performance hinderance.
    Regards
    Suraj

  • How to create function module to update z tables?

    Hi,
    I am new to ABAP. I checked the forum but did not find relevant solutions.
    I have 2 z tables - ZFLIGHT and ZCUSTOMER. I have a few entries in each table.
    I want to write a report to update the entries in the table using function modules. For that I have created a function module - zflight_fm and also a function group- zflight_fg and assigned the function group to the Fm. I do not know how to proceed further, what to put as import, export parameters, tables, changing etc. Further I want exceptions to handle the successful update of the entries.
    Thanks and regards,
    Smruthi

    Steps:
    1) Changing --->a) Zflight TYPE ZFLIGHT(DDIC Ref) OR  Zflight TYPE  ANY TABLE
                           b) ZCustomer TYPE ZFLIGHT(DDIC Ref) OR  ZCustomer TYPE  ANY TABLE
    2) Execptions:
         a) Upload_failed_Flight
         b) Upload_Failed_Customer
    3) Exporting ---> a) Information what rows are uploaded
    Source Code:
    Insert Zflight from Zflight(changing parameter).
    If insert failed
    RAISE  Upload_failed_Flight.
    endif.
    Insert ZCustomer from ZCustomer(changing parameter).
    If insert failed
    RAISE  Upload_failed_Customer.
    endif.
    Regards,
    Gurpreet

Maybe you are looking for