Add_drv fails to attach: probe not called after init

i am trying to add_drv a simple pseudo-device driver. i have basically
copied the pio sample driver code available elsewhere on this website.
i've compiled using forte c5.0, and am trying to load on an ultra 5 running solaris 8.
i have tried loading both 32 bit and 64 bit versions.
as this is a pseudo driver (there is no real device yet... i just want to test the load/unload stuff), i have an xxprobe routine which always returns DDI_PROBE_SUCCESS.
let's say the driver executable is named relidrv, which i copied to /usr/kernel/drv or drv/sparcv9 (depending on 32 vs 64 bit'ness of the build)
i have a simple relidrv.conf which simply contains name="relidrv", parent="pseudo" and instance=0.
then, as root:
add_drv -v relidrv
gives me:
exit status = 0
devfsadm: driver failed to attach: relidrv
exit status = 11
Warning: Driver (relidrv) successfully added to system but failed to attach
i put some cmn_err(CE_WARN,...) calls in init(), probe(), and attach(). the init() call returns 0, all well and good. however, according to my cmn_err output, probe is never called, neither is attach.
suggestions?

in a previous thread by murraystokely, the answer appears. a very big thanks to both mause and murray...
the problem was that the driver itself lived in /usr/kernel/drv/sparcv9, but the conf file should have gone into /usr/kernel/drv.
hint for whoever writes the next revision to the Writing Device Drivers manual... mention this!

