PO release/distribution (from SRM to backend) FModules?

Hi experts,
I need to create a report that allows the user to release/distribute (sorry if these are not the right words to call the process) a PO ... My report actually retrieves the header of the purchase order ,that has status "waiting" ("park") in SRM (a change version)... so, given the header, is there a FM to release easily the po ?
(excuse the terminology, I'm not sure that's correct: I talk about release/distribute a PO meaning the process that brings a correct po from SRM to the backend).

Hi sanjeev, tried your solution without success. I get an error message, BBP_PD381.... I call the FM in this way:
CALL FUNCTION 'BBP_PD_PO_STATUS_CHANGE_WF'
  EXPORTING
    iv_guid                        = srm_change_header_guid
    iv_status                      = 1
where srm_change_header_guid is the header's guid of the change version on my PO, the one I'd like to release.
Some infos from debugging.... the error comes from the call function that follows:
CALL FUNCTION 'CRM_STATUS_CHANGE_FOR_ACTIVITY'
(source report: LBBP_PDF0Y)
values of the parameters in debug are:
check_only = X;
client = sy-mandt;
objnr = p_new_guid (which is the guid of the header of the change version)
vrgng = 'RELP'
XNOAUTO = 'X'.
The message is hard to translate in english, anyway says something like "error on modify state RELP. "Release purchase order not allowed".
Any hint?
Thanks in advance.

