PCUI: Create confirmation from Z_CRMD_BUS2000116

Hi All,
I am trying to 'Create confirmation' from the 'Z' service order application and it does not work.
Here is what I have done.
1. Copy CRMD_BUS2000116 to Z_CRMD_BUS2000116.
2. Implement access class ZCRM_CL_CRM_BSP_AM_HEADME_1O as subtype of CL_CRM_BSP_AM_HEADME_1O and redefined query and Read methods.
I get the display fine according to the logic. However when I select one line and click button, 'create confirmation', it does launch a new window and the URL seems to be the same as clicking from SAP standard CRMD_BUS2000116 application(except the CRM_PSID_GUID regenerated each time same as in the case of standard CRMD_BUS2000116 application). However when the control goes into the CRMD_BUS2000117(Create confirmation)application, it behaves differently for my Z application where as the standard working fine. Where am I doing wrong or what can I do to get this working.
your help is greatly appreciated.
thanks
johnson zavier
Solution:
  I was calling the method SUPER->IF_CRM_BSP_MODEL_ACCESS_IL~PROCESS_EVENT without the parameter IV_EVENT_INDEX and hence the subsequent read to a table failed (read with index 0). Once I passed the IV_EVENT_INDEX (value came up was 1), it started working.
Message was edited by: Johnson  zavier

was calling the method SUPER->IF_CRM_BSP_MODEL_ACCESS_IL~PROCESS_EVENT without the parameter IV_EVENT_INDEX and hence the subsequent read to a table failed (read with index 0). Once I passed the IV_EVENT_INDEX (value came up was 1), it started working.

