Problem in triggering the correct workflow on  AdobeForm submission for PCR

Hi All,
I am facing a problem involving triggering of workflows through Adobe form submission. I have created a scenario for "Employee seperation" in QISRSCENARIO transaction and assigned it to an approval workflow. I have also activated and assigned the BUS7051-Created event in the workflow Basic Data. My workflow also triggers perfectly when i submit the adobe form. Everything is perfect till here.
Now i have to create another scenario for "Request for Transfer" Now for this i had to create a seperate workflow. My problem is since both these workflows are assigned to the same event whenever i submit the "Employee seperation" form both the workflows get triggered. <b>Is there a setting where i can configure the corresponding workflow to be triggered for the respective scenario's alone?</b> How do we handle this situation?

Hi Jocelyn/Raja,
I am trying to use SWB_COND for differentiating between the different workflows. I have created a virtual attribute W_SCENARIO_KEY for this. I tried populating this scenario key by using the following staement,
<b>
CALL FUNCTION 'ISR_SPECIAL_DATA_GET'                       
  EXPORTING                                                
    notification_no                     =  object-key-number
IMPORTING                                                 
    SCENARIO                            = w_scenario_key.  
  SWC_SET_ELEMENT CONTAINER 'W_SCENARIO_KEY' W_SCENARIO_KEY.</b>
When i try to include W_SCENARIO_KEY as a start condition the workflow shows up an express message and fails to trigger. In ST22 i can see that there is an exception "INVALID_NOTIF_NUMBER" raised.
But if i don't set this as a start condition all the workflows activated to BUS7051-CREATED are triggered and in the WF logs i can see the correct value of W_SCENARIO_KEY for the respective notification number.
I am not sure why this happens when i set it as a start condition alone.
I instead used a select statement as shown below,
<b>select * from viqmel into table itab_VIQMEL          
              where qmnum = object-key-number.       
loop at itab_viqmel where qmnum = object-key-number. 
w_scenario_key = itab_viqmel-auswirk.                
endloop.</b>
After inserting this statement it works fine without any issues. Any idea on why ISR_SPECIAL_DATA_GET cant be used in the virtual attribute implementation?
The following is the dump i get if i use ISR_SPECIAL_DATA_GET,
Information on where terminated                                                                 
    The termination occurred in the ABAP program "SAPLQISR9" in                                 
     "ISR_SPECIAL_DATA_GET".                                                                    
    The main program was "RSWDSTRT ".                                                                               
The termination occurred in line 39 of the source code of the (Include)                     
     program "LQISR9U01"                                                                        
    of the source code of program "LQISR9U01" (when calling the editor 390).                                                                               
Source Code Extract                                                                               
Line  SourceCde                                                                               
9 *"  EXCEPTIONS                                                                               
10 *"      NO_INTERNAL_SERVICE_REQUEST                                                       
   11 *"      INVALID_NOTIF_NUMBER                                                              
   12 *"      INT_SERVICE_REQUEST_NOT_FOUND                                                     
   13 *"----
   14                                                                               
15 * local data                                                                               
16   DATA: lt_dummy TYPE qisrsgeneral_param.                                                 
   17                                                                               
18   DATA: lr_isr_document TYPE REF TO cl_isr_xml_document.                                  
   19                                                                               
20   DATA: ls_notif TYPE qmel.                                                               
   21                                                                               
22 * MAIN                                                                               
23 * try buffer first                                                                      
   24   CALL FUNCTION 'ISR_SPECIAL_DATA_BUFFER_GET'                                           
   25     IMPORTING                                                                               
26       ET_SPECIAL_DATA       = special_data                                              
   27       ED_SCENARIO           = scenario                                                  
   28     EXCEPTIONS                                                                          
   29       BUFFER_EMPTY          = 1.                                                        
   30                                                                               
31   IF sy-subrc eq 0.                                                                     
   32     EXIT.                                                                               