Similar Messages

  • Condition types from SRM to backend

    Hi All,
    When accepted bid (complex prices with condition types) is converted to PO, in backend PO is created with net price only. Is there a way to move the condition types also to backend. Can we use any Badi in this case?
    Thanks in advance.
    Will reward full points for the reply.
    Venu

    Hi
    <b>Either you need to maintain the Condition types locally in SRM system by maintaining Z tables and then create your own logic for pricing in SRM. I guess, this will be much more complex activity.</b>
    <u>I know there is some issues, but, Anyways, you have to go for this approach.
    You need to go for custom fields and then get the data passed back over to R/3 PO using any of the BADIs
    BBP_CREATE_PO_BACK / BBP_TARGET_OBJECTS / BBP_TARGET_OBJTYPE / BBP_CREATE_PO_NEW
    in SE18 Transaction.
    Refer OSS note - 672960 and 485891 for creating customer fields.</u>
    Also, incase this don't suits your requiremnents, Please raise an OSS message with SAP.
    Regards
    - Atul

  • Create PO at backend from SRM

    Hi
    I have below scenario to create PO at backend from SRM
    1)SRM Shopping cart(assign contract number) ->Create PO at ERP
    2)SRM Shopping cart ->RFx-> RFx Response -> Create PO at ERP.
    Can you pls confirm below doubts.
    1) Does the BAPI(BAPI_PO_CREATE1) is called for both above scenario?
    2) Also I want to know how the  attachment transfer is carried out from SRM to Backend.
       I found note to implement BADI BBP_CREATE_BE_PO_NEW at SRM for backend transfer.
       I implemented as follows including setting at ERP DC10,DC20,DC30.
    method IF_EX_BBP_CREATE_BE_PO_NEW~FILL_PO_INTERFACE1.
    Enable transfer of attachments in classic scenario
      cs_ctrl_att-BE_DOC_TYPE = 'SRM'.
      cs_ctrl_att-BE_STORAGE_CAT = 'ZDMS_CT_CT'.
      cs_ctrl_att-TRANSFER_ACTIVE = 'X'.
    endmethod.
    But i could not understand the general flow how the file attachment at SRM Portal is transferred to ERP DMS.
    can you please explain.
    Regards
    Chandra

    Hi Masa
    Thanks for your reply.
    yes, we are working on SRM7.0  EHP4.0.
    As you said, I can see in PI SXMB_MONI messages the PO is created in ERP backend.
    But why its going thru ESOA?  Why its not taking above BAPIs and RFC to transfer the PO datas?
    Also again the attachment is missing in PO created. its not transferred in ESOA standard?
    Addon possible to solve the problem?
    For your information.
    We transferred ERP PR file attachment as URL from ERP to SRM using BBP_TRANSFER program.
    Now after attaching file in SRM portal at RFX ,how PO is transffered to ERP?
    Pls guide me what should be done?
    Regards
    handra

  • Vendor data transfer from SRM to R/3.

    Hi,
    I create a Business partner in SRM, I need to transfer it to R/3 ????
    Pls advice how to transfer the same.
    regds
    pavan.

    Hi,
    Pls see the foll thread for solution/workarounds:
    Re: Self registered Bidders to be transferred to ECC
    Other related threads:
    Tranfer vendor data from SRM to ERP (R3 / ECC)
    Vendor replication from  SRM to R/3?
    External Vendor replication from SRM to R/3
    https://forums.sdn.sap.com/click.jspa?searchID=571462&messageID=1487382
    Replication of Vendor master from SRM to backend.
    BR,
    Disha.

  • Can we transfer Business Partner from SRM to MM?

    Hi All,
    We created BP in SRM through Supplier registration, now we want this vendori .e BP to be present MM...is it prossible to transfer this vendor to MM?...
    Thanks
    Ravi

    Hi Ravi,
    Pls refer below threads. This should help you to map your requirement:
    Tranfer vendor data from SRM to ERP (R3 / ECC)
    Vendor replication from  SRM to R/3?
    External Vendor replication from SRM to R/3
    https://forums.sdn.sap.com/click.jspa?searchID=571462&messageID=1487382
    Replication of Vendor master from SRM to backend.
    Regards,
    Prashant
    Do reward points for helpful answers

  • Creation of backend contract from SRM system?

    Dear Experts,
    I am bit confused with the scenario of creation of backend contract from SAP SRM system? It says in few cases, based on the BAdi 'BBP_DETERMINE_Logsys', the system creates a backned contract directly in a backend ERP system. Why do we need when we have central contract?
    We can meet the same requirement through central contract where we will authorize only purchasing organizations of a backend system and block the contract for local sourcing in SRM?
    Secondly, How to find a contract / scheduling agreement created in a backend system when a central contract is distributed to the backend system?
    Thanks and regards,
    Ranjan

    Hello Ranjan
    question on contracts?
    Note 1476307 - Importing parameter not filled in BADI BBP_DETERMINE_LOGSYS
    in classic scenario , The Business wanted to create a contract from cockpit or via BID
    this BADI helps
    Symptom
    You have implemented BAdi BBP_DETERMINE_LOGSYS to control the system in which contract is created in following scenarios:
    1. Creation of contract from an accepted quote / bid.
    2. Creation of contract from a requisition in SOCO.
    In the method IF_EX_BBP_DETERMINE_LOGSYS~CONTRACT_LOGSYS_DETERMINE of the BAdi implementation, importing parameter IT_ORG doesnot have any values.
    Other terms
    Backend contract
    Reason and Prerequisites
    some business wants to create a backend contract from SRM . see some Dinesh Powale / Claude  threads for more understanding.
    Muthu

  • PO:Error in Process while transferring to backend (ECC 6.0) from SRM 5.0

    Hi folks,
    We are on an Extended Classic Scenario. We have a major problem occurring in Production system only for the the limit orders. Limit Orders are not getting transferred to ECC 6.0 from SRM (Error in Process clearly shows the non existence for PO created first time)
    I also know that Error in Process/ Transfer Failed status comes up for several causes.
    This was working fine for months together, suddenly this problem is coming up. 1 Week back we had a Patch Upgrade too. I have checked the Vendor data, Account Assignment and other Basic data too and everything looks fine. We have tried debugging the FM's on SRM side which transfers the PO(ex:BBP_PD_PO_TRANSFER_EXEC_V2)
    After debugging too we are not able to rectify from where the error is coming up..
    I need your valuable inputs on this.
    Thanks a lot in advance.

    Thanks a lot on your Key inputs Peter.
    I just forgot to mention one more thing, i.e., in RZ20 (SRM) we could see the following errors for limit orders:
    (01) PurchOrder 003....012: Transfer failed
    (02) PurchOrder 003....012: Please maintain services or limits
    (03) PurchOrder 003....012: Purchase order still contains faulty items
    (04) PO 003....012: No instance of object type PurchaseOrder has been created. External reference
    To trace the issue backwards we tried creating a limit order PO directly from ECC backend (ME21N Transaction)
    One thing we could observe is in Limit tab if we not specify Expected Value and Overall Limit we are encountering the same error as shown up in RZ20.
    This gave us a vague idea that the price is not getting transferred for Limit Orders from SRM 5.0 to ECC 6.0 backend. Any key inputs on specific FM etc.,to debug and see what value is getting transferred from SRM to ECC would come handy.
    I hope Peter and others will help me on this.

  • PO is not getting released from SRM

    Dear Experts,
    I am configuring SRM-SUS Scenario on SRM 7.0. I have set up all SRM, XI and SUS cofiguration.
    (SRM - SHDCLNT901, XI - XHDCLNT500, SUS- SHDCLNT951)
    Shopping Cart and PO is creating fine but PO is not tranferring from SRM to SUS.
    when i checked SXMB_MONI in SRM, there is no messeges showing there. It means PO is not getting released from SRM.
    Kindly let me know is there any t-code for enable communication between SRM and SUS?
    I have correctly configured XI and also transferred vendors from SRM to SUS through SupplierPortalTradingPartner_CreateOrChange_Out messege type  but
    PurchaseOrderRequest_Out  for PO transfer is not  getting triggered in sxmb_moni in SRM.
    Thanks in advance.
    Regards,
    Pawan Keshwani

    Hi,
    Thanks for your reply.
    I have configured  Application Control Workflow correctly ( I am using Workflow without approvals for PO (BUS2201))
    And in Rz20, I am getting below messege ("SHD : MTE class BBP_PO , Client 901 : No MTEs currently available*) for PO in Rz20 given below path
    (CCMS  monitor sets -> SAP (CEN) EnterpriseBuyer Monitors -> Purchase Order)
    I am configured ESOA Architecture in XI  for SRM-SUS , and my root issue is " I am not able to generate XML messeges in SRM".
    Not getting any messege in SXMB_MONI in SRM.
    Regards,
    Pawan Keshwani

  • XML PO is getting released from SRM only when Repeat Output is performed

    Dear Experts,
    Extended Classic Scenario(SRM-XI-SUS) inwhich SRM and SUS have on same SRM Server 7.0 but with differentt clients.
    XML communication is being happened between SRM and SUS.
    PO is created and ordered from SRM but it is releasing to SUS only when Purchaser in portal  is performed  Repeat Output manually or can say "Process for  BBP_PO_SEND_XML Is Started" only when we click Repeat Output button by purchaser in portal login.
    Replicating Steps :
    1. Create shopping cart by Employee, Approve by Manager and PO is created(for say : 21111).
    2. Open PO (21111) by Purchaser Login.
    3. Go to Header Tab then Output sub tab.
    4. Then i have to click Repeat Output button then only "Processing BBP_PO_SEND_XML Badi Is Started"  otherwise not.
    Thanks in advance.
    Regards,
    Pawan Keshwani

    Hi,
    Thanks for your reply.
    I have configured  Application Control Workflow correctly ( I am using Workflow without approvals for PO (BUS2201))
    And in Rz20, I am getting below messege ("SHD : MTE class BBP_PO , Client 901 : No MTEs currently available*) for PO in Rz20 given below path
    (CCMS  monitor sets -> SAP (CEN) EnterpriseBuyer Monitors -> Purchase Order)
    I am configured ESOA Architecture in XI  for SRM-SUS , and my root issue is " I am not able to generate XML messeges in SRM".
    Not getting any messege in SXMB_MONI in SRM.
    Regards,
    Pawan Keshwani

  • Top-Down Distribution - tcode KE28 (release upgrade from 4.6 to ECC 6.0)

    All,
    we are performing a release upgrade from 4.6 to ECC 6.0 and we have a problem with the tcode KE28.
    The variant already set up in the system don't match with the selection fields present in the screen, and the following message is shown:
    Message no. KG346
    The variant does not adhere to the current Customizing setup
    We have saved the variant again, and no problem are present, but the error message refers also to Customizing setup.
    Is there a section in the Customizing where it is possible set up the field to show in the initial screen or the new fields (All Valuation Views, Legal Valuation View and Profit Center Valuation View) are due to the release upgrade?
    If yes, do you know the transaction/path?
    Thanks in advance for your collaboration.
    Regards,
    Jody Mancini.

    Hi Satish,
    Now i am sending some URL for Functional upgrade
    May be those are all useful toyou
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/erp6/transactionsChangedinECC6.0
    http://solutionbrowser.erp.sap.fmpmedia.com/Default.aspx
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/erp6/
    Regards
    Surya

  • How to delete the SC in the SRM by backend?

    Hi Experts.
    We've faced a huge trouble. We're using the BBP_EXTREQ_TRANSFER program to transfer PR from r/3 backend to SRM. Its works fine.
    However when we need unrelease all items from the RC in the backend the data aren't not send to SRM. The SC still with all items.
    How can we delete the SC in the SRM by backend?
    Best Regards.
    Paulo Afonso Cordeiro

    Hi Disha.
    I released all line item at first time and the SC has been create Ok. After I need cancel the release strategy the all line item in the backend, in the moment the SRM still created with all line items even they are locked by backend.
    I need delete this SC in the SRM by backend. Do you understand?
    Best regards.
    Paulo Afonso Cordeiro.

  • In PDP cycle is it possible to pull back transfered PR (from SRM to ECC)?

    Dear Friends,
    We are working on PDP cycle where backend ECC Purchase Requisition is transferred to SRM client via program BBP_EXTREQ_TRANSFER so that the procurement activity is carried out in SRM.
    Now business decides to discontinue the procurement activity from SRM and continue in R/3 only. Which mean business would like to create Purchase Order in R/3 with reference to PR.
    So we delete the shopping cart created in SRM and tried to change the Purchasing group so that system removed the procurement profile tag from PR. But system does not allow.
    My question is, is it possible to pull back the PR from SRM to ECC after it has been transferred to SRM? 
    Or in standard process there is no provision to reverse the situation after a PR is transferred from ECC to SRM.
    Can anyone through some light on this?
    Regards,
    Sandeep Parab

    Hi Sandeep,
    by standard there is no option to send Reqs back to ECC. A moved Req is
    blocked in ECC with a flag in EBAN, that sourcing is carried out externally. This
    block is removed, when the PO is created. I implemented a push back mechanism
    with an extra button in the sourcing cockpit within a classic environment. The
    button first takes the SC information and identifies the Req in ECC, sets the
    status on blank and releases the Req for sourcing. Finally the SC is deleted from
    the sourcing cockpit. With a good programmer the story can be quickly done.
    Cheers,
    Claudia
    Please reward points for useful answers.

  • Migrating from SRM 7.0 Classic to ECS - Seeking some clarifications

    Hello Friends,
    We are now planning to upgrade from SRM 5.0 to SRM 7.0 and then migrated to Classic to ECS. We have the below challenging points which I need clarification,
    1) How do we go about the Taxation and Pricing Part, If we migrate from Classic to ECS
    2) Presently we have R/3 contracts in place and the same is linked to MDM catalogue and now the client wants the contracts to 
        be in SRM. In that case how do we go about the strategy.
    3) Asset Procurement: Now all WBS element are converting into assets by running the Z-Program in between PR and PO in R/3
       system. But when we migrate to ECS PO gets created in SRM, so how do we go about the asset procurement in ECS scenario.
    4) Confirmation and Invoice transferring to R/3 through Idoc distribution Model. Going forward in SRM 7.0 the same will continue or
        do we go with SOA. Please confirm.
    Further to this can you please let me know, what are all the major challenges for upgrading the system to SRM 7.0 and migration from Classic to ECS.
    I would appreciate for you quick response. Points will be awarded for appropriate answers.
    Thanks and Regards,
    Ram.

    Ramesh,
    Few inputs for this project
    1. You need to clearly seperate out the upgrate (5.0 to 7.0) and Migration (Classic to ECS) in your project planning to derisk the project i.e. you should have seperate testing cycle time/ efforts for  upgrade and then on migration so that functional/ teachnical team working out in the project can clearly identifies issues between upgrade and migration seperately and work on them.
    2. You have to work with business to make a decision on conversion of old classic PO's (incomplete GR/IR still required) and PO in process (SC created under approval in SRM). I strongly suggest you should not involve into conversion and keep it out of this project.
    3. SRM do have option to take care of your tax configuration. BTW most of the company use external software to calculate tax amount.
    4. You need to build workflow for PO in SRM since now PO will be created in SRM.
    5. You need to create smartform / output determination in SRM for the PO. Please note SAP has provided some consulting notes if you continue to handle document transmission in backend with ECS.
    6. Yes a distribution model needs to be setup for confirmation and Invoice if you are not doing it now in classic scenario.
    Asset procurement solution you mentioned looks specific to your Org business needs, you need to explore to fit into new environment.
    All the best
    Thanks, Sachin
    Edited by: sachindubey on Apr 10, 2010 12:13 PM

  • Configure partial invoice distribution for SRM Purchase Order

    Hello Experts,
    We are on SRM 5.0 SP12 and ERP 6.0 SP13.  When a split accounting purchase order is created in SRM and transfers over into SAP, partial invoices are automatically posting with the distribution of "Distribute to following row".  In ME23N under account assignment, there are three options for partial invoice postings:
    1) Derive from account assignment category
    2) Distribute to following row
    3) Distribute proportionally
    We would like to default the third selection, "Distribute proportionally".  Does anyone know where this setting can be changed or how to do this?
    Thanks,
    Brett

    SAP was able to provide assistance on the issue. Here are the details:
    The SRM always sends to ECC the "Distribute to Following Row" selected,
    and sometimes configuration changes in tcode OME9 have not effect,
    possibly due to the Support Package.
    To specify the correct option "Distribute Proportionally", it is necessary to use the Badi BBP_PO_INBOUND_BADI...
    The partial invoice indicator is set to '1' by default in SRM, it is
    standard behaviour, you can check it in the LBBP_BD_DRIVER_46AF15
    program. The functionality that allow has the value ´2´ to partial
    invoice indicator is exclusive to MM - R3 system.
    You have two possible solution to create from EBP to backend some PO
    documents with multiple account assignment and partial invoice
    indicator = 2 (Distribute Proportionally):
    a) To use the Badi BBP_ECS_PO_OUT_BADI to create the PO this way.
    ls_ct_bapi_poitem-PART_INV = '2'
    Effectively, this solution change the setting in the backend
    to 'Distribute Proportionally'.
    b) Partial invoice indicator can either be set in OME9 in the Backend
    for the posted account assignment category (e.g. K - cost center)
    or default using Backend Badi:
    BBP_PO_INBOUND_BADI
    BBP_POITEM-PART_INV
    -> Part_INV is a field of BBP_POITEM. In the backend BADI, if you
    look at the field of BBP_POITEM, you will find PART_INV. You
    have to use the BADI to set this field.
    OME9 was the tcode in MM to specify the partial invoice settings for each account assignment. According to SAP, sometimes this works with SRM (since the default setting sent to ECC from SRM is "Distribute to following row") and sometimes it doesn't. We ended up changing the partial invoice flag upon creation of the purchase order through the BADI mentioned above since the configuration changes did not remedy the issue. Now the partial invoices are posting proportionally which has resolved all of our split accounting posting issues.
    Thanks,
    Brett

  • Dependencies for an upgrade from SRM 4.0 to SRM 7.0

    We have a Client situation - upgrade from SRM 4.0 to SRM 7.0 - they have SAP EP 6.2 and 4.7E backend system.
    Now, the questions are -
    1. Is it mandatory to upgrade to SAP EP 7.01 (Netweaver 2004s) or will SRM 7.0 work with SAP EP 6.2?
    2. It appears SRM 7.0 will work with SAP 4.7E, however, will self-service procurement, sourcing cockpit functionality work okay and integrate with SAP 4.7E without any issues?
    An early response is highly appreciated.
    SNR

    Hi SNR
    For your first question please refer to the following link as well as the SRM 7.0 release notes:
    https://wiki.sdn.sap.com/wiki/display/SRM/SRMRelatedComponentsperSP+Stack
    If you check the EP  6.2  is no longer supported by SRM 5 releases onwards
    Based on this information, the SRM 7.0 should not work with EP 6.2
    For your Second Question:
    It seems to be no restrictions in use Backend 4.7E.  You can define it in the SPRO as backend destination / sys type(BBP_BACKEND_DEST table SYS_TYPE = R/3_4.70)
    As additional information please kindly refer to the SRM 7.0 Instalation Guides. It can be found in the Service Marketplace
    service.sap.com/srm-inst
    -> SRM 7.0
    There you will find a lot information about installation / upgrade from prior SRM releases
    I hope this information helps!
    Alvaro

Maybe you are looking for

  • Can't open .jar file? (I have Lion)

    I have written a program in Eclipse, and  I exported it as a runnable jar to my desktop. But when I go and click on it I get this message: The Java Jar file "Four Room Game.jar" could not be launched check the console for possible error messages what

  • MS Word documents open but aren't visible

    I've suddenly started having a very strange problem in Word and can't find a post describing a similar problem on either the Apple or the Microsoft Word support discussion fora. I can open documents, either within Word or directly from my Documents f

  • Vendor master data changes

    Hi all, Please help me with some useful information regarding the history of master data creationa and changes. I need to create a query for creation and changes of vendor master data. Data for creation of the vendor master data are saved in LFA1 but

  • Setting font colors

    Is there a way to set the font color so that it isn't just white or whatever the default terminal font color is. I know there is a Font class, but I don't really understand how that works, whether I do Font.color and it will change the default change

  • Help!! loop for current procedure

    I have a procedure which creates tickets to be printed. However I would like to amend this procedure so that the user can input the number of tickets s/he will be printing and then loop through my current procedure to generate them all at once. I hav