I can't Debugging BADI WS14000133

Hi all,
I need debugging the BADI to workflow WS14000133, but I can't debugging. I tested with my user, the user WF-BATCH and the user to create the SC, but with nothing I have had lucky.
Is possible this debug?
Many thanks,
Regards,
David.

Hello
of course it is possible to debug.
go to SE18, call your implementation, and open the get_remaining_approvers.
put your Breakpoint here.
Put an another Breakpoint to function module BBP_PDH_WFL_DB_UPDATE in the fu.group
bbp_pdh_wfl. here you have to change the lv_in_dialog flag to X -> then it will go to debugging mode..
now call the transaction bbpsc01, and create a SC. at the last step, before ordering go to debugging /h...
there you go
Regards,
DAniel

Similar Messages

  • How can I debug BADI BBP_CREATE_BE_PO_NEW  ??

    Hello experts,
    how can I debug BADI BBP_CREATE_BE_PO_NEW to find out what goes wrong with my coding?
    I set breakpoint for external Web-user. I also set session breakpoints and resent the shopping cart using FM BBP_PD_SC_TRANSFER. The BADI is never debugged.
    We use SRM 6.0 with classic scenario.
    Any useful ideas?
    Joe

    Hi,
    You can put an endless loop in your BADI BBP_CREATE_BE_PO_NEW  ,as shown below and force the program to stop there. Now  go to SM50 and switch to debug mode for the program and start debugging(take process that keeps hangs in your endless loop).
    Data: l_check.
    do.
    if l_check eq 'X'.
    exit.
    endif.
    enddo.
    BR,
    Disha.
    DO reward points for  useful answers.

  • Debug badi BBP_CREATE_BE_PO_NEW

    Hi experts
    How can I debug badi BBP_CREATE_BE_PO_NEW?
    Thanks
    Nilson

    Hi,
    break user will work . But are you sure that you have implemented correct BADI and it gets triggered in that transaction.
    Sometimes it is not so easy to find a BADI method or user exit to implement at an exact momment of the execution of a program. Here is one of the ways that can be used to spot which BADI method or user exit should be implemented.
    1. Enter SE24;
    2. Enter the class name CL_EXITHANDLER;
    3. Double-click the method GET_INSTANCE;
    5. Set a break-point at command line CASE sy-subrc (near line 27);
    6. Execute the transaction you want to analyse; It will stop at the break-point you have just set on class CL_EXITHANDLER when it finds any BADI method/Exit call.
    7. On debug screen, type the field name exit_name. This field contains the BADI method/Exit name which is being called in the program on that momment.
    8. Press F8 to see the next calls.
    Thanks&Regards,
    Phani,
    poinmts if helpful

  • Bad news if I can't debug cfcs in a flex project

    I'm trying to debug a cfc in a flex project Coldfusion builder installed as a plugin is Flash builder 4
    But I'm getting a message saying:
    File does not belong to a coldfusion project. Apply Coldfusion nature to the project to which the file belongs.
    This is bad news if I can't debug cfcs in a flex project

    Here are the targets (simplified) that are specific to the cfml export.  The real build.xml reads a build.properties file for the variables, and main runs the flex build first:
    <!-- Refresh CFML -->
    <property name="SVN.USERNAME" value="MY SVN USERNAME"/><!-- change to your svn username -->
    <property name="SVN.PASSWORD" value="MY SVN PASSWORD"/><!-- change to your svn password -->
    <property name="SVN.PROJECT_URL" value="http://mysvnproject.com/trunk"/><!-- change to your svn url -->
    <property name="BUILD.EXPORT_DIR" value="c:/CFML/project/export/path"/><!-- change to your CFML project path -->
    <property name="DEPLOY_DIR" value="c:/flex/project/deploy/path"/><!-- change to your Flex project path -->
    <!-- runs the targets -->
    <target name="main" depends="export-cfml, copy-cfml"/>
    <target name="export-cfml" depends="find_revision, check-svn-build" unless="build.exists">
         <echo>Lates SVN build did not exist, export it</echo>
         <!-- export from svn -->
         <exec executable="svn">
              <arg line="export &quot;${SVN.PROJECT_URL}&quot; ${build.dir} -r ${revision.number} --username ${SVN.USERNAME} --password ${SVN.PASSWORD}"/>
         </exec>          
    </target>
    <!-- Get the latest revision number -->
    <target name="find_revision" description="Sets property 'revision.number' to the head svn revision">
         <!-- Use SVN to learn the latest revision number -->
         <exec executable="svn" outputproperty="revision.number">
              <arg line="info &quot;${SVN.PROJECT_URL}&quot;"/>
              <redirector>
                   <outputfilterchain>
                        <linecontainsregexp>
                             <regexp pattern='^Last Changed Rev' />
                        </linecontainsregexp>
                        <tokenfilter>
                             <replaceregex pattern='[\D]+([\d]+)' replace="\1" />
                        </tokenfilter>
                   </outputfilterchain>
              </redirector>
         </exec>
         <echo message="Current SVN Revision: ${revision.number}"/>
    </target>
    <!-- we only export from svn if we haven't already for current revision.number -->
    <target name="check-svn-build">
         <!-- setup the build dir name based on the latest revision number -->
         <property name="build.dir" value="${BUILD.EXPORT_DIR}/${revision.number}" />
         <available file="${build.dir}" property="build.exists" value="true" type="dir" />
         <echo>SVN build exists: ${build.exists}</echo>
    </target>
    <!-- we always copy from the latest svn export dir to the flex project -->
    <target name="copy-cfml">
         <echo>Copy CFML to Flex Project</echo>
         <!-- copy cfml to flex project -->
         <copy todir="${DEPLOY_DIR}/www">
              <fileset dir="${build.dir}"/>
         </copy>
    </target>
    Note: I quickly stripped out all "extra" stuff we do for our project, so this is untested and may contain typos.

  • How can we debug an SRM workflow problem?

    Q: How can we debug an SRM workflow problem?

    Hi,
    In SRM system using transaction SWI6 you can troubleshoot the workflow process.
    if you are using N step badi in the workflow process, we can debug the badi BBP_WFL_APPROV_BADI
    method GET_REMAING_APPROVERS
    if required please take a help of Abap consultant to debug...
    Thanks & Regards,
    prasad.s

  • How can I debug a web application running on Weblogic 10.3

    Hello,
    I have inherited a NetUI Web Application developed using Weblogic Workshop and I can't manage to debug it. I have configure my server in Workshop and to debug it I right-click the project in Project Exporer and select Debug As -> Debug On Server, but this isn't working. The browser does open the application doesn't appear to be getting delpoyed.
    Can anyone help me out? I am using Weblogic 10.3 and Java 1.6.
    Thanks,
    Sean

    Hi Kal,
    The application is an enterprise application packaged as an EAR. if I right click on the project and click Debug As -> Debug on Server, the application appears in the Server Tab, but it does not start automatically. If I then manually start the server the application runs, but it does not stop at break points and I can not debug it.
    If I right-click on the web project that is packaged as part of the ear and select Debug As -> Debug On Server again the application is deployed, but I can't debug it. I don't get error messages, the application functions as normal but it does not stop at break points. When I attempt to debug the application via the Web Project, two browsers open automatically, both correctly displaying the application.
    Regards,
    Sean

  • How can i debug a rfc being called from sap

    hello Gurus,
    We made a RFC call from SAP r3 to sap grc nfe......we did not receive any data in sap grc .......we go to SM58 and there it gives
    the message "Name or password is incorrect (repeat logon)u201D.
    How can i find out where the data has stuck.
    Please help.
    BR
    Honey

    HI,
    please have a look at the link below..
    this may help u !!!
    [Re: how can i debug a rfc being called from .net connector (NCO) v2.0?;
    Best of Luck !!1
    Regards
    Ravi

  • How can I debug a routine created in Deletion of similar requests?

    Hello Experts,
    I need some help from you. I need to delete overlapping requests and the common
    settings you can set are not suitable, so I decided to write my own ABAP routine.
    But how can I debug a routine, which is implemented in the deletion of similar requests?
    Hope you can help me.
    Cheers
    Daniel Weilbacher

    Please go to the routine code..
    In the menu options..u will find an option for breakpoint--set..
    The line where breakpoint is set will get highlighted and u will also see a STOP symbol..
    then come out of routine..and then run the data load..
    this ABAP routine for overlapping request deletion runs before the scheduled data load..
    the run shud stop at the set breakpoint and show the routine code..in debugger mode..
    cheers,
    Vishvesh

  • How can I debug a sequence that has a subsequence is running in a separate thread?

    Hi,
    How can I debug a sequence that has a subsequence is running in a separate thread?
    I have to have a continues check for a  digital in signal to be able to terminate the sequence if a physical button is pushed.
    This is running in a separate thread, but this way I cannot debug the main sequence.
    Is there any workaround for this?
    Thanks,
    Andras

    This KB might help you:
    http://digital.ni.com/public.nsf/websearch/46D1E157756C37E686256CED0075E156?OpenDocument
    Let me know if this does not help.
    Allen P.
    NI

  • Can we debug the Html template in Internet service

    Hi ,
      I need to change the  name of a filed in srm portal "confirmation of good and service" for that i had a template but i am not able to find the label in that
    How can i find the label  ?
    can i debug the template
    help me
    thanks
    Channappa Sajjanar

    Hi Pradeep,
    Thanks for reply .Actually i found one solution which is as follow just  guide me is it correct or not?
    I gone to the screenpainter (se51) their i given the
    program name =SAPLBBP_PDH_SEARCH.
    screen number = 3001.
    in this screen only the speeling mistakes are found for the variable's
    Confirmatn Value : BBPS_SEARCH_SUBLIST_PO_WEB-VAL_CF and
    Calculatd : BBPS_SEARCH_SUBLIST_PO_WEB-QUAN_IV.
        So i just changed the spelling mistakes there in IDES SRM and they are reflection when i exceute the t-code BBPCF02 in SE80.
    now just tell me is the way i am going is correct or not ?
    what are the side effetcts of this?
    and is any way i can solve the proble  from the template?
    please give  your valuable sugetions i am very new to SRM.
    Regards
    Channappa Sajjanar

  • Can We rename BAD File name in SQL Loader

    Hi All,
    Can we rename BAD File name in SQL loader?
    If yes, how?
    Thanks in Advance,
    S

    Hi,
    You can rename the bad file before running SQL*Loader, or specify the name of the bad file using the BADFILE clause followed by a filename. If you do not specify a name for the bad file, the name defaults to the name of the datafile with an extension or file type of .bad
    Specifying the Bad File
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28319/ldr_control_file.htm#i1005085
    Regards,
    Hussein

  • Can we use Badi BBP_SOURCING_BADI and BBP_DETERMINE_LOGSYS at the same time

    Hi everyone,
    We need you help. We are working in SRM 7 and ECC 6 EhP 4. We have a doubt. Can we use badis BBP_SOURCING_BADI and BBP_DETERMINE_LOGSYS at the same time in a classic scenario?
    We want to create the contract in ECC, and then we want to return the SC in SoCo in order to create the PO with the SC and the contract.
    We activate both, but the SC is not returned in SoCo.
    Thanks,
    Ivá

    Hi Ivan
    You can use both badi to change srm standard behavior.
    but one shopping cart item and it can have only one follow on document either Contract or Purchase order.
    i presumed that you want to use same sc for two purposes to create both SC and PO but it is not possible.
    for example
    shopping cart item has follow on document created  as a contract But you need to create a another shopping cart to create a Purchase order  w.r.t that contract .
    Once follow on documents are created sourcing flag will be removed .- rule
    BBP_SOURCING_BADI - you can write your custom logic and make way to cockpit .
    BBP_DETERMINE_LOGSYS - Determine your logical system.
    Muthuraman

  • Can we debug a workflow

    Hi All,
    I wish to know can we debug a workflow. If yes then how?
    Also if i want to know how the flow is going for the business process in question. I mean if it is stuck some where, then what is the way for it?
    Thanks in advance.
    Regards,
    Neha

    Hi Neha,
    Yes you can debug the WF to check the LOG in terms of Graphical Display and Technical details..!!
    Use the following transaction:-
    1> SWE4/SWELS -> EVENT TRACE ON/OFF (Switch On the Event Trace)
    2> SWEL -> DISPLAY EVENT TRACE
    3> SWUD -> WF DIAGNOSTICS
    4> SWPR -> WORKFLOW RESTART AFTER ERROR
    Enter the WF Number and Click on the LOG Icon.
    There you can see the Graphical Log of the WF to know where the WF is stuck.
    And You can also check the Technical Details of the WF there, to find which WF Container has what value.
    Let me know if you need any help on this.
    Regards,
    Kanika

  • Can we debug the USER EXITs

    Hi,
          This is Krishna. Can we Debug the User exits. If possible, how to debug and what r the user exits can we debug.
      If any one knows, pls help me.
      Thanx in advance.
    Regards,
    Krishna.

    Hi,
    Write one of these statements in ur user exit code.
    break-point
    or
    break <URID>
    Thanks
    mahesh

  • Can we debug WAD queries as we do BEx queries in RSRT

    Gurus,
    I am working with a WAD report and want to test what value is being passed from the frontend to the query. Can I debug this in RSRT as we do a BEx query. If yes, how, if not, how can I debug my WAD queries and see what is the value being passed to a user exit from the WAD?
    Thanks for your help.
    Thanks,
    Venkat

    Hi Venkat,
    you can set some parameters in url for web applications like
    - debug=X (includes all JavaScript files directly in HTML result and displays additional information)
    - trace=X (records an OLAP trace)
    - snippet_operations= (disables snippet operations)
    - javascript= (disables usage of JavaScript)
    - no_session_cookie=X (forces session encoding with URL rewriting)
    You should try debug=X and trace=X...
    Take a look:
    How to Debug a BEx Web Application NW 7.x Java
    SAP Note Number: [1128976 |https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bex/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d31313238393736%7d]
    [Tips & Tricks for SAP BI Web Applications|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/902c3e76-fc1c-2a10-c4ab-c734b06603ba]
    This thread could be also helpful (setting breakpoints in bex web)
    Re: User exit : RSRT - OK, error in BEx
    Regards
    Andreas

Maybe you are looking for

  • How do I update an existing website.

    I need to add additional buttons to an existing website. I just started using flash and am lost. I want to add a link button and page and all pages are in mini movie form. Just need a walk through.. Im not totally computer illiterate. Please help. ww

  • Bapi_goodsmvt_create: no error return, but no document created!

    Hi guys! I have i weired problem. I'm using the bapi_goodsmvt_create to create a goods receipt document for a standard order. The simulation works fine, no error or warning return, the bapi_goodsmvt_create  without simulation flag works fine, bapi_tr

  • Data file recovery from Windows 7

    A Macbook that was running OS X with data files and pictures was taken by someone without their permission. That person then wiped the hard drive and installed Windows 7. The Laptop has since been returned to the original owner and to her dismay real

  • If 1.1 froze your new iMac, dont' give up yet - try this first

    +If your aluminum iMac gave you problems before the Firmware Update v1.1, this is not the thread for you.+ But if your new iMac was fine out of the box, and fine after Update 1.0, _but became problematic after 1.1_, read on. This was my case - all wa

  • I have a disabled ipod that will not restore with iOS7

    I have a disabled ipod that will not restore with iOS7