Similar Messages

  • FM/Class for creating service confirmation from service order

    Hello Gurus,
    Does anyone know a FM/BAPI/Class to create service confirmation from service order ?
    With warm regards,
    Kallol Bhowmick

    Hello Kallol
    You can trigger a confirmation from service order using action profile.
    Here is how to define action profile:
    IMG > CRM > Basic Functions > Actions > Actions in Transaction
    Dialog Stucture> Action profile:
    Object type = BUS2000116
    Context class = CL_DOC_CONTEXT_CRM_ORDER
    Dialog Stucture> Action Definition:
    Processing time: Processing using selection report
    Check box schedule automatically, Changeable in dialog and executable in dialog.
    Dialog Stucture> Processing types
    Permitted processing types of actions: Select - Method Call
    Settings method call: Method - COPY_DOCUMENT (you can also try COPY_DEF_ITEMS)
    Processing Parameter:
    -Select change icon a new window opens - container editor
    -select create icon another window opens - display container editor
    Here enter following:
    Element = PROCESS_TYPE
    Name = PROCESS_TYPE
    short desp = PROCESS_TYPE
    Tab > Dtype:
    Structure = CRMC_PROC_TYPE
    Field = PROCESS_TYPE
    Tab> initial value
    Here maintain the transaction type of your confirmation.
    save your action profile. Now assign action profile to Service oder transaction type.
    I hope this info helps.
    Regards
    Rupesh Patil

  • Coudnt create confirmation or Invoice from EBP

    Hi all,
    I am working in SRM 5.0 Classic scenario..The scenario works well when i post goods receipt and invoice in backend and also it getting reflected in EBP...But when i try to create confirmation or invoice from EBP it shows
    confirmations contains error or invoice contains error
    i have done all the necessary ALE settings(the distribution model etc.)
    can anyone help me in this...
    Thanks&Regards,
    Hari.

    Goods Confirmation transferred via IDOCS
    Service Confirmation transferred via RFC
    Check RZ20 for the errors, if not see BBP_PD or else just put a BREAK-POINT at meta_bapi_dispatch and debug to your function module and see what was the error from lt_retun parameter in the RFC function module called from SRM to R3.
    Error will give you a hint for your issue.
    Please reward points if useful.
    Thanks
    Kasee Palaniappan

  • Auomatic TO creation and confirmation from PCN with 321 MVT type

    Dear Friends,
    I am facing following WM issue, Kindly go through it and reply me with your valuable solution.
    In my plant QM is active, so while receiving goods against any Purchase Order (MVT TYPE 101), all my stock goes to quality. After UD check, 99% material move to unrestrictd stock (321 mvt.type) and 1% used for quality (331 mvt. type).
    For an example if I have received 1000 kg material (which initially goes to quality), after UD 995 kg material come to unrestricted stock and 5 kg used for quality check.
    In my existing system for material document with mvt. type 321, one PCN is generated in the background, and using LT05 we make TO from PCN and confirm it.
    But is it posible to create the TO and confirm from the PCN (Mvt. 321) in the backgroung itself, i mean to say that while my QM user is doing UD, material document with mvt 321, one PCN and TO will be generated and TO will be confirmd in the background itself.
    I don't want to use LT05  separetely to make TO from PCN.
    Please reply me soon.

    You need to make the config settings here in ur system.
    SPRO > Logistics execution >  WM > Interfaces > Inventory Management > Activate Automatic TO Creation
    Assign the relevent setting to movement types...
    Hope thsi helps
    Thanks & regards
    AHP

  • Cannot create mysites from powershell: Original XSLT List View Web Part not found

    I have a bizarre problem in my SharePoint 2013 farm. This does not occur in my test farm, only in the farm we were going to go live with.
    I'm on windows Server 2012, SQLServer 2012 SP1, SharePoint 2013 April CU. 1 appserver/centraladmin server, 2 web servers.
    When I log into our mysitehost and click newsfeed, it will create a mysite (even though first it displays "we are sorry there was a problem creating your site")
    But from powershell, whether I use $UserProfile.CreatePersonalSite() or New-SPSite, I get the following error:
    Original XSLT List View Web Part not found
    So far I've only found one other person with this:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/2503e42c-e114-4e89-8e00-89fe70f0b154/cannot-create-sharepoint-mysite-programmatically
    This is a brand new farm, created with the same scripts I created my test farm with, and same version of SharePoint. Only the service accounts are different. (Farm account has admin on the servers right now since I was setting up profile service).
    Some other errors from the same correlation ID that look related:
    It can't seem to find the listemplate 101
    And something looks wrong with the MySiteDocumentLibrary feature
    I have tried the following:
    1. run psconfig.exe on each server
    2. install-spfeature -AllExistingFeatures
    3. looped through the directory under Features and for each called Install-SPFeature $dirname -Force
    4. uninstalled and reinstalled MySiteDocumentLibrary feature
    5. blew away the whole farm (removed all servers from farm, deleted all databases) and recreated it.
    6. tried creating the UPA from the CentralAdmin gui.
    The only real difference I can think of between the working farm and non working farm is, I installed the working farm using RTM, then as they came out added the March PU and April CU. For this farm I installed RTM and March and April, and then ran my build
    farm script.
    I am at a loss. What do I need to do, re-install the binaries? That's all I can think of. What I love is that our test / POC system worked fine, and now 2 weeks before go-live I'm seeing errors on the production servers I've never seen before. Using the
    same scripts no less.
    Feature Activation: Feature 'Fields' (ID: 'ca7bd552-10b1-4563-85b9-5ed1d39c962a') was activated
    Feature Activation: Feature 'CTypes' (ID: '695b6570-a48b-4a8e-8ea5-26ea7fc1d162') was activated
    No document templates uploaded for list "$Resources:core,global_onet_solutiongallery_list;" -- none found for list template "100"
    Failed to find <ListTemplate> tag corresponding to ID "101", tried both onet.xml for site definition ID "0" language "1033" and global site definition. Operation failed.
    No document templates uploaded for list "$Resources:core,stylelibraryList;" -- none found for list template "121".
    System.Runtime.InteropServices.COMException: A user may not remove his or her own account from a site collection.<nativehr>0x81020051</nativehr><nativestack></nativestack>, StackTrace: at Microsoft.SharePoint.SPUserCollection.UpdateMembers
    Feature Activation: Feature 'MySitePersonalSite' (ID: 'f661430e-c155-438e-a7c6-c68648f1b119') was activated
    Feature Activation: Activating Feature 'MySiteDocumentLibrary'
    Calling 'FeatureActivated' method of SPFeatureReceiver for Feature 'MySiteDocumentLibrary'
    SharePoint Foundation Upgrade MySiteDocumentLibraryFeatureReceiveraj08n INFO Creating new My Documents library
    Unknown SPRequest error occurred. More information: 0x80070002
    SPRequest.GetMetadataForUrl: UserPrincipalName=, AppPrincipalName= ,bstrUrl=http://contoso/personal/cbuchholz/DOCUMENTS ,METADATAFLAGS=59
    System.IO.FileNotFoundException: <nativehr>0x80070002</nativehr><nativestack></nativestack>, StackTrace: at Microsoft.SharePoint.SPWeb.GetObjectForUrl at Microsoft.SharePoint.Portal.UserProfiles.MySiteDocumentLibraryUtil.GetSPObjectFromUrl ...
    <nativehr>0x80070002</nativehr><nativestack></nativestack>There is no Web named "/personal/cbuchholz/DOCUMENTS"
    Possible mismatch between the reported error with code = 0x81070504 and message: "There is no Web named "/personal/cbuchholz/DOCUMENTS"." and the returned error with code 0x80070002.
    Attemping to add webpart id 0F6072F2-E804-4CFD-837E-BB37332B9D1C to web http://contoso/personal/cbuchholz
    Adding XsltListViewWebPart calling SPRequest::CreateListViewPart. Web part id 0F6072F2-E804-4CFD-837E-BB37332B9D1C, web http://contoso/personal/cbuchholz
    Feature receiver assembly 'Microsoft.SharePoint.Portal, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c', class 'Microsoft.SharePoint.Portal.UserProfiles.MySiteDocumentLibraryFeatureReceiver', method 'FeatureActivated' for feature 'e9c0ff81-d821-4771-8b4c-246aa7e5e9eb' threw an exception: System.InvalidOperationException: Original XSLT List View Web Part not found at Microsoft.SharePoint.Portal.UserProfiles.MySiteDocumentLibraryUtil.ReplaceListViewWebPart
    Feature Activation: Threw an exception, attempting to roll back. Feature 'MySiteDocumentLibrary'
    Exception in EnsureFeaturesActivatedAtSite: System.InvalidOperationException: Original XSLT List View Web Part not found
    Failed to activate site-collection-scoped features for template 'SPSPERS#2' in site collection 'http://contoso/personal/cbuchholz'
    Failed to apply template "SPSPERS#2" to web at URL "http://contoso/personal/cbuchholz
    I've had other problems in this farm: the bug where when you add Administrators to a Search Service via the Manage Service Applications page, it removes the SPSearchDBAdmin role from the search service process account. That one did not happen in the other farm.
    At least other people have that one and I could just use the farm admin instead (still troublng of course).

    Ok,
    Here is the problem:
    When creating a mysite from powershell or script, apparently you can ONLY do this from a wfe (or a server running Microsoft SharePoint Foundation Web Application in services on server).
    You CANNOT create mysites from script on your appserver if it is not also a Web Application Server. I confirmed the same is true in my test farm. I guess I was always running most of these scripts on the webserver.
    I searched all over and cannot find this documented anywhere.
    Who do I contact to have Microsoft document this?
    It's Thursday morning, I've been working non stop since Saturday morning so you don't have to :)

  • Error while creating activities from Account application (Activity tab page

    Hi Experts,
                       We are using CRM 5.0 with PCUI ( EP 7.0 version). We are getting  below error when try to create activities from Account application in PCUI ( from activity tab page):
    Error : Activity contains error.
    Diagnosis
    This transaction has errors.
    Procedure
    To correct the errors, go to the maintenance interface of the transaction.
    To navigate to there, use the link to the account application
    Pls suggest how to proceed with this error & helpful solutions would be rewrded generously.
    Regards,
    Basavaraj Patil

    Hi Experts,
    We are getting this error when try to create Activity from Account application in PCUI. But the same thing is working fine in at GUI level & actions profile assigned to Activity transaction is also working fine at GUI level. But in PCUIit is throwing this below error.
    Diagnosis
    You have attempted to create a follow-up transaction for an incorrect transction 2000764. This is not possible. You can only create follow-up transactions for error-free transactions.
    System Response
    The follow-up transaction is not created.
    Procedure
    Correct the errors in the source transaction 2000764. The error messages resulting from processing the error can be read in the application log in the source transaction.
    Pls suggest solution for this.
    Thanks in Advance.
    Regards,
    Basavaraj Patil

  • Error while reading PO  message when creating confirmation for PO

    Hi all,
    We are on SRM 5.0 SP 13. Extended Classic.
    While creating confirmation for PO in the system,whenI click on the CREATE CONFIRMATION icon,I get the following error:
    Error while reading PO in backend system.Inform System admin.
    when I goto change the PO,I get the foll errors:
    System of purchasing organization O 00000152 and purchasing group O 00000126 differ
    Organization O 00000126 is not a purchasing group; Inform system administration
    Organizational unit O 00000181 is not permitted as purchasing organization
    Purchasing group O 00000126 is not assigned to purchasing organization O 00000152
    On further analysis,I found that the issue is mainly because f the Porg /Grp assigned in the PO doesnt exist now in the org structure in PPOMA_BBP.
    Can I change the Porg/grp now in the PO ?If so,how do i do that ?when i go to the dropdown for the Porg/grp it doesnt show me all of the current Porg/Grps maintained in the Org structure?How does the system determine which P org /grp to show in the value help for these fields under BASIC DATA tab in POu?
    Please advise how I can get rid of this error.
    Thanks!
    Edited by: Rads1234 on Nov 29, 2010 7:40 PM

    Hi Gurus,
    We are on SRM 7 and we are currently facing the same issue.
    In our case, when a PGroups is deleted and unassigned, an interfase from HR is raised and i the SRM PPOMA the Pgroup is not valid anymore and unassigned from the Purchasing Organization.
    Once this happens, we face a blocking issue for all the documents created with Purchasing Groups that has been deleted.
    These documents cannot be processed anymore and and error saying that Purchasing group is not assigned to purchasing organization... is raised.
    Currently we are manually mantaining the validity of the Purchasing Group via PPOMA and transaction PP01. We put the validity to unlimited and the documents can be processed again.
    Anyway we would like to avoid this manual update and to have a false information in te system where the PGroup will be shown as valid while it has been deleted in the past.
    Could you please advise on the best solution on it?
    Many Thanks in advance.
    Best Regards,
    Valentino

  • IOS - Create Event from Messages in Calendar doesn't observe default Alert settings

    I have discovered a bug in the iOS Calendar app. If one gets a text message with a time and uses the underlined link (in Messages) to "Create Event," the newly created calendar item (Event) does not set the alert as defined in Calendar settings.
    For example, my alerts are set (in Settings) to 1 hour, but when using "Create Event" from Messages, the alert is pre-set to none. When creating a new event strictly in Calendar however, the 1 hour alert is set properly for the new event.
    Is this just me, or can others confirm this?
    And does anyone have suggestion for a fix?

    You can send Apple Feedback here: http://www.apple.com/feedback/

  • Create PDF From Web Page Does Not Create Image Maps Properly

    I have a website that contains image maps. When I "Create PDF From Web Page", these image maps are not rendered properly. From what I can tell, this is a BUG within Acrobat, and I'm hoping that people can confirm this for me.
    I created a test page at http://www.quantumdynamix.net/clients/image-map-test/. I placed the images maps my manually coding the coordinate information, so the maps are PRECISELY placed exactly over the squares. Each image map navigates to an anchor corrisponding to the number on the red square.
    When I created the PDF using the "Create PDF From Web Page" feature, the image maps are rendered improperly. This file can be viewed at http://www.quantumdynamix.net/clients/image-map-test/ImageMapTest.pdf. To view the outlines of the image maps, please select "Tools" -> "Advanced Editing" -> "Link Tool". You can see the outlines are substantially incorrect.
    Please confirm that other can replicate this problem. Any solution to this issue would be very helpful!

    I tested this in Acrobat X and the exact same issue occurs
    http://www.quantumdynamix.net/clients/image-map-test/ImageMapTest-AcrobatX.pdf
    This has to be considered a legatimate bug, especially since IMAGE MAPS is listes as one of the supported HTML features via the help files

  • Partial Sales Order Confirmation from BAPI.

    Hi,
    I have B2C process to create order from internet. Right now we are able to create order but problem is if it confirms parital today and partialy in future then it confirm all in future.
    e.g. - I have to create order for 10 quantity.
    - from VA01 if i try to create
                        it will confirm for 4 for today(as 4 quantity available) and 6 for future(say 3/11/10)
    but for the same case in BAPI
    - it will create order for 10 as future confirm (3/11/10)
    Is there any flag i need to set in BAPI.
    I use BAPI - BAPI_SALESORDER_CREATEFROMDAT2

    I already seen that but I think in that we have to use : BAPI_MATERIAL_AVAILABILITY  and it will add time for the creation of order.
    Please let me know is there any other option.

  • Removing/Deleting Errored Confirmations from SRM 5.0 EC

    Hi,
    I would like to know how people remove or delete SRM (5.0) Confirmations that end up failing (Error in Process) in the replication process.
    We have scenarios where our end users will create multiple SRM Confirmations for the same reference document if the initial one fails in the transfer process. The if they canu2019t figure out why they are failing, will resort to ML81N in the backend system to complete the process.
    The end result is we have multiple SRM u2018Error in Processu2019 confirmations for the PO that we would like to remove from the SRM system.
    We havenu2019t found a standard way of removing them from the system, is there a method we could use to remove/delete them?
    Thanks,
    Jerry

    Hi R/Reddy,
    thank you for your suggestion.
    I coded up a program using the function module and it can be used to delete Confirmations.
    The thing that I'm unsure of and worried about is that if I delete the errored Confirmation from the system using this low level function module I'm bypassing application business logic that maintains the document integrity.
    Have you used this technique to deal with this type of a problem or are you just saying that this function module is available to delete confirmations?
    If these 'Errored' confirmations didn't create any documents/transactions in the backend system and since they appear to not be associated with the PO and item in the PO Item Follow-on Documents display, then are they nothing more that a document that is stuck in limbo due to it's errored status and have no relevant value to the process? 
    If yes, then is that the only place that the document needs to be deleted from?
    Thanks,
    Jerry

  • I need help to create  idoc from scrach.

    i need help to create  idoc from scrach.

    Swamy Katta,
    Please read "[the rules|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement]" before you post any further, and confirm that you have read them?
    => Search first, ask questions later please!
    Julius

  • PO confirmation from Customer Backend System

    Dear experts,
    I'm implementing SMI scenario with SAP SNC 5.1. I was traying to send a PO confirmation from Custoemr Backend system (ECC) to SNC.
    The process is this:
    1) Supplier creates and publish a Replenishment Order in SNC
    2) SNC sends to Custoemr backend system (ECC) the message VendorGeneratedOrderNotification.XML that is converted by SAP PI in to ORDERSP.ORDERS05 message.
    3) Customer backend system (ECC) receives this message and creates the PO.
    4) Customer backend system sends a message to SNC to confirm the PO creation.
    My question is about point 4, for this communication I'm using VendorGeneratedOrderConfirmation.XML (as described here http://help.sap.com/saphelp_scm2007/helpdata/en/46/77adcbf9cf0ad3e10000000a11466f/content.htm ), the IDOC I'm using is ORDRSP.ORDERS05 but I have a problem with mapping because there are some data missing.
    Is this combination ( ORDRSP.ORDERS05 > VendorGeneratedOrderConfirmation.XML ) correct for this type of communication?
    If not what kind of message should I use to send a PO confirmation from Customer backend system to SNC?
    Thank you in advance for your support.

    Hi Team,
    RO confirmation in SNC should be done with ReplenishmentOrderConfirmation_In as this is done by customer.
    If you see in help link
    VendorGeneratedOrderConfirmation
    The customer back-end system sends a purchase order confirmation to SAP SNC. This is used, for example, when SAP SNC awaits purchase order number assignment from the customer back-end system.
    VendorGeneratedOrderConfirmation is used when SNC needs purchase order number assignment.
    Regards,
    Nikhil

  • Create TO from material document automatically

    Hi Experts,
    I'd like to ask for a solution about Create TO from material document automatically.
    Business Scenario:
    Normally, user will create TO from material document by LT06, then confirm it by LT12. If there is no stock on the shelf at the time when user confirms it, user will put quantity zero when confirmation by LT12, then user will create a new TO according to same material document.
    Requirement:
    According to scenario above, if there is no stock on the shelf, user wants to create a TO from material document automatically when he confirms the first TO.
    here I'd like to ask if there is any solution on it?
    We tried to use user exit: EXIT_SAPLL03T_002, and call transaction in it.
    but result is: first TO is not confirmed with zero quantity yet, so new TO can not be created.
    Please tell if there is any other solution, many thanks.
    Best Regards,
    H.B

    Hi
    To my understanding at the first time when TO is created for the material document and stock is not available using the available user exit in TO confirmation u can forcibly confirm the TO but for the second time TO creation and confirmation there wont be any trigger point( as bcz we have config to create TO immediately ony when mat doc is created) so for that u need to schedule a job for creation and confirm of TO's for the open mat documents.
    Regards
    Amarnatha

  • Create Reconnection from CRM Web-IC for Utility

    Hi Experts,
    We have set up an Interaction Center for Utilities. If a utility customer calls the center for reconnection/ disconnection of his meter request, then the IC Agent logs in with a business role assigned to him, identifies and confirms an account.
    We can't create a disconnection document in CRM itself. We would perhaps need to use a Transaction Launcher.
    However, is there a standard way of creating Reconnections from CRM Web-IC?
    Thanks
    Avik

    Hi,
    If we want to create disconnection/reconnection from crm web UI than we can use transaction launcher, otherwise we have to proceed in isu to create disconnection/reconnection document and order.
    Because we do not have any such process in CRM to complete the process of disconnection/reconnection.
    Or else you can create a notification from CRM than further processing can tak place in ISU.
    Regards,
    Ripunjay.

