Purchase Order item customer fields

I have the following scenario:
- I need to save some customer fields in Purchase Order item, when it is generated through the Shopping Cart (EBP).
- When EBP will generate a PO in backend (R/3), it calls B470_PO_CREATE function module and inside it calls BAPI_PO_CREATE1 in R/3. This call does not use extensionin parameter.
- I have all the values in PO_ITEMS parameters. (an append structure in bapi_mepoitem).
- Trying to solve this, I think I have to use EXIT_SAPL2012_001 to create the extensionin parameter.
- Anyone else has this problem?
- How can I create the extensionin parameter? Is it only necessary to add 'BAPI_TE_MEPOITEM' and 'BAPI_TE_MEPOITEMX'?
- Do you have an example?
Thank you!

Hi
You have to extend CI_EKPODBX with the same fieldnames with type BAPIUPDATE (in SE11), and then while passing the EXTENSIONIN to the bapi, you have to flag those. Like the following:
DATA: wa_extensionin TYPE BAPIPAREX,
wa_BAPIPAREX TYPE BAPIPAREX,
wa_BAPI_TE_MEPOITEM TYPE BAPI_TE_MEPOITEM,
wa_BAPI_TE_MEPOITEMX TYPE BAPI_TE_MEPOITEMX.
wa_BAPI_TE_MEPOITEM-po_item = <PO Line No.>.
wa_BAPI_TE_MEPOITEM-ZZZ_FIELD1 = <z-field value>.
wa_BAPIPAREX-STRUCTURE = 'BAPI_TE_MEPOITEM'.
wa_BAPIPAREX-VALUEPART1 = wa_BAPI_TE_MEPOITEM.
APPEND wa_BAPIPAREX TO extensionin.
wa_BAPI_TE_MEPOITEMX-po_item = <PO Line No.>.
wa_BAPI_TE_MEPOITEMX-ZZZ_FIELD1 = 'X'.
wa_BAPIPAREX-STRUCTURE = 'BAPI_TE_MEPOITEMX'.
wa_BAPIPAREX-VALUEPART1 = wa_BAPI_TE_MEPOITEMX.
APPEND wa_BAPIPAREX TO extensionin.
This will work. Please let me know if it does not.
See related links ->
Re: BAPI_PO_CREATE1 and EXTENSIONIN structure
Re: Passing custom fields to BAPI
Problem in populating userfields in PO using BAPI_PO_CREATE1
Re: BAPI_PO_CHANGE
Yann i need ur help..
Re: Custom field values are not being transfered to the backend system
Problem in populating userfields in PO using BAPI_PO_CREATE1
Re: Implement ME_PROCESS_PO_CUST-Urgently!
Re: Purchase Order (BAPI_PO_CREATE! --> EXTENSIONIN)
Re: How to use BAPI extensions?
Re: BAPI_PO_CREATE1 user fields not saving on EKPO
BAPI_PO_CREATE1 - EXIT_SAPL2012_001
Do let me know.
Regards
- Atul

