Creating an SRM Purchase Order with a Return Line

Is it possible within standard SRM to create a purchase order with a 'Returns Item' line?
I know it's possible in R/3 but really need to create it via SRM.
Regards
Keith

Ganesh
We are using the Extended Classic Scenario of SRM (and the Sourcing Cockpit) which therefore means that we won't be creating requisitions within R/3.
In the R/3 PO you can create a line item as a 'Returns Line' (MEPO1211-RETPO)
The standard help text is as follows:
Logistics - General (LO)
The returned goods from a customer to an internal or external vendor.
Returns can be divided into the following types, according to vendor and recipient:
Customer returns
Returns to vendor
Returns for stock transfers
I know we can use a BADI to mark this flag in R/3 but for completeness really want to show this as a returns line in SRM too.
Keith

Similar Messages

  • Purchase order with variable value line item

    Hello experts,
    In SRM 7.0 extended classic scenario after PO approval Is it possible to create a line item with such that even if we change the value(increase/decrease) it wont trigger approval workflow .We needed this because we don't know the exact value for transport such that if the value is modifiable it would help us.At the time of GR it is possible if value is below but if value is more than tolerance then we have to re order the PO then it will go through full approval cycle again we dont want that.Please tell is there any way to create such line item.
    Thanks and Regards,
    Shiva

    Hello,
    Are you integrating SUS also for the follow on processes after PO creation or you will be doing the same in ERP ?
    If yes then you can achieve this with SRM - SUS integration scenario, by making use of the Limits items with transport as service, where the PO will be created with the certain limit value defined by the purchaser and later vendor can consume the same against the services like varying transport costs within that defined limit in the Purchase order response.
    This will not trigger the Approval process again. 
    Best Regards,
    Rahul

  • Problem creating Purchase Order with Bapi_po_create  Return Message is ""

    Hello everybody
    When I get to create PO with bapi_po_create . I get this message in the return parameter :"Enter the PURCH_ORG".
    I think that I have implemented it very well but I don´t get the results that I was expected : No PO was created.
    Please see the following codes and let me know if something is wrong. Thanks .
    =====================================
    *& Report  Z_PED_TRAS                                                  *
    REPORT  z_ped_tras  .
    Definición de la tabla asociada la tabla interna bdcdata
    *DATA :in_data LIKE bdcdata OCCURS 0 WITH HEADER LINE.
    Definición de la estructura que contendrá los pedidos
    DATA : s_cabeceras_pedidos LIKE bapiekkoc,
           s_pos_pedidos LIKE bapiekpoc.
    DATA : t_cabeceras_pedidos LIKE  bapiekkoc OCCURS 0 WITH HEADER LINE,
           t_pos_pedidos LIKE  bapiekpoc OCCURS 0 WITH HEADER LINE,
           t_final_cabeceras_pedidos LIKE  bapiekkoc OCCURS 0 WITH HEADER
    LINE,
           t_final_pos_pedidos LIKE  bapiekpoc OCCURS 0 WITH HEADER LINE.
    Data : item_schedule like BAPIEKET occurs 0 with header line.
    *DATA : BEGIN OF pedidos,
          ematn TYPE mepo1211-ematn, "Número de material
          menge TYPE mepo1211-menge, "Cantidad de pedido
          name1 TYPE mepo1211-name1," Centro destino
          lgobe TYPE mepo1211-lgobe, "Almacén
         END OF pedidos.
    *DATA: s_pedidos  LIKE pedidos,
         wa_pedidos LIKE pedidos,
         t_pedidos LIKE pedidos OCCURS 0 .
    Variables  auxiliaires
    Variables para la ejecución del explorador de archivos
    DATA: l_temp_dir TYPE string.
    DATA: l_filter TYPE string.
    DATA: l_files TYPE filetable.
    DATA: l_rc TYPE i.
    DATA: l_file TYPE filename.
    DATA: l_filename TYPE string.
    DATA: excel TYPE alsmex_tabline OCCURS 0 WITH HEADER LINE.
    DATA: s_excel TYPE alsmex_tabline.
    DATA: qid LIKE apqi-qid.
    Declaración de parametros de selección
    PARAMETERS :
       p_center LIKE bapiekkoc-suppl_plnt OBLIGATORY,"" Proveedor/Centro
       p_ekorg LIKE bapiekkoc-purch_org OBLIGATORY , " Organización compras
       p_ekgrp LIKE bapiekkoc-pur_group OBLIGATORY, " Grupo de compras
       p_bukrs LIKE bapiekkoc-co_code OBLIGATORY,"Sociedad"
       p_date LIKE sy-datum DEFAULT sy-datum OBLIGATORY,  "fecha
       test AS CHECKBOX DEFAULT 'X'.
      p_center LIKE mepo_topline-superfield, " Proveedor/Centro
      p_ekorg LIKE mepo1222-ekorg, " Organización de compras
      p_ekgrp LIKE mepo1222-ekgrp, " Grupo de compras
      p_bukrs LIKE mepo1222-bukrs,"Sociedad"
      p_date LIKE sy-datum," Fecha
      test AS CHECKBOX DEFAULT 'X'.
    PARAMETERS: p_file LIKE rlgrap-filename DEFAULT 'C:PEDIDOS.XLS'. " Ruta
    Carga del explorador de ficheros **
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      l_temp_dir = 'C:A'.
      l_filter = '.'.
      CALL METHOD cl_gui_frontend_services=>file_open_dialog
        EXPORTING
          default_extension       = '*.xls'
          file_filter             = l_filter
          initial_directory       = l_temp_dir
        CHANGING
          file_table              = l_files
          rc                      = l_rc
        EXCEPTIONS
          file_open_dialog_failed = 1
          cntl_error              = 2
          error_no_gui            = 3
          not_supported_by_gui    = 4
          OTHERS                  = 5.
      IF NOT l_files[] IS INITIAL.
        READ TABLE l_files INTO l_file INDEX 1.
        p_file = l_file.
        TRANSLATE p_file TO UPPER CASE.
      ENDIF.
    START-OF-SELECTION.
      IF p_file NE space.
        PERFORM upload_data.
        PERFORM fill_data.
        PERFORM llamar_bapi.
      ENDIF.
    END-OF-SELECTION.
    *&      Form  Upload_data
          text
    -->  p1        text
    <--  p2        text
    FORM upload_data .
      IF excel IS INITIAL .
        CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
          EXPORTING
            filename                = p_file
            i_begin_col             = 1
            i_begin_row             = 2
            i_end_col               = 4
            i_end_row               = 50000
          TABLES
            intern                  = excel
          EXCEPTIONS
            inconsistent_parameters = 1
            upload_ole              = 2
            OTHERS                  = 3.
        IF sy-subrc <> 0.
          WRITE :/'Hay un problema al cargar los datos delfichero excell'.
        ENDIF.
        SORT excel DESCENDING BY row col.
      ENDIF.
    ENDFORM.                    " Upload_data
    *&      Form  fill_excell
          text
    -->  p1        text
    <--  p2        text
    FORM fill_data .
      DATA :  cant TYPE i ,
              value_row TYPE i VALUE 1,
              data_aux TYPE alsmex_tabline OCCURS 0 WITH HEADER LINE.
    Leer las filas del fichero excell.
      IF test NE 'X'.
        s_cabeceras_pedidos-suppl_plnt = p_center.
        s_cabeceras_pedidos-purch_org = p_ekorg.
        s_cabeceras_pedidos-pur_group = p_ekgrp .
        s_cabeceras_pedidos-co_code = p_bukrs .
        s_cabeceras_pedidos-doc_date = p_date.
        APPEND  s_cabeceras_pedidos TO t_cabeceras_pedidos.
        cant = excel-row.
        DO cant TIMES.
          LOOP AT excel WHERE row EQ value_row.
            APPEND excel TO data_aux.
          ENDLOOP.
          SORT data_aux BY col.
          LOOP AT data_aux.
            CASE data_aux-col.
              WHEN '1'.
                s_pos_pedidos-pur_mat = data_aux-value.
              WHEN '2'.
                s_pos_pedidos-DISP_QUAN = data_aux-value.
              WHEN '3'.
                s_pos_pedidos-plant = data_aux-value.
              WHEN '4'.
                s_pos_pedidos-store_loc = data_aux-value.
            ENDCASE.
          ENDLOOP.
          APPEND s_pos_pedidos TO t_pos_pedidos.
        ENDDO.
      ENDIF.
    ENDFORM.                    " fill_data
    *&      Form  llamar_Bapi
          text
    -->  p1        text
    <--  p2        text
    FORM llamar_bapi .
    data : T_RETURN LIKE BAPIRETURN OCCURS 0 WITH HEADER LINE,
           PORDER LIKE BAPIEKKOC-PO_NUMBER.
    t_final_cabeceras_pedidos[] = t_cabeceras_pedidos[].
    t_final_pos_pedidos[] = t_pos_pedidos[].
      CALL FUNCTION 'BAPI_PO_CREATE'
        EXPORTING
          po_header                        = t_final_cabeceras_pedidos
    IMPORTING
       PURCHASEORDER                     = PORDER
        TABLES
          po_items                       = t_final_pos_pedidos
          po_item_schedules                = item_schedule
          RETURN                           = T_RETURN
      IF sy-subrc EQ 0 .
        WRITE :/ 'P O created well'.
      ELSE .
        WRITE :/ 'P .O was not created  well'.
        endif.
      ENDFORM.                    " llamar_Bapi

    Hi,
    When we use BAPI_PO_CREATE1 to create service PO, following tables are populated at item level:
    a) POITEM
    b) POITEMX
    c) POACCOUNT
    d) POACCOUNTX
    e) POSERVICES
    f) POSRVACCESSVALUES
    For service items: POITEM-PCKG_NO = u20180000000001u2019. (assign package no as a dummy number)
    Set PCKG_NO flag in POITEMX table as u2018Xu2019.
    Package No is the link that connect POITEM table to POACCOUNT table through tables POSERVICES and POSRVACCESSVALUES.
    Set POACCOUNT-SERIAL_NO to u201801u2019.
    Set same PCKG_NO to u20180000000001u2019 in POSERVICES table. Maintain two entries in POSERVICES table like this:
    WA_POSERVICES-PCKG_NO = u20180000000001u2019.
    WA_POSERVICES-LINE_NO = u20180000000001u2019.
    WA_POSERVICES-OUTL_IND = u2018Xu2019.
    WA_POSERVICES-SUBPCKG_NO = u20180000000003u2019. (Dummy No.)
    WA_POSERVICES-QUANTITY = u2018100.000u2019.
    WA_POSERVICES-BASE_UOM = u2018EAu2019.
    WA_POSERVICES-PRICE_UNIT = u20181u2019.
    WA_POSERVICES-GR_PRICE = u2018100.000u2019.
    WA_POSERVICES-SHORT_TEXT = u2018SERVICE TESTu2019.
    APPEND WA_POSERVICES TO IT_POSERVICES.
    WA_POSERVICES- PCKG_NO = u20180000000003u2019.
    WA_POSERVICES- LINE_NO = u20180000000002u2019.
    WA_POSERVICES-QUANTITY = u201810.000u2019.
    WA_POSERVICES- BASE_UOM = u2018EAu2019.
    WA_POSERVICES--PRICE_UNIT = u20181u2019.
    WA_POSERVICES-GR_PRICE = u2018100.000u2019.
    WA_POSERVICES-SHORT_TEXT = u2018SERVICE 1u2019.
    WA_POSERVICES-MATL_GROUP = u20180012u2019.
    APPEND WA_POSERVICES TO IT_POSERVICES.
    Set PCKG_NO as SUB_PCKG_NO in table POSRVACCESSVALUES this:
    WA_POSRVACCESSVALUES-PCKG_NO = u20180000000003u2019.
    WA_POSRVACCESSVALUES-LINE_NO = u20180000000002u2019.
    WA_POSRVACCESSVALUES-SERNO_LINE = u201801u2019.
    WA_POSRVACCESSVALUES-SERIAL_NO = u201801u2019.
    WA_POSRVACCESSVALUES-QUANTITY = u201910.000u2019.
    APPEND WA_POSRVACCESSVALUES TO IT_ POSRVACCESSVALUES.
    This logic will work definitely and PO Service Items will be created.
    Thanks & Regards.
    Dhina..

  • Converting Multipule Reqs to a Purchase Order with Delivery Schedule Lines

    Is it possible to convert a multiple Purchase Reqs for the same items to a PO that has one line but multipule deliver dates in the Schedule lines - Where the Purchase Reqs have been generated by MRP
    Example
    I have an SAP Contract 46***** that runs via MRP and creates 3 Reqs for item number 12345. All from the same vendor
                 Req 1 delivery date 2/4/10  QTY 50
                 Req 2 delivery date 6/4/10  QTY 20
                 Req 3 delivery date 10/4/10 QTY 30
    Aim is to have 1 PO with line 1 having a QTY 100 but the Delivery Schedule Tab to show the three seperate delivery needs
                date 2/4/10  QTY 50
                date 6/4/10  QTY 20
                date 10/4/10 QTY 30
    Any Help?

    When i try that the QTY in line one does not alwasy update to the total qty of the reqs and infact the qty on the req doesnt always appear in the schedule line....
    This works for me perfect, I never encountred that the item quantity was not updated if I added a new requisition to the schedule.
    ME59N should work, do not select per requistion and per delviery date in the New PO section in the selection screen. But set a flag into box create schedules.

  • Create service purchase order with negative value

    Hello,
    we created a service purchase order using the specific item category (value D) and with the service number details. We posted the entry service sheet with the transatcion code ML81N and we did the invoice verification.
    Now we need to reverse this document flow: in particular our requirement is to create a new purchase order (like a return order for goods) and then to post an entry service sheet with the opposite sign (both cost center and G/L account).
    Do you know whick document type I can use or how i can meet this requirement? Please consider that I cannot reverse the original document but I need to create new ones.
    Thanks in advance,
    Alessandro

    check below thread;
    service order
    yogesh

  • ME21N Create Purchase Order with reference to previous Purchase Order

    Hello Expert,
    Previously have been using Purchase Info Records for reference when creating Purchase Orders using ME21N.  We then have deleted the Pricing Condition in the Purchase Info Record using ME12.  Now when we are trying to create a new Purchase Order with the same values (Vendor, Material, Plant and Storage Location), the transaction code ME21N automatically fetches the previous values of the Pricing Condition as if it was cached.  I remember of studying this in the MM academy but I am not sure how to disable it. 
    This error only happens when we are creating the first Purchase Order after the deletion, for the second Purchase Order, error will be prompted to the user saying that the Pricing Condition could not be found. 
    I would like to ask where in configuration can I delete this cache behaviour or is that any work around for this. 
    Thanks in advance.

    Hello Antony,
    I found the "Update Prices" function in the Conditions Tab of the Item Details helps to refresh the data and fetch the new information from the Purchase Info Record.  I would like to ask is there anyway to provoke this function automatically everytime when a user runs the transaction ME21N.
    Thanks in advance again.

  • Validity start & end, in Purchase Order with limit

    Hi All,
    We are using  a model of SAP with one type of Purchase Order: we have created a new type of purchase order (ZFOA), that we use for all purchase orders.
    Now we want to use ZFOA also for Blanket Purchase Order, instead of the standard type proposed for this scope by SAP (FO).
    We have inserted Validity Start & Validiti End  as Optional Entry in Customizing.
    ( IMG - MM - Purchasing - Purchase Ordrer - Define Screen Layout at Document Level).
    We have inserted them as Optional Entries, and not as Required Entries, because they are Required only for Blanket Purchase Order. (and we use ZFOA for all ours types of Purchase Order)
    So i want to know if it's possible to connect the obligatory requirement of these two entries to:
    - ZFOA (type of Purchase Order)
    - B (Item category in Purchase Order)
    In this way:
    1) when i create a PO (ZFOA) without item category B --> Validity date & Validity End are not obligatory fields
    2) when i create a PO (ZFOA) with item category B ---> Validity date & Validity End are  obligatory !!
    Have you got any Solutions??
    Best regards
    Alba

    Thanks very much!
    Now i found in MM SAP Manual (SCM 520, Purchasing) a similar example, and it could seem possible:
    When creating a standard purchase order with the standard item category, the following field selection key is determined for the Material group field:
    • Field selection key ME21N (Create/Change Purchase Order transaction):
    The Material Group field is an optional field.
    • Field selection key AKTH(Create activity category):
    The Material Group field is an optional field.
    • Field selection key NBF (purchasing document type NB):
    The Material Group field is an optional field.
    • Field selection key PT0F (item category Standard):
    The Material Group field is a mandatory (required-entry) field.
    The combination of field selection keys ME21N, AKTH and NBF means that the field is an optional field. Because the Material Group field is defined as a mandatory field in the field selection key PT0F however, this means that the field requires an entry when a purchase order is being created.
    I have the same problem for Validity start field, but why if i do all of this things, the field remain not mandatory?
    Thanks in advance
    Best regards
    ALba
    Edited by: Alba Battolini on Apr 22, 2009 9:21 AM

  • Service purchase order with quantity

    Hi all,
    Is it possible to create a service purchase order with quantity ?
    Our client is using sap b1 2005b pl39.
    Expecting you all valuable reply.
    Jeyakanthan

    Hi, Jeyakanthan,
    I guess there are 2 ways out for this:
    1. Define the Service as an item ...i.e. create aitem master for it.Then you can define the quantities for it.
    2. Use a UDF in the service type document as quantity and put a FMS to calculate the qty.
    Nagesh

  • SRM Local Purchase Order with both a standard line item and limit item...

    In SRM is it standard that you can create a local purchase order from the sourcing cockpit that contains a mix of limit items and standard items?
    I know this can be done in R/3.

    Paul,
    I am a functional/business person, and we are running SRM550 in extended classic, linking to ERP backed.
    From our business point of view it makes little sense to mix a limit item with one or more standard catalog item. SAP standard SRM 550 actually stops our users from doing this.
    For those who are not aware of the differences I will elaborate.
    A standard item is either from a Free Text entry process with the process being completed by a professional purchaser or a catalog item either internal to SRM, or maybe from an external website.
    Limit orders are value based and are mostly used for the payment of Utility bills, or for services. We don't use services at all.
    In our business we use limit orders for an Electricity Bill for example.
    When the user confirms a limit order the quantity should always be 1 and the user enters the value of the item.
    The Invoice entry team then needs to match the Invoice to the GR line.  It's at this point that if you have Limit items and standard items mixed our invoice entry team could run into problems.
    We are aware that it is not recommended practice for Limit orders to have GR and if you can avoid this step then you should.  Unfortunately our operating model insist on everything being confirmed and in the case of limit orders this can cause us invoice blocking issues.
    Limit orders are normally set up to run for a full FY so the addition of standard catalog items to a limit order makes little or no business sense.
    If a user added two limit items to a shopping cart for the same supplier our system would produce two PO's for the supplier to use.
    We actually avoid transmitting Limit order details to our suppliers as this would indicate the maxiumum value they could invoice us for, businesses just don't do that.  We just send them the PO number and description of the item. This provides them with a PO Ref number to puton their invoices.
    As we are still running SRM 550 maybe someone with SRM 7 knowledge would care to expand on this analysis?
    Hope this helps?
    Allen
    PS We don't use the Sourcing Cockpit, just read your earlier response
    Edited by: Allen Brooks on Mar 3, 2010 3:22 PM

  • Error while creating purchase order with account assignment category "A"

    Dear All,
                      At the time of creating purchase order with account assignment category A - Asset its throwing error as " GL Account 123400 can not be used"
    how to resolve this  issue"
    Edited by: Matt on Sep 16, 2010 10:09 AM - removed bold tags

    HI,
    Assign all assets GL to Asset Class
    spro --> financial accounting new -->assets accounting --> assets accounting (lean Implementation) --> organization structures --> Assign GL
    Hope Help U !
    Regards,
    Pardeep Malik

  • Create blocked purchase order with BAPI_PO_CREATE1

    Hi,
    I´m creating stock transport orders with BAPI_PO_CREATE1. At first, I need to
    set them to the release status 'S' for blocked. After some checks, I want be able
    to relase it and create the delivery.
    I have found some fields like rel_status inside of the header structure of
    BAPI_PO_CREATE1. But when I set this to 'S', the purchase order is created
    with status 'released'.
    How can I create a purchase order with BAPI_PO_CREATE1 and set it to 'blocked'
    first?
    Thanks, Arne

    No ideas about that?

  • Program for Creating Purchase Order with reference to purchase requisition

    Hi ,
    I need to Create purchase Order with reference to  Purchase requisition,
    in my case i need to automize the Process which is happening in MD04,
    Can you please suggest me ?
    Thanks ,
    Murali

    Hi,
    Plz check this link. It will be helpful to you.
    Purchase order creation with reference to PR
    We can also create the PO Using the BAPI_PO_CREATE1 function module.
    In this function module fill up the all necessary Details.
    With details in Item Table we haveto give the Fields PREQ_NO and PREQ_ITEM for each item .
    then it will creates the PO with PREQ.
    Thanks & Regards,
    Sarita Singh Rathour
    Edited by: Sarita Rathour on Aug 3, 2009 7:01 AM

  • Create purchase order with reference to Sales order Line item

    Hi All,
    i had a requirement that i need to create the Purchase order with reference to sales order line item...
    In T.code me27 client requied a input field for sales order no and with that order reference he want the data of line item to PO creation line item screen.....
    please sujjust......how to proceed......
    regards,
    Ravi Nemani

    Hi
    Go to SPRO->Logistic general->Tax on goods movement->India->Movement types.
    Here you will find the group of movement types check which movement types is mantained for the out side movement groups or inward movement.
    also check the Material Master in MRP view if the collective requirements (02) is mantained.
    Regards
    Sri

  • Create Purchase Order with reference to Purchase Requisition using BAPI's

    Hello Experts,
    I need to create a Purchase order with reference to a Purchase Requisition.
    All the above has to be done by using BAPI's.
    For creating PR, I am using BAPI_REQUISITION_CREATE.
    and for PO, I am using BAPI_PO_CREATE.
    I am not able to use the requistion number in the PO. BAPI throws the following exception
    "Requisition 1014396 00010 not selectable"
    "Document contains no items"
    Query's:
    1. Do I need to release the PR for using it in PO?
    2. If so how can I work with the "BAPI_REQUISITION_RELEASE_GEN" to release PR?
    I have tried using the BAPI getting the following error "Release outside filed of responsibility".
    Please help I am in critical Postion...
    Thanks,
    Suma

    Hi Meenakshi,
    When, I try to release error I am getting the following the error " Purchase Requisition can not be released".
    Is this problem because of authorization or data issue?
    Thanks
    Suma

  • PURCHASE ORDER WITH OUT BAPI_PO_CREATE CAN WE CREATE?

    PURCHASE ORDER WITH OUT calling BAPI_PO_CREATE CAN WE CREATE?
    Don't Post your question with all Caps. Follow the Rules of Engagement
    Edited by: Vijay Babu Dudla on Apr 23, 2009 1:46 AM

    [Create Purchase order with program|can we create purchase order through report programming?]
    Plz be clear about your requirement instead of posting questions like these.
    Don't violate forum rules with Duplicate posts

Maybe you are looking for

  • Connecting an n95 to the net

    hi just got an n95 and cannot get it to connect to the internet via bluetooth it keeps on crashing my laptop i have a sitecom usb bluetooth adapter with the windows vista drivers installed as soon as i try to connect with the pcsuite my laptop crashe

  • Population of a dropdown based on another dropdown selection

    Hi, I'm trying to develop a form in which a secondary dropdown is populated based on a selection from a primary dropdown. The idea behind this is as follows The first dropdown is bound to a database. From this dropdown a user would select a project.

  • Convert Joda YearMonthDate object to Calender object

    How to i convert a Joda YearMonthObject to Calendar object

  • Servers not visible in admin console

    Hello, we have admin server and one managed server (soa_server1) up and running, but for some reason they are not visible in admin console Environment -> Servers. The list is empty... Any idea why admin console cannot see these servers? Can this be f

  • Finding the VO of a regionRN

    Hi, Can any one help me how to find the VO of "Personalize Stack Layout: (AppsNavigateFlatStack)" in Oracle Applications Home Page. Here i want to find the query(VO) used to list the Responsibilities assigned to the current user. thanks in advance..