SRM 7.0 Issue

Hi Experts,
This issue is in the implementing of SRM 7.0 and in the rejection scenario of the Shopping Cart (thru SRM portal), we want to make the "Approval note" a mandatory field to be filled in by the Approver.
The following is what I have done thus far:
1.     In the implemented class: ZCL_IM_SC_VALIDATE.
2.     Use Function Module BBP_PD_SC_GETDETAIL to get E_LONGTEXT.
3.     Use method GET_CURRENT_DECISION of class /SAPSRM/CL_WF_APV_FACADE to get current decision. 
4.     Check if current decision is REJECTED.
5.     Check if E_LONGTEXT has TDID = NOTM.
6.     Populate error message u201CEnter Rejection Reason in Approval Noteu201D on to ET_MESSAGE.
But when the approver clicks on REJECT button on the UWL, the SRM portal throws an exception. This exception is in class /SAPSRM/CL_PDO_BO_SC method CHANGE_DOCUMENT.
Thanks in advance,
Thembass.

Hi Themba,
This sounds like a requirement we had to implement in our system. It was tricky, but we got it. Someone else on this forum mighthave a better method, but here is what we did:
1.) Enhance class /SAPSRM/CL_CH_WD_BOM_SC and add a Pre-Exit to method /SAPSRM/IF_CLL_BOM_SCREJECT,which gets called when the user rejects the shopping cart. In this pre-exit method, set a flag variable and export that variable to a memory ID. You should probably also create a pre-exit to method /SAPSRM/IF_CLL_BOM_SCAPPROVE that clears out this memory ID so if the user decides to approve the cart instead, they don't get the rejection logic.
2.) Use an implementation of BADI BBP_DOC_CHECK_BADI to import the memory ID with your rejection flag. If the flag is checked from your pre-exit, validate the rejection note stored in E_LONGTEXT, tdid='NOTM' from your call to BBP_PD_SC_GETDETAIL. (actually, it looks like you already have most of this step in place)
That should do the trick. Good luck!