Similar Messages

  • Urgent Please.. ejbStore is not called after ejbCreate..

    Hi all,
    In one of the beanmanaged entity bean, the ejbStore is not called after ejbCreate. I am using wblogic 6.1 server. I've also coded similar types of entity bean and those are working perfectly.
    I am getting the following exception message when I call the create method from the client.
    java.lang.NullPointerException
    at weblogic.ejb20.locks.ExclusiveLockManager.unlock(ExclusiveLockManager.java:222)
    at weblogic.ejb20.manager.ExclusiveEntityManager.afterCompletion(ExclusiveEntityManager.java:466)
    at weblogic.ejb20.internal.TxManager$TxListener.afterCompletion(TxManager.java:421)
    at weblogic.transaction.internal.ServerSCInfo.callAfterCompletions(ServerSCInfo.java:466)
    at weblogic.transaction.internal.ServerTransactionImpl.callAfterCompletions(ServerTransactionImpl.java:2105)
    at weblogic.transaction.internal.ServerTransactionImpl.setCommitted(ServerTransactionImpl.java:2077)
    at weblogic.transaction.internal.ServerTransactionImpl.globalRetryCommit(ServerTransactionImpl.java:1938)
    at weblogic.transaction.internal.ServerTransactionImpl.globalCommit(ServerTransactionImpl.java:1882)
    at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:219)
    at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:188)
    at weblogic.ejb20.internal.BaseEJBHome.postHomeInvoke(BaseEJBHome.java:373)
    at weblogic.ejb20.internal.EntityEJBHome.create(EntityEJBHome.java:210)
    at com.emirates.dacs.logical.datamanagement.misc.customer.CCustomerBean_g1748h_HomeImpl.create(CCustomerBean_g1748h_HomeImpl.java:86)
    at com.emirates.dacs.logical.datamanagement.misc.customer.CCustomerBean_g1748h_HomeImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:288)
    at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:93)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:257)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Thanks in advance

    To answer your question partly -- as per the EJB specification, the ejbStore is called after the invokation of the business method and not ejbCreate method.

  • Services for Object (GOS) Attachement List not showing after attachment

    Hi All,
    I have created a new entry for the Generic Object Service List and this links to a copy of the CL_GOS_SRV_ATTACHMENT_CREATE class (Create attachment) with some additional logic. However, after attaching a file, the "Attachment List" does not become available until after I re-enter the transaction. The attachment list is showing the correct attachments.
    After some (understatement...) investigation, I found that even if I try and link the new service to a unchanged copy of the CL_GOS_SRV_ATTACHMENT_CREATE service in SGOSATTR, it is not working. It is attaching fine, but the "Attachment List" entry in the Services for Object Menu is still greyed out. If I attach the original class CL_GOS_SRV_ATTACHMENT_CREATE to the newly created entry it works fine. e.g. straight after I attach a file to the transaction, the menu entry becomes available.
    I can't find where the re-draw of the GOS menu happens and hence can not determine what is going wrong. Does anybody know if this is part of the Kernel or is this actually done in ABAP ?
    Am I missing something ? Debugging including system debugging for two days now and can't find it... very frustrating.
    Any help would be appreciated.
    Thanks,
    Wouter.

    Hi Wouter,
    I had originally posted to ask if you had resolved this since I was facing the same issue, but then deleted my post when I was able to get it working. Sorry, I didn't mean to initiate a flurry of activity in such an old thread.
    My scenario is I created a new GOS service entry in table SGOSATTR using transaction SGOSM. My new service uploads attachments to an external document management system via a call to a RESTful web service. The class I use in the SGOSM entry is a custom subclass of CL_GOS_SRV_URL_CREATE.
    I resolved this issue by taking a look at what CL_GOS_SRV_URL_CREATE does in its EXECUTE method. The key bits to refresh the GOS Attachment List with the new attachment are...
    raise event commit_required. " if SGOSM has the commit flag checked
    raise event service_succeeded
           exporting eo_service = me.
    These events tell any subscribers to go do their thing-- which in this case includes a refresh of the GOS Attachment List. So in the EXECUTE method of my custom subclass, after I call function BINARY_RELATION_CREATE, I raise these events...
    CALL FUNCTION 'BINARY_RELATION_CREATE'
       EXPORTING
           obj_rolea     = gs_object
           obj_roleb    = rel_doc
           relationtype = 'URL'
       EXCEPTIONS
           OTHERS       = 1.
    CASE sy-subrc.
       WHEN 0.
           MESSAGE s043(sgos_msg). " The attachment was successfully created
           RAISE EVENT commit_required.
           RAISE EVENT service_succeeded
                 EXPORTING eo_service = me.
       WHEN OTHERS.
           MESSAGE s042(sgos_msg). " The attachment has not been created
    ENDCASE.
    I hope this is helpful to you even though your initial implementation was a while back. Thanks for replying to my question though!!
    Cheers,
    Amy

  • Network driver attach routine not called

    I'm writing a STREAMS device driver for a PCI network card.
    When I add the driver using add_drv (as described in the
    ae sample from sun), my driver's info, init, and then _fini
    routines are called.
    Can someone offer any suggestions on how to figure out why
    it is failing to attach my driver?
    Thank you,
    Pete

    Hi Pete,
    I encountered the same problem, and, unfortunatelly, didn't find something stupid.
    Maybe you could help me with your solution?
    Thanks,Ran!

  • ViClose session not called after Read operation Timeout in an IVI COM driver

    Hi everybody
    I have a small VI sample that is initializaing an IVI COM driver for an OPM instrument, set some parameters into the instrument then is doing a single Read power measurement. My Read operation receives a single parameter called MaxTimeout that user could change depending on his own interest. Inside the Read function I change temporarily the VISA query timeout to user timeout but at the end of Read operation the original VISA session timeout is reverted to its original value before Read operation was called. If the Read operation timeout is long enough for the Read operation to complete ( 100 ms or more) the VI is doing its job and when finished the viClose is called twice for DefaultHandler and for OpenHandler.
    If the Read operation timeout value decrease ( 50 ms) then Read operation could not be completed and a Read Operation Timeout error is thrown from inside this method. This error is then propagated trough Error path until the VI end in a Simple Error Handler. Now on my VI I close all open references to my driver interfaces but I don't know why VISA itself is not calling viClose on the DefaultHandler and OpenHandler as in the case when was no VI error. I could see all these diferences in my NI Spy window and I could post this if that could be of any help. Bear with me cause I am more a C, C++, VB programmer and much less of a LabVIEW programmer. BTW the Error Handling from LabVIEW looks a a little weird and the only sure thing is that I wired in Error In and Error Out path in all my VI calls. What kind of error handling should I perform on the Read method in order for VISA to close properly both OpenHandlers even if there is an error in my VI?
    Thansk
    sorinvalea

    So viClose is not called by VISA after an error takes place in a VI that is calling some operations on an IVI COM driver.
    I discovered that all VI sessions opened trough VI that encountered a timeout error in Read operation and that were not properly closed after VI completed are in fact viClose by the LabView itself when I am closing LabVIEW application.
    So these left over open vi sessions are kept aside by LabVIEW until it closes itself and then clean them one by one by calling viClose on them....

  • DefaultTableCellRenderer is not called after fireTableStructureChanged()

    I have a simple JTable application, the data model gets changed and fireTableStructureChanged() is called which repaints the table and I see the modifications.... However the DefaultTableCellRenderer is not called for each row in the modler. So, if I have any colors, or text size differences from the default, this all goes away as the renderer process is not called when the jtable is repainted. Is there anything Im missing? I have tried calling repaint and varous other "repaint" things on the table etc... Note initially when the JTable is displayed all works fine, the DefaultCellRenderer routine is called on each row.... Its only after fireTableStuctureChanged is called it doesn't happen... Thanks for your response.., Jay Schrock

    I had the same problem and the following solved it to some extent.
    Before creating the table I created a DefaultTableColumnModel and added TableColumns to it using
    the TableColumn(int index, int width, TableCellRenderer renderer, TableCellEditor editor) constructor.
    Then I created the JTable with the JTable(TableModel, TableColumnModel) constructor. This works fine and does not lose the renderer and editor when the model data is changed.
    Please let me know if you find anything wrong with the above way.

  • ADF VO Row Fetch Range Issue: Action is not called after 10th row

    Hi People!
    I am working with an Application here in which one page has a table based on a view object. This table has range navigation, and the VO configuration for Tuning is to fetch rows in batches of 1000, all in one fetch. Now, i have a single selection configured in this table, and also a button on the <tableActions> facet which calls a method on the backing bean.
    The problem is, for the first 10 rows of this table, the method is called (seen through the debugger), but when we move the selection to the 11th row or further, the page only refreshes but does not call the method.
    This is not a problem with the data, because we tried two other approaches:
    1) removed the range navigation and shown all the records in the same page: the error persists for the 11th row ahead
    2) changed the VO query to return only the 11th row from the previous test using its ID: the action is called, now that the row is the first on the rowset.
    Have you experienced similar behavior? Why the Action is not executed when the selected row comes after the tenth row?
    Any help is greatly appreciated!
    Regards
    Thiago Souza

    Hi Frank, thanks for the reply.
    I have assembled a step-by-step based on the HR schema. For this example, i have created an EmployeesVO based on the EMPLOYEES table, and an App Module to provide a data control. From then on:
    1) Create a JSF JSP to list the Employees VO
    1.1) Bind the JSF Page to a Backing bean
    1.2) Create an af:page element on the page
    2) Drag the EmployeesVO from the Data Control Palette to the af:page
    2.1) Read-Only Table, Selection Enabled
    2.2) Do not include table navigation.
    3) Double-Click the automatically created submit button on the TableSelectOne section
    3.1) Bind it to a method on the Backing Bean
    3.2) Add some code to it, in my case i tested:
         FacesContext.getCurrentInstance().addMessage(null, new FacesMessage("Teste"));
    4) Run the example and try two approaches:
    4.1) select one of the first ten rows and click on the button: The action is fired.
    4.2) select the eleventh row and click on the button: The action is not fired.
    4.3) select one of the first ten rows again and click on the button: The action is fired.
    This example didn't even include range navigation, but if you want to test you will see the result is the same.
    Please let me know if you want further info.
    Thanks a lot!
    Thiago Souza

  • ADF - ReturnListener not called after many clicks in dialog window

    Hi all,
    I´m using ADF dialog framework to implement a re-usable pop-up search window. Everything works fine except when the user performs serveral (more than 8) searches in the pop-up window.
    When this happens the returnListener is not called and the selection is not made.
    I´m using ADF with MyFaces.
    JSP # 1:
    <af:commandLink id="btn_buscar" styleClass="lin1" partialSubmit="true" useWindow="true" windowHeight="400" windowWidth="400"
    action="#{bean1.buscarAction}" returnListener="#{bean1.cargarAL}" immediate="true" text="#{bundle.abm_general_buscar}">
    </af:commandLink>
    Bean1:
    public String buscarAction() {
    return "dialog:busqueda";
    public void cargarAL(ReturnEvent evento) {
    long idSeleccion = (Long) evento.getReturnValue();
    try{
    if (idSeleccion!=0){
    getFormulario().setId(idSeleccion);
    getFormulario().cargarRegistro(FacesUtils.getUsuarioBean().getUsuario(),true);
    }else {
    inicializar();
    catch (IExcepcion e) {
    FacesUtils.addErrorMessage(e,true);
    inicializar();
    refrescarFormulario();
    JSP # 2 (Dialog):
    <af:commandLink actionListener="#{bean2.elegirAL}" text="#{bundle.abm_general_elegir}"/>
    Bean2:
    public void elegirAL(ActionEvent e){
    AdfFacesContext afContext = AdfFacesContext.getCurrentInstance();
    afContext.returnFromDialog(getValorElegido(),null);
    afContext.getProcessScope().clear();
    I read lots of tutorials about ADF dialog framework with no luck.
    Any help will be apreciated,
    Thanks in advance.
    Gabriel

    Please see post [SOLVED] Re: ADFFaces: returnFromDialog fails to invoke return listener aft for resolution.

  • PDF e-mail attachment will not open after FF update

    FF 31 and/or 32
    Outlook or GroupWise fat client
    PDF attachments
    After FF updated PDF's were re-associated with FF not the installed PDF program. Used Windows to re associate PDF's to PDF program. No problem, all PDF's open in PDF program UNLESS the PDF is an attachment in an e-mail.
    Open e-mail fat client (doesn't matter the client) try and open the PDF and user gets message stating there is no program associated with attachment. Yet, all PDF's still open with correct PDF program as long as they are not in the e-mail. Now here's the really weird part.....
    If there are two or more PDF's attachments in the same e-mail the first one will not open but the second, thirds, etc attached PDF's will open with the correct PDF program.
    The only temporary solution I have found is to uninstall FF, re-install it and for a 1/2 day the issue goes away. I have not figured out the trigger that resets the issue.
    FF is my go-to browser, but since v 31 this has been happening and if it keeps up, I'm switching to Chrome.
    Come on Tech Support, help us out with this issue.

    Sorry you're having this problem. I think it was previously reported only by Windows XP users.
    When you reinstall, were you making Firefox your default browser? Some users have reported that ''not'' making Firefox the default browser was an effective workaround.
    However, you may have success with this approach, suggested by a user in another thread, which appears to more thoroughly update the Windows registry:
    # Open Adobe Reader / Acrobat
    # Edit->Preferences
    # In the Categories column click 'General'
    # Near the bottom of the page click the button marked 'Select Default PDF Handler'
    # In the dialog, select 'Adobe Reader XI' (or Adobe Acrobat, as the case may be) and click 'Apply'
    # A Windows Configuration screen will appear. Allow it to do its stuff (takes a few minutes), then restart your computer when prompted.
    Does that resolve the issue for you?

  • TextBox.onInputMethodTextChanged not called after focus is lost

    Hello!
    I'm using NetBeans 6.9 Beta.
    I have declared the following function:
    function onInputTextChanged(ime:InputMethodEvent):Void
            println("Called");
            var str = ime.node.id.split(":")[2] ;
            var mal:Double = Double.parseDouble(str);
            var num:Double = Double.parseDouble(ime.committed);
            dto.setMassa(mal,num);       
            var tbPRA:TextBox = scene.lookup("tb:PRA:{str}:mm") as TextBox ;
            tbPRA.text =  (dto.getPRA(mal)*100).toString();   
       }Which is associated to onInputMethodTextChanged event for the following TextBox components:
           tbP2mm.onInputMethodTextChanged = onInputTextChanged ;
           tbP15dmm.onInputMethodTextChanged = onInputTextChanged;
           tbP06dmm.onInputMethodTextChanged = onInputTextChanged;
           tbP03dmm.onInputMethodTextChanged = onInputTextChanged;
           tbP15cmm.onInputMethodTextChanged = onInputTextChanged;
           tbP75mmm.onInputMethodTextChanged = onInputTextChanged;According to [http://java.sun.com/javafx/1.3/docs/api/javafx.scene.control/javafx.scene.control.TextBox.html] it should be called when the component looses focus. But it isn't called in the test run when I TAB or mouse out of any of the textboxes.
    Howcome?
    TIA
    Rafael Felix

    You need to re-examine the logic of handling nulls. You can only change one of the spinners at a time. So if the one spinner is null then the other will also be set to null.

  • E5-00 - Not syncing after inital setup.

    Good afternoon all,
    We recently bought a Nokia E5-00 from Orange and I set it up to look atour OWA server like countless Windows Mobile & iPhones in the business it worked perfect, everything synced fine.
    Gave it the user & away they went. But as of the initial setup emails/meetings/notes/contacts/etc aren't coming through.
    Tried a factory reset, same situation.
    Logs attached. I think this is the important bit:
    15/09/2010 2:55:49 Profile Updated
    15/09/2010 2:55:50 PeakTime active
    15/09/2010 2:55:51 PING Command Requested
    15/09/2010 2:55:57 Error occurred during Ping.
    15/09/2010 2:55:57 Exception during Ping.
    15/09/2010 2:56:00 Setting OFFLINE Status to True
    15/09/2010 2:56:03 PeakTime active
    15/09/2010 2:56:03 Setting OFFLINE Status to False
    15/09/2010 2:56:04 PeakTime active
    15/09/2010 2:56:04 PING Command Requested
    15/09/2010 2:56:04 Cancel Job:104, Type:"PING Job- Always-Online":
    15/09/2010 2:56:11 Setting OFFLINE Status to True
    Attachments:
    admin_log1.txt ‏41 KB

    Up it goes, really want to sort this as we're intending on buying a lot more of these phones if this one works!

  • Decode function not called for a custom component

    I know this problem happened in the past - in the EA2, EA4 and I believe the beta version as well, but does anyone know if it has been solved for the release ?
    In short - I'm working with the release, created a menuBar component and the decode method in the renderer is not called after I submit the page. In the past, there were rumors that this happened due to relative paths in the JSP (for js files, images, etc.).
    Does anyone else have this problem ? or better , know how to solve it ?
    Thanx,
    Netta.

    It's not that simple - The component is getting rendered, all the encode methods are called and the decode is called also , but only the first time the form is submitted.
    I added this custom component to the guessNumber application, and I have a menuBar in the greeting.jsp that leads to the response.jsp and vice versa. it looks like this in the greeting.jsp page -
    <!-- Start Menu -->
    <t:MenuBar id="bar1" styleClass="myClass" >
    <t:Menu id="menu1" name="menu1">
    <t:Menu id="menu2" name="menu2">
    <t:MenuItem id="item2_1" name="item2_1" action="/mytest/guess/response.jsp"/>
    <t:MenuItem id="item2_2" name="item2_2" action="http://www.msn.com"/>
    <t:Menu id="menu3" name="menu3">
    <t:MenuItem id="item3_1" name="item3_1x" action="http://www.msn.com"/>
    </t:Menu>
    </t:Menu>
    </t:Menu>
    <t:MenuItem id="item3" name="item3" action="http://www.cnn.com"/>
    </t:MenuBar>
    <!-- End Menu -->
    In the response it looks like this -
    <!-- Start Menu -->
    <t:MenuBar id="bar2" styleClass="myClass" >
    <t:MenuItem id="item3" name="item3" action="/mytest/guess/greeting.jsp"/>
    </t:MenuBar>
    <!-- End Menu -->
    and every time a menuItem is clicked on, the JS calls submit form.
    Since the menus are rendered, I assume there's nothing wrong with the rendererType and any other renderer problem. Since the decode is called only once, I assume the right form is being submitted.
    So, what can cause it to stop calling the decode ???
    Could it be that becase I go directly to the page and not through the navigation rules ( I call window.open directly from the JS), it creates a problem ??
    Please help, I've been wasting so much time on this !
    Netta.

  • RFC call failed: JCO.Server could not find server function 'SET_SLD_DATA'

    Hi, All
    the system is PI 7.0 EHP1 oraclei Win2003 server, I configured SLD but I run RZ70, having error "RFC call failed: JCO.Server could not find server function 'SET_SLD_DATA' ". I know there are lot of tread about this error, but none of themsolve my problem. all JCO, RFC connections and SDL DATA supplier(VA) seem OK. error message in SM21 is "Could not send SLD data"
    detail from SM21
    The system could not send the data that has been collected automatical
    for the System Landscape Directory (SLD). Check whether the gateway
    configured in transaction RZ70 has been started and whether the SLD
    bridge has been registered with this gateway.
    You can use transaction SM59 to check this in the sending system for t
    implemented RFC destinations. The RFC destinations have the standard
    names "SLD_UC" for Unicode sending systems and "SLD_NUC" for non-Unico
    sending systems. If a different RFC destination has been entered in
    RZ70, check this destination instead.
    You can use the Gateway Monitor to check the target gateways. In ABAP
    systems, this monitor is started with transaction SMGW, or you can use
    the external SAP program "gwmon". Check whether the specified gateway
    has an active registration.
    OF COURSE I checked  RFC of  SLD_UC and SMGW
    any different ideas
    Regards
    ABH

    Hi
    Please check the following notes are implemented
    Note 906454                           
    Note 907729
    You may be aware but if you are not --->RZ70 creates the required SLD* RFCs during runtime - therefore if you have defined these RFCs manually first using the same namespace you can get RFC conflicts which result in a failed submission    
    Please also check the user in the RFC is known to both systems and has required authorization to write to SLD
    Generally with SLD you have to install or select a suitable gateway to handle incoming data supply traffic
    Also the gateway you are using has be known to SLD and reflected in RZ70 - i.e these defintions have to be the same
    It is also recommended to delete all references to SLD_* RFCs in data supplier and target SLD
    after a failed submission attempt to allow RZ70 to recreate these consistently once the above has been checked
    Best wishes
    Stuart

  • System not starting after Unicode conversion:R3trans fails

    Hello
    We are performing a Unicode upgrade on an ECC 5.0 system. The ECC 5.0
    is a MDMP System. After completing Unicode preparatory activities, we
    have started to perform a system export using SAPINST. Export completed
    successful.
    We started with the system import using SAPINST.
    The database load phase completed. Update statistics phase is in
    progress on SAPinst.
    In the meanwhile we did a check of R3Trans check we observe:
    R3Trans u2013x is successful.
    But, R3Trans u2013d fails with the error below.
    u201CThis is R3trans version 6.13 (release 640 - 17.02.10 - 13:07:00).
    unicode enabled version
    2EETW000 I have some problems during TADIR access.
    R3trans finished (0008).u201D
    Thanks

    Workprocess Log
    ======================
    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Server i3lbwvbw1_BI7_00 on host i3lbwvbw1 (wp 1)
    M  *  ERROR       ThInit: db_connect
    M  *
    M  *  TIME        Wed Mar 16 13:17:05 2011
    M  *  RELEASE     701
    M  *  COMPONENT   Taskhandler
    M  *  VERSION     1
    M  *  RC          13
    M  *  MODULE      thxxhead.c
    M  *  LINE        10916
    M  *  COUNTER     1
    M  *
    M  *****************************************************************************

    M  PfStatDisconnect: disconnect statistics
    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >BtcCallLgCl< for event BEFORE_DUMP
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   730]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  262]
    M  Entering ThSetStatError
    M  ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
    M  Entering ThReadDetachMode
    M  call ThrShutDown (1)...
    B  dbtbxbuf: Buffer TBX_SINGLE not available
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 1 3900) [dpnttool.c   334]
    ============================

  • After SRM 5.0  upgrade BBP_DRIVER_DETERMINE not calling properly?

    Hello,
    We have upgraded our system from SRM 4.0 to SRM 5.0.Before upgrade we are using BBP_DRIVER_DETERMINE to determine function to create PO. If is b470_po_create function then use zb470_p0_create function.
    After upgrade we have tested and found that zb470_p0_create is not calling. We put a brakpoint in the implementation of BBP_DRIVER_DETERMINE it will never stop there. Before it was stopped there.
    Can any one have flow how PO will create in backend system in Calssic scenario please share(with function module and BADI names).
    Please tell me flow after click on order in SC  how PO will create in backend.
    Please let me know ASAP..bcoz it is urgent..

    Hello venkatesh,
    The standard process flow as far as i know are  as below:
    1. once you order teh shopping cart the workflow asscociated  get triggered  and shopping cart would go through approval process.
    2. Once the shopping cart is approved  the status is set to released.
    3. With the change of stauts "BBP_REQREQ_TRANSFER is triggered.
    4.BBP_REQREQ_TRANSFER internally calls BBP_PD_SC_TRANSFER_INTERNAL for new structure(version of SRM)
    5.Badi is called to group the PO if implemented else standard way fo SRM for grouping of PO iscarried.
    6.Then SPOOL_PO_CREATE is triggered for backend PO creation.
    7. Then  FM META_PO_CREATE is called.
    8 Then FM META_BAPI_DISPATCH is  called.
    9. Inside FM META_BAPI_DISPATCH u have the  BAPI  BBP_DRIVER_DETERMINE Called. if this  badi is implemented  it will go to implementation of badi and overwrite the FM name  with  Function module that SAP determine from table "BBP_FUNCTION_MAP".
    request you to put a break point at META_BAPI_DISPATCH and check  why its not going to your BADI implementation.
    10. then the function module from "BBP_FUNCTION_MAP or you badi implementaion is called and proceesed further to result in PO.
    If for some reason  the "SPOOL_PO_CREATE" fails  then a spool job is created  which spools the creation of PO for later  time.
    Hope this is useful to you .
    Reward point if helpful.
    Cheers
    Iftekhar Alam

Maybe you are looking for