Maybe you are looking for

  • Creating a 3-D Cylinder

    I want to 'draw' a vertical cylinder in 3-D to use as a pedestal on which to display various sculpture pieces. Using the ellipse tool, I have created a relatively flat ellipse in Layer 1 and have painted it a light gray to represent the top of the pe

  • ThinkPad T61P (6460-D8G) - which SATA interface?

    Hello, I'd like to add a second hard disk to my ThinkPad T61P (model 6460-D8G). I came up with a couple of possibilities; 1) Hitachi Travelstar 7K320 160gb  (model HTS723216L9A360)  * this drive has an SATA 3GB/s interface !!! 2) Hitachi Travelstar 7

  • Focus event with JTabbed pane

    How do I set FocusListener to fire with I select a specific tab in a JTabbed pane? If I put the FocusListener on the Tabben pane it fires rquardless of which tab I select and if I try to use an if statement to single out a specific tab nothing happen

  • Where are udump,cdump,bdump  trace files in grid control?

    Hi All I want to show all the trace file those are in bdump,udump and cdump. Where can I find those file or information in Grid control? Thanks, Vishal Message was edited by: vishal patel Message was edited by: vishal patel

  • Missing Windows Icons on JNLP app?

    Jave Web Start fans: We have been using Java Web Start since it's inception to deploy a laboratory management application onto the desktops of folks that use our laboratory .... and it's great, in our experience. Our software has been deployed to a n