Similar Messages

  • Sale Order Item : Custom Field : Table Control

    I have added two fields to sale order item table control in program SAPMV45A screen no . 4900. Now the field which i have added are working fine while creating sale order but while changing those fields are not changing.
    condition is like this: the custom field are automatically filled by some logic and if the user want to change those field he will able to do. Now 1st condition is fine and when i change those field they will show the previous saved value inspite of changed value. 
    I have also added those field in additional data b tab in screen 8459 , there they are working fine but here the problem remains the same.

    Hi,
    u can use BAPI_SALESORDER_CHANGE to update the values of those fields. for that u need to extend few tables and coding that u can get from the BAPI documentation. If not getting reply back. i can help u..
    regards,
    pavan.

  • How to implement Change pointers for Purchase order - ME22N - Custom Fields

    Hi Experts,
    Can you please tell me how to implement - Change Pointer for Custom fields in IDOC.
    I am working on IDOC - For purchase order - acknowledgements - in custom screen/tab in ME22N.
    Everything is working fine according to my requirement.
    All i need to know is the process of - Creating/Change - Change pointers for Custom fields.
    1.How to implement change pointers for custom fields.
    2.Can we maintain - Change Document - for custom fields at data element level?
    P.S. - I have browsed many previous - forums before posting a new discussion.
    please share your inputs...
    explaining how to create/implement - change pointers for custom fields will help me .
    Regards,
    Karthik Rali.

    Hi,
    To maintain Change Document for custom field:
    1. Check if "Change document" checkbox is set in data element.
    2. Find Change Document Object for transaction.
       You can use SQL trace - ST05.
       Look there for line with table CDHDR and statement insert values
       (for example for transaction KA02 Change Document Object is KSTAR)
    3. Regenerate update program for this Change Document Object in transaction SCDO
    Change documents for z-fields schould be generated.
    I am not sure about change pointers but they are configured somehow in BD61 and BD50.

  • Automatic Repricing in Purchase Order for customer fields

    Hi all,
    Does anybody have a clue how to force repricing a PO when a customer field on item level is changed? I am forced to enter the customer field last by the screen sequence, so when I add the value it is not taken into account by pricing.
    Thanks,
    Stratis Pelekidis

    Hi Charlie,
    Pricing is set up correctly. The user exits for the z-fields to KOMK KOMP work properly and if we look at the pricing analysis it mentions that the price is determined, but hasn't been set. If we press the New Pricing button, we get the right price, but we don't want to do that.
    Thanks,
    Stratis

  • Issue with purchase order item

    Hi Guys,
    When entering or changing an order in SAP via VA01/VA02, the system will not allow the entry of leading zeros in the Purchase Order Item (VBAP_POSEX) field which is defined as character 6. Leading zeros can be entered in the Customer Material (VBAP_KDMAT) which is also defined as character. Some customer PO Item numbers begin with leading zeros and they want to see them on output. Does SAP have an OSS note for this?  any helpful suggestion would be well appreciated.
    Thanks!
    Edited by: MK18774 on Oct 5, 2009 9:57 PM

    there is a include FV45PF0V_VBAP-POSEX_PRUEFEN
    that checks PO number and item number .... with your own EKPO (purchase order item) table.
    and this include has as well the routines to convert the number: CONVERSION_EXIT_ALPHA_INPUT

  • User exit/BADI for updating Purchase Order Item

    I am would like to update the purchase order item - specifically field EKPO-REPOS in a user exit or BADI. I haven't been able to find one that allows you to update the purchase order item.
    Any input would be appreciated.
    Derick

    You can use BADI ME_PROCESS_PO_CUST for you requirement
    Method PROCESS_ITEM
    * Retrieve item data.
        CALL METHOD im_item->get_data
          RECEIVING
            re_data = v_data_item.
    Do you validations and changes here
    *update changes
    CALL METHOD im_item->set_data( v_data_item ).

  • Create additional field in sales order item and copy to purchase order item

    Dear SAP Gurus,
    I am hoping that someone could help me by providing me with how to implement the following 2 requirements in the SD order and in the purchase order.
    1. I am wanting to add a custom field to the SD sales order item copying a value from the vendor customer master.
    2. I then want to add a custom field to the purchase order item and copy the value from my custom field in 1. to this new custom field..
    Can you please advise how I would go about implementing the above requirements?  I am assuming that there are exits to allow me to implement these 2 requirements.
    Many thanks
    Henry

    Hi,
    For the first requirement you can use the USEREXIT_MOVE_FIELD_TO_VBAP in report MV45AFZZ.
    For the second, as I think that you will create a RFQ you can try to use the enhancement MEREQ001.
    Regards,
    Eduardo

  • Expand Table Control with Fields for Purchase Order Item Overview

    Hi Gurus.
    Hereu2019s something easy for you, I hope/ think. We just want to additionally show the field u201CMFRPNu201D in the purchase order item overview. See structure MEPO1211 for the table control.
    How can we do this? Is it possible without a modification? Is there anything to pay attention to?
    Lot's of questions, because we donu2019t find any complete solutions yet. It seems there are no official SAP suggestions for this issue.
    Thanks in advance!
    Regards
    Patric

    Is there no one out there who can answer my question?

  • Batch Field in the purchase order item level confirmation tab

    Hello Friends,
    Can anybody tell me the significance of Batch field in the Confirmation tab of  a purchase order item level?
    Can we make this field editable?
    Thanks,
    Bhairav

    Can anybody tell me the significance of Batch field in the Confirmation tab of a purchase order item level?
    Batch field can be populated via inbound delivery, when you receive the confirmation from vendor you can create inbound delivey using VL31N that time you can enter the batch or if oyu receive the confirmation via EDI, in this Idoc you can receive the batch from vendor
    eventually this batch number you will see the the PO confirmation tab
    Can we make this field editable
    No, this is dependent on the inbound delivery document

  • Modify purchase order item before to save

    Hi all,
    I'm trying to modify EKPO-RETPO field from purchase order item before save it.
    I've done it in the user exit: EXIT_SAPMM06E_013, but I've seen it coudl be use for update customer fields.
    Anybody knows which user exit can I use to do that?
    Thanks in advance.
    Pat.

    Hello,
    You can use the BADI *MEPROCESS_PO_CUST* to suffice the requirement.
    In this structure IM_ITEM has field RETPO. Please pass value to it
    Hope this will help.
    Thanks
    Eswar

  • Purchase Order Items open vs ME2M discrepancy

    First posting so if this is not the right section please move this topic.  Was the closest I could come to correct forum placement.
    Hello all,  I am in the process of setting up BPM to monitor u201CN* of Purchase Order Items openu201D from various plant locations and I am noticing the number BPM gives is different than what the system you give if I used ME2M.
    For example:  I am setting up BPM to monitor Number of Purchase Order Items Open for plant location 2102.  The set up is scarce and I only have a few fields filled out in the set-up:
    -Document Type u2013 Single Value u2013 NB, UB, FO, ZPC, ZGR
    -Plant (Item) u2013 2102
    -Doc. Category u2013 F (Purchase Order)
    -All of fields are left blank
    When this runs I will get an example of 1487 (it changes on an hourly basis so I canu2019t give a static value).
    When I try to verify this number using ME2M I get a value of 1237.  A difference of 250.
    The configuration I am using for ME2M is as follows:
    -Plant u2013 2102
    -Scope of List u2013 ALLES
    -Selection Parameters u2013 WE101
    -Document Type - NB, UB, FO, ZPC, ZGR
    -All other fields at left blank
    Any reason for this discrepancy?  The closest I can guess is SAP is pulling in some additional information OR my configuration is incorrect.  Anybody run into this issue that has some tips?
    Thank you
    -nic

    I know that ME2M has nothing to due to with BPM.
    I am confused as to why when I set up BPM, in Solution Manager, to monitor Purchase Orders that are open I am getting a different number than when I use the transaction ME2M in SAP ECC.
    For example:
    When the process runs in Solution Manager I get back 1425 open POs
    When I go into SAP ECC and use the transaction ME2M it will only pull up 1175 open POs
    Somewhere along the lines I am missing or adding 250 POs.  The current setup (listed above; not sure if BPM is configured the same for everyone) is listed above.
    I have tried various set-up options in both BPM Solution Manager and SAP ECC (ME2M) but can't seem to find where these additional numbers are coming from.
    Thank you
    -nic

  • Free Item in Purchase Order Item

    Hello All,
    I would like to ask where in table level can I identify Purchase Orders which have "Free Item".  Because on the screen field i saw from the technical definition that the "Free Item" is of field MEPO1211-UMSON, but when I go to EKPO I cannot find the corresponding field.
    I have this idea but I don't know if it is right or not, in case I uncheck the "Invoice Receipt" in the Purchase Order Item details, the "Free Item" check box appears.  So I am thinking is all Purchase Order Items which have "Invoice Receipt" (EKPO-REPOS) uncheck considered as a "Free Item".
    Thanks.

    Hi,
    When we are talking about Free Items, in SAP terms, it means that we would not have any conditions/Gross/Net Price.
    Also, Invoice Receipt will be unchecked because for free items, there would not be any invoice right?
    So we can conclude that, once Invoice Receipt is unchecked + Free items is checked, this particular line item will be received as free goods.
    Note that if the material is valuated, it will affect your MAP (moving average price).

  • Profit Segment not activated during creation of purchase order item

    Hello,
    While I create a Purchase Order Item, in the account assignment tab, I may fill in at least a cost center or a cost center and an internal order.
    If I fill in only a cost center and key the enter buton, the profit segment is activated.
    If I fill in the cost center and the Internal Order at the same time and afterwards I key the enter button, the profit segment is not activated. I have to click on the Profit segment button and validate the profit segment manually.
    Could you tell me what the problem is?
    Thank you in advance
    Regards

    Hi
    That makes sense to me
    In any entry you can enter One REAL Object and more than one Stat Object...
    SInce you entered Cost Center in Option 1 - You were proposed with PSG and IO as the option
    Since you entered Cost center *** REAL IO in Option 2 - The system got what it wanted i.e. One REAL OBJECT.. hence, no more objects are proposed to you... However, you can manually enter PSG or WBS if allowed in your Field Status Group in FI
    br, Ajay M

  • Purchase Order item value breakup condition type wise

    Dear Sir,
    We are developing a custom report and in this report we need to reflect  for Purchase Order item wise the break-up of values  at the condition type level .
    In Me23n , at at Item Level , when we click on tab <Condition> then all values break-up at condition type level gets displayed .
    But to use in custom program , we need to know the table  where this information is available .
    Kindly guide us pl .
    Regards
    B Mittal

    Hi,
    This suggestion is based on my understanding of your issue.  May not be straight forward SAP solution.
    I would suggest you to make following assessment for your custom program: (going through the condition tab will lead you to structures)
    1. Try to figure out how the pricing condition are maintained.  Normally you have your Base price PBXX or gross price per EA defined that can be found in the PIR of the material + Vendor combination or in the pricing condition you would have defined.
    2. In same way figure out all the other absolute condition types.  I mean any thing that is not % percentage based on PBXX value. (assess ;your pricing Schema to understand this.
    3. Once you know how is your pricing schema  breakup then try to pick the net price of PO and then do a backward calcuation based on PIR condition value.    .
    Hope this helps.
    thx
    MJ

  • Purchase order item(2lis_02_itm) and 0PUR_O01  transformation

    Hello,
    I'm trying to populate  DSO 0PUR_O01 with  standard DS 2LIS_02_ITM Purchase Order Items
    The mappings are not copied after BCT installation. so i have  trouble in mappings some of the  keyfigures of 0PUR_O01 with the extractor fields. It's confusing.
    I did try to check rsosfieldmap for the datasource but failed to display any data for 2LIS_02_ITM. There are no entries in the table foe this DS.
    0PDLV_QTY Actual Quantity Delivered
    0PREQU_QTY Desired Delivery Quantity
    0PCONF_QTY Confirmed Quantity
    0PDVQLECR Quantity Delivered Late Acc. to Requested Delivery Date
    0PDVQEYSC Quantity Delivered Early According to Schedule Line Date
    0PDVQLESC Quantity Delivered Late According to Schedule Line Date
    0PQCOASREQ Quantity Confirmed as Requested
    0LOWR_BND Tolerance Limit for Under Delivery in %
    0UPPR_BND Tolerance Limit for Over Delivery in %
    Please suggest how to go ahead with the mappings ..

    Hello Raj,
    What ur following 3.5 or 7.0...?
    In 7 there are less chances for mapping after BCT installation, you have to do manually mapping in some cases. You can also face some problem of copying routine. So need to see each and every field accordingly.
    Best practice is to install in 3.5 and then migrate to 7 with appropriate steps.
    Thanks,
    Santosh

Maybe you are looking for

  • Finding the ASIO driver for Sound Blaster ZS

    Finding the ASIO driver for Sound Blaster ZS And One More question Anybody are using the Guitar Rig (Guitar effect software) How to detect the Sound Blaster ZS sound card with WDM Driver

  • Essbase Studio Drill-through for Recursive Hierarchy - Generation 1

    I'm using Essbase Studio 11.1.2.3 to build an ASO cube. All my hierarchies are recursive (parent-child). I would like to define a drill-through report and I understand that I have to use the Advanced Settings option to specify my intersections. Now o

  • Resize indicator doesn't show in OpenGL app

    Hi, all. I'm adapting clutter user interface library for mac os x and I met a problem - the system is rendering opengl content inside the whole main window and maybe because of this the resize indicator is not showing. We have [self->window setShowsR

  • My object won't acknowledge the "new" command.

    Okay I have this class called Die that is suppose to simulate a die with the added behaviour that it ceases to operate if 6 is rolled. But that problem is that when ever I try to declare multiple instances of the Die class with the new command the Di

  • JDeveloper Extension Problem with Navigator Elements

    Hi, I have a problem with the elements of the JDev Navigator. At IDE startup I want to set an overlay for the elements on the active project. This function is implemented in the Subversion Extension too. How can I access the elements of an active pro