ME_CONFIRMATION_UPDATE

Hello friendz. I am using DELVRY03, IDOC_input_DESADV1 for updating order confirmation tab details. I used ME_CONFIRMATION_UPDATE for updating these without creating the inbound delivery. Now I have a problem. I am unable to display DELIVERY DATE and DELIVERY TYPE in the order confirmation tab wchich are RM06E-EEIND and RM06E-LPIEN where RM06E is a structure. I am able to find del date and type in EKES tables .Can anyone help me out how to display these from RM06E structure.
Thanks in advance

I am able to load the EKES table fields. But I want to display delivery date in Corfirmation Tab which is RM06E-EEIND and not EKES-EINDT. How can i do display the delivery date ?

Similar Messages

  • How to change delivery date in confirmation tab in item overview in PO

    Hi,
    I am using ME_CONFIRMATION_UPDATE to add delivery date into the confirmation tab in item level.It is adding new line item.
    It is even updating the table EKES.
    Now my requirement is to change the delivery date from the above PO. Is there any function module for the same.
    PLEASE GUIDE ME.
    Thanks,
    Vengal Rao.

    Hi,
    Our client is into Apparel business and using SAP-AFS.  Some time at the last moment the due to change in customer delivery date there is a requirment to change the delivery date in confirmation tab also..
    Thanks,
    Vengal Rao.

  • BAPI for Purchase Order Confirmation and update EKES table

    Hi all,
    I have a requirement to update the PO confirmation soon after successful creation of PO in an IDOC.
    I have used BAPI_PO_CHANGE function module which didnt serve the purpose as it cannot update confirmations.
    I tried using ME_CONFIRMATION_UPDATE where I was able to add a confirmation entry in EKES table but that is not being reflected in ME23N transaction when I display the PO.
    Please help me out on this.
    Thanks & Regards
    Pavan

    NB: Never use a standard update FM (check attributes of ME_CONFIRMATION_UPDATE) its often only a SQL statement collector without any check, logging of changes or database consistency, if you perform a where-used you should find it is never called alone but with a bunch of other update FM after checks and other update preparation.
    Get back to the BAPI and table parameter POCONFIRMATION, also use BAPI_PO_GETDETAIL1 to get current data for the call of BAPI_PO_CHANGE.
    Regards,
    Raymond
    PS: If it is not in 197958 - BAPIs for purchase orders: Missing functions, you should be able to do it

  • Updating Vendor Confirmations in PO

    Hi Friends,
    I am trying to update Vendor Confirmations(TABLE EKES) in PO using FM ME_CONFIRMATION_UPDATE.  Even checking for EKPO-BSTAE.
    But i could not able to update EKES table, its throwing an error 'SYSEM ERROR:ERROR DURING UPDATING TABLE EKES'.
    Any suggestions please
    Regards,
    Sunil
    Message was edited by:
            sunilkumar sankineni

    I'm also trying to update the EKES table using the same function module, but not able to update. Did your problem get solved. Can you give me the code, on how to update the EKES table.
    Message was edited by:
            P K Ch

  • BAPI for purchase order .. to create and delete confirmation

    HI Gurus
    I need to create and delete PO(Purchase order) confirmation in SAP 4.7 R3 .
    Please let me know which BAPI i can use for .. in SAP 4.7
    1. Create PO confirmation
    2. Delete PO confirmation
    Many thanks and regards
    Sandeep Sharma

    Hi Sandeep,
    In SAP 4.7 R3 & ECC 5.0. we don't have BAPI to delete / create PO confirmatons.
    Use this FM for both : ME_CONFIRMATION_UPDATE
    In addition to above , we need to use this FM : ME_CONFIRMATION_REDISTR_ITEMS , for PO item update in MD04 transaction.
    In addtion to above 2 FM, you need to used Change doucment FM for write log data.
    Thanks.

  • Vendor confirmations in purchase order

    Hi friends,
    Iam using the fucntion module ME_CONFIRMATION_UPDATE to update the vendor confirmations table ie : EKES table
    Now iam able to succesfully update and insert new record in this table using the above function module.
    Now when i go to ME23N and give purhcase order number and at the item level in the confirmations tab i should see the updated entries of EKES table . but iam not able to see it..
    when i manually add a new line in the confirmations tab then i can see that entry in the EKES table.. how can i get the reverse process ie : when i add an entry in EKES table using the above function module it should reflect in the confirmation tab at the item level in ME22N.
    How can i do it.
    Regards
    Kumar

    Well, not much more I can say. This is the code I uam using for my specific case, hope that gives you some ideas for your case:
    lstr_item-acknowl_no = p_cnftxt.
      lstr_item-conf_ctrl = '0001'.
      lstr_itemx-acknowl_no = 'X'.
      lstr_itemx-conf_ctrl = 'X'.
      LOOP AT gtab_xekes_tmp INTO gstr_xekes_tmp.
        IF gstr_xekes-ebelp NE lv_ebelp AND sy-tabix > 1.
          lstr_item-po_item = gstr_xekes_tmp-ebelp.
          APPEND lstr_item TO ltab_item.
          lstr_itemx-po_item = gstr_xekes_tmp-ebelp.
          APPEND lstr_itemx TO ltab_itemx.
        ENDIF.
        lv_ebelp = gstr_xekes_tmp-ebelp.
      ENDLOOP.
      lstr_item-po_item = gstr_xekes_tmp-ebelp.
      APPEND lstr_item TO ltab_item.
      lstr_itemx-po_item = gstr_xekes_tmp-ebelp.
      APPEND lstr_itemx TO ltab_itemx.
      CALL FUNCTION 'BAPI_PO_CHANGE'
        EXPORTING
          purchaseorder = p_ebeln
        TABLES
          return        = ltab_bapiret
          poitem        = ltab_item
          poitemx       = ltab_itemx.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    /Leif

  • How to update partner function in PO.

    Hi guys,
      Please help me, How to update partner function in PO.(Transaction ME23N),BAPI_PO_CHANGE is not updating this.it gives error like partner roles not change.

    DATA :  li_return         TYPE TABLE OF bapiret2 WITH HEADER LINE,
                 li_popartner    TYPE TABLE OF bapiekkop WITH HEADER LINE,
                 lv_error           TYPE  FLAG  .
    li_popartner-partnerdesc = X1.
      li_popartner-langu       = sy-langu.
      li_popartner-buspartno   = 'vendor1'.
      APPEND li_popartner.
      CALL FUNCTION 'BAPI_PO_CHANGE'
        EXPORTING
          purchaseorder = ebeln
        TABLES
          return        = li_return
          popartner     = li_popartner.
      LOOP AT li_return.
        WRITE / li_return-message.
    Check error
        IF li_return-type = lc_E OR li_return-type = lc_A.
          lv_error = 'X'.
        ENDIF.
      ENDLOOP.
      IF lv_error IS INITIAL.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
      ENDIF.
    Is there any config issues are there And also I am going to pass any values .
    HI,
      How to update the confirmation tab in PO item level.
    I write this code tell me i am going to pass any values or not.
    DATA:
        li_ekes               TYPE STANDARD TABLE OF uekes .
      CALL FUNCTION 'ME_CONFIRMATION_UPDATE'
                          EXPORTING
                            I_EBELN = lwa_z1confirmations-ebeln
                          TABLES
                            XEKES   = li_ekes.
                        IF sy-subrc EQ 0.
                        ENDIF.

  • Lock object for table EKES

    Hi experts,
    I developed a function module to update the confirmations tab of a PO on ME22N screen. Now, I want to have a lock object in the FM so that a user cant make changes while this FM is in use. I do not know if there is any standard lock object for this purpose. I created a lock object in SE11 'EZEKES' since table EKES corresponds to vendor confirmations details. The Enqueue function was called into the program. The code is below:
    CALL FUNCTION 'ENQUEUE_EZPHLOCK'
    EXPORTING
       MODE_EKES            = 'E'
       MANDT                = SY-MANDT
       EBELN                = ponumber
    EXCEPTIONS
       FOREIGN_LOCK         = 1
       SYSTEM_FAILURE       = 2
       OTHERS               = 3
    The problem is, i'm not able to have a lock on the confirmations tab when the FM is in use. Is there any problem with the lock object i have created. The lock mode is Exclusive,Cumulative.
    Please help me with this.

    Code:
    ""Local Interface:
    *"  IMPORTING
    *"     REFERENCE(PONUMBER) TYPE  EKKO-EBELN
    *"  TABLES
    *"      ITAB STRUCTURE  UEKES
    TABLES: EKES, EKKO.
      DATA: BEGIN OF I_EKKO OCCURS 0,
            EBELN LIKE EKKO-EBELN,
            END OF I_EKKO.
      DATA: X LIKE EKES-ETENS.
      data: i_tab like itab occurs 0 with header line.
      move itab[] to i_tab[].
      DATA: i_ekes LIKE uekes OCCURS 0 WITH HEADER LINE.
      SELECT EBELN FROM EKKO INTO TABLE I_EKKO WHERE EBELN = PONUMBER.
      IF NOT I_EKKO[] IS INITIAL.
        SELECT  * FROM EKES INTO TABLE I_EKES
        FOR ALL ENTRIES IN I_EKKO
      WHERE EBELN = I_EKKO-EBELN.
      ENDIF.
      select single etens from ekes into x WHERE EBELN = PONUMBER.
      x = x + 1.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    DATA: VARKEY LIKE RSTABLE-VARKEY.
      CALL FUNCTION 'ENQUEUE_E_TABLE'
       EXPORTING
        MODE_RSTABLE         = 'E'
         TABNAME              = EKES
         VARKEY               = VARKEY
        X_TABNAME            = ' '
        X_VARKEY             = ' '
        _SCOPE               = '2'
        _WAIT                = ' '
        _COLLECT             = ' '
      EXCEPTIONS
        FOREIGN_LOCK         = 1
        SYSTEM_FAILURE       = 2
        OTHERS               = 3
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
        LOOP AT I_TAB. "WHERE EBELN = PONUMBER.
        READ TABLE I_TAB.
        LOOP AT i_ekes WHERE ebelp EQ ITAB-EBELP "itemnumber
                          AND ebtyp EQ 'LA'.
          i_ekes-menge = ITAB-MENGE. "quantity.
          i_ekes-kz   = 'U'.
          i_ekes-eindt = ITAB-EINDT. "deldate.
          I_EKES-XBLNR = ITAB-XBLNR.
          i_ekes-erdat = sy-datum.
          i_ekes-ezeit = sy-uzeit.
          MODIFY i_ekes.
        ENDLOOP.
      ENDLOOP.
      IF sy-subrc NE 0.
        LOOP AT I_TAB. "WHERE EBELN = PONUMBER.
          READ TABLE I_TAB.
          LOOP AT i_ekes WHERE ebelp EQ ITAB-EBELP "itemnumber
                         AND ebtyp EQ 'AB'.
            i_ekes-menge = ITAB-MENGE. "quantity.
            i_ekes-ebtyp = 'LA'.
            i_ekes-kz   = 'I'.
            i_ekes-etens   = x.
            i_ekes-eindt = ITAB-EINDT. "deldate.
            I_EKES-XBLNR = ITAB-XBLNR.
            i_ekes-erdat = sy-datum.
            i_ekes-ezeit = sy-uzeit.
            APPEND i_ekes.
          ENDLOOP.
        ENDLOOP.
      ENDIF.
    To update the confirmations tab
      CALL FUNCTION 'ME_CONFIRMATION_UPDATE'
        EXPORTING
          I_EBELN = PONUMBER
        TABLES
          XEKES   = i_ekes[].
            YEKES         = I_EKES[].
      IF SY-SUBRC = 0.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
      ENDIF.
    CALL FUNCTION 'DEQUEUE_E_TABLE'
    EXPORTING
      MODE_RSTABLE       = 'E'
       TABNAME            = EKES.
       VARKEY             = VARKEY
      X_TABNAME          = ' '
      X_VARKEY           = ' '
      _SCOPE             = '3'
      _SYNCHRON          = ' '
      _COLLECT           = ' '
    ENDFUNCTION.

  • Record Purchase order confirmation via FM

    Hi all,
    I'm searching for FM for recording Purchase order confirmation.
    Any suggestions ?
    Thanks,
    Shai E.

    ME_CONFIRMATION_UPDATE ...but its tricky  its does direct table update ..(EKES table will be updated directly)

  • Function Modules used for PO Vendor Confirmation

    Hi,
    Pls. let me know which function module is used to update EKES table during Vendor Confirmation in Purchase Order.
    Thanks in advance.
    Regards,
    Ramesh

    Hi Ramesh,
    Please check this FM ME_CONFIRMATION_UPDATE.
    This FM will perform direct update to table EKES (please be careful).
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • PO Confirmation Issues.

    Hello Experts,
    I am having some difficulty updating the Purchase Order Confirmations Tab of the PO.
    Right now, I am using ME_CONFIRMATION_UPDATE  to take date that is being received through an inbound IDOC formatting it, then calling the above Function Module. The Purchase Order is updating correctly but the Stock/Requirements list is NOT.  In MD04 if I manually update the PO and Save, the Shipping Notification line replaces the POItem line. When the Function Module runs, It Adds  the Shipping Notification line in addition to the POItem line.  From what I have read, it is probably due to this FM being a direct insert into the table, and I would need a PO Save feature to properly update the PO, and by doing so the Stock requirements list.
    Playing around I have tried to create a BDC with little success. I'd rather not use a BDC.
    I have done some reading about using BAPI_PO_CHANGE, and from some of the posts I read, It seems to (At least from time to time) have the same issue.
    If anyone can provide some direction and assistance, it would be greatly appreciated.
    Regards,
    Christopher

    Hello to all,
    that is just for documentation. SAP answerd the problem in OSS-304243 but this message is not accessable if you don't have powerful OSS-Users.
    This SAP-note might be interesting: 197958
    OSS-Message 652796 8.8.2011
    BAPI_PO_CHANGE
    We can not process confirmations by using the parameter poconfirmation.
    The Baps reports always S 06 022 - no data changed.
    In the SDN there are some hints telling that the BAPI_PO_CHANGE does notsupport processing of confirmations. More detailled infos should be in
    the OSS-Message 0000304243 but this message is not accessable for us.
    Can you confirm that the BAPI_PO_CHANGE does not support adding
    confirmations? We debugged the BAPI and there is no code for updating
    confirmations found.
    Best regards
    Bernhard Lascy
    09.08.2011 - 10:43:07 CET - Antwort von SAP
    Dear Bernhard,
    I regret to inform you that the functionality you request is not
    implemented in the R/3 standard system.
    Unfortunately it is not possible to change/load confirmations with the
    function module BAPI_PO_CREATE/BAPI_PO_CHANGE. Table POCONFIRMATION in
    BAPI interface is relevant for Display/List Vendor Confirmation in BAPI,not for update/insert Vendor confirmation in PO.
    Furthermore, we recommends that you use Idocs for automatically
    entering confirmations. The Message type to use is ORDRSP.
    You may read more about this topic in the online documentation.
    Please see also following attached note for your reference.
    456127 FAQ: Electronic Data Interchange (EDI) in purchasing
    Best regards,
    Pavel Olysar
    Support Consultant
    Global Support - Logistics

  • Confirmation PO with FM caused data dupicate in MD04

    Dear Experts,
    Here's our problem:
    1. We have a PO with quantity 1000 . And in MD04 - MRP Element data we can see this data.
    2. Then we  use FM : "ME_CONFIRMATION_UPDATE" to insert confirmation data directly to table "EKES", set comfirmed quantity 1000 for this PO.
    3. Now there're two items appeared in MD04 for this PO, the original one and the comfirmed one.
    4. Then we open this PO, click "Edit" icon, and save this PO without updating anything, and then goto MD04 again, there is only one item for this PO with 1000 comfirmed quantity.
    It's really strange. Please help give some idea about how to fix this problem!
    Thank you!
    Andy

    Hi all,
    When you run the function ME_CONFIRMATION_UPDATE
    pass in XEKES-KZDIS = 'X' as one of the function parameters in tables section.
    In more detail:
    CALL FUNCTION 'ME_CONFIRMATION_UPDATE' "Post order acceptance/fulfillment confirmations
      EXPORTING
        i_ebeln =                   " ekko-ebeln
      TABLES
        xekes =                     " uekes    "<---------------------------------------- Here put KZDIS = 'X' in the lines you are updating
    *   yekes =                     " uekes
    Best,
    Iftah

  • Bapi for Updating the confirmation table(EKES)

    Hi,
    Could anyone let me know the BAPI to update the Vendor confirmation table EKES. And also the parameters to be passed to it.
    Thanks.

    Suman:
    After your call to FM ME_UPDATE_DOCUMENT is successful, please perform a explicit COMMIT.
    Umair:
    Use the FM ME_CONFIRMATION_UPDATE to update EKES table.
        CALL FUNCTION 'ME_CONFIRMATION_UPDATE'
          EXPORTING
            i_ebeln = ekko-ebeln
          TABLES
            xekes   = xekes
            yekes   = yekes.
    "yekes contains the EKES table in DB
    "xekes contains the changed values for EKES table
    Hope this helps. Reward points if helpful.
    Thanks
    Balaji
    Edited by: Balaji Ganapathiraman on Mar 20, 2008 1:10 PM

  • IDOC for 856 not altering MRP

    We have created a copy of the standard IDOC program IDOC_INPUT_DESADV1 to process Advance Ship Notices. We are not calling the DELIVERY_CREATE form in our copy of the program. We are calling the module ME_CONFIRMATION_UPDATE to update the EKES data. The flag KZDIS is set to X during the call. The IDOC will process with no errors.
    When the IDOC is processed, the Shipping Notice is being displayed on the MD04 screen, but the quantity is not being deducted from the Rec/reqd quantity on the PO line. When someone goes to the screen ME22N screen and saves the PO (with out making any changes), the Rec/reqd quanties are recalculated correctly.
    Can someone tell what what I am missing or doing wrong.
    Thanks.......

    We have created a copy of the standard IDOC program IDOC_INPUT_DESADV1 to process Advance Ship Notices. We are not calling the DELIVERY_CREATE form in our copy of the program. We are calling the module ME_CONFIRMATION_UPDATE to update the EKES data. The flag KZDIS is set to X during the call. The IDOC will process with no errors.
    When the IDOC is processed, the Shipping Notice is being displayed on the MD04 screen, but the quantity is not being deducted from the Rec/reqd quantity on the PO line. When someone goes to the screen ME22N screen and saves the PO (with out making any changes), the Rec/reqd quanties are recalculated correctly.
    Can someone tell what what I am missing or doing wrong.
    Thanks.......

  • Problem while updating PO line item

    Hi,
    I am using ME_CONFIRMATION_UPDATE to update EKES table for mass PO confirmation and facing a problem . When we update it using the above FM used in our program after confirmation we are getting 2 records in transaction MD04 one for Shipping notification and other for PO item but when we confirm a PO manually
    then the PO item record gets replaced with shipping notification record.
    Thanks in advanced.

    Hi
    This is because the quantity reduced (RP) (field DABMG) in schedule line. You should update the field DABMG in EKET with quantity from your confirmation.
    Regards
    Dean Q.

