Skip to Content
author's profile photo Former Member
Former Member

Need to create $0 SC in classic SRM 7.0 into PO in ECC

Hello Gurus,

We are on SRM 7.0 EhP1 SP Level 7 using classic scenario. We have a requirement to be able to create a $0 shopping cart in SRM and them have that create a $0 PO in ECC. Creating the SC is fine, but need to know how to resolve creating the $0 PO in ECC. Is there any config that needs to be done to make this happen or will this be Abap development required. If there is development can you please provide a sample code. Appreciate any help for this.


Jeff Miller

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 11, 2012 at 07:13 PM

    As you want to create $0 PO, means you need goods/services as free-of-cost. Am I right?

    If this is the case, then we have one checkbox (Free) in ME21n screen at item level. Just tick it while creating PO. It will fulfill your requirement.

    If any doubt, just let me know.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hello all,

      Here is SAP's response for this issue.

      I had a discussion with my experts colleagues in Sourcing. In classic

      scenario, the validation of the creation of back end PO is not

      possible. Regarding the zero price check, it could not be removed

      because there are cases in the backend where it is not allowed (for

      example if there is an invoice expected) and that could not be validatedbeforehand in sourcing.

      However, in order in for you to have that possibility for your business

      case, here is a solution:

      In the step 2 you should maintain a price (1$ for example) and at the

      step 3 you maintain the badi BBP_CREATE_BE_PO_NEW which should, based onyour product and/or the associate vendor, put back the value to 0$.

      Thus, because this is customizing I could not provide a note for that,

      you should contact your local SAP consultant for further assistance

  • author's profile photo Former Member
    Former Member
    Posted on Dec 11, 2012 at 04:30 PM

    Hi Jeff,

    You should able to set up zero dollar POs from SC without any customization except you have to un-check Invoice expected on PO form.

    Please refer below thread with detail for details.

    Thank you


    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 23, 2013 at 05:07 PM


    We are receiving an error message "Net value must be greater than 0" when we are trying to create the ECC PO and flag the item as free item. We are creating the SC as .01 USD and it works good, but when it is done as .01 in another currency it is giving the error message. Can anyone please let me know where the currency exchange rate is happening for this to occur? Is there any suggested work around for this?



    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Just to let everyone know how we accomplished this.

      · Implemented the Pre-exit ( Enhancement implementation ) to method MARK_ITEM_FOR_PO of class /SAPSRM/CL_CH_WD_DOM_SOCO_GAF2. This method is to update the static attribute of the Shopping Cart, specifically the Gross Price. If the SC item Price is in Zero value, regardless in any currency, it will then be changed to 0.01 USD or converted to other amount which is equivalent to 0.01 USD for other currency. It will use to-date (system date) exchange rate. Function module READ_EXCHANGE_RATE is used here. This changed price will not be bring forward to PO draft as it is designed to bypass the price validation check takes place in initial MARK_ITEM_FOR_PO method. · Change done in method FILL_PO_INTERFACE1 of implementation class ZCL_IM__SRM_DEFLT_PO_DATA ( BADI BBP_CREATE_BE_PO_NEW). It is to populate PO item net price to Zero and Mark it as Free Item if the SC item is in Zero or 0.01 for USD currency or equivalent to 0.01USD for any other currency. Additional changes is to populate the field of Requisitioner name located in PO item table and the field of Goods Recipient located in PO Account table with user name instead or user ID. Bapi BAPI_USER_GET_DETAIL is used here. 1.) SRDK900986 (Version 6.0) · In method BBP_SC_CHANGE of class ZCL_IM__SRM_DOC_CHANGE_BAD, update Price unit to 1 if Gross price and Net price is zero. If net price is not zero, calculate Total value. Total value = Quantity * Net price / Price unit If Total value is less or equal to zero then update Price unit to 1 and Gross price and Net Price to zero. Clear static attribute Company currency (V_CO_CURRENCY) of class ZCL_IM__SRM_SEI_ITEM_CHECK if Company code is changed. · In pre-method MARK_ITEM_FOR_PO of class /SAPSRM/CL_CH_WD_DOM_SOCO_GAF2, simply update Gross price of the work area to 0.01. · Create a private method DO_EXCHANGE_RATE_CONVERSION in class ZCL_IM__SRM_SEI_ITEM_CHECK. This method is to convert the currency from value into to currency value. · In method BBP_ITEM_CHEK of class ZCL_IM__SRM_SEI_ITEM_CHECK, if static attribute Company’s currency is initial then get company’s currency from BAPI_COMPANYCODE_GETDETAIL bapi. If static attribute company currency is not equal to document currency then calculate the Total value. Total value = Quantity * Net price / Price unit If total value is not zero then do the value conversion from document currency into company currency. When the company currency value is less than or equal to zero then throw message “Net value in (comp. currency) becomes 0, please check your input”. · In method FILL_PO_INTERFACE1 of class ZCL_IM__SRM_DEFLT_PO_DATA, if buffered Net price is equal to 0.01, populate the PO Net price value from SC database instead. PO item is free item only if the PO Net price is zero.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.