Problem triggering "WF"

Hey -
We are processing EDI-855 PO acknowledgment(Inbound Idoc).We have custom standalone function module to do the posting on SAP,not using any standard SAP code.
If we have any idoc status with '51' needs to be trigger "Work Flow" events and also Work Flow should be created.I am using "SAP_WAPI_CREATE_EVENT" to trigger the "Work Flow" event at the end of my function module.
When I look at Tx 'SWEL' with the object type - In the Event trace message shows me that 'EDI: IDoc '0000000000513215' is already open in process mode',because of this problem was not able to open Work Flow.This message is coming because "Work Flow" event is triggering in-between of the idoc process.
I don't think we should use FM "SAP_WAPI_START_WORKFLOW" to trigger Work Flow...
Any idea how to resolve the above problem.

But the event is triggered as you see the message in SWEL, no? (otherwise nothing would appear I think)
So, I think the problem is within the workflow which is triggered.
The message you received is number E0112, which is sent by EDI_DOCUMENT_OPEN_FOR_PROCESS. It happens when the function module is called twice in the same internal session.
So, I think that the workflow is triggered synchronously, it tries to process the idoc but it is already being used by the idoc inbound process.
These are all assumptions

Similar Messages

  • Problem triggerring BKPF.CREATED

    Hi experts
    I'm facing a problem triggerring BKPF.CREATED. I've configured this event with change doc BELEG, In field restriction I've given BKPF-BELNR-* *
    But the event is not triggered while FI invoice created thru FB60. I've implemented note 336305 also as per instructions, but still event is not getting triggerred.
    Can anyone suggest what can I do to trigger this event.
    Thanks..
    Moumita

    Hi Moumita,
    Have u checked in SWE2 that For BKPF business object's created method event linkage is there or not???
    Pls check..it might be d case.
    Thanks,
    Neel Thakkar.

  • At selection-screen problem: triggering an error message...

    Hello experts,
    I have 3 radiobuttons and 1 parameter in my selection screen. it works in such a way that whenever the user clicks on the 3rd radiobutton the parameter will be inputtable. Now, what I want to do is that whenever the 3rd radiobutton is clicked and the user forgot to put a value in the paramater an error message will be triggered saying 'please put a value'.
    Now, creating a code for that is easy but here is the problem: whenever I click on any of the radiobuttons the message triggers. Anyway, below is my code:
    SELECTION-SCREEN BEGIN OF BLOCK box1 WITH FRAME TITLE text-001.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: pr_upld RADIOBUTTON GROUP grp MODIF ID id3
                                              USER-COMMAND ucomm.
    SELECTION-SCREEN COMMENT 2(20) text-007 FOR FIELD pr_upld.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 03(15) text-a11 FOR FIELD p_flnme MODIF ID id3.
    PARAMETERS: p_flnme LIKE rlgrap-filename DEFAULT 'C:\' MODIF ID id3.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(22) text-002 FOR FIELD p_dcode MODIF ID id1.
    PARAMETERS: p_dcode LIKE vbak-kunnr MODIF ID id1,
                p_name1 LIKE kna1-name1 MODIF ID id1.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: pr_list RADIOBUTTON GROUP grp MODIF ID id4.
    SELECTION-SCREEN COMMENT 2(7) text-003 FOR FIELD pr_list MODIF ID id4.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: pr_add  RADIOBUTTON GROUP grp MODIF ID id2.
    SELECTION-SCREEN COMMENT 2(3) text-005 FOR FIELD pr_add MODIF ID id2.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: pr_edit RADIOBUTTON GROUP grp MODIF ID id5.
    SELECTION-SCREEN COMMENT 2(4) text-006 FOR FIELD pr_edit MODIF ID id5.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 03(20) text-a12 FOR FIELD p_code MODIF ID id2.
    *PARAMETERS: p_kunnr LIKE zts0001-kunnr.
    PARAMETERS: p_code LIKE zts0001-cdseq MODIF ID id6.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK box1.
    AT SELECTION-SCREEN OUTPUT.
    IF v_compflag EQ space.
        LOOP AT SCREEN.
          IF screen-group1      = 'ID1'.
            screen-input        = '0'.
            screen-output       = '1'.
            MODIFY SCREEN.
          ELSEIF screen-group1  = 'ID2'.
            screen-active       = '1'.
            MODIFY SCREEN.
          ELSEIF screen-group1  = 'ID3'.
            screen-active       = '0'.
            MODIFY SCREEN.
          ELSEIF screen-group1  = 'ID4'.
            screen-active       = '1'.
            MODIFY SCREEN.
          ELSEIF screen-group1  = 'ID5'.
            screen-active       = '1'.
            MODIFY SCREEN.
          ELSEIF screen-group1  = 'ID6'.
            screen-active       = '1'.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ELSEIF v_compflag NE space.
        LOOP AT SCREEN.
          IF screen-group1      = 'ID1'.
            screen-active       = '0'.
            MODIFY SCREEN.
          ELSEIF screen-group1  = 'ID2'.
            screen-active       = '0'.
            MODIFY SCREEN.
          ELSEIF screen-group1  = 'ID3'.
            screen-active       = '1'.
            MODIFY SCREEN.
          ELSEIF screen-group1  = 'ID4'.
            screen-active       = '1'.
            MODIFY SCREEN.
          ELSEIF screen-group1  = 'ID5'.
            screen-active       = '0'.
            MODIFY SCREEN.
          ELSEIF screen-group1  = 'ID6'.
            screen-active       = '0'.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ENDIF.
    *for users that are not controllers
      LOOP AT SCREEN.
        IF screen-name   = 'P_CODE'.
          screen-input   =  '0'.
        ENDIF.
        MODIFY SCREEN.
      ENDLOOP.
      IF pr_list = 'X' OR
         pr_add  = 'X'  OR
         pr_upld = 'X'.
        LOOP AT SCREEN.
          IF screen-group1   =  'ID6'.
            screen-input     =  '0'.
          ENDIF.
          MODIFY SCREEN.
        ENDLOOP.
      ELSEIF pr_edit  =  'X'.
        LOOP AT SCREEN.
          IF screen-group1   =  'ID6'.
            screen-input     =  '1'.
          ENDIF.
          MODIFY SCREEN.
        ENDLOOP.
      ENDIF.
    *for controllers
      IF pr_upld = 'X'.
        LOOP AT SCREEN.
          IF screen-name      = 'P_FLNME'.
            screen-input     = '1'.
          ENDIF.
          MODIFY SCREEN.
        ENDLOOP.
      ELSEIF pr_list = 'X'.
        LOOP AT SCREEN.
          IF screen-name      = 'P_FLNME'.
            screen-input     = '0'.
          ENDIF.
          MODIFY SCREEN.
        ENDLOOP.
      ENDIF.
    AT SELECTION-SCREEN.
      IF pr_edit = 'X' AND p_code IS INITIAL.
        MESSAGE e008 WITH 'Please specify Code.'.
      ENDIF.
    Again, thank you guys and have a nice day!

    Hi viraylab,
    1. Such validations can be handled in the event
       START-OF-SELECTION.
    2. We should them and other such validations,
       using this logic
    START-OF-SELECTION.
    IF ERRORCONDIDTION.
    <b>MESSAGE 'PLEASE ENTER ' TYPE 'S'
    LEAVE LIST-PROCESSING.</b>
    ENDIF.
      WRITE :/ 'ABC'.
    3.
    The most important statements are
    A) message should be of type I, or S, or W
       (and not error E)
    b) LEAVE LIST-PROCESSING
      (it discontinues the further list showing,
       and again, re-displays, the selection screen)
    regards,
    amit m.

  • '09 MBP "Crash" problem triggered by Panic! Transmit

    So, I'm having a problem with my MBP that's been driving me crazy for ages. It's trigged by Panic! Transmit but they have been unable to help me resolve the problem, so I turn to you.
    Order of Operations.
    1. System is operating perfectly.
    2. I launch Panic! Transmit. (No problem)
    3. I connect to a remote drive (S3/FTP/cloud) in the program. (No Problem)
    4. I ask Panic! Transmit to MOUNT the remote connection as a drive. (The drive gets mounted BUT my mouse has suddenly become choppy. i.e. I move it and it skips around jumping. Very rough movement.)
    5. I unmount drive (Nothing changes)
    6. I close Panic! Transmit (Nothing changes)
    7. I reboot
    8. Login screen shows up ... I click my User Name and Log in.
    9. The system auto-restarts before entering OS. (I never see the desktop)
    10. Login screen shows up AGAIN ... I click my User Name and Log in
    11. Now the OS tries to launch my login items ... it hangs for 10-20 seconds... nothing is being lauched. Something triggers and boom, it resets back to some backup state and starts to launch OLD login items that have long since been removed. It is also now re-indexing my hard drive in Finder.
    12. I go and change all of the login items back to what their supposed to be and continue going about my business.
    Questions!
    1. What file/operation is being corrupted such that my login items are being reset to some historical state?
    2. What can Mounting a drive be doing in the OS that causes the mouse to become super unresponsive?
    Any help is appreciated, I bought Transmit and I loved using it, but it's more or less a waste of HD space as of right now and I wish I had an alternative to work with.

    Did you find a cure for this? I have a similar problem on a macbook mini. Using Mountain Lion and panic transmit 4....

  • Problem Triggering BUS2105

    Greetings Friends,
    The problem is, my Workflow for BUS2105 wont trigger. I m using as starting event, "Released" for BUS2105.
    I need to process my workflow everytime someone saves a PR. Had I Choosed the correct event?
    (There is no configuration Liberation Strategy)
    After creating a new PR at ME51N, SWEL, shows nothing.
    At SWETYPV, I created a line of "BUS2105     RELEASED     WS90000003". Still wont trigger.
    Even tried SWU_OBUF.
    I was able to trigger manually my workflow by SWUE.
    Should I create a ZBUS2105 if new event "Create"?

    Hi Jose,
    Even I faced the same problem. Even my workflow for BUS2105 and event RELEASESTEPCREATED was not triggering even though everything was in place. The problem was then resolved using a BADI to trigger the workflow. Use the BADi ME_REQ_POSTED and in that create a method and call the FM SWE_EVENT_CREATE or SAP_WAPI_EVENT_CREATE. Pass the BO name and event. This will work.
    Regards,
    Raj

  • Problem triggering NI-9234 from 9401

    I am trying to trigger a 9234 from a 9401 connected to a PLC. There are 4 input triggers connected to the first 4 channels of the 9401, corresponding to 4 phases of a test. For each phase of the test, I am looking for a trigger on a different channel. The problem is that the acquisition is triggered from any of the 4 input channels, i.e. when I specify a trigger on the first channel, PFI0, a trigger from PFI1, PFI2 or PFI3 also causes the acquisition to launch.
    In using the NI example, “Acq&Graph Voltage-Int Clk-Dig Start.vi”, I am able to reproduce this behavior. I configure the trigger source to be PFI0, Rising Edge, on the 9401. The acquisition is triggered even if the rising edge is passed on channel 1, 2 or 3. Trigger signal level is 0-5V.
    LV2011, DaqMX V9.4, Windows XP
    Attachments:
    Acq&Graph Voltage-Int Clk-Dig Start.vi ‏28 KB

    I have figured out the problem and the solution. To simulate the triggers sent by the PLC, a box was made containing 4 switches supplied by a common 5V source. Apparently, electronic noise is generated when a switch is activated and fed back though the other switches. This was causing erroneous triggers to be detected. So, I added a trigger property node, enabled the digital filter on the trigger signal with a minimum pulse width of 0.1 milliseconds (0.0001 sec). This cured the problem of triggering from any channel.
    The filtering will also be useful to help eliminate false triggers caused by electronic noise in the production environment, which has also been a problem.
    Thanks for all those who viewed and I hope this can be helpful to someone in the future.
    Joe
    Attachments:
    Acq&Graph Voltage-Int Clk-Dig Start Dig Filter.vi ‏30 KB

  • Having problem triggering an external device needing 5V DC

    I am having a problem throwing open a solenoid valve with 5 volts DC. The valve requires 5V DC, and it seems that I am getting a response from an LED on the valve, but the valve will not open. When I attach the valve to a 5V battery, the valve has no problem, and the LED has a stronger intensity to it. I am using Visual Basic to program the valve switching event with a 6024E card and CB-68LP board. Also, would it matter if this were a pulsed DC voltage as opposed to a constant DC voltage?

    The most probable reason for this behaviour is that the solenoid valve requires too much current to switch. Daq cards are limited in the available current, so you will probably have to use an auxiliary switch and a separate power supplier to drive the solenoid.
    Roberto
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Problem Triggering  Smartform

    Hi Experts,
    In my case..I am calling a BADI - LXSER_SN_CAPTURE_RF
    and inside it i am calling the interface SN_PRINT..
    my problem is i have a smartform -ZLE_SHP_DELNOTE
    which is the copy of LE_SHP_DELNOTE(Standard).
    I am calling
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
      EXPORTING
        FORMNAME                 =  FORM_NAME
    IMPORTING
       FM_NAME                  =   FM_NAME
    EXCEPTIONS
    NO_FORM                  = 1
    NO_FUNCTION_MODULE       = 2
    OTHERS                   = 3 .
    CALL FUNCTION FM_NAME
      EXPORTING
        IS_DLV_DELNOTE = IS_DLV_DELNOTE
        IS_NAST        = IS_NAST
      EXCEPTIONS
        FORMATTING_ERROR           = 1
        INTERNAL_ERROR             = 2
        SEND_ERROR                 = 3
        USER_CANCELED              = 4
        OTHERS                     = 5.
    I want to fetch the value into IS_DLV_DELNOTE but being a structure its not possible ...
    I need the suggestions and solution from u...how can i get the values here...
    Regards,
    Saurabh

    Well, Mr. Surya Prakash..
    From the mention few lines, i am able to fetch the SF, my problem is..
    how shoild i get the values in the output...
    i need to pass the value to the smartform so tht it can print something...
    I even have another point from the question u asked me...
    Will it be possible for you to tell me...
    how to fetch the SF and how to pass the valiue to it and finally to the printer (preview also needed)..
    I hope this time I am able to make u understand my problem...
    looking for form some great help...
    Thanks,
    Saurabh.

  • NW 7.1 CE problems triggering onAction event for Business Graphics?

    I have ported an application that was running on NWDS 7.0 to CE 7.1. No problems with code compilation and on the web page everything is working fine in 7.1 except that I am unable to trigger the onAction event on Business Graphics (e.g., bar chart). In 7.1 the cursor is not even changing from pointer to hand when I mouseover on the bar legend as it does when I run the app in 7.0. Is this a server setting with CE7.1 or am I missing something else?

    I figured it out after some more poking around. In NW7.1 CE, the additional required step is to map the eventID of the Chart (Business Graphics) Category also to the same attribute as Category description.

  • Problems triggering with NI-myDAQ, error: 200077

    I am trying to do analog edge triggering on an analog output, but whenever I try to add a triggering block it throws error -200077, and tells me...
    Property: Ref.TrigType
    You Have Requested: Analog Edge
    You Can Select: None
    I'm pretty sure that my hardware supports analog triggering because I can trigger in the pre-compiled NI ELVISmx tools.
    Any ideas?
    Attachments:
    Triggering.vi ‏129 KB

    Hello
    Just to clarify, are you attempting to trigger the device based on an output from the device?
    Product Support Engineer
    National Instruments

  • Triggering BO from Change document object..

    Hi Experts,
    I had a problem triggering custom Business object from custom Changed document object..
    The scenario is like this...
      ' I had created a simple business object with key field as MATNR..
      and a changed document in SCDO transaction.. I had also maintained the event linkage with the Changed document object in SWEC transaction and mode Is CHANGE...
    The thing is if i change the existing material, then, my change document object has to trigger and in turn it should trigger my Business object....
    This had happened if i use the standard changed document object 'MATERIAL' but not with custom changed document object'.
    So i would be glad if any one help me how to trigger the custom Business object with the custom changed document object.
    Any help would be appreciated.
    Regards
    Narin Nandivada.

    Solved by myself

  • Problem with custom_logic badi and it_param - ujk_large_string 1024

    Hi experts,
    I have a Problem triggering a script with custom logic badi.
    I try to implement a data and comment copy package for alle dimensions with source and target.
    Target is pushed in one string to IT_PARAM table of type UJK_T_SCRIPT_LOGIC_HASHTABLE.
    My Problem is now that the UJK_LARGE_STRING with 1024 characters is too small and many of the Dimension are cutted off.
    Do you know a solution or a Workaround for this Problem ? Requirement ist only one prompt/selection Screen.
    Thanks in advance and best regards
    heinrich

    Hi Heinrich,
    Split one parameter into many parameters.
    If you need more help then please share a screen shot of your script logic.
    Andy

  • Triggering WS20000040

    Hi,
    I'm having problems triggering Trip workflow WS20000040 it works fine when I test it i.e. run it manually but just cannot get it working by going into trip.
    I have ran the trace (swel) but it doesn't pick the object type CREATED but does see CHANGED and APPROVED.
    How can I get it working??
    Liam

    Hi,
    DATA obj_key TYPE swo_typeid.  " Object key
    CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'
      EXPORTING
        OBJECT_TYPE             = 'BUS2089'
        OBJECT_KEY              = obj_key
        EVENT                   = 'CREATED'
       COMMIT_WORK             = 'X'
      EVENT_LANGUAGE          = SY-LANGU
      LANGUAGE                = SY-LANGU
      USER                    = SY-UNAME
      IFS_XML_CONTAINER       =
    IMPORTING
      RETURN_CODE             =
      EVENT_ID                =
    TABLES
      INPUT_CONTAINER         =
      MESSAGE_LINES           =
      MESSAGE_STRUCT          =
    Thanks and Regards,
    Prabhakar Dharmala
    Go to SMOD tcode and enter this FITR0002 and go to Components double click on EXIT_SAPLHRTRV_STAT_002
    Double click on Include and Enter...then write above code.
    Message was edited by:
            Prabhakar Dharmala

  • Is apple EVER going to fix the Wifi problem on phones AND iPads?

    I keep seeing all these new updates for stuff on ios7...and yet THEY STILL HAVE NOT FIXED THE WIFI CONNECTION PROBLEM ON PHONES AND IPADS!

    This is a real hardware problem triggered by the installation of iOS 7. A representative in the Apple Store in Ginza, Tokyo, admitted this to me today. The WiFi and Bluetooth chip on my iPhone 4s have been damaged either during the installation process itself, or by using the system after installation. However despite the fact that Apple Japan representative admitted that the company is at fault, they would not agree to fix or replace the phone at their cost. What terrible customer service!

  • Two Apple ID's: Dealing With It

    Here's a means to deal with the 2 Apple ID problem. It's not necessarily a solution; it's a message to Apple.
    Background: The old MobileMe, iTunes, and iCloud accounts do not get along. This is because iTunes used one Apple ID for purchases, and MobileMe another, which was always the @me.com or @mac.com email address.
    Along comes iCloud and it insists that the @me.com adress is its own Apple ID, and al devices and iCloud apps or content services must and can only sync to a device running that account. This does not mean you cannot use your content from the old iTunes Apple ID on your device if it is authorized, but many push, sunc, in-App opurchases, or auto-update featreus cannot work unless you make the effort to log-out of your iCloud Apple ID and log-in to iTunes with your iTunes Apple ID.
    This 2 Apple ID confusion is maddening. Originally .Mac/MobileMe were Mac-only service with no relationship to iTunes. Since iTunes was a broad service extending into the world of PC's and Windows, it did not tie its accounts (Apple ID's) to a specific Apple-generated email address. this is probably why @mac.com was replace with the less Macentric @me.com.
    Here's a way to get the message to Apple that this transition is creating all sorts of problems for those with older iTunes and .Mac/MobileMe Apple ID's:
    Using iTunes, log in to the Apple ID you DO NOT WANT in the future. This will be the Apple ID with the email address different than the one you use for iCloud. Duoble-check.
    If you do not have an iTunes account with your iCloud name then you are safe and free to make one that is identical. Stop reading any further.
    Once you've logged into your iTunes account (which is just the account attached to your Apple ID), go to Purchase History.
    Identify all purchases in an invoice (each sepaarte line item is an invoice) and click Report a Problem.
    Always choose the LAST item in the pulldown menu. This is the catch-all, generic problem.
    Type in (or modify as you see fit), then click Done. Repeat for every paid item:
    This item downloaded to the wrong account. For syncing with iCloud I need it to be on my iCloud account which is Apple ID [email protected]. Thank-you.
    I did this on a trial basis and recieved a transfer. I have now reported all 400 paid items from my non-iCloud account witht the above request. It took a bit of time, but I feel it may achieve what I require.
    It only works with paid items: apps or media content. Anything free or an in-app purchase does not work and will bump you to a webpage. For free items find your email invoices and print those, then re-download them again.
    But here's the catch. Apple has to respond to every one of those requests. If an app costs $0.99 then Apple takes $0.33. responding to every "Report a Problem". For every $0.99 app will use more labor costs than the app made for Apple. Same for songs.
    Apple offers great products and services, but this ping-pong game with .Mac, MobileMe, iTunes, and now iCloud is a major problem because it diminsishes the capabilities of our invested hardware when we cannot sync across Apple ID's. The most loyal Apple customers were those early adopters who, like myself, find we cannot utilize all our apps and content because we cannot combine Apple ID's.
    This method may not work or work for everyone, but it sends a message that there ineed is a "Problem", triggered by iCloud's implementation.

    Some things are mixed up here, seemingly...
    I seem to have two Apple ID's attached to my e-mail.
    An Apple ID is a valid email address, apparently. How can those be "attached to your email"... what email?
    Facetime will not verify my e-mail address because it is associated with the other account.
    This doesn't make sense. You can register multiple, even non-Apple-ID, email addresses and their aliases with FaceTime.
    So, maybe you can explain your problem better - what you want and the steps you've taken and what you have so far. If something doesn't work, please tell the exact error message, too.

Maybe you are looking for

  • Is there a hotkey to break the handles of points while you're using the pen tool?

    When you use the pen tool, it smooths the points as you add them, but sometimes I don't want that, So far, the only way I've been able to combat this is by using the pen tool, pressing V to switch to the selection tool, clicking elsewhere to deselect

  • ITunes store item availability in Canada

    I realize this isn't really the right place to ask this, but there is no where else to go! I want to buy a movie that is available only on the US iTunes store - not listed as available in Canada. My question is - can I get around this somehow (and I

  • "GetGroupBy() == NULL" Error

    I'm seeing the following error when I try to combine certain columns; State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 46036] Internal Assertion: Condition listNode.GetGroupBy() == NULL

  • How can I create chapters in iMovie 10?

    How can I create chapters in iMovie 10?

  • Scanner connectivity issues

    Unable to get the prompt to "Active Scanner" from the computer.  Therefore, unable to scan from the Photosmart all-in-one back to the computer.  Scanner does not recognize a computer within the network.  Any suggestions?  I have re-installed the soft