Peculiar behaviour in GP workflow

Hi Experts,
I have 5 actions in my GP
1) Create Request (Adobe Interactive Form)
2) 1st Approval
3) 2nd Approval
4) Call RFC
5) Display Summary
In the GP runtime only actions 1, 2, 3, and 5 show up, I'm guessing this is because the external service action (Call RFC) is a background process?
Anyway, after 2nd approval process the RFC does get invoked and data is written to the backend, however, in Action 5, I'm trying to display a Message out of a structure, so what I have is a Display Form callable object with one input parameter called 'Message'. I have consolidated this parameter with the Message field from the exporting structure from the function module. However, nothing is displayed. What I'm trying to do is display the document number that the exporting parameter from the BAPI returns...no such luck. When I test the BAPI, I see the document number successfully. Any suggestion?

Ram,
Thanks, I have been using this monitoring tool...though its not always so straightforward.
Two more things that I'm finding troublesome to debug:
1) The output structure in the complete( ) function is empty. Here is some of the code:
//@@begin complete()
    try
         IGPStructure output = executionContext.getOutputStructure();
         String userid = wdContext.currentFormInputElement().getUUserId();
         String ufname = wdContext.currentOutputElement().getUFirstName();
         String ulname = wdContext.currentOutputElement().getULastName();
         String uemail = wdContext.currentOutputElement().getUEmail();
         String apprid = wdContext.currentOutputElement().getAUserId();
         String afname = wdContext.currentOutputElement().getAFirstName();
         String alname = wdContext.currentOutputElement().getALastName();
         String aemail = wdContext.currentOutputElement().getAEmail();
         String vendor = wdContext.currentFormInputElement().getVendor();
         String entity = wdContext.currentFormInputElement().getEntity();
         String cstctr = wdContext.currentFormInputElement().getCostCenter();
         String glacnt = wdContext.currentFormInputElement().getGlAccount();
         String intord = wdContext.currentFormInputElement().getInternalOrder();
         String amount = wdContext.currentFormInputElement().getAmount();
         output.setAttributeValue("userId",          userid);
     output.setAttributeValue("usrFirstName",    ufname);
     output.setAttributeValue("usrLastName",     ulname);
     output.setAttributeValue("usrEmail",        uemail);
     output.setAttributeValue("approverId",      apprid);
     output.setAttributeValue("appFirstName",    afname);
     output.setAttributeValue("appLastName",     alname);
     output.setAttributeValue("appEmail",        aemail);
     output.setAttributeValue("vendorNo",        vendor);
     output.setAttributeValue("entityNo",        entity);
     output.setAttributeValue("costCenterNo",    cstctr);
     output.setAttributeValue("glAccountNo",     glacnt);
     output.setAttributeValue("internalOrderNo", intord);
     output.setAttributeValue("amountNo",        amount);
         executionContext.setResultState("Success");
         executionContext.processingComplete();
And here is how I am creating the output structure inside getDescription( )
IGPStructureInfo out = techDesc.getOutputStructureInfo();
IGPAttributeInfo outUUserId       = out.addAttribute("userId", IGPAttributeInfo.BASE_STRING);
IGPAttributeInfo outUFirstName    = out.addAttribute("usrFirstName", IGPAttributeInfo.BASE_STRING);
IGPAttributeInfo outULastName     = out.addAttribute("usrLastName", IGPAttributeInfo.BASE_STRING);
IGPAttributeInfo outUEmail        = out.addAttribute("usrEmail", IGPAttributeInfo.BASE_STRING);
IGPAttributeInfo outAUserId       = out.addAttribute("approverId", IGPAttributeInfo.BASE_STRING);
IGPAttributeInfo outAFirstName    = out.addAttribute("appFirstName", IGPAttributeInfo.BASE_STRING);
IGPAttributeInfo outALastName     = out.addAttribute("appLastName", IGPAttributeInfo.BASE_STRING);
IGPAttributeInfo outAEmail        = out.addAttribute("appEmail", IGPAttributeInfo.BASE_STRING);
IGPAttributeInfo outVendor        = out.addAttribute("vendorNo", IGPAttributeInfo.BASE_STRING);
IGPAttributeInfo outEntity        = out.addAttribute("entityNo", IGPAttributeInfo.BASE_STRING);
IGPAttributeInfo outCostCenter    = out.addAttribute("costCenterNo", IGPAttributeInfo.BASE_STRING);
IGPAttributeInfo outGlAccount     = out.addAttribute("glAccountNo", IGPAttributeInfo.BASE_STRING);
IGPAttributeInfo outInternalOrder = out.addAttribute("internalOrderNo", IGPAttributeInfo.BASE_STRING);
IGPAttributeInfo outAmount        = out.addAttribute("amountNo", IGPAttributeInfo.BASE_STRING);
outUUserId      .setMultiplicity(IGPAttributeInfo.MULITIPLICITY_1_1);
outUFirstName   .setMultiplicity(IGPAttributeInfo.MULITIPLICITY_1_1);
outULastName    .setMultiplicity(IGPAttributeInfo.MULITIPLICITY_1_1);
outUEmail       .setMultiplicity(IGPAttributeInfo.MULITIPLICITY_1_1);
outAUserId      .setMultiplicity(IGPAttributeInfo.MULITIPLICITY_1_1);
outAFirstName   .setMultiplicity(IGPAttributeInfo.MULITIPLICITY_1_1);
outALastName    .setMultiplicity(IGPAttributeInfo.MULITIPLICITY_1_1);
outAEmail       .setMultiplicity(IGPAttributeInfo.MULITIPLICITY_1_1);
outVendor       .setMultiplicity(IGPAttributeInfo.MULITIPLICITY_1_1);
outEntity       .setMultiplicity(IGPAttributeInfo.MULITIPLICITY_1_1);
outCostCenter   .setMultiplicity(IGPAttributeInfo.MULITIPLICITY_1_1);
outGlAccount    .setMultiplicity(IGPAttributeInfo.MULITIPLICITY_1_1);
outInternalOrder.setMultiplicity(IGPAttributeInfo.MULITIPLICITY_1_1);
outAmount       .setMultiplicity(IGPAttributeInfo.MULITIPLICITY_1_1);
When I do a test to see that the context actually contains any data, it shows that it does, but for some reason the output structure is always empty. The only way I can get a successful result is if I fill all the parameters when I initiate the process, which I think is silly because the parameters are supposed to come from the Adobe form, not the initiation process.
2) The RFC that I invoke to write to the backend returns a structure with a message. I want to display this message to the user. So what I have done is created a Display Form CO, and created a Message parameter of type string. I have then consolidated the message parameter of the structure with my message parameter, but it always shows empty also.
What am I doing wrong? Please help.
Kunal.

