BADI not fetched/reached

Hi Experts,
I have a problem tht,there is a predefined BADI from SAP for grouping of the items in the service order and tht grouping generates a number
in MB23,this we are doing in CRM GUI and its then moving to R/3 and there creating tht number.
The BADI i am using in R/3 is CRM_SRV_GROUP_BADI and implementation as CRM_SRV_GROUP_RS_STD.
this badi is active but its not being triggered when we are actually doing the transaction.
The documentation says the in the start this badi will be inactive and u have to activate it..but in our case it was already active....
Pls reply to this at ur earliest...
Rewards will be given once solution recieved...
thanks,
SA

I'm not quite sure If I understand correctly, but here is something you should know about methods from badi implementation.
These methods are called automatically (if activated) by the runtime system when using the transaction (for example) these implementations are created for in the first place. If you create a class and implement the interface, it does not mean that these interface methods are called automatically.
Even worse, if this class just uses the same interface, it will not be very usefull, because the will only 'work' properly in the correct context (transaction for example).

Similar Messages

  • Mail not fetching new data every 15 with 3g turned off

    I had to turn 3g off in order to improve my reception and battery life. It seems to help somewhat, however I notice that the Mail application does not fetch new mail every 15 minutes like its setup to do. It works fine in 3g mode, just doesnt do it while its on edge. (I think it also works ok on wifi.)

    Perhaps your in an area with awesome 3g reception but really bad Edge. Weird huh.

  • Classic BADi not being called

    Hello Experts... Your kind and expert advice is deeply appreciated...
    We had implemented a BADi in CRM4.0 and that is being called and working alright.
    We are now upgrading CRM4.0 to CRM7.0. With this change classic BADis is not being called.
    Difference I noticed in calling program is that in CRM 4.0 BADIs were pulled/instantiated by factory method. However in CRM 7.0 it uses "GET BADI" command. But since "GET BADI" does not fetch implemented BADi, it throws BADI not found exception.
    - I searched and learnt that "Get BADI" can fetch classic BADIs and there is no need to migrate classic BADIs to new BADIs ...(if I am not wrong)..
    - Also that I re-activated classic BADi in CRM 7.0 but still "Get BADI" does not pulled/instantiate BADi.
    - Also I search to have report "ENH_BADI_ADD_MIGR_INFO" run to create link between Classic and new BADi. Will this work?
    Kindly advice to call classic BADi in CRM 7.0? Appreciate it. Thanks!
    Warm Regards,
    Kalpit

    Hi,
    Check if this BADI is migrated to enhancement spot (In attributes TAB). If yes, you need create an enhancement implementation for
    this BADI.
    Thanks,
    SKJ

  • VB Runtime error timeouts. Could not fetch terms from table: TPW6

    VB Runtime error timeouts are occurring repeatedly for multiple users on the terminal server.
    Event Type:         Warning
    Event Source:     VBRuntime
    Event Category:  None
    Event ID:              1
    Description: The VB Application identified by the event source logged this Application XL Reporter: Thread ID: 13508 ,Logged: Could not fetch terms from table: TPW6
    It looks like bad table reference in XL reports? This is causing significant lag as they wait to time-out. Is there a way to identify source(s) and correct  it/them? Unfortunately the error does not say what report. Is there any way of identifying exactly what the SAP equivalent is to the tables it is having issues finding?
    thanks

    This error may not cause big problems.  We have to live with it for a long time.  It only show XLR with highlight icon on the task bar.  It shouldn't have much bigger impacts.
    Thanks,
    Gordon

  • Item will not fetch values

    Hi all,
    I have a number of fileds on my page that are entered with user-input. Then, I have one hidden-protected field that is composed of 2 concatenated values from another field, so that I can use this field in the automatic row update process.
    However, this composed field does not always (sometimes it does..) fetch the data from the user-input fields, so then month and year are left blank in the composed field and I get an ill formed date (01-- instead of 01-10-2008). A part of the debug shows that the user input fields are filled with data, but the composed field does not fetch the data (see bold parts):
    Debug
    0.01: A C C E P T: Request="CREATE"
    0.01: Metadata: Fetch application definition and shortcuts
    0.01: NLS: wwv_flow.g_flow_language_derived_from=FLOW_PRIMARY_LANGUAGE: wwv_flow.g_browser_language=nl
    0.01: alter session set nls_language="DUTCH"
    0.01: alter session set nls_territory="THE NETHERLANDS"
    0.01: NLS: CSV charset=WE8MSWIN1252
    0.01: ...NLS: Set Decimal separator=","
    0.01: ...NLS: Set NLS Group separator="."
    0.01: ...NLS: Set date format="DD-MM-RR"
    0.01: ...Setting session time_zone to -05:00
    0.01: Fetch session state from database
    0.02: ...Check session 4402719362367456 owner
    0.02: ...Metadata: Fetch Page, Computation, Process, and Branch
    0.02: Session: Fetch session header information
    0.02: ...Metadata: Fetch page attributes for application 21436, page 5
    0.02: ...Validate item page affinity.
    0.02: ...Validate hidden_protected items.
    0.02: ...Check authorization security schemes
    0.02: Session State: Save form items and p_arg_values
    0.02: ...Session State: Save "P5_ID" - saving same value: ""
    0.02: ...Session State: Save "P5_VS_ID" - saving same value: "10"
    0.02: ...Session State: Save "P5_VERBRUIK" - saving same value: "370"
    *0.02: ...Session State: Save "P5_MAAND" - saving same value: "10"*
    *0.02: ...Session State: Save "P5_JAAR" - saving same value: "2008"*
    0.02: ...Session State: Save "P5_USER_ID" - saving same value: "241"
    _0.02: ...Session State: Save "P5_MAAND_OPNAME" - saving same value: "01--"_+
    0.02: Processing point: ON_SUBMIT_BEFORE_COMPUTATION
    0.02: Branch point: BEFORE_COMPUTATION
    0.02: Computation point: AFTER_SUBMIT
    0.02: Tabs: Perform Branching for Tab Requests
    0.02: Branch point: BEFORE_VALIDATION
    0.02: Perform validations:
    0.02: ...Item Not Null Validation: P5_VS_ID
    0.03: ...Item Not Null Validation: P5_VERBRUIK
    0.03: ...Item Not Null Validation: P5_MAAND
    0.03: ...Item Not Null Validation: P5_JAAR
    0.03: Branch point: BEFORE_PROCESSING
    0.03: Processing point: AFTER_SUBMIT
    0.03: ...Process "Process Row of MAANDVERBRUIK": DML_PROCESS_ROW (AFTER_SUBMIT) #OWNER#:MAANDVERBRUIK:P5_ID:ID|IUD
    0.03: Show ERROR page...
    0.03: Performing rollback...
    /Debug
    To compose the P5_MAAND_OPNAME field I do the following:
    Source type: Database column
    Source value or expression: MAAND_OPNAME (name of the db column)
    Default value: '01-'||:P5_MAAND||'-'||:P5_JAAR
    Defaukt value type: PL/SQL expression
    Is this not the right approach? It should work and it does occasionaly, but more often it doesn't...

    Hi Voxie,
    Your approach doesn't work, because you use the Default Property of your item which is evaluated on rendering the page. What you need is a computation which runs right before the insert-process.
    Peter

  • Values r not fetch in internal table

    Hi Frds
    In my report the values are not fetching in the internal table ICOSP
    This is my program ,kindly correct my mistake.
    DATA : WBS LIKE VBAK-PS_PSP_PNR.
    SELECTION-SCREEN: BEGIN OF BLOCK 01.
    SELECTION-SCREEN: BEGIN OF BLOCK 02 WITH FRAME .
    SELECT-OPTIONS PROJECT FOR WBS.
    SELECTION-SCREEN: END OF BLOCK 02.
    SELECTION-SCREEN: END OF BLOCK 01.
    DATA: BEGIN OF IVBAK OCCURS 0,
          VBTYP LIKE VBAK-VBTYP, "SD document category
          AUART LIKE VBAK-AUART, "Sales Document Type
          NETWR LIKE VBAP-NETWR, "NET VALUE OF THE ORDER ITEM
          WAERK LIKE VBAK-WAERK, "SD document currency
          PS_PSP_PNR LIKE VBAP-PS_PSP_PNR, "WBS Element
          END OF IVBAK.
    DATA: BEGIN OF IPRPS OCCURS 0,
          PSPNR LIKE PRPS-PSPNR, "WBS Element
          POSID LIKE PRPS-POSID, "WBS Element
          OBJNR LIKE PRPS-OBJNR, "Object number
          PSPHI LIKE PRPS-PSPHI, "Current project number
          END OF IPRPS.
    DATA: BEGIN OF ICOSP OCCURS 0,
          OBJNR LIKE COSP-OBJNR,
          GJAHR LIKE COSP-GJAHR,
          WRTTP LIKE COSP-WRTTP,
          BEKNZ LIKE COSP-BEKNZ,
          WTG001 LIKE COSP-WTG001,
          WTG002 LIKE COSP-WTG002,
          WTG003 LIKE COSP-WTG003,
          WTG004 LIKE COSP-WTG004,
          WTG005 LIKE COSP-WTG005,
          WTG006 LIKE COSP-WTG006,
          WTG007 LIKE COSP-WTG007,
          WTG008 LIKE COSP-WTG008,
          WTG009 LIKE COSP-WTG009,
          WTG010 LIKE COSP-WTG010,
          WTG011 LIKE COSP-WTG011,
          WTG012 LIKE COSP-WTG012,
          WTG013 LIKE COSP-WTG013,
          WTG014 LIKE COSP-WTG014,
          WTG015 LIKE COSP-WTG015,
          WTG016 LIKE COSP-WTG016,
         SUM TYPE CURRENCY ,
          END OF ICOSP.
    *DATA: ICOSP LIKE COSP OCCURS 0 WITH HEADER LINE.
    DATA: BEGIN OF ITAB OCCURS 0,
          PSPNR LIKE VBAK-PS_PSP_PNR,
          NETWR LIKE VBAP-NETWR,
          END OF ITAB.
    PERFORM IVBAK.
    PERFORM IPRPS.
    PERFORM ICOSP.
    PERFORM MOVE_COSP.
    PERFORM MOVE.
    PERFORM FIELDCATALOG.
    PERFORM BUILD_LAYOUT.
    PERFORM ALVDISPLAY.
    FORM IVBAK.
      SELECT VBTYP AUART NETWR WAERK PS_PSP_PNR FROM VBAK INTO TABLE IVBAK
           WHERE PS_PSP_PNR IN PROJECT AND
                 VBTYP = 'G' AND AUART = 'ZPCQ'.
      CLEAR: IVBAK.
    ENDFORM.                    "IVBAK
    FORM IPRPS.
      SELECT PSPNR POSID OBJNR PSPHI FROM PRPS INTO TABLE
             IPRPS WHERE PRPS~PSPHI IN PROJECT.
      CLEAR : IPRPS.
    ENDFORM.                    "IVBAP
    FORM ICOSP.
    LOOP AT IPRPS.
    SELECT OBJNR GJAHR WRTTP BEKNZ WTG001 WTG002 WTG003 WTG004 WTG005
        WTG006 WTG007 WTG008 WTG009 WTG010 WTG011
        WTG012 WTG013 WTG014 WTG015 WTG016
        FROM COSP INTO CORRESPONDING FIELDS OF TABLE ICOSP
          WHERE OBJNR = IPRPS-OBJNR AND WRTTP = '4'.
    ENDLOOP.
    CLEAR:ICOSP.
    ENDFORM.
    Thanks
    Pari

    hi,
    try this Code
    DATA : wbs LIKE vbak-ps_psp_pnr.
    SELECTION-SCREEN: BEGIN OF BLOCK 01.
    SELECTION-SCREEN: BEGIN OF BLOCK 02 WITH FRAME .
    SELECT-OPTIONS project FOR wbs.
    SELECTION-SCREEN: END OF BLOCK 02.
    SELECTION-SCREEN: END OF BLOCK 01.
    TYPES: BEGIN OF ivbak,
      vbtyp LIKE vbak-vbtyp, "SD document category
      auart LIKE vbak-auart, "Sales Document Type
      netwr LIKE vbap-netwr, "NET VALUE OF THE ORDER ITEM
      waerk LIKE vbak-waerk, "SD document currency
      ps_psp_pnr LIKE vbap-ps_psp_pnr, "WBS Element
    END OF ivbak.
    TYPES: BEGIN OF iprps,
      pspnr LIKE prps-pspnr, "WBS Element
      posid LIKE prps-posid, "WBS Element
      objnr LIKE prps-objnr, "Object number
      psphi LIKE prps-psphi, "Current project number
    END OF iprps.
    TYPES: BEGIN OF icosp,
      objnr LIKE cosp-objnr,
      gjahr LIKE cosp-gjahr,
      wrttp LIKE cosp-wrttp,
      beknz LIKE cosp-beknz,
      wtg001 LIKE cosp-wtg001,
      wtg002 LIKE cosp-wtg002,
      wtg003 LIKE cosp-wtg003,
      wtg004 LIKE cosp-wtg004,
      wtg005 LIKE cosp-wtg005,
      wtg006 LIKE cosp-wtg006,
      wtg007 LIKE cosp-wtg007,
      wtg008 LIKE cosp-wtg008,
      wtg009 LIKE cosp-wtg009,
      wtg010 LIKE cosp-wtg010,
      wtg011 LIKE cosp-wtg011,
      wtg012 LIKE cosp-wtg012,
      wtg013 LIKE cosp-wtg013,
      wtg014 LIKE cosp-wtg014,
      wtg015 LIKE cosp-wtg015,
      wtg016 LIKE cosp-wtg016,
      sum TYPE currency ,
    END OF icosp.
    *DATA: ICOSP LIKE COSP OCCURS 0 WITH HEADER LINE.
    DATA: BEGIN OF itab,
    pspnr LIKE vbak-ps_psp_pnr,
    netwr LIKE vbap-netwr,
    END OF itab.
    DATA : i_ivbak TYPE STANDARD TABLE OF ivbak,
           i_prps TYPE STANDARD TABLE OF iprps,
           i_icosp TYPE STANDARD TABLE OF icosp,
           wa_ivbak TYPE ivbak,
           wa_prps TYPE prps,
           wa_icosp TYPE icosp.
    PERFORM ivbak.
    PERFORM iprps.
    PERFORM icosp.
    *PERFORM MOVE_COSP.
    *PERFORM MOVE.
    *PERFORM FIELDCATALOG.
    *PERFORM BUILD_LAYOUT.
    *PERFORM ALVDISPLAY.
    FORM ivbak.
      SELECT vbtyp auart netwr waerk ps_psp_pnr FROM vbak
      INTO TABLE i_ivbak
      WHERE ps_psp_pnr IN project AND
      vbtyp = 'G' AND auart = 'ZPCQ'.
    ENDFORM. "IVBAK
    *&      Form  IPRPS
    *       text
    FORM iprps.
      SELECT pspnr posid objnr psphi
      FROM prps INTO TABLE
      i_prps WHERE prps~psphi IN project.
    ENDFORM. "IVBAP
    *&      Form  ICOSP
    *       text
    FORM icosp.
      IF i_prps[] IS NOT INITIAL.
        SELECT objnr gjahr wrttp beknz wtg001 wtg002 wtg003 wtg004 wtg005
        wtg006 wtg007 wtg008 wtg009 wtg010 wtg011
        wtg012 wtg013 wtg014 wtg015 wtg016
        FROM cosp INTO CORRESPONDING FIELDS OF TABLE i_icosp
        FOR ALL ENTRIES IN i_prps
        WHERE objnr = i_prps-objnr AND wrttp = '4'.
      ENDIF.
    ENDFORM.                    "ICOSP
    Regards
    Sandipan

  • Crystal Report not fetching data

    Hi Everyone,
    I have a crystal report which is not fetching any data but when I run the same sql in the database the data comes.Can anyone please help me in finding what exactly the problem is.
    Regards,
    Neeraj

    Sorry we can't help you, not enough info.
    See Rules Of Engagement.
    What have YOU done to debug the problem?
    Version of CR and any patches?
    Database connecting to and any patches?
    Version of Database Server and Client?
    How are you connecting, ODBC, OLE DB or Native?
    What error are you getting?
    Don

  • Error: The e-mail server could not be reached when the system was trying to

    Dear All,
    I've configured the Mail Transport in Portal successfully with SMTP as MS Exchange Server and Third-party Mailing servers. But due to some licensing issues a new MS Exchange mail server have been setup replacing the existing ones.
    And when i configure the Mail Transport in the system i get the below message on the eMail Window:
    "Error: The e-mail server could not be reached when the system was trying to send the message!
    javax.mail.MessaginException: 530 5.7.1 Client ws not authenticated
    I've configured (all the steps) the same way as i used to before and restarted the server as well! Please let me know the issue to be resolved, the telnet to the mailserver is also successful. I've try'd searching SDN, didn't find the exact solution... any notes on this?
    Thanks,
    MS

    Hi,
    It will depend on your infrastructure, I am not sure and have limited knowledge on netowrks, but in my current landscape both the system were in same domain, but  still i had to maintain proxy configuration.
    Since it giving authentication error, it feel it could be proxy error.
    Please refer below links which talks about same error :
    http://java.sun.com/products/javamail/FAQ.html#smtpauth
    Or else i think it is issue with port.
    Regards,
    Jigar Oza
    Edited by: jigar oza on Jul 6, 2010 12:43 PM

  • Report is not fetching the data from Aggregate..

    Hi All,
    I am  facing the problem  in aggregates..
    For example when i  am running the report using Tcode RSRT2, the BW report is not fetching the data from Aggregates.. instead going into the aggregate it is scanning whole cube Data....
    FYI.. Checked the characteristcis is exactely matching with aggregates..
    and also it is giving the  message as:
    <b>Characteristic 0G_CWWPTY is compressed but is not in the aggregate/query</b>
    Can some body explain me about this error message.. pls let me know solution asap..
    Thankyou in advance.
    With regards,
    Hari

    Hi
    Deactivate the aggregates and then rebuild the indexes and then activate the aggregates again.
    GTR

  • E-mail server could not be reached when system was trying to send message

    Hi All,
    I have done the settings for mail transport. The same worked fine on development and QA. However, on production, the same settings do not seem to be working I receive message 'The e-mail server could not be reached when the system was trying to send the message', when mail is being sent out.
    The settings is as follows:
    1. Activate Mailing Service by going to
    System Administration à System Configuration à Knowledge Management à Content Management à Mailing Service.
    Ensure Active check box is selected.
    2. Create System Alias by going to
    System Administration à System Configuration à System Landscape
    Go to content area.
    Portal Content à Content Provided By SAP à Collaboration and right click.
    Select New from PAR à System.
    Choose the iview com.sap.netweaver.coll.app.gw  and hit next button. Select Java_Mail option and hit next button.  Enter appropriate System Name and ID and hit next button.  Hit finsh button and open object for editing.
    Select System Aliases from display option and add an alias for the system. Save changes.
    3. Create Mail Transport by going to
    System Administration à System Configuration à Knowledge Management à Collaboration.
       Click Groupware Transports in content area.
       Select Mail Transport on next screen.
       Click New button and create new mail transport definition.
       Give SMTP server being used in organisation, Inbox for ‘Sent messages folder’, and give
       system alias created in step 2 as alias.
    4. Mail channel server too has been set up.
    Thanks and regards,
    Arun

    Dear All,
    I am trying to setup my SMTP mail in WAS7.0 SP4, my motto is to use this setting to send mail out from CAF GP (Approval Form).
    I have given SMTP setting at
    System Administration à System Configuration à Collaboration à Groupware Transports
    System Administration à Universal Worklist & Workflow à workflow à Mail
    Please tell me am in the correct part of configuration of mail or is that any other place to set configurations?
    As our friend (Arun) mentioned in his first thread to activate Mailing Service, i couldnt see this setting in my WAS7.0.
    +1. Activate Mailing Service by going to
    System Administration à System Configuration à Knowledge Management à Content Management à Mailing Service.
    Ensure Active check box is selected.+
    Is there any other settings i am missing?
    The error my CAF GP giving is "The system failed to send an e-mail notification to "
    Your help is highly Applauded
    Thanks! in advance.
    Regards,
    Kishore

  • Lookup in transformation not fetching all records

    Hi Experts,
    In the routine of the transformation of a DSO (say DSO1), i have written a look-up on other DSO (say DSO2) to fetch records. I have used all the key fields of DSO2  in the Select statement, Still the look-up is not fetching all the records in DSO1. There is difference in the aggregated value of the Key Figure of both the DSOs. Please suggest, how can i remove this error.
    Thanks,
    Tanushree

    hi tanushree,
    The code which yu have written in the field routine for lookup is not fetching the data. you can debug the field routine code in the simulation mode of execution of DTP by keeping a break point after the transformation.
    you can test the routine with out actually loading the data..
    double click rule where you have routine and in the below you have option called test routine.
    here you can pass input parameters..
    i hope it will give you an idea.
    Regards
    Chandoo7

  • 0FI_AR_4 not fetching delta

    hi experts,
    i am having problem with 0fi_ar_4, i have run the init with data transfer for this datasource and it went successfully, But delta values are not able to fetch, delta infopackage brings 0 records with green status.
    In rsa7 there are no records for this datasource. I have checked in smq1 also no luws are stuck there
    I have 0fi_gl_4 data source which is working fine with full and as well as delta.
    I have checked in bwom2_timest which has last updated information for  0fi_ar_4 and delta also. But the values in delta run are not fetching.
    The same data source is working fine in development system. I can able to see delta records in rsa7 against this 0fi_ar_4 DS.
    please suggest me ..

    Hi..
    For FI datasources you will not be able to see any data in the delta queue..
    Data will get populated in the delta queue during extraction..
    After init...it writes the entries into the time stamp table BWOM2_TIMEST in the SAP R/3 System with a new upper limit for the time stamp selection...
    Depending on that data will get fetched from the table BKPF based on creation date (CPUDT)...
    For 0FI_AR_4 (AR- line items )Selections are made from tables BSID/BSAD (Accounts Receivable)
    This is for new entries.......
    For changed records data will get fetched from the table BWFI_AEDAT , depending on the time stamp table BWOM2_TIMEST....
    Check the following blog :
    /people/swapna.gollakota/blog/2008/01/14/one-stage-stop-to-know-all-about-bw-extractors-part1
    Regards,
    Debjani.........

  • Net price not fetching to new PO thru' existing PO for same vendor

    While creating new PO for a material system is not fetching "net price" data from already existing PO for same material against same vendor.
    This is happening after attaching OMET settings in User authorisation.
    How to solve this issue?

    Hi,
    This shoudl not happen but still you try in OMET - For the Key, allow indicator "Enter Conditions" and then check.
    Also check if any key has been created in OMFI and assigned to user parameter EVO. - Here in OMFI, check under "Price Adoption" Tab, "Always Copy" radio button should be selected if you want to copy last PO price in current PO.

  • Operation does not fetch in process order

    hi PP-Pi gru,
    when i am creating process order from planed order , operation ( master recipe) does not fetch in process order..only take default operation 10, kindly suggest me how all operation will fetch in process order
    another mater is when assign production profile  in  t- code CORU show the error massage  " production scheduling profile for plant ALIV,order type does not exist"...but we have used stander order type PI01..kindly suggest me
    Rogers
    Aqueel

    Hi,
    Check In master Recipe ,in the PI Tab,There must be some PI category is assigned and in that PI Category,this PI Charactiristic has been assigned.
    First goto that Phase of the Master Recipe and then goto PI tab and then find the PI category.
    You need to define production scheduling profile for your plant in OPKP which is assign to order type dependent parameter  COR4 In planning screen. Please check. Also check the work scheduling view of material master.
    Regards,
    R.Brahmankar

  • JDBC Sender Adapter - NOT FETCHING RECORDS...

    Hello Experts,
    I know this was answered in a separate thread (JDBC Sender Adapter -  NOT FETCHING RECORDS -PROCESSING STARTED).
    However, my question is, Is there a way that we can be notified if a channel has stopped fetching records?
    or is there a reporting tool that can be used to check/monitor if a channel is not processing any messages?
    Thanks & Kregards,
    allar

    Hi Sreedhar,
    Thanks for your reply.
    These case is not being captured by our alert configuration because its not throwing any error.
    in the communication channel monitoring, we see only something like this..:
    3/16/09 8:25:19 PM Processing started
    3/16/09 8:34:20 PM Processing started
    3/16/09 8:33:55 PM Processing started
    3/16/09 8:32:54 PM Processing started
    but no error is being displayed nor sent.
    Also, there was a case that the channel just stopped fetching, even though everything is active.
    example log:
            3/12/09 8:32:54 PM Processing started
    We're looking for ways on how we can trap these scenarios as early as possible,  get us notified and   perform adapter-lock release when needed.
    Regards,
    allar

Maybe you are looking for