Alerts not getting generated from Alert rules

Hello
I had a problem displaying Alert messages in Alert Inbox.I have created my category and I am raising the alert from BPM and thats working fine.But in some cases where I have define rules(via Alert Configuration in Runtime Workbench) for Alert Generation alerts are not getting raised.I am having the two background jobs running as per the documentation.
I checked by creating a rule where sender was BPM and receiver is File and the alert should get generated when the Adapter fails(i gave wrond username for FTP server).
Any idea what step might be missing?
Thanks in advance.
Regards
Rajeev

Hello Rajeev,
have you checked in transaction ALRTDISP if the required alert has been created at all?
If yes, then have a look at the receivers, if no then check the following things:
- are your jobs running sucessfully?
- does the alert get created when you execute SALRTPROC report manually?
- are there old alerts of the same category not confirmed and flag surpress multiple alerts activated in the alert rule?
Best regards
Christine

Similar Messages

  • Dummy XML not getting generated from empty file by J2EE adapter module

    Hi All,
    i know when XI gets an empty input text file, it does not generate a send message for it in sender communication channel.
    in my scenario, if i get a file with data, i have to generate an XML message for it using file content conversion - this i have done...........
    but if i get an empty text file, then i have to generate a dummy XML send message for it for my BPM.......
    So i made a J2EE adapter module to generate dummy xml for empty file.....<b>when i give a file with data in it, then my adapter module is called..... but when i give an empty file, then my adapter module is not called</b>.........
    <b><i>Can anybody suggest why the module processor is not invoking my customer-adapter module when an empty file is given.............but the module processor is invoking my customer-adapter module when a file with data is given</i>.</b>
    Thanks,
    Rajeev Gupta

    Hi Amit,
    Below is the code of process method which i used:
    <i>public ModuleData process(ModuleContext moduleContext,
      ModuleData inputModuleData)
        throws ModuleException
    Object obj;
    Message msg_audit;
    AuditMessageKey amk;
    try
    File f = new File("/components/XITEMP/sample/PWC/check.txt");
    PrintStream ps;
    if (f.canWrite())
    FileOutputStream fos =new FileOutputStream(f);
    ps = new PrintStream(fos);  
    ps.println("Testing");
    ps.close();
    fos.close(); 
    else
      f = new File("/components/XITEMP/sample/PWC/check4.txt");
      if (f.exists() ==false)
      f.createNewFile();
    obj = inputModuleData.getPrincipalData();
    if (obj!=null)
    msg_audit = (Message)obj;
    amk = new AuditMessageKey(msg_audit.getMessageId(),AuditDirection.OUTBOUND);
    Audit.addAuditLogEntry(amk,AuditLogStatus.SUCCESS,"FileCheck: Module called");
    else
      String str = new String();
    String str1 = new String();     
                  str1="<?xml version=\"1.0\" encoding=\"utf-8\" ?>";
                 str1+="<ns:MT_PWC_RECORD xmlns:ns=\"urn://PWC_SR3_01/PWC/Customer\">";
             str1+="<RECORD_SET>";     
                 str1+="<RECORD>";
             str1+="<RECORD_DATA>BLANK_FILE</RECORD_DATA>";
             str1+="</RECORD>";
             str1+="</RECORD_SET>";
             str1+="</ns:MT_PWC_RECORD>";     
    str=str1; 
    inputModuleData.setPrincipalData(str);
    catch(Exception e)
    try
    File f = new File("/components/XITEMP/sample/PWC/check.txt");
    PrintStream ps;
    if (f.canWrite())
      FileOutputStream fos =new FileOutputStream(f);
      ps = new PrintStream(fos);  
      ps.println(e.toString());
      ps.close();
      fos.close(); 
    catch(Exception ex)
    return inputModuleData;
       }</i>
    in the above methood, i  used file operations at start just to see whether the module is getting invoked or not...so when i give a data file, then the file operations are performed and messages are written in audit log.........but when i give an empty file, then the file operations are not performed - meaning the module is not getting invoked........
    Thanks,
    Rajeev Gupta

  • Reports file did not get generated during upgrade from 12.1.1  to  12.1.3

    Hi,
    Following is my setup:
    Two node Rac database on Linux 5(64-bit)
    All apps services are on single node - Linux 5(32-bit)
    Database version -- 10.2.0.5
    Apps version -- 12.1.1
    To upgrade apps from 12.1.1  to  12.1.3 i applied following patches.
    a.Merged patch 9239090, 9239095 and applled the merge driver, during the patch application i got the following error:
    Copying files to destination ...
    Done copying files to destination.
    The following Oracle Reports objects did not generate successfully:
    ja reports/US JAINMCEN.rdf
    An error occurred while generating Oracle Reports files.
    Continue as if it were successful [No] :
    == I did 'Yes' and patch applied successfully then as a post step i Merged Patch 9817770, 9966055 and apply the merge driver.
    Now i wanted to regenerate that particular rdf file, but its not getting generated even with adadmin. Not sure will the rdf file causes issue later so i wanted to fix this.
    Please advice...
    Thanks,
    Tanveer Mohammed

    Hi;
    I did 'Yes' and patch applied successfully then as a post step i Merged Patch 9817770, 9966055 and apply the merge driver.
    Now i wanted to regenerate that particular rdf file, but its not getting generated even with adadmin. Not sure will the rdf file causes issue later so i wanted to fix this.I belive you regenarete rdf and u dont have any issue than you can ignore this error. If you dont generate rdf than i suggest regenarete and if you have any issue update thread please
    Regard
    Helios

  • Profit Center not getting copied from WBS master data to settlement rule

    Hello,
    I am facing issues during settlement to G/L. From FI side we have set up some validations that the  FI postings shld always carry a Profit Ctr. Now when I am doing settlement to B/S account, the profit ctr from WBS master data gets copied to settlement details and hence on FI posting (Credit line).
    However when I am trying to settle to Expenxse/P&L account this is not happening. The profit Ctr is not getting copied from WBS master data to Settlement details and hence the settlement is not going thru. The profit derived is a dummy profit ctr and not the one on WBS master data.
    I have posted this query on FI forum too but no satisfactory answers.
    Pls let me know, what is the system behaviour....will the prof ctr on WBS master data gets copied on settlement rule details automatically ?
    Sarang

    Which exit do I use in OPSN? any thts or some exit in FI?
    I am on ECC-6.0...
    One thing to mention, the prof ctr is getting copied to settlement rules for Balance sheet account but not for P&L.This is more confusing...
    Sarang

  • Dispatcher yellow,J2EE status info unavailable,Could not get file from DB

    Hello Experts,
    I have successfully installed a ECC 6.0 server-ABAP +JAVA  system (DB2 v9.5 FP4 windows server 2008-x64 bit).
    Kernel: 700 , Patch: 185 ; SP level : rel 700 , level 17
    I upgraded JSPM sucessfully from 14 to 17.Then i was trying to apply JAVA sp's one by one using single sp option JSPM tool.
    I DEPLOYED the first sp component sucesfully but after that the next component gave warning in JSPM check that SDM is not started.
    I checked MMC.Dispatcher was YELLOW and J2EE status info unavailable. Cannot use JCMON to start SDM..option 20 gives error--cannot access shared memory
    I already tried Notes   784568 and 997510
    Relevant logs:-
    jvm_bootstrap.out
    =================================================================================================
    Error synchronizing file [.\..\os_libs\FontManagerService_native.zip].
    com.sap.engine.frame.core.configuration.InvalidPersistentDataStreamException: Could not get file from DB.
    Attempt to fully materialize lob data that is too large for the JVM.
    Disable data source property "fullyMaterializeLobData" for locator-based lob implementation. ERRORCODE=-4499, SQLSTATE=null ERRORCODE=-4499, SQLSTATE=null
    Exception occurred:
    com.sap.engine.bootstrap.SynchronizationException: Unable to synchronize native files for instance [ID140026]!
    ==============================================================================================
    dev_jcontrol
    =============================================================================================
    Thr 4360] *** ERROR => JsfOpenShm: FtInit(SESSION, 2, 176) failed (got (rc = 0 operation successful), expected (rc = 8 already initialized)) [jsfxxshm.c   913]
    [Thr 4360] *** ERROR => Can't create shared memory segment 69 (rc = 1) [jcntrxx.c    1749]
    [Thr 4360] *** ERROR => Can't initialize JControl Administration [jcntrxx.c    273]
    [Thr 4360] JControlCloseProgram: started (exitcode = -1)
    [Thr 4360] *** ERROR => JsfCloseShm: FiDetachIndex(SESSION) failed (rc = 6 invalid argument) [jsfxxshm.c   1243]
    [Thr 4360] *** ERROR => JsfCloseShm: FiDetachIndex(ALIAS) failed (rc = 6 invalid argument) [jsfxxshm.c   1250]
    [Thr 4360] *** ERROR => JsfCloseShm: FiDetachIndex(SERVICE) failed (rc = 6 invalid argument) [jsfxxshm.c   1257]
    =================================================================================================
    log_bootstrap_ID0140026.0
    ==========================================================================================
    Error synchronizing file [.\..\os_libs\FontManagerService_native.zip].
    com.sap.engine.frame.core.configuration.InvalidPersistentDataStreamException: Could not get file from DB.
    ============================================================================================
    Eagerly looking forward to a solution from you experts..
    Thanks,
    Rakesh

    Hi,
    I am facing the same related problem with ECC 6.0.
    My dispatcher started it is showing yellow-  dialog queue standstill, J2EE status info unavailable
    after some time dispatcher has stopped.
    Please check my below trace file for dispatcher:
    trc file: "dev_disp", trc level: 1, release: "700"
    sysno      03
    sid        DEV
    systemid   560 (PC with Windows NT)
    relno      7000
    patchlevel 0
    patchno    114
    intno      20050900
    make:      multithreaded, Unicode, optimized
    pid        13108
    Fri Nov 27 02:31:55 2009
    kernel runs with dp version 229000(ext=109000) (@(#) DPLIB-INT-VERSION-229000-UC)
    length of sys_adm_ext is 576 bytes
    SWITCH TRC-HIDE on ***
    ***LOG Q00=> DpSapEnvInit, DPStart (03 13108) [dpxxdisp.c   1239]
         shared lib "dw_xml.dll" version 114 successfully loaded
         shared lib "dw_xtc.dll" version 114 successfully loaded
         shared lib "dw_stl.dll" version 114 successfully loaded
         shared lib "dw_gui.dll" version 114 successfully loaded
         shared lib "dw_mdm.dll" version 114 successfully loaded
    rdisp/softcancel_sequence :  -> 0,5,-1
    use internal message server connection to port 3903
    Fri Nov 27 02:31:59 2009
    WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 4 seconds
    ***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  5361]
    MtxInit: 30000 0 0
    DpSysAdmExtInit: ABAP is active
    DpSysAdmExtInit: VMC (JAVA VM in WP) is not active
    DpIPCInit2: start server >sapdev_DEV_03                           <
    DpShMCreate: sizeof(wp_adm)          15800     (1436)
    DpShMCreate: sizeof(tm_adm)          4232256     (21056)
    DpShMCreate: sizeof(wp_ca_adm)          24000     (80)
    DpShMCreate: sizeof(appc_ca_adm)     8000     (80)
    DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528056/528064
    DpShMCreate: sizeof(comm_adm)          528064     (1048)
    DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    DpShMCreate: sizeof(slock_adm)          0     (96)
    DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    DpShMCreate: sizeof(file_adm)          0     (72)
    DpShMCreate: sizeof(vmc_adm)          0     (1536)
    DpShMCreate: sizeof(wall_adm)          (38456/34360/64/184)
    DpShMCreate: sizeof(gw_adm)     48
    DpShMCreate: SHM_DP_ADM_KEY          (addr: 08290040, size: 4889440)
    DpShMCreate: allocated sys_adm at 08290040
    DpShMCreate: allocated wp_adm at 08292090
    DpShMCreate: allocated tm_adm_list at 08295E48
    DpShMCreate: allocated tm_adm at 08295E78
    DpShMCreate: allocated wp_ca_adm at 0869F2B8
    DpShMCreate: allocated appc_ca_adm at 086A5078
    DpShMCreate: allocated comm_adm at 086A6FB8
    DpShMCreate: system runs without slock table
    DpShMCreate: system runs without file table
    DpShMCreate: allocated vmc_adm_list at 08727E78
    DpShMCreate: allocated gw_adm at 08727EB8
    DpShMCreate: system runs without vmc_adm
    DpShMCreate: allocated ca_info at 08727EE8
    DpShMCreate: allocated wall_adm at 08727EF0
    MBUF state OFF
    DpCommInitTable: init table for 500 entries
    Fri Nov 27 02:32:00 2009
    EmInit: MmSetImplementation( 2 ).
    MM global diagnostic options set: 0
    <ES> client 0 initializing ....
    <ES> InitFreeList
    <ES> block size is 1024 kByte.
    Using implementation view
    <EsNT> Using memory model view.
    <EsNT> Memory Reset disabled as NT default
    <ES> 1023 blocks reserved for free list.
    ES initialized.
    J2EE server info
      start = TRUE
      state = STARTED
      pid = 13356
      argv[0] = D:\usr\sap\DEV\DVEBMGS03\exe\jcontrol.EXE
      argv[1] = D:\usr\sap\DEV\DVEBMGS03\exe\jcontrol.EXE
      argv[2] = pf=D:\usr\sap\DEV\SYS\profile\DEV_DVEBMGS03_sapdev
      argv[3] = -DSAPSTART=1
      argv[4] = -DCONNECT_PORT=2919
      argv[5] = -DSAPSYSTEM=03
      argv[6] = -DSAPSYSTEMNAME=DEV
      argv[7] = -DSAPMYNAME=sapdev_DEV_03
      argv[8] = -DSAPPROFILE=D:\usr\sap\DEV\SYS\profile\DEV_DVEBMGS03_sapdev
      argv[9] = -DFRFC_FALLBACK=ON
      argv[10] = -DFRFC_FALLBACK_HOST=localhost
      start_lazy = 0
      start_control = SAP J2EE startup framework
    DpJ2eeStart: j2ee state = STARTED
    rdisp/http_min_wait_dia_wp : 1 -> 1
    ***LOG CPS=> DpLoopInit, ICU ( 3.0 3.0 4.0.1) [dpxxdisp.c   1629]
    ***LOG Q0K=> DpMsAttach, mscon ( sapdev.visu.com) [dpxxdisp.c   11753]
    DpStartStopMsg: send start message (myname is >sapdev_DEV_03                           <)
    DpStartStopMsg: start msg sent
    CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
    Fri Nov 27 02:32:01 2009
    CCMS: Initalizing shared memory of size 60000000 for monitoring segment.
    CCMS: start to initalize 3.X shared alert area (first segment).
    DpJ2eeLogin: j2ee state = CONNECTED
    DpMsgAdmin: Set release to 7000, patchlevel 0
    MBUF state PREPARED
    MBUF component UP
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   1050]
    DpMsgAdmin: Set patchno for this platform to 114
    Release check o.K.
    Fri Nov 27 02:32:05 2009
    ***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4248]
    ERROR => NiIRead: SiRecv failed for hdl 4 / sock 1468
        (SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:2927) [nixxi.cpp    4248]
    DpJ2eeMsgProcess: j2ee state = CONNECTED (NIECONN_BROKEN)
    DpIJ2eeShutdown: send SIGINT to SAP J2EE startup framework (pid=13356)
    ERROR => DpProcKill: kill failed [dpntdisp.c   371]
    DpIJ2eeShutdown: j2ee state = SHUTDOWN
    Fri Nov 27 02:32:40 2009
    ERROR => W0 (pid 13364) died [dpxxdisp.c   14441]
    ERROR => W1 (pid 13372) died [dpxxdisp.c   14441]
    ERROR => W2 (pid 13380) died [dpxxdisp.c   14441]
    ERROR => W3 (pid 13388) died [dpxxdisp.c   14441]
    my types changed after wp death/restart 0xbf --> 0xbe
    ERROR => W4 (pid 13396) died [dpxxdisp.c   14441]
    my types changed after wp death/restart 0xbe --> 0xbc
    ERROR => W5 (pid 13404) died [dpxxdisp.c   14441]
    my types changed after wp death/restart 0xbc --> 0xb8
    ERROR => W6 (pid 13412) died [dpxxdisp.c   14441]
    ERROR => W7 (pid 13420) died [dpxxdisp.c   14441]
    ERROR => W8 (pid 13428) died [dpxxdisp.c   14441]
    my types changed after wp death/restart 0xb8 --> 0xb0
    ERROR => W9 (pid 13436) died [dpxxdisp.c   14441]
    my types changed after wp death/restart 0xb0 --> 0xa0
    ERROR => W10 (pid 13444) died [dpxxdisp.c   14441]
    my types changed after wp death/restart 0xa0 --> 0x80
    DP_FATAL_ERROR => DpWPCheck: no more work processes
    DISPATCHER EMERGENCY SHUTDOWN ***
    increase tracelevel of WPs
    NiWait: sleep (10000ms) ...
    NiISelect: timeout 10000ms
    NiISelect: maximum fd=1593
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri Nov 27 02:32:50 2009
    NiISelect: TIMEOUT occured (10000ms)
    dump system status
    Workprocess Table (long)               Thu Nov 26 21:02:50 2009
    ========================
    No Ty. Pid      Status  Cause Start Err Sem CPU    Time  Program          Cl  User         Action                    Table
    0 DIA    13364 Ended         no      1   0        0                                                                         
    1 DIA    13372 Ended         no      1   0        0                                                                         
    2 DIA    13380 Ended         no      1   0        0                                                                         
    3 DIA    13388 Ended         no      1   0        0                                                                         
    4 UPD    13396 Ended         no      1   0        0                                                                         
    5 ENQ    13404 Ended         no      1   0        0                                                                         
    6 BTC    13412 Ended         no      1   0        0                                                                         
    7 BTC    13420 Ended         no      1   0        0                                                                         
    8 BTC    13428 Ended         no      1   0        0                                                                         
    9 SPO    13436 Ended         no      1   0        0                                                                         
    10 UP2    13444 Ended         no      1   0        0                                                                         
    Dispatcher Queue Statistics               Thu Nov 26 21:02:50 2009
    ===========================
    --------++++--
    +
    Typ
    now
    high
    max
    writes
    reads
    --------++++--
    +
    NOWP
    0
    2
    2000
    6
    6
    --------++++--
    +
    DIA
    5
    5
    2000
    5
    0
    --------++++--
    +
    UPD
    0
    0
    2000
    0
    0
    --------++++--
    +
    ENQ
    0
    0
    2000
    0
    0
    --------++++--
    +
    BTC
    0
    0
    2000
    0
    0
    --------++++--
    +
    SPO
    0
    0
    2000
    0
    0
    --------++++--
    +
    UP2
    0
    0
    2000
    0
    0
    --------++++--
    +
    max_rq_id          12
    wake_evt_udp_now     0
    wake events           total     8,  udp     7 ( 87%),  shm     1 ( 12%)
    since last update     total     8,  udp     7 ( 87%),  shm     1 ( 12%)
    Dump of tm_adm structure:               Thu Nov 26 21:02:50 2009
    =========================
    Term    uid  man user    term   lastop  mod wp  ta   a/i (modes)
    Workprocess Comm. Area Blocks               Thu Nov 26 21:02:50 2009
    =============================
    Slots: 300, Used: 1, Max: 0
    --------++--
    +
    id
    owner
    pid
    eyecatcher
    --------++--
    +
    0
    DISPATCHER
    -1
    WPCAAD000
    NiWait: sleep (5000ms) ...
    NiISelect: timeout 5000ms
    NiISelect: maximum fd=1593
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri Nov 27 02:32:55 2009
    NiISelect: TIMEOUT occured (5000ms)
    DpHalt: shutdown server >sapdev_DEV_03                           < (normal)
    DpJ2eeDisableRestart
    DpModState: buffer in state MBUF_PREPARED
    NiBufSend starting
    NiIWrite: hdl 3 sent data (wrt=110,pac=1,MESG_IO)
    MsINiWrite: sent 110 bytes
    MsIModState: change state to SHUTDOWN
    DpModState: change server state from STARTING to SHUTDOWN
    Switch off Shared memory profiling
    ShmProtect( 57, 3 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RW
    ShmProtect( 57, 1 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RD
    DpWakeUpWps: wake up all wp's
    Stop work processes
    Stop gateway
    killing process (13340) (SOFT_KILL)
    Stop icman
    killing process (13348) (SOFT_KILL)
    Terminate gui connections
    wait for end of work processes
    wait for end of gateway
    [DpProcDied] Process lives  (PID:13340  HANDLE:1564)
    waiting for termination of gateway ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1593
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri Nov 27 02:32:56 2009
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process died  (PID:13340  HANDLE:1564)
    wait for end of icman
    [DpProcDied] Process lives  (PID:13348  HANDLE:1568)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1593
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri Nov 27 02:32:57 2009
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:13348  HANDLE:1568)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1593
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri Nov 27 02:32:58 2009
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:13348  HANDLE:1568)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1593
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri Nov 27 02:32:59 2009
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:13348  HANDLE:1568)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1593
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Please help me to start my SAP MMC.
    Thanks

  • Spool not getting generated in OO ALV report

    Hi,
    I developed a report in which we are giving output in same selection screen through OO ALV.
    But,when we are scheduling that report in background,spool is not getting generated.
    Waiting for your reply.
    BR,
    Praveen

    Hi Aparna,
    I tried NEW-PAGE PRINT ON.
    I am pasting source code extract below:
       IMPORT DATA = ME->IT_FINAL2 FROM MEMORY ID SY-CPROG.
        FREE MEMORY ID SY-CPROG.
        CHECK ME->IT_FINAL2 IS NOT INITIAL.
        CHECK LO_DOCK IS INITIAL.
        CREATE OBJECT LO_DOCK
          EXPORTING
            REPID = SY-REPID
            DYNNR = SY-DYNNR
            RATIO = 70
            SIDE  = CL_GUI_DOCKING_CONTAINER=>DOCK_AT_BOTTOM
            NAME  = 'DOCK_CONT'.
        IF SY-SUBRC NE 0.
          MESSAGE 'Error in Docking Control' TYPE 'S'.
        ENDIF.
        IF LO_ALV IS INITIAL.
          TRY.
              LO_CONT ?= LO_DOCK.
              CALL METHOD CL_SALV_TABLE=>FACTORY
                EXPORTING
                  LIST_DISPLAY   = IF_SALV_C_BOOL_SAP=>FALSE
                  R_CONTAINER    = LO_CONT
                  CONTAINER_NAME = 'DOCK_CONT'
                IMPORTING
                  R_SALV_TABLE   = LO_ALV
                CHANGING
                  T_TABLE        = ME->IT_FINAL2.
            CATCH CX_SALV_MSG.
          ENDTRY.
      CLEAR LR_COLUMN.
          TRY.
              LR_COLUMNS = LO_ALV->GET_COLUMNS( ).
              LR_COLUMN = LR_COLUMNS->GET_COLUMN( 'KSCHL' ).
              LR_COLUMN->SET_LONG_TEXT( 'Cond.Type' ).
    CATCH CX_SALV_NOT_FOUND.
          ENDTRY.
    NEW-PAGE PRINT ON.
            LO_ALV->DISPLAY( ).
            NEW-PAGE PRINT OFF.
    I am not getting spool list while executing it in background.
    BR,
    Praveen

  • Transportation lane KEY not getting generated in the table

    Transportation lane KEY not getting generated in the table
    Hi folks,
    The issue is like this :
    We have a weekly workorders upload program from legacy systems to SAP-APO. The legacy planners send a .CSV file containing material-wise workroders. A customised zee program picks these quantities & writes them in Prod.planned keyfigures in SNP planning book. This process is done for the manufacturing locations only.
    Lately workorders for two particular material M1 & M2 had failed to get upload. It gives the error 'NO VALID SOURCE OF SUPPLY COULD BE FOUND' in its Job log. We did some debugging & found that for successful materials the  TRPID is getting generated in the table /SAPAPO/V_TRPROD  whereas this TRPID is missing for M1 & M2. Why this is happening is our main concern. We tried deleting the PPM & creating this again, assuming that the PPMID is the precursor for generating this TRPID, but this yielded no results.
    ____ for successful upload______________
    se16 --> /SAPAPO/V_TRPROD
    Version = 000
    LOCTO = LOCID KEY for manufacturing location
    MATID = MATID KEY of successfully loaded workorder
    Enter
    This gives the following results
    TRPID = TRPID KEY
    LOCFR = LOCID KEY for manufacturing location
    LOCTO = LOCID KEY for manufacturing location
    MATID = MATID KEY for successfully loaded workorder
    ( This seems a self-lane, i.e both TO & FROM location are same)
    ____ for unsuccessful upload________
    se16 --> /SAPAPO/V_TRPROD
    Version = 000
    LOCTO = LOCID KEY for manufacturing location
    MATID = MATID KEY for unsuccessfully loaded workorder
    Enter
    This gives the following results
    Error = No Table entries found for specified KEYS
    We are perplexed why this TRPID is not getting generated for these two particular material M1 & M2?
    We have deleted their PPM & re-created them to cross-check if the PPMID KEY is the trigger for generating the TRPID key. This didn't work!
    Please let us know in case someone faced a similar issue.
    Many Thanks.
    Kumar
    Edited by: Blue Lotus on Jun 9, 2011 2:44 PM

    Yes Anand.
    We deleted the PPM & created it again, which didn't work.
    Later on we deleted the product itself from APO & re-CIFed it from R3 & then re-created the PPM.
    The PPMID which was missing earlier is now getting created! However no luck with the TRPID.
    Why this TRPID is not getting generated in our only concern
    Regards
    Kumar

  • Task activities not getting generated properly in BPEL

    I am using the Jdev 11g TP3 (from OTN). Installation went through fine. However I observed a interesting issue with HumanTask/BPEL and I was wondering if someone faced similar such problems before, if so, how to rectify the issue. Here is the description of the issue:
    1. Created a Empty SOA composite project
    2. Dragged and dropped BPEL Process in the component palette. Designed a Asynchronous process.
    3. Dragged and dropped a HumanTask. Did not expose as an composite. Designed a single approver workflow. In the project schema, choose the schema from BPEL input.
    4. Wired BPEL to HumanTAsk
    5. In the BPEL flow, I dragged the HumanTask to the flow. Everything appears to be correct. I clicked on "Ok" after associating with BPEL variable.
    Now when I examine the BPEL flow, a scope before the BPEL switch is empty. There are no BPEL activities generated. This is a very simple case of BPEL and HumanTask and I am not sure as to why the tasks not getting generated properly in BPEL flow.
    Has anyone experienced this issue or any ideas as to why this could happen?

    After going through the exercise several times, I finally found out the reason as to why the BPEL activities are not getting generated. In the Human task form for the title, since it is a fixed string in my case I put something like the one given below:
    Title : "APPROVE ORDER"
    When you have fixed string within double quotes it does not generate BPEL activities correctly. You can try and u will see the problem.
    My real question is should not throw proper error message when you try to drag and drop the HumanTask to BPEL flow.

  • Reports not getting generated

    Dear All,
    I know this is a repeat query but im unable to find information from the blogpost http://scn.sap.com/docs/DOC-41109.
    I have earlier configured the WWI setup in a linux server. Now I am testing it on a windows server. I have made all the configurations in word and for generation server. The issue is, the report is not getting generated in report management screen and is in status Generation possible always.
    When i check the wwi monitor, the doc type SBR is getting released but not getting completed. Please see the screenshot. CGSADM is working fine, RFC is working fine. I tried creating documents in CV01N and they are getting created. The DCOM settings are also good and activated the permissions there too. The DMS settings are set as per the SAP notes. However The job i scheduled is in status Finished for document generation. But when I try to generate the report, the report is created using a variant and the status of the report is in generation possible always. I checked the variant of the report and the validity is in REG_WORLD. I understand that there is some issue in the scheduled job.
    I have scheduled only one job for Document Generation as follows.
    a)Enter the job name - DOC GENERATION and choose a job class - A.
    d) Choose Start condition and in the dialog box, choose After event.
    e) Enter SAP_SYSTEM_START in the event field.
    f) Activate Periodic job - HOURLY
    g) Choose Check and save your entries.
    h) Choose Step and choose ABAP program in the dialog box that appears.
    i) Enter RC1WWIDS as the ABAP program name.
    j) Choose Check and save your entries.
    k) Before you leave the Define Background Job screen, you must save your entries once more.
    Result: The job is started whenever the SAP system is started.
    aFTER REPEATED ATTEMPTS, THE RESULT IS THE SAME AND NO CHANGE IN STATUS OF THE REPORT.
    Kindly suggest what step am i missing . I have been through all the blogs in SCN. My old blogs are however missing and hence I am not able to access them.
    I am using SAP GUI 7.30, ECC6 and EHP 5.
    Regards
    Dhinesh

    Dear Dhinesh
    Please help me to understand your system landscape.
    a.) Did you have had a SAP EHS up and running together with a "linux server" based WWI version
    and
    b.) now you are switching the same SAP system to a "windows server" based version?
    I am not sure about your screenshots. But you seem to have more than one gen server attached to the same system; did you updated as well WWI?
    So no adaption of general SAP set up (like DMS etc.)?
    Therefore any job scheduled (before afterwards) is done using a SAP account having the necessary access rights?
    Can you please check this:
    1.) create several sessions; one with WWi monitor and one with CG02; try to generate a different report for the same spec id (e.g. not MSDSUS in EN, but MSDS/FR) and check progress in WWI monitor as well as CG50
    2.) select in CG50 the report in status "generation possible"; mark it and try to "go" on ; check access rights afterwards (su53)
    I hate this status "generation possible". I believe you need to use "debug replace" to remove that entry; I can not remember any more but that was the only option to get "rid" of this entry
    Please read WWI cookbook, There is a set up possible in such a way that any action on WWI server is "logged"; may be try to analyze the log file to get idea why there is no progress regarding the generation
    PS: the problem you have detected is not related to the "validity area". It is a matter of communication issue between SAP and WWI server and the WWI process can not be finalized.
    But you are not alone with your problem (e.g. check:
    http://www.benxbrain.com/en/sap/program/RC1WWIDS-Generation-possible-status-not-changing-thread-1-1547841.htm)
    http://scn.sap.com/thread/3311944
    http://www.consolut.com/en/s/sap-ides-access/d/s/doc/H-ESEWSRSTAT
    https://scn.sap.com/thread/1575223
    http://sap.ittoolbox.com/groups/technical-functional/sap-dev/ehs-wwi-processing-272462
    Check as well your own thread: http://scn.sap.com/thread/3304285
    C.B.
    PS: may be check: http://www.stechno.net/sap-notes.html?view=sapnote&id=1094307
    as well as:
    http://www.stechno.net/sap-notes.html?view=sapnote&id=580586
    PPS I: logging feature of WWI is described here: Note 778684
    PPS II: may be check: http://www.stechno.net/sap-notes.html?view=sapnote&id=1094307
    PPS II: may be check as well: http://scn.sap.com/thread/3344033
    and http://scn.sap.com/thread/1381004

  • Excise rate and value is not getting defaulted from the purchase order

    Hi all,
    While capturing excise invoice , the excise rate and value is not getting defaulted from the purchase order and in Excise Item Tab BED,AED,ECS is Zero at both header as well as item level for only one material in STO process and if we are doing same process taking other material all things are coming perfectly and We are maintaining condition with respect to vendor,plant and material combination.Any input related to this will be helpfull and rewarded.
    Regards
    Vishal

    Hi,
    Follow STO Process for this;
    1.Create a vendor for the company code of receiving plant, using account group: 0007 using T-Code XK01.
    2. Assign this vendor to Delivering plant
    Go to XK02 >Purchasing view>Extras>Add. Purchasing data>Plant
    3. Create internal customer with the sales area of the vendor. Go To XD01
    4. In pricing procedure determination relevant to STO, assign document Pricing Procedure and customer pricing procedure appropriate for STO to get the pricing in the invoice.
    5. Maintain condition records for the relevant pricing condition.
    6. Some more setting for STO: Go to MM> Purchasing > Purchase Order > Set up STO > define shipping data for plants > Go to Receiving plant >assign customer here & Supplying SA (for billing) to Receiving plant here
    7. Go to MM > Purchasing > Purchase Order > Set up STO > define shipping data for plants > Go to Supplying plant and assign the sales area of receiving plant.
    8. Go to MM > Purchasing > Purchase Order > Set up STO > assign delivery Type & Checking rule
    Assign the delivery type to document type. In this case, Delivery type NLCC is assigned to Document type NB
    9. Go to MM> Purchasing > Purchase Order > Set up STO > Assign document Type, One step Procedure, Under delivery tolerance
    Assign the document type NB to supplying plant and receiving plant
    10. After all settings, Create the STO using T-Code: ME21N and maintain pricing conditions of freight and Save.
    11. In supplying plant Maintain condition record in sales using VK11 the same will flow in receiving plant when referring the OBD no during MIGO.
    10. Create Delivery: VL10G
    12. Picking, PGI: VL02N
    13. Billing: VF01
    Save the document and its done
    14. J1IIN - Outgoing Excise Invoice
    15. MIGO - Goods Receipt against outbound Delivery
    16. J1IEX - Capture & Post Excise Invoice
    Rgs

  • Application logs are not getting generated in OIM 9.1.0.2

    Hi guys,
    We have created schedulers in OIM using OIM api to create,modify and delete the users.All our schedulers working fine.and we are able to do all the opeartions quite some time back.But we are facing an issue where the logs not getting generated when we run the schedulers.But while creating/modifying/deleting users from OIM webconsole we are gettinng the logs.Any help would be appreciated.
    Thanks,
    Pavan.

    Have you configured the logger in your ljava class as well as log.properties of OIM

  • FI Doc not getting generated at the time of Asset GRN

    Hi,
    We have created Asset Purchase Order.
    At the time of GRN, FI Doc is not getting generated.
    What changes need to be required from MM side (in OBYC)
    Regards,

    HI PK,
    whether your PO Item have Single Account Assignment or it is Multiple Account assignment.
    Check Distribution in Accoun Assignment Tab at PO item level.
    If it is Single account Assignment, then Accounting Document will be generated at GR where if it is Distributed then, no Accounting Document will be generated.
    In your case, Probably it would be distributed. and as a result of this your PO Item is marked as 'GR non valuated'.
    Check its Delivery Tab. If it is the case, then need not worry as it is std practise. system will treated it as multiple account assignment and its valuation will only be carried out Invoice Verification level.
    Later on check the Material document also.
    Pls Note:
    If flag 'GR non-valuated' is set in the purchase order, the valuation is only executed through the invoice verification. This flag must be set if the purchase order has multiple account assignment.
    A valuated goods receipt for a purchase order with account assignment generates a posting line for the consumption account 'Account-assigned purchase order' (KBS) and for the GR/IR clearing account WRX.
    hope it address your issue.
    Regards,
    S Anand

  • Utl_file not getting generated

    hi i wrote one procedure using utl_file , to check the output of the file in a text format and it was created successfully , intially it had problems with directory and i created that directory and even granted permissions using system user but nothing is happening the text file is not getting generated.
    CREATE TABLE ITEM (IT_CODE VARCHAR2(12),IT_NAME VARCHAR2(20))
    INSERT INTO ITEM VALUES ('A','AAA')
    SQL> CREATE DIRECTORY MY_DIR AS 'C:\TEMP'; -- this is the path of my local folder
    Directory created.
    SQL> GRANT READ ON DIRECTORY MY_DIR TO ORION2007;
    Grant succeeded.
    SQL> GRANT WRITE ON DIRECTORY MY_DIR TO ORION2007;
    Grant succeeded.
    CREATE OR REPLACE PROCEDURE it_status
    IS
    v_filehandle UTL_FILE.file_type;
    CURSOR itc
    IS
    SELECT *
    FROM item
    ORDER BY it_code;
    BEGIN
    v_filehandle := UTL_FILE.fopen ('MY_DIR', 'AAAA.TXT', 'w');
    --Opening a file utl_file.putf(v_filehandle,'Item file :GENERATED ON %s\n',SYSDATE);
    UTL_FILE.new_line (v_filehandle);
    FOR v_it_rec IN itc
    LOOP
    UTL_FILE.putf (v_filehandle,
    'Item Details %s are:s\n',
    v_it_rec.it_code,
    v_it_rec.it_name
    END LOOP;
    UTL_FILE.put_line (v_filehandle, '***END OF REPORT***');
    UTL_FILE.fclose (v_filehandle);
    END it_status;
    {code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    i tried using get_line but there is a error
    SQL> ed
    Wrote file afiedt.buf
      1  CREATE OR REPLACE PROCEDURE it_status
      2  IS
      3     v_filehandle   UTL_FILE.file_type;
      4     CURSOR itc
      5     IS
      6        SELECT   *
      7            FROM item
      8        ORDER BY it_code;
      9  v_txt varchar2(1000) := 'aaa.txt';
    10  BEGIN
    11     v_filehandle := UTL_FILE.fopen ('MY_DIR', 'AAAA.TXT', 'w');
    12     --Opening a file          utl_file.putf(v_filehandle,'Item file :GENERATED ON %s\n',SYSDATE);
    13     UTL_FILE.new_line (v_filehandle);
    14     FOR v_it_rec IN itc
    15     LOOP
    16     UTL_FILE.GET_LINE(v_filehandle,v_txt,32767);
    17     UTL_FILE.FCLOSE(v_filehandle);
    18        UTL_FILE.putf (v_filehandle,
    19                       'Item Details %s are:s\n',
    20                       v_it_rec.it_code,
    21                       v_it_rec.it_name
    22                      );
    23     END LOOP;
    24     UTL_FILE.put_line (v_filehandle, '***END OF REPORT***');
    25     UTL_FILE.fclose (v_filehandle);
    26* END it_status;
    SQL> /
    Procedure created.
    SQL> exec it_status;
    BEGIN it_status; END;
    ERROR at line 1:
    ORA-29283: invalid file operation
    ORA-06512: at "SYS.UTL_FILE", line 98
    ORA-06512: at "SYS.UTL_FILE", line 656
    ORA-06512: at "ORION2007.IT_STATUS", line 16
    ORA-06512: at line 1

  • Custom log not getting generated in weblogic 10.3.5

    We have weblogic 10.3.5 as application server and deployed DAM(Digital Assets Management ) application on it. Also we have deployed 2-3 more application which is sharing connection properties file (dfc and log4j) outside from application war in shared location.
    Now, we have configured the log path but logs are not get generated where as it comes in out log of weblogic.
    Is there any configuration changes which can create the log files as mentioned in our log4j.properties?? Seeking help urgently.

    How are you writing to the log file in your application?
    When, for example, use System.out.println the entry will show up in the .out file.
    You need to get the right loghandler to write the logging you configure.

  • SAP F&R - Order Proposals not getting generated

    Hi Experts,
    I am currently on SCM 5.0 system. For a location-product on uploading the consumption data, the forecast gets generated but no Order Proposals are getting generated at all. When I look at the Source of Supply, the delivery dates for the location-product are appropriately displayed.
    The scenario is basically Vendor -> DC -> Store i.e. V111 -> R601 -> R611 for the product FR11. The time series of supplying location is displayed for FR11-R611 in CADE while FR11-R601 is not displayed. I suppose, this may be, why the OPs are not getting generated. How do we generate time series for FR11-R601 i.e. for V111 (vendor) ?
    Also, When i try to run a location status check on R611, /FRE/FU_CL_FRP_SAFOUT_CRIT comes out with a fatal error with the remaining others in an INITIAL state. How do we resolve this issue.
    Thanks & Regards
    Prashant

    Hi,
    I was able to solve both the issues with a change in the Forecasting Frequency profiles where the reference day for start week was on "FRP Location Activation Date". I changed it to Calendar date and checked the forecast and it worked with the Order proposals also generating. Also, the location status check out for the mentioned location was in "OK" state.
    Also, a second methodology applied to overcome the problem was to go to SAP Menu -> F&R Processor -> Administration, from there go to the location tab where the locations had a deactivation date of 31.12.2009. I extended the date and then there was no need to change the forecasting frequency profiles.
    Regards
    Prashant
    Edited by: Prashant Kedare on Mar 3, 2010 9:38 AM

Maybe you are looking for