Maybe you are looking for

  • Excise invoice number range for Depot

    Hi All, Pls guide me to assgin excise invoice number range for Depot. My client asking me to assgin domestic and export excise number range for Depot. pls clarrify: What are the purposes of the number range objects  J_1IEXCLOC and J_1IEXCINV? In whic

  • Why does the /s not work for me in the commandline?

    We have a HD webcam pointed at a pooltable in our local poolbar. We use FMLE to stream to Dacast. To finish the project we want to automate the process: only stream between 17.00 and 01.00 hours every day. It looks like FMLEcmd + batch/cmd files + sc

  • "awacsd" wants to connect to fd00:6587:52d7:40::1 using protocol IPC6-ICMP

    Can anyone please tell me (a) what this means and (b) how to stop it - ("awacsd" wants to connect to fd00:6587:52d7:40::1 using protocol IPC6-ICMP). I will also see ""awacsd" wants to connect to fd00:6587:52d7:40::1 on TCP port 4488" clicking on Allo

  • Battery went from 100% to 0% and won't charge :C

    Hi guys i need some help. About 15min ago i was reading an article on a website when the screen 'blinked' it turned off going completly black then turned on again. Then i noticed that it said i had 0% battery but i have my MacBook Pro is plugged in r

  • Supressing Dos window on executing system command

    Hey, is there any way to supress the dos window when I call a system dependent .exe or bat file? AND is there any way to run a .exe file as a background process so that no window of it pops up? I use the Runtime.exe() to execute the system command bu