Call Badi in paralel processing

Hello.
If I start transaction MD01 with parameter
"Paralel processing " my Badi is not caused.
Prompt, please, that it is necessary to make,
that it was caused in the given mode.
Sank's for answer,
Anton.

Thanks for the answer, but
problem in other - does not occur a call badi in a mode "paralel processings" . In single processing it's working right.
p.s.besides inside badi it is not recommended to use commit work.

Similar Messages

  • Use of BADI in HCM Processes and Forms

    Hello Friend's,
                I am feeling trouble in learning HCM Processes and Forms.. Actually i dont know what is the role of BADI in HCM Processes and Forms. one more thing i need to know is OPERATION for backend service. What is the use of operation and how i can trigger the badi methods when running in portal.

    Hi Ramesh,
    Hope this is not too late to help.
    Do_operation will be called whenever there is roundtrip, by triggering event USER_EVENT_CHECK using form scripting.
    example,
    To trigger roundtrip for a drop down list, under exit* event add this
    xfa.record.CONTROL_PARAM.ISR_EVENT.value = "USER_EVENT_CHECK";
    ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", "");
    regards,
    Xiang Li

  • Error  while  calling badi using class cl_exithandler with getInstance

    hi experts...we are using SAP ECC 6.0  version
    I have created  BADI Def   and  Implementation using  se18   and se19 with some interface methods..
    Problem:
    I'm writing  a report to call  that using  class CL_EXITHANDLER but it shows an  Exception..
    " Exception condition "DATA_INCONS_IN_EXIT_MANAGEM" raised."
    Report example:
    DATA: CL_EXIT  TYPE REF TO CL_EXITHANDLER,
          IF_USER_INSTANCE TYPE REF TO ZIF_EX_USER_MAILID1.
    CALL METHOD cl_exithandler=>get_instance
      EXPORTING
       EXIT_NAME                       = 'ZBADI_USERMAIL_DEF'
    *    NULL_INSTANCE_ACCEPTED        = SEEX_FALSE
    *  IMPORTING
    *    ACT_IMP_EXISTING              =
      CHANGING
        instance                       = IF_USER_INSTANCE
    *  EXCEPTIONS
    *    NO_REFERENCE                  = 1
    *    NO_INTERFACE_REFERENCE        = 2
    *    NO_EXIT_INTERFACE             = 3
    *    CLASS_NOT_IMPLEMENT_INTERFACE = 4
    *    SINGLE_EXIT_MULTIPLY_ACTIVE   = 5
    *    CAST_ERROR                    = 6
    *    EXIT_NOT_EXISTING             = 7
    *    DATA_INCONS_IN_EXIT_MANAGEM   = 8
    *    others                        = 9
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    so i found that all  EXITs  are in the Table " SXS_ATTR" 
    but  what i have created BADI  has not exist  in that Table so that  it gets  an  Exception(while i'm debugging found this)
    so kindly tel me whats problem my BADI "ZBADI_USERMAIL_DEF"  not maintained that  Database table
    but  in Implentation class  its working fine..

    yes i have created  badi  in  Enhancement spot so  regarding what u told i'm using  GET BADI  and CALL BADI
    DATA:W_HANDLE TYPE REF TO ZBADI_USERMAIL_DEF.
    GET BADI W_HANDLE.
    CALL BADI w_handle->get_user_mailid
      EXPORTING
        uname  = UNAME
      changing
        mailid = W_EMAIL
    WRITE: / 'UNAME:',UNAME.
    WRITE: / 'EMAIL ID',W_EMAIL.
    CALL BADI w_handle->get_user_address_data
      EXPORTING
        uname    = UNAME
      changing
        addrdata = W_ADDRDATA
    IF W_ADDRDATA IS NOT INITIAL.
      WRITE: / W_ADDRDATA-BNAME,W_ADDRDATA-NAME1,W_ADDRDATA-NAME2,W_ADDRDATA-TELPR,W_ADDRDATA-TELNR,W_ADDRDATA-TEL01.
    ENDIF.
    but  here  BADI  are not  called 
    Interface implementation class methods  not  executed  so kindly tel me whats problem here.
    Thanks in Advance
    sivakumar

  • Call ABAP Program in Process Chain

    Dear BW Gurus,
    I need to call an Process chain which includes ABAP Program.
    The ABAP Program doesn't have the variants but it accepts the inputs from the user and sets into a YXXXX table.
    I am not getting how to proceed in this regard.
    Kindly guide.
    Best Regards,
    Harsh

    hi,
    chk these links below.. they contain the resolution for your query
    Call ABAP Program in Process Chain
    ABAP in Process Chains
    Also chk this relase which ia an entire guiding one to ABAP Program in Process Chain
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3507aa90-0201-0010-6891-d7df8c4722f7

  • BADI for post processing of IDOC BOMORD

    Hi experts ,
    I want a BADI for post processing of IDOC BOMORD. Actually after IDOC processing BOM got updated in system and i want to schedule the explosion of BOM in process order after it. Please update me with the solution.
    Thanks
    Nitin kapoor

    Roberto, thanks for your prompt reply (as always). 
    Actually, it seems that the deletion of the prior infopackage request is performed before executing the infopackage again (not after), I apologize.  I will try your suggestion, though.  If this is actually the correct FM, then I will award you full points!
    I must admit, though, understanding the parameters of the FM are difficult.  Can you aor anyone else provide more details?

  • LABVIEW.LIB was not called from a LabVIEW process

    Hi All,
    I've inherited LV code that calls a CIN node to access a motor controller.  I'd like to compile this code to a .NET DLL, but receive the following error when calling it from an external source:
    I've read the knowledgebase article explaining the problem from here, as well as the following support questions:
    http://forums.ni.com/t5/LabVIEW/Labview-lib-was-not-called-from-a-labview-process/m-p/232548
    http://forums.ni.com/t5/LabVIEW/Problem-with-lsb-LABVIEW-LIB-was-not-called-from-a-LabVIEW/m-p/48809...
    http://forums.ni.com/t5/LabVIEW/Labview-lib-was-not-calld-from-a-labview-process/m-p/718427
    http://forums.ni.com/t5/LabVIEW/Building-a-LabVIEW-DLL-with-VIs-that-use-CINs/m-p/632817
    The conclusion seems to be recompiling is the answer.  I've tried recompiling the original CIN vi within LV with no success.  Do they mean to recompile the original C code against the newer labview.lib (sorry, I'm not all that familiar with how the CIN nodes work)?  Any suggestions would be awesome.  Thanks.
    -Joe

    You can't make use of LabVIEW manager functions in non-LabVIEW based processes. Basically unless the C code is for a CIN or DLL that is to be called by LabVIEW (inside the development system or a LabVIEW built application), any function pulled in from labview.lib is not available. LabVIEW.lib is an import library that does not implement any functions but simply imports them from the LabVIEW kernel, either the LabVIEW development system or the LabVIEW runtime DLL. And no you can't just link in the LabVIEW runtime DLL into your .Net application. This DLL needs to be started up and initialized in very specific ways, that only LabVIEW itself knows about when building an application.
    Basically if you want to recompile the code (yes in C/C++) for use in a non-LabVIEW application, you also have to remove all the link libraries from the LAbVIEW cintools directory, and replace any use of functions now unavailable (link error: unavailable external reference) with other similar functionality from your C runtime library. Or implement those functions yourself using C runtime library calls.
    Another possibility could be to actually create a LabVIEW executable that exports the functionality as ActiveX Server. Or in LabVIEW 2010 you could also select to create a .Net Interop Assembly from inside the LabVIEW project.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • LABVIEW.LIB was not called from a LabVIEW process when creating unit tests

    We are developing a DLL to be integrated in LabVIEW using CLFs. So far we have the system working, but we wanted to create some unit tests in C as part of our release process. The problem is that when I link labview.lib in VS C++ and then call the EXE generated I get an error saying: "LABVIEW.LIB was not called from a LabVIEW process". As mentioned in http://zone.ni.com/reference/en-XX/help/371361J-01/lvexcodeconcepts/debug_dlls_and_dll_calls/:
    "Calling the shared library from another C program is also another way to debug the shared library. By calling the shared library from another C program, you have a means of testing the shared library independent of LabVIEW, thus helping you to identify any problems, sooner."
    Some of our functions, however, use LabVIEW specific instructions and we would like to test them in a realistic environment (i.e., calling to the actual functions instead of creating stubs).
    Is there any workaround to this problem?
    Thanks!!

    Hello SaraGr,
    Welcome to the NI Discussion Forums! I have a couple of questions to better determine the issue here:
    1. What is the LabVIEW version that you are using?
    2. Does your DLL uses Serial Compatibility VIs? If so, try using your development on NI-VISA instead of Serial.
    3. Are you using a Code Interface Node (CIN)? If you do, I see that from the help file you would need to compile the code for the new platform. Also, please remember that functions specifc to CINs (such as SetCINArraySize) will not work in a DLL.
    4. Be sure to include the header files in your program, like extcode.h. Please follow this white paper to link labview.lib to your program, or follow the Alternate Method.
    Regards,
    Daniel REDS
    RF Systems Engineer
    Help us grow.
    If a post solves your question, mark it as The Solution.
    If a post helps, give Kudos to it.

  • Check in BAdi if delivery processed with IDOC or with transaction

    Hello to everyone!
    I have encountered an issue and hopefully you could help me in solving this.
    I have developed an enhancement (BAdi) in delivery processing.
    Every time delivery is being changed - method is triggered and line item is being validated against some conditions
    But now I would like to prevend BAdi from being launched when delivery comes in IDOC.
    For this purpose I just put a simple condition in BAdi method:
    IF sy-batch NE 'X'.
         //here perform validation.
    ENDIF.
    Unfortunately validation is still performed. Looks like when IDOC is being sent to ECC from PI, sy-batch is empty.
    I would also like to prevent validation from being launched when IDOC re-processed manually (BD87 or sth.)
    But then sy-batch is also empty.
    Could you please advise some solution for this?
    How to check in BAdi if delivery is being processed with IDOC or with transaction (VL32N, VL31N, VL32, ...)
    I would appreciate every comment on this.
    Kind Regards,
    P.
    Edited by: Piotr Wojciechowski on Jul 28, 2011 8:59 PM

    Hi Max,
    Thanks a lot for your reply!
    Yes, indeed, IDOC is processed by FModule IDOC_INPUT_DELVRY.
    You mean I should for example
    find some place in this FModule (exit/enhancement point/...)  where I could put-Z-code
    and raise a delivery number (or just some flag) to memory (EXPORT TO MEMORY..)
    and later on catch it from memory in my BAdi method (IMPORT FROM MEMORY ...)
    to check if delivery processed by IDOC/not IDOC ?
    Kind Regards,
    Piotr.
    PS. Maybe you also have some idea how to debug such communication triggered from PI to ECC?
    I have posted this in separate [thread|PI-ECC connection (IDOC scenario), how to debug? (External BP);.

  • Calling an On Demand Process in PL/SQL Region without using AJAX

    Hi!
    I am trying to find a way to call an On demand Process in a PL/SQL Reports Region. The reason is that i need Reportings for about 20 Pages that look like the same but have different parameters. I already have some Processes that return SQL Statements and it works fine. But these Reportings are more complex and it's not possible to return it wirh a SQL Statement.
    I have seen some solutions in this forum that used AJAX to call such a process. The problem is, that I'm not allowed to use AJAX because activeX is diabled. I tried it and it works but i need another way to solve this process call.
    Thanks in advance
    Philipp

    At the moment I cannot say if your link can help. Right now the call of the On demand Process looks like this:
    Inside annonymous PL/SQL Region:
    <script type="text/javascript">
    get = new htmldb_Get(null,'||:APP_ID||'.,'APPLICATION_PROCESS=F_REPORT_NAME',0);
    gReturn = get.get();
    document.write(gReturn);
    </script>

  • Calling BADIs in Web-Dynpro Application

    Hi All,
    Is it possible to call BADIs in WebDynpro  java ?  If yes can anybody please send some document regarding this to me.
    Thanks & Regards,
    Amit Kade

    Hi,
    These links can be of some help
    <a href="http://searchsap.techtarget.com/tip/1,289483,sid21_gci900872,00.html">Link1</a>
    <a href="http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci1154531,00.html">Link 2</a>
    Regards,
    Ashwani

  • How can we call a task in process definition A from Process definition B

    Hi,
    Is that possible to call a task in process definition A from Process definition B?
    Thanks.

    Sure, as long as you can come up with the correct query to lookup the task key for the task you want to run.
    provIntf.addProcessTaskInstance(taskKey, processInstanceKey);
    -Kevin

  • Best practice on calling an Oracle Bpel process

    Trying to find the best practice calling an Oracle Bpel process. I know that I can call the process via database, app server, anothe bpel process, from an application, cron job, etc... I can do any of these but want some feed back on what others do and what method is the best.
    Thanks

    Your right there are a lot of different ways to call the BPEL WS. I guess what I'm asking is if you had several of these options at your disposal what way would you choose?
    I have an asych bpel process that needs to be called once a day to move some data from one db to another. What do you think is the best way to perform this: from the db cron or Oracle job scheduler, the bpel manager on a timer, etc. I'm leaning towards calling it from the db via a cron or an oracle job. Want to know if there is a best practice for something like this.
    Thanks

  • How to call OID delete user process task from AD process definition

    Hi All,
    I wanted to call OID delete user process task from AD process def. I have created a process task in AD Process def which will be integrated with OID Delete User adapter. How can i map OID related attributes to the adapter api?
    Expected inputs for OID delete api :
    root DN
    orgDN
    admin pwd
    server
    attr lookupcode
    XLOrgFlag
    sProcessInsKey
    UserID
    PDataOrg
    port
    AdminID
    SSLFlag
    here i cannot map some like : sProcessInsKey
    any pointers would be appreciated.
    Regards,
    Ashok

    OID delete user process task from AD process defWhy don't use call Revoke Resource API ?
    http://otndnld.oracle.co.jp/document/products/id_mgmt/idm_904/doc_cd/javadocs/operations/Thor/API/Operations/tcUserOperationsIntf.html#revokeObject%28long,%20long%29
    Use getObject API
    Iterate through resultset.
    If RONAME == OID User then call revokeObject

  • Fatal error Labview.lib not called from a Labview process

    in teststand my vi works fine with adapter set for LV development
    when I configure the LV adapter for runtime, I get fatal error Labview.lib not called from a Labview process
    what is going on?
    how do I fix it?
    thanks.

    Howdy Stephen -
    Are you by chance calling a LabVIEW DLL within your LabVIEW VI which is being called from TestStand?  I know this error occurs when a LabVIEW DLL built in a different version of LabVIEW than the selected Run-time Engine.
    Here is a KnowledgeBase which references the issue:
    KnowledgeBase 203EA3XC: LabVIEW.LIB Error When Calling a LabVIEW DLL Built with VIs That Use Externa...
    If this is the case, you will need to open the LabVIEW DLL source VI in the LabVIEW version you are using and rebuild the DLL.
    Thanks and have a great day!
    Regards,
    Andrew W || Applications Engineer
    National Instruments

  • How can I supervise a procedure called  through a job process

    Hi all ...
    How can I supervise a procedure called through a job process, and I mean to see if this procedure is active at the next time that the process should run again.
    Because the procedure may run much longer that the next_time parameter for that process (job).
    THANKS for you future(hope so) answer.

    If this is a scheduled oracle job, then check the DBA_JOBS_RUNNING view
    Hi all ...
    How can I supervise a procedure called through a job process, and I mean to see if this procedure is active at the next time that the process should run again.
    Because the procedure may run much longer that the next_time parameter for that process (job).
    THANKS for you future(hope so) answer.

Maybe you are looking for

  • Accounting document summarisation

    Dear All,      A billing document is posted which has material with free quantity.The value of the free goods is getting debited to the sales Revenue GL account. Our requirement is that  instead of posting as stated above, the sales value has to be s

  • Printing to PDF using Adobe PDF 7.0

    Hello Everyone, I am trying to restore my settings to resume being able to print PDF's. When I select to print a document as PDF I am notified that the 'printer' has been paused. When I choose to resume printer it spends a moment like normal and then

  • Smart view refresh versus Excel Retrieve

    Good morning we are currently converting our users from the old Excel essbase add-in to the new Smartview. We are having issues with some of our users when converting. Some of them were creating retrieves in their excel tabs, HIGHLIGHTING a section,

  • I've used the Domains Administrator and added 45 domains. Where is that information recorded ?

    I've used the Domains Administrator and added 45 domains. Where is that information recorded ? Thanks, Bob Larsen

  • Unable to view Content in Design View

    Hello Everyone, This is my 1st time creating a manual using Robohelp version 7. For some odd reason, in both of the "Topic List" and "Project Manager" pod. I'm unable to view content in a topic that has "DHTML" feature in the Design View. I'm able to