No update EKPO-ZGTYP in ME22N

Hello experts,
I've inserted following code in method IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM in order to clear the certificate type when the document type is ZIC of UB. When I debug this the field ls_item-zgtyp gets cleared. When I check EKPO-ZGTYP to confirm the change, the field still contains a value.
Has anyone seen this before?
*-Check document type
  IF ls_header-bsart = 'ZIC ' OR ls_header-bsart = 'UB  '.
*---initialiseer
   clear: ls_item-zgtyp.
*---set data
    im_item->set_data( ls_item ).
  ENDIF.
Kind regards,
Aart

You have to make a customizing in SPRO to deal with additional Z* fields in EKKO/EKPO.

Similar Messages

  • BAPI to update EKPO-LOEKZ

    Hello All,
    Is there a BAPI to update ekpo-loekz field.
    Thanks
    Aravind

    Hi Arvind
    Currenty you are passing only one line in the FM not internal table for the poitmes...
    Main thing is you have to pass internal table for line items inf BAPI BAPI_PO_CHANGE instead of work area or single line
    ** Fill purchase order from ekko
        l_purchaseorder = wa_ekko-ebeln. " Try to use EKKO-EBELN and change the logic accordingly..
    LOOP AT it_ekpo INTO wa_ekpo where ebeln = wa_ekko-ebeln. " B4 this write FOR ALL ENTRIES logic to fill EKPO
        CLEAR: l_purchaseorder,
               l_r_poheader,
               l_r_poheaderx.
        l_poitem-po_item = wa_ekpo-ebelp.
        l_poitem-delete_ind = C_X.
        APPEND l_poitem.
        l_poitemx-po_item = wa_ekpo-ebelp.
        l_poitemx-PO_ITEMX = C_X.
        l_poitemx-delete_ind = C_X.
        APPEND l_poitemx.
    ENDLOOP.
    CALL FUNCTION 'BAPI_PO_CHANGE'
             EXPORTING
                  purchaseorder = l_purchaseorder
             TABLES
                  return        = l_t_return
                  poitem        = l_poitem[] " Pass Internal Table instead of one row
                  poitemx       = l_poitemx[] . " Pass Internal Table instead of one row
        IF sy-subrc = 0.
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
               EXPORTING
                    wait = C_X
       ENDIF.
    Hope it will solve your problem..
    Thanks & Regards
    ilesh 24x7
    ilesh Nandaniya

  • Update EKPO-MFRPN using BADI

    Hi everyone.
    I'd like to update 'EKPO-MFRPN' using me_process_po_cust.
    Method is PROCESS_ITEM.
    <cording>
       data: ls_mepoitem TYPE mepoitem.
         ls_mepoitem = im_item->get_data( ).
         ls_mepoitem-mfrpn = '000000001'.
         im_item->set_data( ls_mepoitem ).
    But, MFRPN wasn't update by BADI, this value of Material Master's MFRPN
    transfer to EKPO-MFRPN.
    If MFRPN could be updated by BADI, coud you tell me how to update MFRPN.
    Soma

    Hi,
    Make internal table for that and store that data into dbtabe through insert query and commited it then it will work.
    Rewards points if it is useful.

  • Updating Ekpo by adding item level Screen Exit

    Hi,
    I added 2 fields at the item level of the ME21N  Screen using the following screen exit.
    ( SAPMM06E 0111 CUSTSCR1 SAPLXM06 0111 Subscreen: PO item. )
    Now I just want to update EKPO table.,. How to proceed. any body know guide me.
    Thanks & Regards.
    Balajee.J

    Hi Mou,
    In this there are four methods
    1)ACTIVATE_TAB_PAGE
    2)TRANSFER_DATA_TO_SUBSCREEN
    3)TRANSFER_DATA_FROM_SUBSCREEN
    4)PASS_FCODE_TO_SUBSCREEN
    In thw first method pass the tabname,screen no,position all.
    fcaption = 'C Form Details'.
    fprogram = 'Z_VLO1N_HEAD'.
    fdynpro = '0200'. This is the screen created and kept all custom fields
    Here you the concept set and get data and move and get the values.
    TRANSFER_DATA_TO_SUBSCREEN
    set PARAMETER ID 'Z' FIELD  f_vbrk-ZCF.
    TRANSFER_DATA_FROM_SUBSCREEN
    get PARAMETER ID 'Z' FIELD   fvbrk-ZCF.
    Pass all these parameters it will resolve your issue.Check and post if need help.
    Regards,
    Madhu.

  • I need to update EKPO-NETPR thru me32L transaction

    hi,
    i need to update EKPO-NETPR thru me32L transaction.
    In me32L if i give the scheduling agreement number->then select the particular item->select the item condition button->selecting validity period->updating the amount field in KONP-KBETR manually then the EKPO-NETPR is getting updated.
    where as if i try thru BDC its not getting.
    pls suggest me the solution.
    thanks

    Hi
    Its been answered in this thread checkout for badi here badi for me21n tcode
    A few other also here
    BBP_ME_CREATE_PO_ITEM_40B
    EXIT_SAPLMCP2_008       
    EXIT_SAPLMCP2_009       
    ME_CREATE_PO_ITEM       
    Reward if useful
    Regards
    Divya

  • How to update EKPO-MAHNZ ( reminder counter) in purchase order created?

    There is the requiremtn to update the field EKPO-MAHNZ in a just created purchase order (PO).
    It is for the purpose of data migration. So a PO is created from file data using BAPI_PO_CREATE1 but this BAPI seem not to provide a way to update the mentioned field in the EKPO table (position data of PO).
    Is there any other way?! BAPI!? to achive this!?
    Any help or suggestion is welcomed!
    CN

    >
    Vamshi_1468 wrote:
    > Hi dude,
    >
    > If the field is not available in BAPI_PO_CHANGE...then go for BDC...run a recording and update the field...only way out...
    >
    > Regards,
    >
    > Vamshi
    Thanks for your reply!
    Batch input would be an option but the field is not ready for input in ME22n.
    Any way around it?

  • How to Update EKPO table with enhancement at header level-customer data tab

    Experts,
    I have a requirement where I had to create a new button in the 'customer data' tab(header) in the ME21N/ME22N Transaction and once it gets clicked a table control will appear and in that all the line items with item no, material and plant and an additional check box will display, and once any one checks the check box against the item/material in the table control the item data with additional z fields (already created the zfields in EKPO Table) should get updated.
    Displaying Table control and item data on the click of button was successful, but once you check the check box against the item and save the PO it is not updating the z-fields in the EKPO table.
    I have implemented all the user exits , badis but no results. 
    Once you check the box in the table control against each item in the header part (Table control is in header part (customer tab)) the line item EKPO table with z fields should get updated.
    Any Clues/ideas will be appreciated.
    Thanks in advance,
    Kalikonda.

    Hi,
    Can you please share the remedy for above issue, recently we have same issue in our system.
    or please send me any supportive doc. for the below mail
    Looking forward for your positive response.
    Thanks
    Mohan
    ([email protected])

  • User exit to update Vendor Confirmation in ME22N

    Hi,
    I am adding a subscreen at the header level using BADI ME_GUI_PO_CUST and ME_PROCESS_PO_CUST. This new sub screen at the header level will have fields like confirmation category, delivery date..etc., and a push buttom called 'CONFIRM'. When the user selects the line items to be confirmed and clicks the 'CONFIRM' button the data from the customer subscreen should be copied to the item details(in Confirmations tab).
    The problem is with the confirmation tab. I need an user exit to update this. When the PO is saved confirmation should be created and EKES table should be updated.
    Any useful information will surely be rewarded
    Thanks in advance
    Antony.

    Hi
    Following enhancements are available....
    Transaction Code - ME22N                    Change Purchase Order
    Exit Name           Description
    AMPL0001            User subscreen for additional data on AMPL
    LMEDR001            Enhancements to print program
    LMELA002            Adopt batch no. from shipping notification when posting a GR
    LMELA010            Inbound shipping notification: Transfer item data from IDOC
    LMEQR001            User exit for source determination
    LMEXF001            Conditions in Purchasing Documents Without Invoice Receipt
    LWSUS001            Customer-Specific Source Determination in Retail
    M06B0001            Role determination for purchase requisition release
    M06B0002            Changes to comm. structure for purchase requisition release
    M06B0003            Number range and document number
    M06B0004            Number range and document number
    M06B0005            Changes to comm. structure for overall release of requisn.
    M06E0004            Changes to communication structure for release purch. doc.
    M06E0005            Role determination for release of purchasing documents
    ME590001            Grouping of requsitions for PO split in ME59
    MEETA001            Define schedule line type (backlog, immed. req., preview)
    MEFLD004            Determine earliest delivery date f. check w. GR (only PO)
    MELAB001            Gen. forecast delivery schedules: Transfer schedule implem.
    MEQUERY1            Enhancement to Document Overview ME21N/ME51N
    MEVME001            WE default quantity calc. and over/ underdelivery tolerance
    MM06E001            User exits for EDI inbound and outbound purchasing documents
    MM06E003            Number range and document number
    MM06E004            Control import data screens in purchase order
    MM06E005            Customer fields in purchasing document
    MM06E007            Change document for requisitions upon conversion into PO
    MM06E008            Monitoring of contr. target value in case of release orders
    MM06E009            Relevant texts for "Texts exist" indicator
    MM06E010            Field selection for vendor address
    MM06E011            Activate PReq Block
    MMAL0001            ALE source list distribution: Outbound processing
    MMAL0002            ALE source list distribution: Inbound processing
    MMAL0003            ALE purcasing info record distribution: Outbound processing
    MMAL0004            ALE purchasing info record distribution: Inbound processing
    MMDA0001            Default delivery addresses
    MMFAB001            User exit for generation of release order
    MRFLB001            Control Items for Contract Release Order
    Hope this helps to solve ur problem....
    <b>do reward if useful....</b>
    regards
    dinesh

  • Bapi to update Ekpo table

    Hi all,
    I want to update field TXZ01 from table EKPO, Is there any bapi to do the same.
    Please help its urgent.
    Thanx in advance,
    Amruta.

    BAPI-step by step procedure
    http://www.sapgenie.com/abap/bapi/example.htm
    list of all BAPI's
    http://www.planetsap.com/LIST_ALL_BAPIs.htm

  • BAPI for updating conformation tab in me22n

    hi all,
    my requirement is that i have to update the conformation tab of AFS in me22n. i have tried the BAPI POCHANGE but its not updating.
    Pls help
    Regards
    Kshitij.

    HI,
    I am passing the right data. there is no problem with the data. My question is how do we update partners in the Contract documents. If possible can you explain with example.
    Regards,
    Bhargav.

  • Sto confirmation update in ekes table me22n

    Hi,
    The confirmations tab already displays a line item details for
    confirmation category 'AB-order acknowledgement' . The thing is,
    i need to update the screen so that along with the present line
    item details, i have to display the confirmation category 'LA-
    inbound delivery'. This confirmation category actually tells the
    qty that has been shipped, which may vary from the qty on the
    std PO. The following are the fields which need to be updated in the database table ekes.
    type of conf. (EKES-EBTYP)
    delivery date (RM06E-EEIND)
    quantity (EKES-MENGE).
    i had used BAPI_PO_CHANGE , but is not updating the EKES  table which is mandatory for my requirement,
    and i also tried the bapi  ME_CONFIRMATION_UPDATE_GR , this is bapi is also not updating the table ekes,
    so shall i need to enhance the standard function module ME_CONFIRMATION_UPDATE_GR OR ANY OTHER WAY ROUND TO  MEET THE REQUIREMENT
    any guidance is much appreciated.

    I'm not sure if this will help you but I solved a similar issue once before.
    For an intercompany PO, we had different quantities on the outbound and inbound deliveries. When they tried to recieve the outbound delivery in MIGO, the inbound delivery quantity (what was ordered) would default instead of what was actually shipped.
    I implemented BADI BADI_LE_SHIPMENT so that when an outbound delivery was goods issued, the corresponding inbound delivery quantity would update if applicable. BAPI_INB_DELIVERY_CHANGE was used to modify the delivery.
    Seeing your post, I looked at EKES. The quantity was updated to the quantity of the outbound delivery. Maybe this will work for you?

  • Updating field ELIKZ EKPO on a CONTRACT(me33k) - how ?

    I am updating field ELIKZ EKPO on a CONTRACT(me33k) using BAPI: BAPI_CONTRACT_CHANGE in my report program.
    This BAPi give a message  'Change ELIKZ could not be effected'
    MEssage ID of this message is I ME 664.
    So, Is there any otherbapi or other solution to update this field.
    Your help is highly appreciated.
    Thanks in ADV.

    Basically this is specific to AFS contract.
    My requirement is : When I check the 'AFS Contract close' in tcode  ME32K and press 'save' button, it updates table fields ekpo-elikz & eket-j_3acci(though ME23K does other things...my requirement is to check ekpo-elikz & eket-j_3acci get updated ).
    I need to do the above using my report program.
    1).    So inorder to achive the above, I am calling a BAPI : BAPI_CONTRACT_CHANGE in which I am setting item-no_more_del = 'X' for the contract number.
    However, the field 'AFS Contract close' is specific to AFS, this BAPI_CONTRACT_CHANGE bapi does not work.  It only updates ekpo-elikz and but not eket-j_3acci.  So my question is BAPI_CONTRACT_CHANGE is the solution for this ?
    2).  Is there any other way to achieve the above using my program other than BDC ?
    Your help will be highly appreciated.
    Thanks in advance

  • Updating Revision level in purchase contract

    Hi All,
    I want to update the Revision level field (EKPO-REVLV) in a Purchase contract. The BAPI_CONTRACT_CHANGE is not updating the field. Please suggest me some options to update the same. 
    Thanks in Advance.
    Senthil J

    Hi Senthil,
    Have you seen  the documentation of this bapi .Please check
    Notes
    Master conditions
    When creating outline agreements, you can specify only one period per variable key. This means that just one period can be specified for the document header (i.e. condition table A019). The same applies to each item (i.e. condition table A016) and to each item/plant combination (i.e. condition table A068).
    You can use any periods. However they must not overlap for a variable key.
    When conditions are changed, new condition records are nevertheless written.
    Because volume rebate conditions are not taken into account in outline agreements, they are not processed.
    No subitems (e.g. inclusive/exclusive bonus quantities, display, etc.) are taken into account.
    The control key for quality management in procurement (EKPO-SSQSS) and the certificate category (EKPO-ZGTYP) are only taken into account to a certain extent. These two items of information are copied from the reference contract or material master, but cannot be changed; neither are any checks carried out for these two fields.
    The revision level (EKPO-REVLV) cannot be changed because various quality management routines were not implemented.
    Version management (Document Change Management) is not supported.
    External services (planned or unplanned) are not supported.
    The creation or changing of configurations is not supported.
    Post if need help here.
    Regards,
    Madhu.

  • Problem in me22n transaction

    Hi friends ,
    i am facing to find the bug in an user exit.ur  experiences can help me to  fix that easily .
    Scenario  : when we click on  save in me21n or me22n  , it prompts a dilogue box for reason codes , for each PO created in case of me21n and for each new line item that is being updated in case of me22n while we click next item on dilogue box . at the end it gives a message saying that last line item is reached  . finally we click update on dilogue box , they are  saved in database .
    Problem : it s going well in case of me21n , but in case of me22n , when click on update it is again prompting for reason code for last item for (last item no  -1) times before saving in database.  for ex : 5 new items are there to update . aftere entering reason codes for all line items while clickingon  next item ,message is prompted that last item is reached . then we choose update , it again prompting dialogue box for reason code for last item 4 times .we need to enter 5+ (5-1) times .
    My Analysis : dilogue box is prompted by a function module called in that  exit.there he is looping an itab constructed with new items and reason codes captured  while we entered .

    Hi,
    Only an User exit is enough for you to achieve this at item level.
    In the Main program of PO SAPMV50A  search for the include MV50AFZZ * or MV50AF* (i am not sure, take the right one for User exits and write the code for Item level
    such that : if the Indicator = N, then modify the field Vendor.
    regards.
    Anji

  • Update subtotals in purchase orders

    Dear All,
    We've recently made some changes in the subtotal assignment in the pricing schema. Is there any option by which we can update subtotals in the EKPO table as per the new settings in the schema??
    Regards,
    Manoj.

    Dear Friend,
    In pricing procedure subtotal column  is there give the sub total no which value you want to update for example sutotal no.1 or 2  it will update the table ekpo automatically subtotal .
    if your giving the subtotal remeber that that condition has to claculate sum value based on previious condition based on that what value will be come it will update EKPO table
    Regards
    Pramod

Maybe you are looking for

  • I have 2 iPAD2s in the family...how can i share my itunes account, but have different account ids to use for mobleme?

    i bought my wife an iPad2 for her birthday and 1 1/2 months later she won another in a raffle, to my delight.  but now that we have 2 iPad2s, i'm having trouble sharing my itunes id when trying to setup the find my ipad app (moble me).  any ideas how

  • How do I "save as" after first save?

    The "save as" option in the "file" dropdown goes away after the first save.  How do I (easily) change the location for the save or the name of the file later on?

  • Major problem with N95

    I noticed that my N95 has been acting strangely: Yesterday it just went dead for few minutes and when i turned it back on, all data in my memory card was wiped away. I've updated phone's software weekly. Still a software problem or something else?

  • Server on isolated network

    Question is: what's a good configuration for multiple ethernet ports, i.e. four in a Mac Pro, with OS X Server with Open Directory that does not cause the Open Directory pane of Server Admin to hang eventually. I was using three ports for my cluster:

  • Price of Azure Cache in Role

    Hi,  I need to understand the price of Azure Cache in Role, in this link says:  For In-Role Cache do I need to provision and thus pay for separate Compute Services resources (i.e. web and worker roles)? No. In-Role Cache can be deployed as a service