Debug BAPI Values

Being a newbie to Abap ,i am looking, howto debug BAPI input values-variables? Values(values of BAPI Import parameters ) are being passes to BAPI from Mobile app.
How/where can we check the values being passed to BAPI in R3 i.e the values with which the BAPI is being executed ?
Following the post Debugging , i understood a break point might help to debug the values, but i am confused at which line of code ?

Before starting the mobile app, you set external break-point for that particular bapi and run the app..
Set the external point at the line where you are passing the input to mbo. (import parameter of the BAPI).
Under Source code, you will find the details. e.g. for the given screenshot i have 2 inputs (at line # 23, 24) so i can set the external break-point at 23.
You can check this thread How to debug RFC function module in ECC 6.0

Similar Messages

  • BAPI values in the Webdynpro dropdownbox

    Hi All,
    Is there a way to get the BAPI values in the Webdynpro dropdownbox?
    Thanks in advance,
    Pravin

    Hi Pravin,
    Check this links.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d352a790-0201-0010-5082-b1a608d22b6c
    set leadselection for dropdown by key
    When do you Use Dropdown by Index and  Key
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8b7059da-0c01-0010-e09c-9ecabaf58864
    Regards,
    Mithu

  • How to debug global values in UDF in a graphical mapping

    Hi Every one,
    I  got a situation in PI where i have to use global values in graphical mapping UDF.
    I can't able to get the values in "Display Queue " option.
    Can you please tell me what is the best way of debugging global variable in graphical mapping UDF.
    1. I declare one array list in the global values
    2. store some values using another UDF to the arraylist.
    3. I am traversing the values in the arraylist, but the values are not showing in "Display Queue".
    What is the solution to this.

    Did you try with trace.addInfo?
    https://help.sap.com/javadocs/NW04/current/pi/com/sap/aii/mapping/api/AbstractTrace.html
    Sample code for the setMail UDF (Carrier B2B) - Business Process Expert - SCN Wiki

  • Debugging BAPI in WD application

    Hi All,
         I want to debug the back end BAPI in the Wenduynpro application , i went to SAP --> Transaction se37 --> opened my fun mod --> utilities --> Settings --> Debugging -->Checked the Activate check box for external debugging -->Came back to sourde and CtlShiftF12 It prompted me for the type of debugging --> i had selected External break point .
      If i run my application the application is not stopping at the break point??
    Is the process correct , did i miss any thing else.
    Regards,
    Ravi

    You need to check 2 things..
    1. Check which user is mapped in portal to login into SAP R/3.
    2. If it's different user than the user id which you are using then mention the user id which Portal is using to login to SAP in
    Settings -->Debugging.
    Make sure that user is dialog user.
    Hope this shd solve your problem..
    <i>*Reward each useful answer</i>
    Raja T

  • Calling and displaying BAPI  values when the initial view is displayed

    hi Gurus,
    I am creating an application where I am calling a BAPI.
    Now my problem is that the values should be called and displayed when I am starting the application ie in the first view itself.
    Is there any way to execute the BAPI so as to retrieve the values from back end and get the values displayed in the initial screen/view.
    Or else is there any onPageLoad method which can be used in such cases.
    please help me how to go ahead.
    Thanks and regards,
    kris

    Hi
    Create a method in controller and insert the code,
    wdContext.current<BAPI>Element().modelObject().execute();
    And call the method in view, and check the size of BAPI's output node.If it is greater than 0, your BAPI is returning something. using any loop and get the Output
    Saravanan K

  • Proxy plugin - Debug parameter values

    Up until a few months ago the proxy plugin documentation for WLS 8.1 included multiple values that the Debug parameter could be set to (e.g ALL to see just about everything, ones to see just headers etc). Now it only seems to have True|False. http://e-docs.bea.com/wls/docs81/plugins/plugin_params.html#1154491
    Is there a reason this was changed? The old way was much more flexibile.
    Has this been changed for the latest SP?
    I am holding out some hope that maybe the documentation is incorrect.... Debug=ALL still works for 8.1 sp4

    all the options seem to be there and working.
    we are using DEBUG=ERR, since ALL crashes linux when the log grows to 2GB!

  • Eclipse debug : watch values of static applet fields

    hi,
    I can't see values of my applet static fields while debuging...
    I wonder : is this normal? Why?
    If not, how can I fix that (except by de-staticify my fields :P he he)
    thanks

    To see local variables you need to compile with -g option. (javac -g).

  • Remotely Debuging BAPI.

    Hi,
    I am executing  ZBAPI from  java caps  Jcaps in XML format .
    Java, Jcaps is mediator which send XML file to SAP BAPI and in back ground BAPI execute SAP stander tcode like VL10F.. etc.
    This is totaly automatic process. but when error occurs  then it will send errore msg to correspoinding email Id.
    i want to  debug this bapi remotely   . Is it possible then how ?
    i know other process JDBG and SM37. but it will not work for my senario.

    I am Using ECC 5 .
    I heard about SAP GUI some 0 and 1 setting but not know more about it.
    If anybody know How to debug remotely RFC or BAPI plz share our idia ?

  • Debug Object / BAPI

    Hello Experts,
    I have a 3rd party system calling an SAP Object with a BAPI as instance. Is it possible to debug within SAP when the 3rd party system make a calls?
    If so, how to perform it?
    Any help would be rewarded with points.
    Thanks
    UV

    If its JCO refer the link -
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/wd%20java/debugging%20abap%20code%20from%20within%20web%20dynpro%20applications.pdf">Debug BAPI</a>
    Also check this -
    Need to debug the BAPI in R3 called by web application service.
    Regards,
    Amit
    Reward all helpful replies.

  • Query to find all Debug profile & trace values on PO module

    Hi
    we are using oracle11i(11.5.10.2 on windows 2000 server)
    i want to know all debug & trace values for PO & workflow moule using query.
    is any one having idea regarding query?
    Thanks
    With Regards
    A-Z

    Please see these docs/threads.
    Problem with 11.5.10.2
    Problem with 11.5.10.2
    Query To Get Enabled Trace/Log/Debug Profile Options [ID 559618.1]
    Also, see this docs for the queries you can run to list the value of the profile options at all levels.
    Note: 201945.1 - How to list E-Business Suite Profile Option values for all levels using SQLPlus
    Note: 282382.1 - How to Search all of the Profile Options for a Specific Value
    Note: 367926.1 - How To Find All Users With A Particular Profile Option Set?
    Thanks,
    Hussein

  • SAVE BAPI Issue in Parallel Processing

    Hello Friends,
    I have used this BAPI  'BAPI_POSRVAPS_SAVEMULTI3' to Save Some Orders in SAP APO. I have given option to run the program both in Normal Mode and Parallel Processing mode..
    In Normal mode it is able to save the data with Class Characteristics, But in Parallel Processing it is unable to save the  Class Characteristics values.
    We are passing same set of data both in Normal and Parallel Processing...
    But we are encountering this issue only in Parallel Processing... During this Save the POSEX in getting cleared in the receipts table t_orders_consolidated after Commit.... due to this it is unable to save the characteristics information stored in t_CFGH, T_CFGI and T_CFGV.
    We have also raised an OSS Message.
    But this is working fine as expected in Normal mode..
    Please advise... Its little critical to close this week...attached is some screen shots of the debug mode values...
    CALL FUNCTION 'BAPI_POSRVAPS_SAVEMULTI3'
                STARTING NEW TASK v_pp_taskname
                DESTINATION IN GROUP as_processing_options-server_group
                CALLING receive_update_orders_parallel ON END OF TASK
                EXPORTING
                  logical_system        = im_v_logsys
                  ext_number_assignment = abap_false
                  plng_version          = im_v_vrsio
                  no_create            = abap_true
                TABLES
                  receipts              = t_orders_consolidated
                  receipts_x            = t_orders_consolidated_x
                  cfg_headers          = t_cfgh
                  cfg_instances        = t_cfgi
                  cfg_values            = t_cfgv
                  return                = t_return
                  extension_in          = t_extension_in
                EXCEPTIONS
                  system_failure        = 1
                  communication_failure = 2
                  resource_failure      = 3.

    Hi Kunal,
    Check this links:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b06c3f96-ed4f-2a10-1693-f2c76a39988f
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/90886731-21e4-2a10-2ebf-901c2c2b4e3d
    Basically, what you do is:
    - Define a source: in your case will be a query.
    - Define a target: you'll need to create a transactional DSO to save information.
    - Connect both: you can simply assign fields if the query is just what you need to download, or you can have routines.
    Transaction for creating APD is RSANWB. It's pretty easy and it's a graphical interface, so you should find your way easily.
    Hope this helps.
    Regards,
    Diego

  • BAPI Simulate Sales order issue

    When iam using the BAPI for sales order simulation, it is giving the netvalue of item as
    NET_VALUE  field in the item out table( Description: Net value as num. field - 00000901 equals 9,01 ). How to change that value into actual currency amount ie into vbap-netwr.
    In debugging the value is
    I_BAPIITEMOUT[1]-NET_VALUE     NUMC 15                   000000000005000.
    The actual value should be              P         12
                                   value:                       50.0000.

    Just we need to divide it by 100.
    This is standard method that will be followed by SAP standard programs also.

  • Debug Issue

    Hi,
    Task: I am trying to debug BAPI/FM to see when exactly IDOC is getting triggered.
    Technic: ALE Distribution model setup
    when I Confirm TO its triggering IDOC(IDOC Message Type SHP_IBDLV_CONFIRM_DECENTRAL underlying BAPI is BAPI_INB_DELIVERY_CONFIRM_DEC )
    Problem facing : when I do Confirm TO i am keeping break point in BAPI_INB_DELIVERY_CONFIRM_DEC and MASTER_IDOC_DISTRIBUTE  both the FM/BAPI but not stopping.
    Please help me to debug this.
    Thanks
    Sarath

    Hi Thanks for all the suggissions but nothing worked. Again I am trying to find when exactley IDOC is getting triggered
    Just to check I have deleted BAPI SHP_IBDLV_CONFIRM_DECENTRAL (underlying BAPI BAPI_INB_DELIVERY_CONFIRM_DEC) in ALE distribution Model.
    Below is the Error message I got, hope you can guide me in correct path for debugging to find out when exactley IDOC is getting triggered.
    No recipient could be determined for object BUS2015 method CONFIRMDECENTRAL
        Message no. VLBAPI005
    Diagnosis
        The distribution model for decentralized Warehouse Management System
        (decentralized WMS) is not set up correctly with reference to the
        recipient determination for object BUS2015 method CONFIRMDECENTRAL. This
        means that the system cannot determine a recipient for object BUS2015
        method CONFIRMDECENTRAL.
    System Response
        The system reacts by issuing a warning message, or by terminating
        processing in critical situations. If a warning message is issued,
        changes are made to the object. If processing is terminated, the object
        retains its original status.
    Procedure
        Inform your system administrator. After the distribution model has been
        corrected with regards to recipient determination for object BUS2015
        method CONFIRMDECENTRAL, you can save the document and then restart
        distribution or repeat the workstep that was canceled.
    Procedure for System Administration
        The system attempts to determine a recipient for object BUS2015 method
        CONFIRMDECENTRAL using the filter object types WHSE_NO. The system
        cannot determine a recipient. Define a filter object type WHSE_NO with a
        valid filter value for recipient determination for object BUS2015 method
        CONFIRMDECENTRAL.

  • Drop down field in ALV values not getting changed

    Hi All.
    I have created an  drop down by key in ALV and I am initialising and filling the values in drop down in Modify view.
    When I am executing the application for the first time the values fill in fine in the drop down. However based on user selection the value in drop should changed. Keep in mind all the rows added in ALV should show the same values in drop down.
    Now the issue is when ever user changes the value but the drop values which were set initially does not changes.
    In other words if user selects supplier A the values for all rows in drop down shows as
    A
    B
    C
    But if user selects supplier B the values for all rows in drop down should changed to 
    X
    Y
    Z
    unfortunatley it still shows values as A,B,C .
    I have checked while debugging and values are changed based on condition but when I set them back in ALV using set_attribute_value_set it does not shows the new values.

    Hello Shakthi,
    The easier option would be to convert the DropDownByKey to DropDownByIndex. If you still want to proceed with DropDownByKey then you need to initialise the ALV data again.  do the following
    1. after changing the attribute-value_set, call the ALV interface controller method SET_DATA and pass the instance of the context node.
    2. reintiliase all the ALV settings like edit mode, converting the column editor to DropDownByKey etc....
    This will ensure the new attribute value set is reflected in the ALV component.
    BR, Saravanan

  • Issue with Popup LOV field not clearing out "default" value

    I am using APEX 4.0 & Oracle 10g
    I have a form that displays a default value on a "Popup LOV" field (say P1_POPUP) when the Form is initially displayed to the user. The default value is part of the Popup LOV list of values. If the field is "manually cleared" *i.e. I clear the default value by backspacing and don't touch the LOV) and I Refresh (submit) the form (REFRESH button to display the same Form again), the default value is still displayed.  
    In Post Processing, I debugged the value of P1_POPUP to see if holds the default value and yes it does. I was expecting no value in P1_POPUP.
    Is this an APEX standard behavior?
    Any way how I can get rid of this value on an manually clearing action of this Pop Up field?
    Looking forward for your response.
    Thank very much in advance.
    Ed.

    I apologize, the default value was NULL indeed. However, it seems like I may need to manually clear this value so that it will not be displayed.

Maybe you are looking for

  • Goods valuation with sale order stock

    use S price valuation material, goods have production order ,with sale order stock, when the produciton order have GR, the goods stock value do not use standard price for material accounting view,why ? what problem? use standard price valuation sale

  • Help needed in MV Query

    Hello, I have created a MV as follows: CREATE MATERIALIZED VIEW Test1_MV BUILD IMMEDIATE REFRESH COMPLETE ENABLE QUERY REWRITE AS SELECT b.Customer_ID, j.MONTH_END_DATE, (AVG(sum(COUNT *(case when (m.DIM1_DSC ='ABC') then 1 else 0 end)))OVER (ORDER B

  • Daily UNDO statistics report?

    i want to find the undostats for the last seven days on daily basis.I want the out put in the following format date sum(undoblks) sum(txncount) max(maxmaxquerylen) 30/06/2008 100 200 300 01/06/2008 200 300 400 Thank You All...

  • Problem Debug Event in Premiere

    I can not open the premiere at all. Have uninstalled and installed. Still shows this message. What should I do? never been such problem with premiere. Now I'm getting worried because my designs are not opening.

  • Data block size

    I have just started reading the concepts and I got to know that Oracle database data is stored in data blocks. The standard block size is specified by DB_BLOCK_SIZE init parameter. Additionally we can specify upto 5 other block sizes using DB_nK_CACH