Similar Messages

  • PR to SRM Sourcing Cockpit Issue

    In ECC, the ME_SOU* BADI is implemented to activate sending PR of type RV to go to SRM Sourcing Cockpit.
    The necessary Workflow Event Linkages are activated in ECC to send the PR to SRM.
    When the PR is released, it does not trigger the event to call the workflow. The event trace SWELS at the time of releasing the PR does not show any events triggered.
    Any thoughts here to resolve this issue?
    Thanks

    Hi Kasee,
    If you are going to transfer ECC PR to SRM via SOA, the following steps should be configured well in ECC side:
    1, LOG_MM_P2PSE_1 should be activated via trx SFW5 in ECC side;
    2, implement BADI ME_REQ_SOURCING_CUST;
    3, go to trx SWETYPV and check if the following objects are existing:
    BUS2015 RFXREQUESTED
    BUS2105   SOURCINGREQUESTED
    4,activate outbound message as below:
    (ERP) Transaction SPRO -> Other mySAP.com components->Supplier Relationship Management->
    Message Control-->Activate outbound messages through qRFC
    BUS2015 RFXREQUESTED
    BUS2105   SOURCINGREQUESTED
    5, configure RFC destination for workflow system
    6,configure RFC destination for SAP XI
    7, create SU01 XI user
    8, trx olme: Portal  >Set Up Landscape
    9, trx smqr: MMPURS_BUS2105_* should be registered.
    XML message should be triggered after this.
    You may also refer to the following notes:
    note 1263876
    note 1268336
    Hope this helps.
    Regards,
    Ivy

  • SRM-MDM Catalog - issue in the Portal (Employee Self-Services - Shopping C)

    Dear SAP,
    When we quit a web page in SRM-JAVA system, we get this issue in our production system.
    We do not have this issue to our DEV and QAS system :
    ============================================================
    Exception occured during processing of Web Dynpro application
    sap.com/tcmdmsrmcat~uisearch/MDM_SRM_UI_App. The causing exception is
    nested.
    [EXCEPTION]
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Exit-Plug
    must no be triggered with an URL when running in portal. Use portal
    navigation instead to navigate to another application !
    ============================================================
    There is a different behavior between our QAS system (working) and the
    productive system (not working):
    On calling the MDM-Catalog, a short URL is called to open the catalog.
    On returning the shopping cart back to SRM, there is in QAS system the
    same short URL, but in PROD system there is an URL (instead of a short URL):
    1. Test System QAS --> Only one URL (In / Out) : IT WORKS
    =====================================
    http://serv2qas.luc.local:50000/irj/portal?navigationtarget=navurl%3a%2f%2fd49ceba342f141e3c16bebca2f501417&dropprtevent=obnevent&botechnicalname=sc&bosystemalias=sap_srm&operation=shop&isobn=true&applid=sapsrm_e_checkstatus&powl_query=e00db2f1dad54ff19363000c29462e23&dynamicparameter=applid%3dsapsrm_e_checkstatus%26powl_query%3de00db2f1dad54ff19363000c29462e23&currentwindowid=wid1296120969986&navmode=3
    2. Productive system PROD --> Incoming URL (from SRM to MDM) : IT DOES NOT WORK
    ====================================================
    http://www.supershop.com/irj/portal?navigationtarget=navurl%3a%2f%2fd49ceba342f141e3c16bebca2f501417&dropprtevent=obnevent&botechnicalname=sc&bosystemalias=sap_srm&operation=shop&isobn=true&applid=sapsrm_e_checkstatus&powl_query=e017f129ba0d47f1aa61000c290bb402&dynamicparameter=applid%3dsapsrm_e_checkstatus%26powl_query%3de017f129ba0d47f1aa61000c290bb402&currentwindowid=wid1296111549383&navmode=3
    URL after SC creation (coming out from Catalog) :
    http://www.supershop.com/irj/portal?navigationtarget=pcd:portal_content/every_user/SuperShop_Desktop/Roles/com.sap.pct.srm.core.supershop_ro_employeeselfservice/fl_goshopping/com.sap.pct.srm.core.iv_shop&NavMode=3&UsePost=True&SAPSRM_RESUME_ID=SAPSRM_OCI
    Could you please help me to find out what is the difference between QAS and PRD if system is coming from ?
    Best regards,
    SAP Admin
    Edited by: SAPNetWeavAdmin on Jan 27, 2011 10:34 PM

    Dear all,
    It was a role problem.
    Best regards
    SAP NetWeaver Admin

  • SRM Live Auction issue

    Hello Experts,
    Need your inputs on the following issue:
    Whenever the Strategic Purchaser clicks on the 'Live Auction' button in SRM portal, in the new window the system again asks for the Username and Password. After entering the Purchaser login credentials again the system show the Live Auction java Applet.
    SRM version 7.0 SP02 (Sandbox System for end users)
    SSO has been configured between ABAP and JAVA.
    Portal URL has been added in the Trusted sites in the IE 8
    Compatibility view is active for all websitesi in IE8
    Regards,
    Lalit

    Issue resolved by keeping the IE Privacy settings to low level.

  • SRM Data Loading Issue

    Hi Frns,
    We are implimenting SRM module for our client for that we have activated the Business content recently and all those went on success. when I tried to laod the data for 0SR_BIDO1 frm the Source 0SRM_TD_BIDDER I am getting error in IDoc Updation. Error Msg in the source sys ALE maintaanence ' Request REQU_4C5WHA...CJY2DROO30CJY2DR does not exist in target system N'.
    And also it is throwing that "Application Document Not Posted".
    Can anybody help out in this issue.
    I executed in T-Code 'BD83' also but no solution and the data source having the data of 80 records.
    Thanks In Advance.
    Suren.

    Hi,
    use the follwoing code at the tranformation level to remove special charatcer. i think in quality you moght have tested for limited data where there are no special characters. in production when you are trying full data, it gave special character error.
    data: decllaration
    clear field.
    field = source field.
    TRANSLATE field USING '! @ # $ % ^ & * ( ) _ - + = ~ ` { } [ ] | \ : " ; < > , . ? / '.
    REPLACE all OCCURRENCES OF '''' in field WITH space.
    CONDENSE field  NO-GAPS.
    TRANSLATE field TO UPPER CASE.
    Thanks
    Konda Reddy

  • SRM PO Closing issues

    Hi All,
    SRM 5.0, ECS
    We have couple of PO's which are deleted in SRM and we want to close out these PO's. Is there a way we can undelete these PO's in SRM and make necessary changes to close out the PO. Since its an extended classic scenario, we cannot edit the PO in R/3.( In the Debug mode we can open the PO in R/3 for editing. We do not want to take this route). Please throw some light on this issue.
    Thanks
    Krishna

    Hi Krishna,
    What do you mean by closing out?
    If you deleted the items then you should be able to undelete them, but if you deleted the document at header level then you will not be able to undelete this.
    If this was deleted, did the deletion not transfer to the backend?
    If it didn't, it might be worth manually running update report CLEAN_REQREQ_UP and rechecking.
    Hope this helps,
    Kind Regards,
    Matthew

  • SRM Invoice posting issue

    Hi Experts,
    We are working on SRM 5.0 . Few days back new support pack 'SAPKIBKT14' was implemented.
    After this we are trying to post the invoice based on PO in SRM. we entered the PO number and clicked on 'Insert',
    then it should display the item details as well as 'Invoicing party' & 'Vendor' details. But here in my case
    'Invoicing party' & 'Vendor' details are not displaying, only items details are displaying.
    Thanks in Advance.
    Regards,
    Chandu

    Hi,
    The invoice is created in SRM but it doesn't replicate, Have you checked the inbound IDOC in your backend (Tx we05)
    In the status segment you should see the error.
    I hope this help
    Best regards

  • SRM Offline Approval Issue

    Hi,
    I am testing Confirmation/shopping cart/Invoice Offlline approval fesibility testing
    I am able to generate wokrflow mail in outlook for Approve or Reject
    in Outlook when I am clicking Approve or Reject it is generating one more response email in outlook with some link in mail
    and when I am clinking on send the email Id which generating at the time of clicking on approve or Reject bouncing back
    Please let me know ..
    1) Do I need to maintain that email Id somewhere in SRM system OR
    2) Some where in SMTP exchage server of Outlook
    I have compared the Production Email Id and it is working fine and my IT team checked that PRD email Id also not maintained in the SMTP server, not sure where we are missing.
    Please help.
    Thanks,
    Jai

    Hello Scott,
    Check (with basis team) technical settings for e-mail by means of:
    - OSS note [455140 - Configuration of e-mail, fax, paging or SMS using SMTP|https://websmp130.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/spn/sapnotes/index2.htm?numm=455140],
    - basic settings configuration guide for SAP SRM 7.0 (paragraph 5.7 Technical Settings for E-Mail - page 40). This last document deals with profile partner settings ( RZ10 ), client assignment and SAPconnect administration.
    If all those settings are correct, so problem is due to mail server: basis team will have to check with network/mail server team.
    Regards.
    Laurent.

  • Map a custom SRM field to a standard field in R/3

    Hello All,
    We have created a custom field in SRM and it needs to be transferred to one of R/3's
    standard field. it has to be done in both the classic and extended classic scenario.
    For the extended classic scenario I tried using the BADI BBP_ECS_PO_OUT_BADI
    but this is not getting called in the creation of local purchase order neither
    does it transfer the changes made to r/3
    As for classic scenario I tried using the BADI BBP_CREATE_BE_PO_NEW ~ FILL_PO_INTERFACE1
    but the structure cs_po1_document-IT_POITEM does not get filled up with the item_guid
    which needs to act as a reference field to read the table.
    At the backend i tried using the bbp_po_inbound_badi and tried to change the value in the
    debuggung mode. But it didn't carry the value to the field either.
    Thanks in advance,
    Prasanna

    1. The BADI BBP_CREATE_BE_PO_NEW will only be called in the classic
    scenario wherein the purchase order is directly created in the backend
    R/3 system.
    For extended classic scenario, kindly use the BADI BBP_ECS_PO_OUT_BADI
    instead.
    Please be sure that you have filled  BBP_CREATE_BE_PO_NEW  with these lines:
    CS_CTRL_ATT-BE_DOC_TYPE = 'SRM'.
    CS_CTRL_ATT-BE_STORAGE_CAT = 'DMS_C1_ST'
    Please also check the settings in the customing of the backend (DC10, DC20, DC30).
    2.  Please create test data in BAPI_PO_CREATE1 in backend system according to note 539978 As in the note described, please 
      - set the Parameter FBGENDAT 'X' in the backend system for the
        RFC user of the SRM system
      - execute the report FBGENDAT in the mode 'A'.
        after activating this report, test data will be created by every
        BAPI_PO_CREATE(1) call.
      - once you have a new entry in the SM13 of the backend system,
        please deactivate the generation of test data in report FBGENDAT.
    Please check the Data transfered from SRM.
    3, There are some field with will be cleared during MM processing when
    you run the BAPI_PO_CREATE1 with the data transfered from SRM.
    Examples : 
    Classic scenario.
    In this case you create service purchase order.
    For service purchase orders fields WEMPF and ABLAD(GR_RCPT and UNLOAD_PT in BAPI) are not filled when creating the document. It is absolutely not possible to have this unloading point/ Recepient on item level service documents. The account assignment is entered on service level and it is then used to determine the account assignment on item level.  So even if you were able to pass from SRM the unloading point/Recepient on item level in service documents it would be overwritten from the account assignment of services. This functionality won't be available in standard R/3.
    Please see note 118008 for more information.
    Extended classic scenario.
    As soon as you pass delivery address The system clears field EMLIF (supp_vendor in the BAPI interface). Do not pass delivery address and you will be able to have Vendor in the purchase order. Due to the fact that delivery address exist, a lot of fields in lt_item are cleared, including supp_vendor.
    Call stack:
    8 SAPL2012 FORM PROCESS_ADDR_TABLE
    7 SAPL2012 FORM CREATE_ITEM_ADDR
    6 SAPL2012 FORM PROCESS_NON_INTEGRATED_COMP
    5 SAPL2012 FUNCTION BAPI_PO_CREATE1
    Please see code in subroutine PROCESS_ADDR_TABLE:
                    CLEAR imt_item-kunnr.
                    imt_itemx-kunnr = bapi_yes.
                    CLEAR imt_item-emlif.            !!!!!!!!!!!!!!!!!!!!
                    imt_itemx-emlif = bapi_yes.
                    CLEAR imt_item-lblkz.
    If you have the fields cleared in MM process , it is not a SRM-EBP-POR issue , but a MM-PUR-PO-BAPI  The BADI BBP_CREATE_BE_PO_NEW will only be called in the classic scenario wherein the purchase order is directly created in the backend R/3 system. For extended classic scenario, kindly use the BADI BBP_ECS_PO_OUT_BADI instead.
    I hope this information will help you .
    Summer Wang
    Edited by: Summer Wang on Nov 24, 2009 2:50 AM

  • Using Trex in SRM

    Hello Experts,
    Environment  SRM 7.0 PPS  ECC 6.0 eph4
    Wanted to see if any one used TREX to optimize vendor search and display  the vendors quickly when creating  a shopping cart in SRM.
    The issue we are facing occurs when clicking on the preffered supplier list to  display the list of vendors which are pulled from SRM and displayed in the portal.
    Thanks in advance,
    Regards,
    Scott

    Hi Scot
    sorry to bother via this thread.
    what is your total number of vendors in the existing system? .
    create some fixed vendors by negotiating like contract , inforecord and reduce the burden of buyers.
    if you put some prefered vendor, it goes to buyer cockpit and he again search a vendor , negotiate the vendor and update the price if you activate sourcing or will create incomplete PO / Complete PR upon sceanrio selections....
    TREX helps only if you want to enable full text search for long texts and attachments in the business objects( contract, vendor,po).
    can some one correct me if i am wrong.
    Thanks
    Muthu

  • SRM 7.0 duplicated supplier in vendor list source of supply

    Hi Expert! I need your help about a srm vendor list issue.
    A customer of mine uses srm vendor list to group suppliers in order the services or goods their offer.
    It has been implemented an automatic process to insert the supplier in the specific vendor list. The process, before insert the supplier check if the one is not already present.
    For about one years all was working fine.
    Now we get duplicate rows on some vendor lists, I mean same row number, same supplier and so on.
    Attached to this document a system screenshoot.
    Is there any one able to give me a way to delete these duplicated rows?
    Thanks

    Daniele,
    it could be due to multiple purchasing org. assignment to the suppliers.
    Regards
    Konstantin

  • Material Master Replication R/3 to SRM

    Hello SRM Experts,
    I am in a process of replicating MM from R/3 to SRM server.
    This is not a new one,already some materials are loaded into SRM.
    Ths issue what I am trying to understand is I have many materials,material Types and  material groups added in R/3, but not all flowu2026
    I just want to know if I add a new Material Type,Material Group and Materials on R/3 side how do I get them replicated?
    What are the tasks that need to be performed on R/3 and SRM for their replication?
    I have gone throgh the Blogs of material replication by Vipul,but this is not pointed.
    In R3AM1 it is showing the below status...
    Running   DNL_CUST_BASIS3
    Running   DNL_CUST_PROD0
    Running   DNL_CUST_PROD1
    Running   DNL_CUST_SRVMAS
    Done      MATERIAL
    Do I need to start the initial Load R3AS again?
    Pls guide meu2026
    Thanks
    Arshad

    Hello Jose,
    Thanks for response...
    I have made sure that i cleared all the queues in both systems
    in SMW01 i found the below
    Category for material group 4000 does not exist
    Message no. COM_PRODUCT_API002
    Diagnosis
    If material groups are used in the SAP system, they must exist as categories in CRM/EBP before you import materials. When Customizing object DNL_CUST_PROD1 is imported, the material groups are imported automatically and created in the category hierarchy R3MATCLASS (material group).
    Procedure
    Check whether the material groups have been imported successfully and exist as categories.
    Proceed
    If necessary, import the Customizing object DNL_CUST_PROD1.
    I tried restarting the DNL_CUST_PROD1 but this gives me below msg
    Please read the OSS Note no. 212666 (QUEUE_ALREADY_EXITS:R3AI_DNL_CUST_PROD1*)
    Message no. SMOF160
    now what to do..?
    Arshad

  • DNL_CUST_PROD1 is in Running status for Delta Mat Grp - SRM 7.0

    Hi Experts ,
    We are configuring SRM7.0 with ECC6 ( Ehp4) having Classic Scenario
    We already done initial upload of all Mat Type , Mat Grps, Material  & Service Master data successfully. Now one Mat Grp is added in ECC, and I am tring to replicate this delta objectsin  A3AS , but the DNL_CUST_PROD1 is in Running status  from long time ( in R3AM1) where Source Site is ECC &  Destination is SRM.
    In ECC , these is no  any queue stuck  either in SMQ1 or SMQ2.
    In SMWP in SRM, it is showing message with Red color Blocked queues: Client 212 Blocked outbound queue: Client 212 Q name DNL_CUST_PROD1 status SYSFAIL dest EDACLNT112 in  section R3AI/R* Start Queues for Loads from OLTP .
    In SRM, thes is nothing  stuck in Inbound Queue in SMQ2, but I am afraid , Queue R3AI_DNL_CUST_PROD1 is stucked in Outbound Queue SMQ1 , showing destination ECC sytem , with status  SYSFAIL !!!  I tried to UNLOCK & Activate this queue , but no use.
    1. I am wondered  We are imporing Mat Grp from ECC to SRM, so in SRM ssytem, the Queue for Mat Grp ( a nd other objects should be Inbound ( i.e. SMQ2), then how/why the queue  stuck in the Outbound Queue ( SMQ1) ?
    2.Can anyone please suggest  what should be the problem a nd solution on same .
    Thanks in advane.
    NAP

    Thanks Nikhil. I varified all steps as per Note 720819 and all seems okay. Even Material Master is replicaing in SRM successfully.
    Issue is we even unable to see the error log also. In SMQ2 stuck Queue for DNL_CUST_PROD1 from SYSFAIL ststus we can not guess the issue.Do we other hints to look ?
    I am not cleared on the processing of Queues, i.e. how this imported objects looking into SMQ2 O/B Queue , it will be very appricated if you can explain in detail how these Queing works in SRM for importing Mat Types, Mat Grp & Material master data?
    Thanks in advane.
    NAP

  • Transmission status mismatch in datasource 0BBP_TD_SC_1 (SRM Analytics)

    Hi,
    Following is brief summary of the issue:
    General Business Process
    Shopping Carts are created and ordered on a daily basis. we are using Extended Classic Scenario the follow on document is typically a local Purchase Order. For reporting purpose the data (SC and also PO) are extracted to BI. An initial extraction has been done and thus data is extracted using delta extraction to BI (every 8 hours)
    Issue summary
    For Shopping Carts a follow on document for all items is created (thus the technical status I1113 u2013 u2018Follow-on Document Createdu2019 is set for all items). Now the SC is extracted to BI, but there this status (I1113) is only displayed for some item, but not for all items (e.g. status I1113 is not set for item 1, but for item 2 &3 or status I1113 is not set for item 2, but item 1 &3).The issue occurs for all kind of SC, independent on the number of items (has been seen for SC with just 1 item, but also with 18 items and in between). The result is that there is a mismatch between SRM and BI. The document status is set correctly in the SRM database, the issue happens only for the data extraction. It works fine for the initial extraction, the issue above only occurs for delta extraction. Also issue is happening only in production system. Not able to replicate in quality or developement system.
    Any suggestion or clue how rectify the mismatch status.

    Dear Poster
    Your thread has had no response since it's creation over
    2 weeks ago, therefore, I recommend that you either:
    - Rephrase the question.
    - Provide additional Information to prompt a response.
    - Close the thread if the answer is already known.
    Thank you for your compliance in this regard.
    Jason Boggans
    SAP SRM SDN Moderator

  • Middleware config setup in SAP R/3 system.

    Hi Guys,
    Can you please tell me the implications on the SRM system for the below changes.
    There was an issue in the CRM system  as some of the Bdocs getting failed in the CRM system, reason being tthe actual scenario is that we have CRM system and SRM system connected to ECC (XXX ) but both the entries have been created with user name CRM. That is the reason you are seeing two instances of RFC connections for CRM which actually is one entry for CRM and other for SRM system.This issue happens intermittantly and does not occur for all the Business partners. We are not sure about the steps to reproduce the issue as it does not happen for all the BP's but occurs intermittantly and we are unsure of the reason for the same.
    Finally came to know that its because of the SRM and CRM are connected with the  same user name CRM in the CRMRFCPAR.
    If I change the settings for SRM as per the SAP note number 720819 what would be the impact on the system and how to handle this. This is a production system.
    And Quality and Dev environments are not similar to Production environment.So cannot reproduce the same error.
    Regards
    Srujan K

    Hi Venkat,
    I am sorry If  I have not given you the clear information, In Quality and Dev the systems the CRM and SRM systems are connected to two different backend systems, But in Production system the same backend is being shared by the CRM and SRM.
    So the problem cannot be re-produced thats what I mean to say.  Hope you got my point now.
    Regards
    Srujann K.

Maybe you are looking for