DIfferent screen search fields in Purchase Order and Shopping Cart

Hi,
I created a field in MDM and associated it in OCI , in order to appear in SRM , in the Catalog Search screen in the Purchase Order.
But, the field also appears in the search screen in Shopping Cart. Do you know if there is any way of limiting the field to appear only in Purchase Order catalog search?
Thanks in advance,
Lígia Moreira
Edited by: Lígia Moreira on Feb 28, 2011 9:45 AM

Hello Xavier,
If partner "Requester" and/or "Goods Recipient" is different between PO items and there was previously a "Requester" and/or a "Goods Recipient" at PO header, after your update, partner at header level should have field CRMD_PARTNER-DISABLED set: "Requester" and /or "Goods Recipient" is active at header level only if the same partner is populated for all PO items.
Concerning SC, there is no "Requester" and/or "Goods Recipient" at header level.
Be that as it may, if you use function modules BBP_PD_PO_UPDATE,  BBP_PD_PO_SAVE and BAPI_TRANSACTION_COMMIT, modifications will be OK (do not forget to not populate table I_PARTNER for partner at header level if partners are different at item level).
Regards.
Laurent.

Similar Messages

  • Linking field between purchase order and inbound delivery

    Hi
    I have to enter some data in the purchase order and it has to automatically updated in the inbound delivery.
    For eg: if we enter bill of ladding number in purchase order, it has to get automatically populated in inbound delivery.
    Regards
    shaker

    Hi,
    Is the example provided by you, just for example purpose or is that the field you want to copy? If that is the field you want to copy from PO to Inbound document, then how would you know the BoL no. / details at the time of PO creation?
    However if it is just an example & you want to copy some other field, then you might want to evaluate the below exits:
    MM06E001  User exits for EDI inbound and outbound purchasing documents
    LMELA010  Inbound shipping notification: Transfer item data from IDOC
    Check with your abaper.
    Regards,
    Vivek

  • The reference field between purchase order and account assignment tables

    i need to reterieve the account assignemnt category (G_L_ACCT) which is in the table bbp_pdacc for an the purchase order item, i am not able to find the reference field. I am working on the SRM system.
    promise to reward points
    regards,
    anitha

    Well, the account assignment category in SRM table BBP_PDACC is ACC_CAT. If this isn't what you are looking for, could you please elaborate your requirements?
    Rob

  • I am trying to generate purchase order and i create a BAPI also which is active. But when i call the BAPI from SYbase Mobile Object RFC then after calling it gives an Error "Conflict when calling a Function Module (Field Length)".

    i am trying to generate purchase order and i create a BAPI also which is active.
    But when i call the BAPI from SYbase Mobile Object RFC then after calling it gives an Error "Conflict when calling a Function Module (Field Length)".

    Hi,
    Yeah i tried my Z_BAPI in R3 and then giving some ERROR.
    This is my CODE-
    FUNCTION ZBAPIPOTV2.
    *"*"Local Interface:
    *"  IMPORTING
    *"     VALUE(POHD) TYPE  ZPOHD OPTIONAL
    *"     VALUE(POITEM) TYPE  ZPOITEM OPTIONAL
    *"  TABLES
    *"      RETURN STRUCTURE  BAPIRET1 OPTIONAL
    data: ls_pohd type bapimepoheader,
             ls_pohdx TYPE bapimepoheaderx,
             lt_poit TYPE TABLE OF bapimepoitem,
             lt_poitx TYPE TABLE OF bapimepoitemx,
             ls_poit TYPE bapimepoitem,
             ls_poitx TYPE bapimepoitemx.
       MOVE-CORRESPONDING pohd to ls_pohd.
       MOVE-CORRESPONDING poitem to ls_poit.
       ls_pohdx-comp_code = 'x'.
       ls_pohdx-doc_type = 'x'.
       ls_pohdx-vendor = 'x'.
       ls_pohdx-purch_org = 'x'.
       ls_pohdx-pur_group = 'x'.
       ls_poit-po_item = '00010'.
       APPEND ls_poit to lt_poit.
       ls_poitx-po_item = '00010'.
       ls_poitx-po_itemx = 'x'.
       ls_poitx-material = 'x'.
       ls_poitx-plant = 'x'.
       ls_poitx-quantity = 'x'.
       APPEND ls_poitx to lt_poitx.
    CALL FUNCTION 'BAPI_PO_CREATE1'
       EXPORTING
         POHEADER                     = ls_pohd
        POHEADERX                    =  ls_pohdx
    *   POADDRVENDOR                 =
    *   TESTRUN                      =
    *   MEMORY_UNCOMPLETE            =
    *   MEMORY_COMPLETE              =
    *   POEXPIMPHEADER               =
    *   POEXPIMPHEADERX              =
    *   VERSIONS                     =
    *   NO_MESSAGING                 =
    *   NO_MESSAGE_REQ               =
    *   NO_AUTHORITY                 =
    *   NO_PRICE_FROM_PO             =
    *   PARK_COMPLETE                =
    *   PARK_UNCOMPLETE              =
    * IMPORTING
    *   EXPPURCHASEORDER             =
    *   EXPHEADER                    =
    *   EXPPOEXPIMPHEADER            =
      TABLES
        RETURN                       = return
        POITEM                       = lt_poit
        POITEMX                      = lt_poitx
    *   POADDRDELIVERY               =
    *   POSCHEDULE                   =
    *   POSCHEDULEX                  =
    *   POACCOUNT                    =
    *   POACCOUNTPROFITSEGMENT       =
    *   POACCOUNTX                   =
    *   POCONDHEADER                 =
    *   POCONDHEADERX                =
    *   POCOND                       =
    *   POCONDX                      =
    *   POLIMITS                     =
    *   POCONTRACTLIMITS             =
    *   POSERVICES                   =
    *   POSRVACCESSVALUES            =
    *   POSERVICESTEXT               =
    *   EXTENSIONIN                  =
    *   EXTENSIONOUT                 =
    *   POEXPIMPITEM                 =
    *   POEXPIMPITEMX                =
    *   POTEXTHEADER                 =
    *   POTEXTITEM                   =
    *   ALLVERSIONS                  =
    *   POPARTNER                    =
    *   POCOMPONENTS                 =
    *   POCOMPONENTSX                =
    *   POSHIPPING                   =
    *   POSHIPPINGX                  =
    *   POSHIPPINGEXP                =
    *   SERIALNUMBER                 =
    *   SERIALNUMBERX                =
    *   INVPLANHEADER                =
    *   INVPLANHEADERX               =
    *   INVPLANITEM                  =
    *   INVPLANITEMX                 =
    ENDFUNCTION.
    i am trying to generate purchase order and i create a BAPI also which is active. But when i call the BAPI from SYbase Mobile Object RFC then after calling it gives an Error "Conflict when calling a Function Module (Field Length)". 

  • Different movt. types for GR against Purchase order and GR against Prd. Ord

    All SAP Gurus,
    Is it possible to have Different movement types for GR against Purchase order and GR against Production Order?
    Regards,

    yes my friend ,
    I dont know abt 131 movement type,i think so it is related to RUN SCHEDULE HEADER(rep scenario),order type is different to that in discrete.
    But you can do one thing for sure,you can try to create a new movement type copy of 101,and make MIGO allowed for the movement type,and you can easily distinguish between two movement type used for receipt two different functions....
    Plz correct me
    Enjoy SAP
    Rahul..

  • Problem with Ship to and Org fields on Purchase Order form

    I query a purchase order and click on the shipment lines button. There are 2 shipment lines in this example. I am using CUSTOM.pll to inject some specific code to restrict the cancel functionality. One line I want to restrict the cancel functionality and the other line I don't want to restrict. The problem arises when I click between the two rows on Org or Ship to fields. No event or trigger gets fired that I can see; hence, the CUSTOM.pll code does not get injected and the user will be able to cancel both lines. Anyone know of any patches that deal with this problem? Thank you for your time,
    -Kevin

    Hi Pankaj
    You can not set item values on Panes (Tabs) that are not visible. You have to show the pane before you can set the value.
    <b>Here is a sub-routine in VB.Net that you can try:</b>
    Private Sub doSetShip(ByRef oForm As SAPbouiCOM.Form, ByRef sShip As String)
                Dim oEdit As SAPbouiCOM.EditText
                Dim oItem As SAPbouiCOM.Item
                Dim iPane As Integer
                Try
                    oItem = oForm.Items.Item("92")
                    oEdit = oItem.Specific
                    oForm.Freeze(True)
                    iPane = oForm.PaneLevel
                    oForm.PaneLevel = oItem.FromPane
                    oEdit.Value = sShip
                    oForm.PaneLevel = iPane
                    oForm.Freeze(False)
                Catch ex As Exception
                    'Handle your errors
                End Try
    End Sub

  • Formatted Search to pull Sales Order Remarks field onto Purchase Order

    Hi Guys,
    I need a formatted search for a Purchase Order remarks field, which will pull the remarks field from the linked Sales Order
    (When a PO is done through the logistics tab of the Sales Order)
    I have made this query but it is not working:
    SELECT distinct T0.[Comments] FROM ORDR T0 , POR1 T1 WHERE T0.[DocNum] = T1.[BaseRef]
    It is just pulling the remarks for the first sales order - purchase order link.
    Any help will be appreciated.
    Thanks
    Best Regards
    Dario Moutinho

    Hi Dario Moutinho,
    Try:
    SELECT distinct T0.Comments FROM ORDR T0
    WHERE T0.DocEnthy = $[POR1.BaseEntry\]
    Thanks,
    Gordon

  • Purchase order and rfq  smartforms issues

    Anyone please let me know the issues faced with purchase order and rfq smartforms

    Problems I had is changed line items to print a changed PO/RFQ wich will print what was changed with each line.
    Can't remember the solution in total. If you search on the FM ME_READ_CHANGES_EINKBELEG in the main program of the SAP standard and setup a default PO to print using the standard program and form medruck you can debug it.
    There is a change flag when printing the form, field - NAST-AENDE.
    Else the form is very much streight forward.
    Regards,
    Marius

  • To Find MIGO, MIRO No of a Purchase Order and List Of Vendors ?

    Hi Experts,
    Required your inputs on the Following, Please Guide.
    1) My End user has created a Purchase order, and he has done G.R and followed invoice also. And he doesnt remember the G.R Number and Invoice Number, for that Purchase Order.
    a) How and where to find GR Number and Invoice Number for that Purchase Order ?
    b) Please sugest is there any transaction to find the GR Number and Invoice Number ?
    c) How to Find the Open Purchase orders? Is there any transaction to look Over Open Purchase Orders ?
    2) My Enduser has Created Vendors with respect to different Company Code.
    a) Is there any Standard report to find the List of Vendors with respect to Company Code ?
    Please advice with your Valuable inputs.
    Best Regards
    Javeed

    Hi,
    Go to transaction code ME23N and then at item level click on tab called u2018Purchase order historyu2019 for the particular item. You can see both GR & Invoice doc. No.
    Transaction ME2L to see the open PO.In the selection screen of this T code please select Scope of List u2013 ALV AND Selection Parameters u2013 WE101 . Then execute. You will get open Pos.
    Regards,
    Manish

  • Make short text field in Purchase order creation only display..

    Sir,
    Yeah my requirement is quite unusual, but such is the situation.
    I want to make the short text field in purchase order creation "only disply". what is happening is that user while creating PO is able to change the text of material in short text column. I want to make it only for display.
    Can it done on document type level, since for service type, and Text type of account assignment cat, only text field is filled up. so how to do it.
    Please assist...
    Rahul

    Dear Rahul,
    If you want to have the short text display only for standard item but not service item, you may check below customizing.
    Transaction SPRO:
    MM-PUR-PO
    -> Define screen layout at document level
    Field Selection group: Basic Data, Item
    Field Selection Key:  PT0F Standard item purchase order
    Field: Short text -> set as display
    Hope this help.
    Ian Wong Loke Foong

  • PR to be made mandatory field in Purchase Order

    Hello,
    PR to be made mandatory field in Purchase Order.
    How i can do this in SAP ?
    Regards
    Rahul

    Hi,
    First check your PO document type which you want to make PR number field as mandatory in ME21N.
    Then Goto -> SPRO- Material Management - Purchase order- define document type for Purchase order - E.g NB- check the field selection assignment ( NBF)
    Next,
    Goto - Define screen layout at document level ( t.code OMF4) SELECTION GROUP Reference data, item and under Field selection key as NBF.
    Field name - Purchase Requisition as Required entry with flagged check box.
    Now in purchase order for the choose document type NB=PO the PR field as required entries.
    System will allow to create PO only with reference to PR.
    Thanks
    Thiru

  • Automatic account postings (for Intercompany Purchase order and Sales order

    Hi all,
    I need some help related to the automatic account postings (for Intercompany Purchase order and Sales order)which i can set for the follwoing scenarios. I have looked on the forms and searched alot but not able to a single solution to solve both the pupose. if one scenario works the other doesnt. Please advise.
    I have created the master data
    Customer receiving--G001
    Sales Org.--GXIN
    Distr. Channel- 01
    Division - 00 
    Company code receiving - G1
    customer supplying- V001
    company code for supplying- V1
    2 different scenarios
    1- Intercompany Purchase order in which a Customer receiving- G001, gets stock replenishment NB purchase order from supplying company V1- GI  and GR of stock is done. Biling document for customer receiving G001 is created. But now I need a way to do the opposite side posting at the supplying customer -V001-- this I do using an Idoc which creates a Invoice receipt for creditor(supplying customer) V001.
    2. Sales order-- A customer X001 of company code G1 buys stock from the company code V1. the customer G001 of company code G1 bills the customer X001, but the intercompany billing doc/ invoice is created for the customer G001 by company code V1.  then now i want an automatic account posting to be created at the supplying customer V001 via idoc.
    Can this be achivable via Idoc with automatic account postings.   
    Please let me know if it doesnt make sense. thanks to all in advance
    cheers
    Jasmeet

    Hi all,
    For the Sales order and automatic posting we have created an output type ZR4N- this is creating a batch input session which can be triggered to be processed autmatically.
    For the intercompany Purchase order -from Invoice we are creating a different output RD04 (sap standard) which creates invoice receipt at the vendor side.
    Rest of the settings are defined using SAP standard functionality within transaction OBCA, OBCB, OBCC, OBCD,OBCE
    thanks for viwing the post
    Cheers
    Jasmeet

  • Purchase Req as mandatory field at Purchase Order

    Hi Gurus,
    I have the next problem:
    I'm trying to put purchase requisition as mandatory field at purchase order.
    At img i made the following steps:
    Materials Management > Purchasing > Purchase Order > Define screen layout at document level
    I sellected the screen layout that I want to change
    At 'reference data, item' I sellected 'purchase requisition' as 'reqd. entry'.
    Next I try to do a PO and it doesn't work...
    Anyone knows why?
    Regards
    LR

    Force buyers to create Purchase Order with ref. to a Pur. Req., Quotation or Pur. Ord.
    Transaction OMET
    Create a new entry, give it a name and tick :-
    Ref. to PReq
    Ref. to P.O.
    Ref. to quotation
    Next, you've got to associate via SU01
    Click Parameters, insert a new parameter id EFB to the authorization code.
    Type in Parameters value you want e.g. XX
    You have to assign the control for ALL the SAP buyers via thier SAP users id.
    Logoff and login again. Then try to create a Purchase Order without a reference.
    Source link: http://www.academictutorials.com/sap-mm/sap-mm-configuration-tips.asp

  • Purchase Order and Incoterms

    Hi,Gurus
    I have a problem about incoterms in PO.
    In my company, there are three kinds of planned delivery costs,freight,insurance charge and customs clearance charge.
    They will be calculated as conditions as po creation.
    For example,Freight is defined as the following ratio:
    |IncoTerms|Freight Ratio
    | EXW     | 0.958%
    | FOB     |  1.829%
    I firstly entered incoterms FOB while PO creation, the ratio 1.829% was correctly carried out.
    and then not to save the PO,but change the incoterms from FOB into EXW right now,
    I found the condition item Freight still holds the older value,1.829%, in item detail.
    In one words,Changing incoterms will not lead to conditions re-calculation.
    Anyone could give me suggestion?

    Thanks.
    As well known,
    Incoterms is  a head-level field in purchase order.
    My purchase order should calculate the planned delivery costs,freights,insurance charges,which are based incoterms.
    The calculation logic is Freight = Item's net order value * rate.
    ex.
    1.PO item net order value = 1000 USD
    2.Case1: Incoterms = FOB,Freight rate = 1.829%
    3.Case2: Incoterms = EXW,Freight rate = 0.928%
    Create PO:
    PO incoterm is FOB, so the planned freight = 1000 * 1.829% = 18.29 USD
    Change PO incoterms
    Changed PO incoterms form FOB into EXW, so the planned freight = 1000 * 0.928% = 9.28 USD
    Now, my problem is that the above item's freight can not be automatically calculated again after incoterms was changed in PO head.
    By the way,
    Incoterms(INCO1) field  is in Communication Header for Pricing(KOMK),not in Pricing Communication Item(KOMP).
    MOVE I_KOMK TO E_KOMK. was added into User-exit LMEKO001.
    Edited by: Mic chen on Aug 19, 2009 3:41 AM

  • Purchase Order and Invoice creation

    Hi All,
    I am having some fields related to Purchase order and Invoice creation, i have to find out the tables to which tables these fields belongs to.
    Below are the Header fields:
    Wrbtr  Tcode - MIRO,
    Lfsnr   Tcode - MIGO,
    Evertn Tcode - Me32k,
    Kbetr  Tcode - Me32k,
    Kschl  Tcode - Mek1,
    Selkz  Tcode - Mek1,
    Werks Tcode - Mek1,
    Evart   Tcode - Me31k,
    Frgco  Tcode - Me35k,
    Sddat  Tcode - Me35k,
    Below are the Detail fields:
    Kbetr   Tcode - Mek1,
    Konwa Tcode - Mek1,
    Lgobe  Tcode - Me21n,
    Planloc Tcode - Me31k,
    Datab   Tcode - Mek1,
    Datbi    Tcode - Mek1,
    Fromdate  Tcode - Me31k,
    Todate      Tcode - Me31k,
    i have to retrive all these fields from tables, so plz anybody give me exact tables to use in the select quries to retrive these fields.
    Thanks in advance,
    Balu.

    Hi,
    U can get the req fields as follows:
    Below are the Header fields:
    1)Wrbtr Tcode - MIRO- table rseg ,field-wrbtr
    give belnr (invoice no ) & BUZEI(item)  if known, else, give ebeln,ebelp.
    2)Lfsnr Tcode - MIGO,-table mkpf,give mblnr (mat doc no ) & ZEILE(item) field-xblnr  or give ebeln,ebelp
    3)Kbetr Tcode - Me32k,
    table:konp or konv.
    Pass ebeln to ekko, wil get KNUMV.Pass KNUMV as KNUMH  in 1 of the tables- konp or konv,wil get kbetr.
    4)Kschl Tcode - Mek1,
    Pass ebeln,ebelp to table ekpo, get mwskx(taxcode), u will get condition type kschl from FM -FI_TAX_GET_CONDITION_TYPES.
    or
    table:konh or konp or konv.
    Pass ebeln to ekko, wil get KNUMV.Pass KNUMV   as KNUMH in 1 of the tables-konh or konp or konv, wil get kschl.
    5)Werks Tcode - Mek1,-table-ekpo, field-werks(give ebeln,ebelp)
    Below are the Detail fields:
    1)Kbetr Tcode - Mek1,
    Pass ebeln to ekko, wil get KNUMV.Pass KNUMV as KNUMH in 1 of the tables- konp or konv,wil get kbetr.
    2)Konwa Tcode - Mek1,
    Pass ebeln to ekko, wil get KNUMV.Pass KNUMV as KNUMH in 1 of the tables- konp or konv,wil get konwa.
    3)Lgobe Tcode - Me21n,give ebeln.ebelp in table ekpo, get lgort.pass lgort to table t001l, u wil get lgobe.
    4)Datab Tcode - Mek1,table-konh,field datab
    Pass ebeln to ekko, wil get KNUMV.Pass KNUMV as KNUMH  in - konh ,wil get datab.
    5)Datbi Tcode - Mek1,table-konh,field databi
    Pass ebeln to ekko, wil get KNUMV.Pass KNUMV as KNUMH in  table- konh,wil get databi.
    Hope its useful to u.

Maybe you are looking for