Similar Messages

  • Peculiar behaviour in picking file from FTP in File-IDoc scenario

    Dear XI Expert,
    I have successfully completed configuration of FTP --> XI --> IDoc scenario. I have noticed a peculiar behaviour in picking the file from FTP. I placed a file on FTP and activated File Adapter with poll interval '60' secs and processing mode as 'Archive'. For the first time it has picked the file with expected behaviour and IDoc got posted to SAP successfully. But when I placed file for the second time and when refreshed the FTP directory, immediately file got archived without waiting for 60 secs. But in sxi_monitor I could not see any activity of processing this scenario. Surprise is that, file got archived in target directory. This goes on and on... without registering any activity of processing the message in Message monitoring.
    In adapter monitoring it shows the message as described below:
    <i>History:
    2006-05-09 22:57:25 : Processing started
    2006-05-09 22:57:25 : Error: Processing interrupted due to error: FTPEx: No such file
    2006-05-09 22:57:24 : Processing started
    2006-05-09 22:57:24 : Error: Processing interrupted due to error: FTPEx: No such file</i>
    For your information my SAP XI system is on SP16.
    Please find below the parameters of sender adapter:
    <i>Quality of service: Exactly once
    Poll interval: 60 secs
    Processing mode: Archive
    Connect Mode: Per File Transfer
    Transfer Mode: Binary</i>
    Can anybody help me out in resolving such a problem in this scenario?

    Hi Jayakrishnan,
    Thanks for your reply.
    Once again the same problem is noticed. i.e., for the first time when file adapter is activated the file got picked, activities were logged in monitoring and IDoc got posted to destination system. For the second time when file is placed, before 60 secs got completed the file is picked and archived in the target directory. No activities in monitoring are logged.
    I have tried it checking the message at adapter level, but it is showing 'No results' (even in the case of successful pick of the file for the first time, not even it is showing other file adapters).
    I was not able to understand where the problem could lie?
    Regards,
    Suraj Kumar

  • Peculiar behaviour of a query !!!

    Hi
    Have a peculiar issue with one of my user -
    A query is executed at the db level is hung from 1.30 PM IST to 4.30 PM IST and
    the same query executes in seconds post 4.30 PM IST.
    +"An application is down daily during early hours EST and its up automatically after 4:30 PM IST.+
    +A query does'nt run at that time but the same Query is working fine after 4:30 IST to fetch the results and display."+
    What could be the possible reasons for such an behaviour of an query/application?
    Findings from my end -
    Generated explain during 1.30 - 4.30 pm ist and after 4.30 pm ist - No difference noticed.
    Query is running fine in dev and qa.
    No major changes made except unix team has made a DIMM replacement recently in prod.
    Regards
    DBA

            PX                                                                                                                                    Wait Time
      SID  SID  SERIAL# ORA USER     MACHINE               STATUS   LOGON_TIME         MODULE            COMMAND    Waiting for                   (Seconds)
      243         35214 ARQ_APP      schlw005              INACTIVE 01:01:24 27-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client       20888
      244         33606 PRC_APP      SOFTTEKGE\STKMY05284  INACTIVE 16:52:40 24-AUG-10 PL/SQL Developer  NONE               SQL*Net message from client      157852
      248         31905 CIA_APP      schlw005              INACTIVE 01:01:25 27-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client       20887
      258         35263 ARQ_APP      schlw006              INACTIVE 11:32:42 23-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client      328608
      260           337 LVMSOUSER    tnsp01826             INACTIVE 05:50:36 27-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client          80
      275         59915 SAM_APP      tnsp01826             INACTIVE 02:06:43 27-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client        2835
      277         54769 MSO_APP      gpsd023d              INACTIVE 10:36:37 25-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client      159176
      278         44661 ARQ_APP      schlw006              INACTIVE 08:49:54 26-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client       78966
      279         30674 ARQ_APP      schlw005              INACTIVE 01:01:21 27-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client       20891
      282          3258 LVMSOUSER    tnsp01826             INACTIVE 02:13:41 27-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client         660
      284         43634 MSO_APP      PSAMER\SCGVLDV15PSGE  INACTIVE 14:19:28 24-AUG-10 ASizeQueue1.exe   NONE               SQL*Net message from client          20
      285         36069 CIA_APP      schlw005              INACTIVE 01:01:27 27-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client       20885
      286          9410 ARQ_APP      schlw006              INACTIVE 11:32:44 23-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client       77875
      290         64610 LVMSOUSER    tnsp01819             INACTIVE 05:32:56 27-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client         178
      292         43190 PPW_APP      SOFTTEKGE\STKMY02439  INACTIVE 15:00:59 26-AUG-10                   NONE               SQL*Net message from client       55250
      293         41994 LVMSOUSER    tnsp01819             INACTIVE 02:51:29 27-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client         145
      303          9906 LVMSOUSER    tnsp01826             INACTIVE 02:13:43 27-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client        3534
      306         17290 SYS          tsgsp01503            INACTIVE 06:25:08 27-AUG-10 rman@tsgsp01503 (TNS NONE            SQL*Net message from client        1226
                                                                                        V1-V3)
      307         59667 MSO_APP      tnwp04113             INACTIVE 00:50:48 26-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client       82375
      308         28200 ARQ_APP      schlw005              INACTIVE 01:01:21 27-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client       20891
      312         63896 SPT_APP      tnsp01819             INACTIVE 01:12:28 27-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client       19190
      316         53964 LVMSOUSER    tnsp01819             INACTIVE 02:51:31 27-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client         178
      320         60237 ARQ_APP      schlw006              INACTIVE 08:55:46 26-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client       78656
      323         17306 MSO_APP      tnwp04112             INACTIVE 02:25:33 26-AUG-10                   NONE               SQL*Net message from client          15
      336         57045 ARQ_APP      schlw005              INACTIVE 01:01:20 27-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client        2368
      337         53462 MSO_APP      PSAMER\TSGWP00891     INACTIVE 06:38:32 27-AUG-10 orddrw32.exe      NONE               SQL*Net message from client         424
      338         21534 SPT_APP      SATHIC-PCS0179        INACTIVE 05:41:15 27-AUG-10 Oracle SQL Developer PL/SQL EXECUTE  SQL*Net message from client        4096
      342         45576 CIA_APP      schlw005              INACTIVE 01:01:27 27-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client       20885
      344         32553 ARQ_APP      schlw006              INACTIVE 09:21:53 26-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client       77148
      351         15019 MSO_APP      gpsd025d              INACTIVE 16:52:31 23-AUG-10                   NONE               SQL*Net message from client       76529
      353         10951 ARQ_APP      schlw006              INACTIVE 11:32:42 23-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client       77461
      357         19421 SSO501836470 SATVCC-PCS29498       INACTIVE 06:39:38 17-AUG-10 SQL Developer     NONE               SQL*Net message from client      860645
      359         54328 SPT_APP      SATHIC-PCS0179        INACTIVE 05:40:54 27-AUG-10 SQL Developer     PL/SQL EXECUTE     SQL*Net message from client        1122
      362         11722 ARQ_APP      schlw006              INACTIVE 08:47:49 26-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client       79238
      367         26337 PPW_APP      SOFTTEKGE\STKMY02439  INACTIVE 15:01:03 26-AUG-10                   SELECT             SQL*Net message from client       56906
      371         24065 ARQ_APP      schlw006              INACTIVE 08:32:07 26-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client       80013
      375         28388 MSO_APP      tnwp04113             INACTIVE 07:56:33 26-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client       33463
      376         29500 TSE_APP      PSAMER\NYSCHA13PSGE   INACTIVE 11:45:08 24-AUG-10 vb6.exe           NONE               SQL*Net message from client        3071
      377         39083 ARQ_APP      schlw005              INACTIVE 01:01:20 27-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client       20892
      378         18493 ARQ_APP      schlw006              INACTIVE 08:30:29 26-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client       80343
      379         45633 PRC_EAI      gpsd023d              INACTIVE 15:09:23 25-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client        7878
      380         34065 MSO_APP      PSAMER\TSGWP00891     INACTIVE 02:17:07 27-AUG-10 orddrw32.exe      NONE               SQL*Net message from client         813
      381         55914 PRC_APP      gpsd025d              INACTIVE 06:49:24 27-AUG-10                   NONE               SQL*Net message from client           3
      383         49394 MSO_APP      PSAMER\SCGVLDV14PSGE  INACTIVE 14:16:24 24-AUG-10 ASizeQueue1.exe   NONE               SQL*Net message from client          20
      384         46410 NIR_APP      PSAMER\TNWP04017      INACTIVE 06:22:40 27-AUG-10 w3wp.exe          NONE               SQL*Net message from client          22
      385          6233 ARQ_APP      schlw006              INACTIVE 08:42:02 26-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client       79386
      386         64769 MSO_APP      PSAMER\TSGWP00891     INACTIVE 03:55:46 27-AUG-10 orddrw32.exe      NONE               SQL*Net message from client       10426
      388         41602 ARQ_APP      schlw006              INACTIVE 09:21:54 26-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client       77022
      389         58831 MSO_APP      PSAMER\TSGWP00891     INACTIVE 06:48:12 27-AUG-10 orddrw32.exe      NONE               SQL*Net message from client          77
      397         43630 LVMSOUSER    tnsp01819             INACTIVE 05:32:54 27-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client         163
      400         62339 ARQ_APP      schlw006              INACTIVE 09:16:57 26-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client       77326
      402          8283 ARQ_APP      schlw006              INACTIVE 08:36:50 26-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client       79768
      407          4412 ARQ_APP      schlw006              INACTIVE 08:42:02 26-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client       79461
      410         40080 LVMSOUSER    tnsp01826             INACTIVE 05:50:34 27-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client        3470
            PX                                                                                                                                    Wait Time
      SID  SID  SERIAL# ORA USER     MACHINE               STATUS   LOGON_TIME         MODULE            COMMAND    Waiting for                   (Seconds)
      416         45596 SAM_APP      schlw005              INACTIVE 01:01:16 27-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client       20896
      421         58122 ARQ_APP      schlw005              INACTIVE 01:01:20 27-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client        2425
      424         59346 ARQ_APP      schlw006              INACTIVE 12:08:11 25-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client       80446
      425         32760 ARQ_APP      schlw006              INACTIVE 08:53:44 26-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client       78742
      426         22752 MSO_CMB      PSAMER\SCGVLDV15PSGE  INACTIVE 14:20:05 24-AUG-10 CombinationQueue.exe NONE            SQL*Net message from client          26
      430          2006 SAM_APP      tnsp01819             INACTIVE 01:07:36 27-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client         137
      432         63852 ARQ_APP      schlw006              INACTIVE 14:10:35 24-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client       80374
      436         16435 MSO_APP      gpsd025d              INACTIVE 16:52:30 23-AUG-10                   NONE               SQL*Net message from client           6
      442         44324 NIR_APP      PSAMER\TNWP04017      INACTIVE 06:47:44 27-AUG-10 w3wp.exe          NONE               SQL*Net message from client           5
      444         63735 ARQ_APP      schlw006              INACTIVE 09:16:56 26-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client       77409
      448         47232 ARQ_APP      schlw006              INACTIVE 09:06:03 26-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client       78026
      450         34890 ARQ_APP      schlw005              INACTIVE 01:01:20 27-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client        2151
      451         36355 HOT_ADMIN    tsgsp01503            INACTIVE 22:46:16 15-AUG-10 emagent@tsgsp01503 ( NONE            SQL*Net message from client          53
                                                                                       TNS V1-V3)
      452          1123 ARQ_APP      schlw006              INACTIVE 08:36:50 26-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client       79692
      455         50524 ARQ_APP      schlw006              INACTIVE 11:32:41 23-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client      328610
      458         16436 ARQ_APP      schlw006              INACTIVE 11:32:42 23-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client       78146
      460          8422 MSO_APP      gpsd023d              INACTIVE 10:36:31 25-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client      159181
      463         54816 SYS          tsgsp01503            INACTIVE 06:25:08 27-AUG-10 rman@tsgsp01503 (TNS NONE            SQL*Net message from client          10
                                                                                        V1-V3)
      468         32257 MSO_APP      PSAMER\TSGWP00891     INACTIVE 02:25:03 27-AUG-10 orddrw32.exe      NONE               SQL*Net message from client         813
      469          7614 ARQ_APP      schlw006              INACTIVE 09:06:03 26-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client       78108
      471         58246 BTT_APP      PSAMER\T00627489      INACTIVE 15:47:37 13-AUG-10 BTT.exe           NONE               SQL*Net message from client       78268
      474          2395 ARQ_APP      schlw005              INACTIVE 01:01:21 27-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client       20888
      477          7799 ARQ_APP      schlw005              INACTIVE 01:01:20 27-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client        2423
      478         45166 ARQ_APP      schlw006              INACTIVE 09:10:20 26-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client       77707
      482         17264 CIA_APP      schlw005              INACTIVE 01:01:25 27-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client       20887
      488         50488 MSO_APP      PSAMER\TSGWP00891     INACTIVE 03:55:56 27-AUG-10 VisioController.exe  NONE            SQL*Net message from client       10213
      489         25653 CIA_APP      schlw005              INACTIVE 01:01:25 27-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client       20887
      490         20069 SPT_APP      tnsp01826             INACTIVE 03:05:13 27-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client        8020
      492         25833 ARQ_APP      schlw006              INACTIVE 08:32:06 26-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client       80078
      493         59680 MSO_APP      PSAMER\SCGVLDV14PSGE  INACTIVE 06:49:29 27-AUG-10 BomQueueProgram.exe  NONE            SQL*Net message from client           2
      503         61354 ARQ_APP      schlw006              INACTIVE 09:00:11 26-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client       78300
      504         32549 ARQ_APP      schlw005              INACTIVE 01:01:22 27-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client       20890
      505         36802 SYSTEM       bsepdlm2.ae.ge.com    INACTIVE 05:28:46 27-AUG-10 Admin Connection  NONE               SQL*Net message from client        4753
      508           954 DBSNMP       tsgsp01503            INACTIVE 05:16:35 22-JUN-10 emagent@tsgsp01503 ( NONE            SQL*Net message from client          38
                                                                                       TNS V1-V3)
      509         60380 ARQ_APP      schlw006              INACTIVE 08:49:52 26-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client       79030
      510         40208 SAM_APP      schlw006              INACTIVE 02:01:04 27-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client       17308
      513         48521 ARQ_APP      schlw006              INACTIVE 11:32:42 23-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client       77181
      515         29925 ARQ_APP      schlw006              INACTIVE 09:10:21 26-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client       77626
      522         49851 SPT_APP      SATHIC-PCS0179        INACTIVE 05:41:15 27-AUG-10 Oracle SQL Developer PL/SQL EXECUTE  SQL*Net message from client        4096
      527         36970 MSO_CMB      PSAMER\SCGVLDV14PSGE  INACTIVE 14:15:15 24-AUG-10 CombinationQueue.exe NONE            SQL*Net message from client           6
      535         10196 PRC_APP      SOFTTEKGE\STKMY05284  INACTIVE 18:05:29 24-AUG-10 PL/SQL Developer  PL/SQL EXECUTE     SQL*Net message from client       74332
      543         29238 ARQ_APP      schlw006              INACTIVE 09:00:10 26-AUG-10 JDBC Thin Client  NONE               SQL*Net message from client       78423
      296         40839 DBSNMP       tsgsp01503            ACTIVE   22:46:11 15-AUG-10 emagent@tsgsp01503 ( NONE            Streams AQ: waiting for mess          3
                                                                                       TNS V1-V3)                   ages in the queue
      315         39000 SYS          tsgsp01503            ACTIVE   06:27:23 27-AUG-10 backup archivelog NONE               Backup: sbtwrite2                  1188
      345         46680 MSO_CMB      PSAMER\SCGVLDV15PSGE  ACTIVE   06:47:07 27-AUG-10 CombinationQueue.exe UPDATE          db file sequential read               0
      352         51633 MSO_CMB      PSAMER\SCGVLDV14PSGE  ACTIVE   06:49:21 27-AUG-10 CombinationQueue.exe UPDATE          SQL*Net message from client           0
      370         28991 SYSTEM       INDGE\703062610L      ACTIVE   05:33:46 27-AUG-10 SQL*Plus          SELECT             SQL*Net message to client             0
      422         45900 SYS          tsgsp01503            ACTIVE   06:27:41 27-AUG-10 backup archivelog NONE               Backup: sbtwrite2                   649
            PX                                                                                                                                    Wait Time
      SID  SID  SERIAL# ORA USER     MACHINE               STATUS   LOGON_TIME         MODULE            COMMAND    Waiting for                   (Seconds)
      439          6507 SPT_APP      SATHIC-PCS0179        ACTIVE   09:43:27 26-AUG-10 SQL Developer     SELECT             db file sequential read               0
      464         12988                                    ACTIVE   11:09:50 07-AUG-10                   NONE               Streams AQ: qmn slave idle w      52456
                                                                                                                    ait
      486         55921 SYS          tsgsp01503            ACTIVE   06:27:29 27-AUG-10 backup archivelog NONE               Backup: sbtwrite2                  1197
      494             1                                    ACTIVE   00:57:58 24-JAN-10                   NONE               Streams AQ: waiting for time        872
                                                                                                                     management or cleanup tasks
      501             1              QMNC                  ACTIVE   00:57:48 24-JAN-10                   NONE               Streams AQ: qmn coordinator     1711915
                                                                                                                    idle wait
      530             3              ARC0                  ACTIVE   00:57:42 24-JAN-10                   NONE               idle                                 88
      532         64509 SYS          tsgsp01503            ACTIVE   06:27:35 27-AUG-10 backup archivelog NONE               Backup: sbtwrite2                   851
      534             3              ARC1                  ACTIVE   00:57:42 24-JAN-10                   NONE               idle                                 55
      542          9234 TBSPT        tsgsp01503            ACTIVE   23:59:57 26-AUG-10                   UPDATE             latch: cache buffers chains           2
      544             1              MMNL                  ACTIVE   00:57:30 24-JAN-10                   NONE               idle                               5464
      545             1              MMON                  ACTIVE   00:57:30 24-JAN-10                   NONE               idle                                315
      546             1              CJQ0                  ACTIVE   00:57:30 24-JAN-10                   NONE               idle                                139
      547             1              RECO                  ACTIVE   00:57:30 24-JAN-10                   NONE               idle                                 24
      548             1              SMON                  ACTIVE   00:57:30 24-JAN-10                   NONE               idle                                105
      549             1              CKPT                  ACTIVE   00:57:29 24-JAN-10                   NONE               idle                                  1
      550             1              LGWR                  ACTIVE   00:57:29 24-JAN-10                   NONE               idle                                  0
      551             1              DBW1                  ACTIVE   00:57:29 24-JAN-10                   NONE               idle                                  2
      552             1              DBW0                  ACTIVE   00:57:29 24-JAN-10                   NONE               idle                                  2
      553             1              MMAN                  ACTIVE   00:57:29 24-JAN-10                   NONE               idle                              17089
      554             1              PSP0                  ACTIVE   00:57:29 24-JAN-10                   NONE               idle                                137
      555             1              PMON                  ACTIVE   00:57:29 24-JAN-10                   NONE               idle                              61920
    123 rows selected.

  • Peculiar behaviour of synchronize?

    I have made a method "synchronize" still I can't see the output as desired. I think a series of Thread-1 and series of Thread - 0 should come, but the output is coming in the random fashion. Can anyone please explain this behaviour of threads in java??
    package threads;
    public class SimpleThread
         public static void main(String[] args) throws InterruptedException
              System.out.println(" the current thread is ... " + Thread.currentThread().getName());
              Thread2 t1 = new Thread2();//t1.setDaemon(true);
              t1.start();
              Thread2 t2 = new Thread2();//t2.setDaemon(true);
              t2.start();
              System.out.println(" the current thread is ... " + Thread.currentThread().getName());
    class Thread2 extends Thread
         public synchronized void test()
    //          synchronized (this)
                   for (int i = 0; i <100; i++)
                        System.out.println("the current thread is ..."  + Thread.currentThread().getName());               
         public void run()
              test();
    }Output is:
    the current thread is ... main
    the current thread is ... main
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-1
    the current thread is ...Thread-0
    the current thread is ...Thread-1
    the current thread is ...Thread-0
    the current thread is ...Thread-1
    the current thread is ...Thread-0
    the current thread is ...Thread-1
    the current thread is ...Thread-0
    the current thread is ...Thread-1
    the current thread is ...Thread-0
    the current thread is ...Thread-1
    the current thread is ...Thread-0
    the current thread is ...Thread-1
    the current thread is ...Thread-0
    the current thread is ...Thread-1
    the current thread is ...Thread-0
    the current thread is ...Thread-1
    the current thread is ...Thread-0
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-0
    the current thread is ...Thread-1
    the current thread is ...Thread-0
    the current thread is ...Thread-1
    the current thread is ...Thread-0
    the current thread is ...Thread-1
    the current thread is ...Thread-0
    the current thread is ...Thread-1
    the current thread is ...Thread-0
    the current thread is ...Thread-1
    the current thread is ...Thread-0
    the current thread is ...Thread-1
    the current thread is ...Thread-0
    the current thread is ...Thread-1
    the current thread is ...Thread-0
    the current thread is ...Thread-1
    the current thread is ...Thread-0
    the current thread is ...Thread-1
    the current thread is ...Thread-0
    the current thread is ...Thread-1
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-1
    the current thread is ...Thread-0
    the current thread is ...Thread-1
    the current thread is ...Thread-0
    the current thread is ...Thread-1
    the current thread is ...Thread-0
    the current thread is ...Thread-1
    the current thread is ...Thread-0
    the current thread is ...Thread-1
    the current thread is ...Thread-0
    the current thread is ...Thread-1
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-1
    the current thread is ...Thread-0
    the current thread is ...Thread-1
    the current thread is ...Thread-0
    the current thread is ...Thread-1
    the current thread is ...Thread-0
    the current thread is ...Thread-1
    the current thread is ...Thread-0
    the current thread is ...Thread-1
    the current thread is ...Thread-0
    the current thread is ...Thread-1
    the current thread is ...Thread-0
    the current thread is ...Thread-1
    the current thread is ...Thread-0
    the current thread is ...Thread-1
    the current thread is ...Thread-0
    the current thread is ...Thread-1
    the current thread is ...Thread-0
    the current thread is ...Thread-1
    the current thread is ...Thread-0
    the current thread is ...Thread-1
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-0
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1
    the current thread is ...Thread-1

    Your code would be more comprehensible if it didn't extend Thread. This is causing you some confusion. Try it like this:
    // in main() ...
    Runnable r = new Runnable2();
    new Thread(r).start();
    new Thread(r).start();
    // Delete the Thread2 class and replace it with this ...
    class Runnable2 implements Runnable
         public synchronized void run
    //          synchronized (this)
                   for (int i = 0; i <100; i++)
                        System.out.println("the current thread is ..."  + Thread.currentThread().getName());               
    }

  • Peculiar behaviour with pathfinder/apply stroke to group

    Hello all!
    Although I have lurked on this forum for a while, this is my first post, so apologies for any etiquette breach!
    I've been using Illustrator (CS4/MacOSX) for a while, but every now and then it throws me a curve ball. Either that or I'm having a particularly gormless evening and failing to spot something obvious!
    I hope posting images is ok, it'll help me explain my dilemma!
    First question is this. Is it possible to outline a group - not each individual component, but the edge of a whole group? To achieve something like this 'sticker' effect:
    http://i22.photobucket.com/albums/b310/mewsie80/nana.gif
    Which I had to go about a long-winded way and create a copy of the whole thing, use 'expand appearance' to expand out the strokes, then pathfinder to 'unite' into one shape, then apply a stroke to that and place it under the grouped leaves. Seems such a faff - and Illustrator is smarter than that, I'm sure.
    What am I missing?!
    Anyway - using my crazy work around, I am trying to do the same thing with this image of an axolotl:
    http://i22.photobucket.com/albums/b310/mewsie80/roscoe01.gif
    Now - if I do the same as I did previously, to expand out the brush strokes (the red of the gills):
    http://i22.photobucket.com/albums/b310/mewsie80/gills1.gif
    Then use the 'unite' command in pathfinder, it seems to lose its definition and just do strange things to the shape:
    http://i22.photobucket.com/albums/b310/mewsie80/gills2.gif
    So it sort of scuppers my work around! Can't think of a reason why this is the case - earlier on I was getting even stranger results that I couldn't replicate to show you.
    I've even relaunched Illustrator, but still getting the same effect.
    Anyway - thanks a million in advance for your help - hopefully you can point me in the right direction
    Thanks folks,
    Caroline

    Caroline,
    Is it possible to outline a group - not each individual component, but
    the edge of a whole group? To achieve something like this 'sticker'
    effect
    You can fake it if you:
    1) Select the group,
    2) In the apearance palette/panel tick Add New Stroke,
    3) Drag it down below the Contents in the (main) Appearance palette/panel.
    Note that only the outer half of the added stroke shows behind the group (less if the objects are stroked).

  • Re: Peculiar behaviour while MRP

    Hi All,
    I am facing a situation which I am not able to understand. I am trying to run MRP for a FG which has stock in place & Safety stock.On entering some PIR via MD61 & running the MRP the planned order created is of a quantity more than required.
    It shoild have been 109 But its appearing 124.875.On drilling down I found there were two components.
    1.Pegged requirment=109
    2 Procurement without requirement=15.1875
    Please explain me system behavious

    Hi,
    Please check the following values for the Material in the Material Master (MM02/MM03) :
    MRP type , Component Scrap , Assembly Scrap, Lot size , Safety stock and Scrap percentage if any mentioned in BOM item details.
    Even the scrap percentage mentioned in the Material Master and BOM will considered while creating the procurement proposals. Check those values and get back.
    Regards
    radhak mk

  • ML actual costing peculiar behaviour

    Hi,
    I just try ML actual costing in Sandbox system.  Earlier I was able to track material transactions in actual costing ckm3.  Now, I am not able to see material movements in ckm3 after running SAPRCKMJX and CKMSTART.
    I tried to create a PO and subsequent goods receipt.  It has been posted in financial books.  but goods receipt transaction doesn't appear in ckm3.  What went wrong I am sure.
    Can any one explain.  I checked my actual costing configurations it was right.  I am not using movement types in ML but quantity structure. B+ V+
    Any one explain this?
    Cheers,
    Ashok

    Hi Ashok,
    This is strange, it seems to be an inconsistency. Did you check if  the material  is inconsistent with transaction CKMC?
    Other possible reason can be that there is an inconsistency with the cost estimate number.
    If you have the ML Helpdesk (note 364368) installed in your system you can verify this with program MLHELP_CHECK_MULTIPLE_CKMLHD.
    If this doesn't help you I recommend you to open a oss message to invesitage the problem in the system.
    Regards,
    MLM

  • A workflow for a new MM vendor invoice showing the error.

    We have detected the following strange behaviour in our workflow runtime environment.
    A workflow for a new MM vendor invoice is started as it should.When we see the workflow overview it shows status u201CIn Processu201D. 
    f the workflow shows the status u201CIn Processu201D for an hour or more, a new undesired workflow (same WF-task) is started automatically for the same invoice. Nobody has triggered this new undesired workflow.
    Please let us know the what is the problem
    Thanks
    Sarin23

    Hi,
    Please see the below link and this will help you.
    http://help.sap.com/printdocu/core/print46c/en/data/pdf/BCBMTWFMMM/BCBMTWFMMM.pdf
    http://help.sap.com/saphelp_46c/helpdata/EN/c5/e4a930453d11d189430000e829fbbd/content.htm
    Anil

  • Strange stack behaviour with referenced files

    I have just started to notice peculiar behaviour with referenced images within stacks. I have been reviewing last years pictures with a view to clearing out the junk.What I have found is rather alarming in that on clicking a stack to open it all the images within the stack were the wrong pictures, wrong as in taken with a different camera in a different year.The top picture does not seem to be affected.On attempting to find the correct files using 'manage referenced files' all the wrong images are shown as found in the list view with their own file names at the same time the thumbnails (top right hand pane) show the original correct file names but with the wrong thumbnails,Aperture does not realise that it is referencing the wrong files and so will not let me reconnect to the correct files.
    Anyone with a similar problem or a cure for this behaviour?

    Ok I have deleted and rebuilt thumbnails files to no avail.
    What appears to be happening is that aperture is using the wrong file-path for the affected pictures.
    I keep all pictures arranged by date order so for example where the correct file path for an image would be;
    Raid Zero/Pictures/2006/0609/060928/pict3722
    Aperture is giving a file path of
    Picture Library/2007/0712/071223/_DCS1023
    in the manage referenced files pane it shows the wrong path as above, the thumbnail picture is of the wrong file but the thumbnail name and date is correct.
    Interestingly since rebuilding the thumbs it is now possible to reconnect to the correct original file whereas before the reconnect option was not available, however it is only possible to do this one file at a time,the re-connect all function does not work presumably because Aperture is not aware that its filepath is wrong.
    Oh dear.... Aperture has just crashed,this immediately after reconnecting 6 files and waiting for the files to update to the correct image in viewer mode.
    GRRRRRRRRR!

  • Point4D.Multiply inconsistent behaviour with NaN values

    I've noticed some peculiar behaviour with System.Windows.Media.Media3D.Point4d.Mutiply when used with NaN values.
    The following assumes that I expect that 0 * NaN should result in 0. There is an argument against that logic, but that is not the point here.
    I have a 4x4 matrix defined, in the case that it is an Identity matrix and there is a NaN component in the vector, I would like to get some defined vector output where it is possible to calculate the component.
    E.g. (1,2,NaN,4) * (Identity Matrix) = (1,2,NaN,4).
    I was caught out for a while:
    By stepping through using the debugger gives the output I want (1,2,NaN,4).
    But allowing the debug code to run through uninterrupted gives the result (NaN, NaN, Nan, Nan).
    There is a slightly surprising workaround: - using Matrix.IsIdentity seems to trigger the result I want
    If I use the default Matrix constructor instead of a manually created one (normally created elsewhere in code), there is no problem.
    Can anyone explain this inconsistency?
    Simple C# console demo:
    using System;
    using System.Windows.Media.Media3D;
    namespace TestNan
    class Program
    static void Main(string[] args)
    Point4D testPoint = new Point4D(1.0, 2.0, Double.NaN, 4.0);
    Matrix3D testMatrix = new Matrix3D(1.0, 0.0, 0.0, 0.0,
    0.0, 1.0, 0.0, 0.0,
    0.0, 0.0, 1.0, 0.0,
    0.0, 0.0, 0.0, 1.0);
    var testResult1 = Point4D.Multiply(testPoint, testMatrix);
    Console.WriteLine(testResult1.ToString());// NaN,NaN,NaN,NaN
    var b = testMatrix.IsIdentity;
    var testResult2 = Point4D.Multiply(testPoint, testMatrix);
    Console.WriteLine(testResult2.ToString());// 1, 2, NaN, 4
    Console.ReadKey();

    >>Can anyone explain this inconsistency?
    The Matrix3D class has an internal boolean flag that it uses to determine if the matrix is actually an identity matrix and this flag is not set when you create a Matrix3D object using the constructor that takes the 16 double values despite the fact that
    you are actually creating an identity matrix (the flag is then eventually set when you access the IsIdentity property).
    If you use the Matrix3D.Identity static property, the flag will get set to the correct value immediately and the results will be the expected:
    static void Main(string[] args)
    Point4D testPoint = new Point4D(1.0, 2.0, Double.NaN, 4.0);
    Matrix3D testMatrix = Matrix3D.Identity;
    var testResult1 = Point4D.Multiply(testPoint, testMatrix);
    Console.WriteLine(testResult1.ToString());
    var b = testMatrix.IsIdentity;
    var testResult2 = Point4D.Multiply(testPoint, testMatrix);
    Console.WriteLine(testResult2.ToString());// 1, 2, NaN, 4
    Console.ReadKey();
    Hope that helps.
    Please remember to close your threads by marking helpful posts as answer and then start a new thread if you have a new question. Please don't post several questions in the same thread.

  • Strange PriorityQueue behaviour

    Hey all,
    Im observring somr rather peculiar behaviour with a PriorityQueue. Essentially I make a check that PriorityQueue pq has some elements in it i.e.
    if(pq.size()>0){
    // Then, I try and access (pop) the element at the head of the queue:
    element = pq.poll();
    ...etc
    However sometime, when it gets to pq.poll() in the above code, an exception is raised. NB, I has even tried if(pq.peek()!=null), yet occasionally, a null pointer exception is raised. Has anyone else noticed this very strange behaviour, and if so, what on earth could be hapenning?
    Cheers
    Ben.

    My understanding is that the threadsafe aspect of PriorityBlockingQueue ensures that the internal data will not be currupted when multiple threads are accessing it. This will not, however, prevent one thread from removing elements while another thread is checking peek() and doing poll().
    I recommend synchronizing all access to pq so in between your peek() and your poll() another thread isn't adding/removnig elements out from under you.synchronized(pq)    // one thread runs this
        if(pq.peek() == null)
            element = pq.poll();
            element.method();
    synchronized(pq)        // another thread attempts to run this, but must wait until it's safe.
        pq.add(...);
        pq.remove(...);
    }

  • Two separate calculated columns - results show up only in one of them

    Hey,
    I've recently run into some peculiar behaviour in OBIEE (Oracle Business Intelligence 11.1.1.7.0). I'm using three attribute colums (deliv. on time, ordered, backlog) to calculate a monthly service level. In addition I'm using a customer ID number to separate our customers into export and national customers. I've three calculated columns - Service Level Export, Service Level Total and Service Level National. I'm using a simple case-statement to distinguish between international and national customers (When custID between xxx and yyy then...). The total service level column doesn't have a case-if calculation, only a couple of simple mathematical operations and it works fine.
    Now the problem is that the results show up only in one of those calculated columns containing case-if calculations - not both at the same time. Using a prompt in a pivot table I can verify that both columns get proper values but when I remove the prompt half of the values randomly disappear from these columns so that only one of the columns has a value for a specific month. The calculations in all three columns are identical - the only difference is that Serv. L. Exp. exludes a spesific CustID whereas the Serv. L. Nat. only includes that one CustID.
    Example - both Serv. L. Exp and Serv. L. Nat should have values for every month, now only one of them gets values
    Month          Serv. L. Exp.               Serv. L. Nat.               Total Serv. L.
    01                         15 %                                                       15 %
    02                         17 %                                                       17 %
    03                         13 %                                                       13 %
    04                                                          20 %                      20 %
    05                                                          22 %                      22 %
    I've a few months of OBIEE experience under my belt so I'm not that experienced but usually I've been able to figure out what's wrong on my own. This time, however, this leaves me dumbfounded. Any help or advice would be much appreciated.
    Regards,
    Silver

    Hi,
    Serv.L.Nat is calculated 100 * INVOICED / (ORDERED + DELAYED). For National Service Level the case statement (including the calculations) is as follows (the inner CASE limits the Serv.L.Nat per cust to a range of 0 - 100 %):
    CASE WHEN "fact"."CustID" = 100001 THEN (
         CASE WHEN Serv.L.Nat > 100 THEN 100
         WHEN Serv.L.Nat < 0 THEN 0
         WHEN Serv.L.Nat IS NULL THEN 0
         ELSE Serv.L.Nat
         END)
    END
    For Export the sql is exactly like the one above, barring the reversed condition.
    Regards,
    Silver
    PS. The above is a burst of pseudoSQL so don't mind the typos, the actual code is tested to work as intended... barring the fact that something's wrong with getting the values to appear.

  • GR/IR posting issue

    Hi Gurus,
    I have a problem. I have the following set of transactions done. Now I have the question - why the last invoice posted to this PO, has not been fully posted to the GR/IR Account. Thus there is a diff on this account.
    What can be done now?
    And why did this occur. Please help
    Transactions given below with the postings.......
    GR     23.05.2006     
    Qty     1     
    Account    Account text             Amount     Currency
    4020000     Operational     2528.75     USD
    2463000     Good rec inv rec     -2528.75     USD
    IR     21.02.2007     
    Qty     1     
    Account    Account text             Amount     Currency
    86     Maersk Sverige AB     -2528.75     USD
    2463000     Good rec inv rec     2528.75     USD
    4020000     Operational     0     USD
    -IR     21.02.2007     
    Qty     -1     
    Account    Account text             Amount     Currency    Note
    20     Maersk Sverige AB     2528.75     USD      Reversed against posted and paid to wrong vendor
    2463000     Good rec inv rec     -2528.75     USD
    4020000     Operational     0     USD
    IR     21.02.2007     
    Qty     1     
    Account    Account text             Amount     Currency
    20     Maersk Sverige AB     -2528.75     USD
    2463000     Good rec inv rec     2528.75     USD
    4020000     Operational     0     USD
    IR     05.09.2007     
    Qty     1     
    Account    Account text             Amount     Currency
    20     Maersk Sverige AB     -2528.75     USD
    2463000     Good rec inv rec     2528.75     USD
    Credit Memo     05.09.2007     
    Qty     -2     
    Account    Account text             Amount     Currency
    86     Maersk Sverige AB     2528.75    USD
    2463000     Good rec inv rec     -1264.38   USD
    4020000     Operational     -1264.37   USD

    Thanks everyone for your responses. It has been a great help. I found one more peculiar behaviour,
    I post a partial invoice, PO value - 500
    Now, WBS avail budget - 1000, commitment is 500 Actual - 0
    GR Value  - 250,
    WBS avail budget - 1000 commitment becomes 250, Actuals 250
    IR value - 150 (partial invoice) with GRIR cleared
    WBS avail budget - 1100, Commitment 250, Actuals 150 I understand it is STD.
    Now i post a subsequent invoice, for 100 for the same PO with GRIR indicator unchecked in MIRO
    but WBS avail budget - 1100, Commitment 250, Actuals 150.
    There is no change in WBS actuals or avail budget
    Instead when i post a subsequent invoice, for 100 for the same PO with GRIR indicator checked in MIRO
    WBS avail budget - 1000, Commitment 250, Actuals 250
    There is change in WBS actuals and budget gets reduced accordingly.
    Sorry for making it long, just want to explain the scenario clearly..
    Can someone please explain why there is no change in WBS actuals in previous case?
    Thanks

  • GR-IR clearing Posting issue

    Hi,
    The scenario step is
    1. PO creation
    2. Service entry creation and acceptance
    3. Invoice verification
    The issue is, after the invoice is posted, when i look at the accounting doc, the posting should be from GRIR to Vendor. but instead the accounting doc contains GR/IR as well as the GL postingv(the GL which is maintained in PO).
    Why the posting is happening against GL account of PO? (Note : GR/IR clearing flag is checked in Invoice).
    Can someone help pls?
    Regards,
    Maniraj

    Thanks everyone for your responses. It has been a great help. I found one more peculiar behaviour,
    I post a partial invoice, PO value - 500
    Now, WBS avail budget - 1000, commitment is 500 Actual - 0
    GR Value  - 250,
    WBS avail budget - 1000 commitment becomes 250, Actuals 250
    IR value - 150 (partial invoice) with GRIR cleared
    WBS avail budget - 1100, Commitment 250, Actuals 150 I understand it is STD.
    Now i post a subsequent invoice, for 100 for the same PO with GRIR indicator unchecked in MIRO
    but WBS avail budget - 1100, Commitment 250, Actuals 150.
    There is no change in WBS actuals or avail budget
    Instead when i post a subsequent invoice, for 100 for the same PO with GRIR indicator checked in MIRO
    WBS avail budget - 1000, Commitment 250, Actuals 250
    There is change in WBS actuals and budget gets reduced accordingly.
    Sorry for making it long, just want to explain the scenario clearly..
    Can someone please explain why there is no change in WBS actuals in previous case?
    Thanks

  • How can i get my old firefox back?

    I don't like this new blue one and didn't ask for it, it was suddenly there. Besides, it has some really peculiar behaviour. As an example, right at this moment I have 5 firefox tabs open. The first one is a question on your forum. When I clicked the 'ask a question' link at the top of the page, it opened the next page in a new tab. And when I clicked the search button on that page, it opened another tab again. That tab asked me what product I want support with and opened another tab with the next page. And yet 10 minutes ago it was working properly. It keeps doing this, suddenly changing it's mind on how it opens new pages.
    Also, I can be scrolling down a page using the scroll wheel on my mouse, then suddenly it stops scrolling and starts making the page larger or smaller instead. Why does it keep changing it's mind on what it's doing?
    Really don't like this new browser and would appreciate it if I could get my old one back which worked perfectly well and really didn't need upgrading.

    Thanks for your response Cor el, I'll try that the next time it happens, it's completely random. One moment it functions normally then suddenly it changes its mind.
    Restarting my pc usually brings it back to normal until next time.
    One thing I've noticed, but not 100% sure there's a connection here.....I edit my websites online and log into cpanel which opens new pages in separate tabs, as it should do. It seems that this problem occurs when I'm logged into cpanel...if i'm logged in then open a new tab for regular browsing of other sites then all links on those sites also open in new tabs.
    Ican't say for sure if it's always only happened when logged into cpanel, but certainly on the last 3 occasions.
    At the moment it's behaving normally so much I can do to check your suggestions, but will try them the next time it occurs.
    One other thing I forgot to mention too....since i've had the new firefox, I've noticed that when I log into yahoo and post comments, I often find myself having to log on for each new post. Everything was fine with old firefox and there have been no other changes to my pc .

Maybe you are looking for

  • Generation of report in landscape mode using PDF template

    Hi, I am creating a report using pdf template, I have used the repeating group i.e I have used the code <?rep_field="BODY_START"?> and <?rep_field="BODY_END"?> as the repeating area and with the field which needs to be repeated i have used the code <

  • Custom component accessing data

    I am trying to build a custom component that utilizes the datagrid. I want to create a class that loads in xome XML and populates the datagrid. The datagrid's ID is not available in the class's load.COMPLETE event handler, so I cannot populate the da

  • Syncing files

    Please help: I have just purchased a new MacBook Pro. Additionally, I have a G4 Sawtooth. When I tried to sync between the two computers it did not work. I was using a Firewire cable and the G4 as a Target Mode disk. I have different User names on th

  • Firefox for Android long press not displaying popup menu.

    Often when I Iong press a link, the popup menu doesn't display. Not matter how long I hold the link or how many times I try, nothing happens. I'm on Android 4.0.3

  • Forcing Epson driver to update to 3.5 (Universal Binary)

    I was having problems with an Epson Stylus Pro 7800. When printing from Photoshop CS3, all of the custom printer options such as "Print Settings" and "Paper Configuration" were unavailable (they were there, but crossed out with a strikethrough). If I