33   ENDIF.                                                                               
34                                                                               
<b>   35 * check notification number                                                             
   36   SELECT SINGLE * FROM qmel INTO  ls_notif                                              
   37                             WHERE qmnum = notification_no.                              
   38   IF sy-subrc NE 0.                                                                     
>>>>>     RAISE invalid_notif_number.                                                         
   40   ELSEIF ls_notif-auswirk IS INITIAL.                                                   
   41     RAISE no_internal_service_request.                                                  
   42   ENDIF.     </b>                                                                               
43                                                                               
44 * set scenario                                                                          
   45   scenario = ls_notif-auswirk.                                                          
   46                                                                               
47 * read ISR XML document                                                                 
   48   CALL METHOD cl_isr_xml_document=>read_for_display                                     
   49     EXPORTING  id_notif_no         = notification_no                                    
   50     IMPORTING  er_isr_xml_document = lr_isr_document                                    
   51     EXCEPTIONS bds_error = 1.                                                           
   52                                                                               
53   IF sy-subrc NE 0.                                                                     
54     RAISE int_service_request_not_found.           
55   ENDIF.                                           
56                                                    
57 * read data from XML document                      
58   CALL METHOD lr_isr_document->get_data_from_xml

Similar Messages

  • Problem in Triggering the Mail to SAP Inbox

    Dear Experts,
                     I have a problem for triggering the Mail option to SAP Inbox.
    We created a Job assigning the program RSEIDOCA,RSWUWFML2 by creating a variant for those programs. We are scheduling the job,  It is showing as
    24.11.2010 12:43:46 Job started                                                                     00           516          S
    24.11.2010 12:43:46 Step 001 started (program RSEIDOCA, variant ZRSEIDOCA, user ID__ )        00           550          S
    24.11.2010 12:43:48 Error situation found by evaluation                                             E0           596          S
    24.11.2010 12:43:48 Step 002 started (program RSWUWFML2, variant ZRSWUWFML2, user ID__)      00           550          S
    24.11.2010 12:43:49 Job finished                                                                    00           517          S
    But while checking in SOST, we are unable to see those mails. eventhough the user is unable to get those mail in SAP INBOX.
    I think, is there any authorization problem while triggering the mail for that particular user id.. Please tell me the solution, this is very high requirement for me.
    Thanks in Advance.
    Regards,
    Srini

    Hi Chandra,
              Thanks for your reply. Actually i am not workflow consultant, thats why i asking this question. Where to assign the Receipient Type and Recipient Notification.
    you give Recipient Type as position and Recipient of Notification must be position of the reciepient,
    Regards,
    Srini

  • What is the correct model no Bluetooth card for early 2005 G5

    Hi, Could someone please tell me the correct model no Bluetooth card for an early 2005 2.0Ghz Duel Processor PowerMac G5 (Serial CK5300SCRTY), i have two model no's but am confused about the correct one, one is A1115 and the other is A1044.
    Also is the correct Airport Extreme card model no A1027 for this mac?.

    Airport Extreme Card (Europe, Asia, Australia) PART NO: M8881Z/A, Model No. A1027
    Apple Bluetooth Card for Early 2005 G5, PART NO: 922-6784, Model No. A1115
    Apple Bluetooth Card (REV 3) for G4, iMac, eMac, G5 (through late 2004) PART NO: 922-6876, Model No. A1044
    Do not confuse the G5 A1115 with the Mac Pro A1115.

  • TS4000 What is the "correct" date and time settings for icloud reminders?

    What is the "correct" date and time settings for icloud reminders?

    Sep. 18th. We don't know what time.

  • HT4352 I'm using the correct APPLE ID and password for Home Sharing on my computer but my AppleTv is not accepting it?  What's up with that???

    I'm using the correct APPLE ID and password for Home Sharing on my computer but my AppleTv is not accepting it?  What's up with that???

    I have the exact same issue. I also tried resetting my password. I can log in to iTunes on my laptop with the new password, on to my iPhone iTunes, but my Apple TV says it cannot recognize my password. I just did an Apple Tv software update a few days ago.
    I am able to log in to Netflix on my Apple TV just fine. I did not have to re-enter my password for that.
    Very frustrating. I hope Apple can figure this out soon and post a fix.
    Thanks for any advice.  Cheers.

  • TS4268 iMessage doesn't work anymore suddenly. It claims that my apple id had changed, which isn't the case (App Download still working!) . Then it shows the correct Email-adress and asks for appleID password.

    iMessage doesn't work anymore suddenly. It claims that my apple id had changed, which isn't the case (App Download still working!) . Then it shows the correct Email-adress and asks for appleID password. After entering it switches to a mask witch asks for the eMail adress that should be used. There is the right One already preentered. From there it switches back to the former mask (appleID +password) and nothing happens. If you say Log in again, ist just switches between those masks without showing an error claim nor logging in. Strange thing is ist worked proppperply till a few days ago.......

    Hello there Noregret35,
    I suggest this part of the iPhone Troubleshooting Assistant found here http://www.apple.com/support/iphone/assistant/phone/#section_1
    If you get to step 3 I recommend closing ALL the apps.
    Here is step 1 to get you started.
    Restart iPhone
    To restart iPhone, first turn iPhone off by pressing and holding the Sleep/Wake button until a red slider appears. Slide your finger across the slider and iPhone will turn off after a few moments.
    Next, turn iPhone on by pressing and holding the Sleep/Wake button until the Apple logo appears.
    Is iPhone not responding? To reset iPhone, press and hold the Sleep/Wake button and the Home button at the same time for at least 10 seconds, until the Apple logo appears.
    If your device does not turn on or displays a red battery icon, try recharging next.
    Regards,
    Sterling

  • HT4910 how to refund my iCloud purchase before the 15 ends & whats the correct adress or link used for that

    How to refund my iCloud purchase bill before the 15 ends & whats the correct adress or link used for that

    See Roger's post here: https://discussions.apple.com/thread/4671693?start=0&tstart=0.

  • HT1222 Hi l have got a problem l downloaded the software iOS 7.0.4 for l pad 2 but it doesn't. Want to install. It says u ar e connected to the Internet  even if l'm using Wfii

    Hi l have got a problem l downloaded the software iOS 7.0.4 for iPad 2 but doesn't want to install.It says verification failed because u are not connected to the Internet even l have data bundles or using Wifi

    Try a reset: hold down the home button along with the power button until you see the Apple, then let go.

  • Problem with printing the correct "ical" pages.

    G'day
    I have only recently started using "iCal", on the cloud, having upgraded my laptops to "Lion" and my iPhone to "5", so that I have NOT experienced any of the "syncing" problems of which I have read elsewhere.
    BUT, I do have an irritating problem, the solution to which, being a long-term Mac user, should be obvious.
    The problem stems fronm the fact that I am located on the east coast of Australia, and my laptops know this.
    The first, really daft, thing that I did was to create a whole lot of iCal entries, in iCloud, without noticing that the default timezone was "Pacific".
    So, OK, I fixed that by going into my ID on iCloud and changing the timezone, and then editing every single event that I had entered at that point in time.
    So, I then thought that I had beaten the beast, because I had only been printing "Weekly" calendars, which were OK.
    Today, I decided to print some "daily" calendars, and the system WILL NOT PRINT THE CORRECT DATE.
    My iCal entries are mainly to do with a trip that that starts on 1st August this year. I bring up iCal on the Mac, go to the print page, select 01 Aug 2012, and it prints 31 July 2012.
    This happens whether I tick the "Timezone" preference in iCal on the Mac, or not.
    What else should I do?
    Dave the Desperate

    Hi Srikanth,
    In the second page you can insert a command to set it to goto page 3,and an additional event in the command (only after the end of main window).
    As soon as the main window ends in the second page...u will get the third and rest of the pages.
    Keep the goto next page in PAge 1 as Page2
    and in Page 2 as Page 2.

  • What is the correct firmware update check URL for a Westell VersaLink 327W?

    Hi, I was wondering what the correct URL is for the modem to check for updated firmware on the Westell VersaLink 327w. My model is the  D90-327W15-06 and its current firmware is 04.04.03
    To clarify, I'm looking for the URL that goes in the box at the top of the upgrade page in the router's advanced settings. That link is a screenshot of what my page currently looks like.
    Since I first got this modem 2 or 3 years ago, it has never been able to properly check for updates. I've tried changing the URL to point to the Verizon support page for manually downloading the firmware but that doesn't seem to work either. I'm guessing the URL should point to a specific file, possibly an xml or something? I don't remember what the original address in the box was but it didn't work anyway. 
    I'm pretty sure I am running the latest version (04.04.03) and manually upgrading isn't a problem if a new version comes out but its always bugged me that the built-in check has never worked right for me so I figured I'd ask on here for the heck of it. At the very least I'd like it to be able to check version information even if it can't upgrade automatically.
    Does the built-in firmware check work for anyone else using the 327w or similar model? If so, could you kindly copy/paste the URL on your modem's firmware page? Even if you have a different modem, it might help me figure out the right address for my own. Thanks!

    #1 Go to http://www.verizon.net/central/vzc.portal?_nfpb=true&_pageLabel=vzc_help_contentDisplay&linkflag=use...
    #2 Make sure that use save as.
    #3 After you save the file, go into your router's upgrade screen.
    #4 Then use the file that you downloaded earlier to upgrade the router..
    If you have any questions as how to do this..
    #1 Be sure to take screen shots.
    #2 And be sure that you use tinypic.com as your image host.
    If you are the original poster (OP) and your issue is solved, please remember to click the "Solution?" button so that others can more easily find it. If anyone has been helpful to you, please show your appreciation by clicking the "Kudos" button.

  • What is the correct version of DVD Player for OSX10.3.9?

    I just replaced the Sony combo drive in my G4/Quicksilver with a Pioneer DVR-116D, but for some (or no) reason, I do not have the DVD Player application. When I search on the Apple site, I only find version 4.6, which is for Tiger and version 3.1.1, which is for Jaguar.
    Hopefully someone can point me to the correct version for Panther.
    Thanks,
    Jon

    Welcome to discussions Jonathan,
    The DVD Player that come with Panther is version 4.0 as is part of the iLife package that comes with your installation CD's.
    You can reinstall it from the installation CD using Pacifist
    And to avoid any problems in using it, read the documentation here:
    Pacifist Documentation

  • How can i fix this problem?? "The project could not be prepared for publishing because an error occurred. (Not enough room in heap zone / )"

    The project could not be prepared for publishing because an error occurred. (Not enough room in heap zone / )
    how can i fix this problem?

    how can i fix this problem?
    Go to the right forum.
    This forum is for mobile iMovie.
    you may need the iMovie Mac forum:
    https://discussions.apple.com/community/ilife/imovie

  • How can I get the correct Ship To (KNVP-KUNNR2) for a Sales Document?

    I am trying to generate a report that will (among other things) display the Ship To ID and Name for a given Sales Document.  I know the following information:
    VBAK-VBELN - Sales Document
    VBAK-VKORG - Sales Org
    VBAK-VTWEG - Distribution Channel
    VBAK-SPART - Division
    VBAK-KUNNR - Sold To Party
    I know that the table KNVP will return a list of Ship-To Customer numbers (KUNNR2) for a Sold-To Customer (VBAK-KUNNR) if I also filter by VKORG, VTWEG, and SPART (using SE16N).  What I don't know is which one of the returned values is being used in a particular Sales Document.  The customer in question has 29 Ship-To locations.  How do I find out which Partner Counter (KNVP-PARZA) the Sales Document uses? I don't know where that value would come from.  Once I can get the correct Ship-To Customer Number, I should be able to search the table KNA1 by WHERE KUNNR = KNVP-KUNNR2 and return KNA1-NAME1 for the Name of the Ship-To location.

    For a sales document?  Use VBPA with PARVW = 'WE'.  Also, use the ADRDA field to determine whether the address on the document has been manually changed.  In any case, you can use one of the many address management functions or just ADRC directly to get the name, address, etc., using the ADRNR field from VBPA or if the address is from the customer master, KNA1.

  • What are the correct setup and system settings for importing HDV video from tape?

    I keep trying different "easy setups" and system settings/preferences in order to import both the audio and video from HDV recordings on miniDV tape to no avail in either FCE4 or FCP5.  I import via firewire from the camera.  My computer "sees" the camera and controls playback (I can hear the audio) but no video displays for capture (just color bars).
    My camera is a Canon Vixia HV40 and my computer is a MacBook Pro running Snow Leopard 10.6.8.
    I've tried the HDV easy setup...no video...
    I've tried HDV 1080i/60 as I saw recommended somewhere else...no video...
    Captures standard video just fine but I'd like to try editing some higher def footage.
    Any suggestions?
    Many thanks.

    The combination of all these helpful ideas solved the problem.
    I set AV settings to HD and Apple Intermediate Codec HDV 1080i/60 AND set the cameras output to "locked" HDV.  Funny, it had been on "A" (Auto) before and should have simply sensed the need for HD output.  I then tried to capture using "A" again and this time it detected the difference between SD footage and HDV footage (I had clips of both kinds on the same tape).
    I ran similar capture tests on FCP 5.1, FCE 4, and FCPX and all three programs captured HDV video and audio.
    Thanks again everyone.  Be sure the camera is set to output HDV or "A".

  • What Are The Correct Gray OS X Discs For This Imac?

    I got a free 700Mhz G4, 15" Screen, 512mb Ram, 40GB HDD and I was wondering what are the correct OS X discs (Gray) that came with this Mac?
    There has to be a serial or model number right? I have Leopard installed on it and I missing having the DVD player so could I connect the iMac to my PowerMac G5 using Target Disc Mode, and then install Panther or Tiger onto the iMac through it?

    Liquidus wrote:
    I got a free 700Mhz G4, 15" Screen, 512mb Ram, 40GB HDD and I was wondering what are the correct OS X discs (Gray) that came with this Mac?
    The correct Mac OS restore discs are Mac OS X 10.1.2 and Mac OS 9.2.2. I have restore discs for a 600MHz Late 2001 iMac G3, which has the same identical software as the iMac G4. That part number for the disc set is 603-0372.
    For the second part of your question, you can install Panther or Tiger through Target Disc Mode from your PM G5.
    -Brian

Maybe you are looking for

  • Pension payment period record issue in Retiree Payroll

    Dear Experts, We are implementing Retiree payroll with new set of wagetypes and payroll area. Now requirement is that there needs to be a provision of recording the balance period of pension payment and further it should be displayed in the form of r

  • Photoshop CS3 won't start anymore

    I use Photoshop CS3 with OSX 10.4.  Everything has been working great until reccently.  I had a huge job and the amount of memory it took was causing 'scratch dick full' errors.  One day I pulled Photoshop up and it got part way through opening and c

  • Scanner software problem.

    HP wireless all-in-one CN245B Hi to everyone. I just bought this printer and I've got a problem with the scanner software. Can I scan all the document I want and after save them all together? From the sofware it seems that's possible, but when I do a

  • ESS Configure steps in ECC 6.0

    Hello ESS experts, I am working on Functional ESS upgrade from 4.6c to ECC 6.0 (EP 7.0). We have installed all the required BSP's. Our company want to keep all the functionalities as they used in 4.6c ESS in Portal, from 46c to ECC 6.0 there is bit d

  • How do I enter my new registration number for Quicktime Pro?

    How do I enter my new registration number for quicktime pro?