Check bapi in se37

hey friends,
I need to change for custom fields updation and valid_from field through BAPI direct execution in SE37, could anyone help me to know the correct process to check with commit?
Thanks
TIna

Hi,
  Use the EXTENSIONIN internal table in the BAPI to change the custom fields.
  Then the test sequences give the BAPI_TRANSACTION_COMMIT function module to commit the changes..
Thanks,
Naren
Message was edited by: Narendran Muthukumaran

Similar Messages

  • Can we execute the BAPI in SE37?.

    Can we execute the BAPI in SE37?.

    Yes Satish. We can execute BAPI's via transaction SE37.
    But for explicit commit we have to execute BAPI_TRANSACTION_COMMIT
    To do so:
    1. SE37.
    2. Menupath: Function Module -> Test -> Test Sequences
    3. In the popup screen, give the BAPI Name and then BAPI_TRANSACTION_COMMIT.
    These FM's will be executed in sequence.
    Hope this helps.
    Kind Regards
    Eswar

  • Existence check bapi's??

    can i use existence check bapi's for validations( like.....checking the company code exist in database ).......instead of select single??????????????????????
    Message was edited by:
            raam
    Message was edited by:
            raam

    Hi,
    The code would be:
    CALL FUNCTION 'BAPI_COMPANYCODE_GETDETAIL'
    EXPORTING
    companycodeid = l_bukrs
    IMPORTING
    COMPANYCODE_DETAIL = ls_comcode_det
    COMPANYCODE_ADDRESS = ls_compcode_address
    RETURN = ls_ret_msgs
    In the code above:
    1. l_bukrs is the company code you want to get the details for
    2. ls_comcode_det is the Company Code Detail Data whose structure is of type
    BAPI0002_2
    3. ls_compcode_address is the Company Code Address Data whose structure is
    of type BAPI0002_3
    4. ls_ret_msgs is the structure for the return messages whose structure is of type
    BAPIRETURN.
    No commit needed for this as you are just extracting information.
    Regards

  • Unable to Open the BAPI in SE37 Transaction

    Hi Friends,
    I have entered the bapi  BAPI_QUOTATION_CREATEFROMDATA2 in SE37 transaction and clicked on DISPLAY button.
    but I am not able to see the code (or) importing/exporting parameters of the BAPI,because I wanted to check what are mandatory parameters,but I am getting the Message as 'PROCCESSING CANCELLED'.
    Please help me in finding the issue?
    Regards,
    Xavier.P

    Hi Gemini,
    In se37 transaction in the input field, i have entered the 'BAPI_QUOTATION_CREATEFROMDATA2' and clicked on the button ' DISPLAY',but in the status bar i am getting the messsage as 'PROCESSING CANCELLED'.
    I think in some transaction something has to be done,so that this can be viewd in SE£7 tcode.
    Regards,
    Xavier.P

  • How to make the Commit after calling a BAPI from SE37 ?

    Hi
    When i use a BAPI for update some SAP table i always call the BAPI inside a program and then i call the BAPI_TRANSACTION_COMMIT for made the changes and validate them
    Bot now i need to test the BAPI directly in SE37 , and the BAPI returns the sucess message but i can not see the changes in the SAP tables , i guess i need to make the Commit but how can i do this ? 
    by calling the BAPI_TRANSACTION_COMMIT directly in SE37 after the call to the other BAPI  ?
    Thanks
    Frank

    se37 > clear the field of the function module name
    menu path: Function module > test > test sequence and give you FM's sequence you want to test

  • BAPI CHECK/Test Run for BAPI_ACC_ACT_POSTINGS_REVERSE

    Dear experts,
    For some FICO BAPI, there is another separate check BAPI for test run. For example:
    -  BAPI_ACC_ACTIVITY_ALLOC_POST &  BAPI_ACC_ACTIVITY_ALLOC_CHECK
    -  BAPI_ACC_MANUAL_ALLOC_POST &  BAPI_ACC_MANUAL_ALLOC_CHECK
    The POST & CHECK BAPIs both take the same input parameter only that the CHECK BAPI does not return any document number.
    I've been trying to find the CHECK BAPI version for BAPI_ACC_ACT_POSTINGS_REVERSE and I couldn't find one.
    I want to confirm here: Is there such a CHECK BAPI for  BAPI_ACC_ACT_POSTINGS_REVERSE?
    Thank you,
    Suwandi C.

    Hello
    For cancel document you may use FM BAPI_GOODSMVT_CREATE instead of BAPI_GOODSMVT_CANCEL.
    In BAPI_GOODSMVT_CREATE you must pass GM_Code = '06' for reversal of goods movements and run in test mode.
    Read documentation for this FM.

  • BAPI for schedule lines (purchase scheduling agreement)

    HI
    Is there a BAPI available to create schedule lines in purchase scheduling agreements?
    Is there any other way of creating schedule lines in purchase SAs via program?
    Thanks in advance
    Sriram

    Dear Sriram,
    Please check BAPI_SAG_CREATE with SE37.
    Regards,
    w1n

  • BAPI_DOCUMENT_CREATE2 253 Error while checking in and storing

    Hello,
    I am having a problem when I want to execute a BAPI_DOCUMENT_CREATE2 from SAP MII.
    Then i get the following error:
    <TYPE>E</TYPE>
      <ID>26</ID>
      <NUMBER>253</NUMBER>
      <MESSAGE>Error while checking in and storing: C:\Temp\test.pdf</MESSAGE>
      <LOG_NO />
      <LOG_MSG_NO>000000</LOG_MSG_NO>
      <MESSAGE_V1>C:\Temp\test.pdf</MESSAGE_V1>
    The strange thing is when I execute the BAPI in SE37 (SAP) with the same settings it works great
    Already looked at some SAP Notes and topics here on SDN, but can't find the solution.
    Kind regards,
    Nick

    Hi,
    I am getting the same error.
    Can you plz help.
    Regards
    Shruti

  • Problem while posting FI document through BAPI - Multiple Exchange Rates

    I am able to post FI document with multiple exchange rates for the same currency using FB01. But, when I try to post the same document details using BAPI_ACC_DOCUMENT_POST , it throws an error F5 701 - Inconsistent Rate for Currency XXX .
    How can we avoid this error while posting through BAPI ?
    Thanks & Regards,
    Nidhi

    Hi Nidhi,
    Value range
        The field CURR_TYPE (currency type) describes the role played by a
        currency in the SAP System.
        The currency type can take on the following values, for example:
        o   00      Transaction currency
        o   10      Company code currency
        o   20      Controlling area currency
        o   30      Group currency
        o   40      Hard currency
        o   50      Index-based currency
        o   60      Global company currency
        If an entry is not made in the field CURR_TYPE, the default value "00"
        is retained.
        If only one data record is transferred in transaction currency for each
        line item, the field CURR_TYPE does not need to be filled out. If
        several data records are transferred for each line item, the currency
        type must be entered for each record.
    If the parameter CurrencyAmount is filled with the currency fields,
    a complete document check including characteristics and value
    components of profitability analysis (CO-PA). Otherwise, the account
    assignment objects are checked.
    Check the BAPI documentation SE37.
    Regards,
    Boobalan Suburaj

  • Reg BAPI  BAPI_SALESORDER_CREATEFROMDAT2

    Hi All,
    We are creating the sales order using the BAPI BAPI_SALESORDER_CREATEFROMDAT2  the BAPI is successfully creating Sales order successfully with out any issues,but the problem is the sales order line item which has been created through BAPI is being greyed out it is not allowing changes changes to be done for the line item.
    The same we checked manually executing the BAPI from Se37 it is creating sales order and also it is allowing to change the line item details manually(by going through VA02).We cross checked the parameters that we are passing through SE37 and through program both are same but I am not getting what is cause for the error.Please suggest some body some resolution for this.
    Regards
    Mahesh

    Hi All,
    We are creating the sales order using the BAPI BAPI_SALESORDER_CREATEFROMDAT2  the BAPI is successfully creating Sales order successfully with out any issues,but the problem is the sales order line item which has been created through BAPI is being greyed out it is not allowing changes changes to be done for the line item.
    The same we checked manually executing the BAPI from Se37 it is creating sales order and also it is allowing to change the line item details manually(by going through VA02).We cross checked the parameters that we are passing through SE37 and through program both are same but I am not getting what is cause for the error.Please suggest some body some resolution for this.
    Regards
    Mahesh

  • Problem with BAPI invocation in UDF

    Dear SDN-Experts,
    I have the following java code in an user defined function:
    JCO.Repository mRepository;
    JCO.Client mConnection = JCO.createClient(
    "101",
    "de",
    "frba02.buc.fristo.de",
    "10" );
    mConnection.connect();
    mRepository = new JCO.Repository( "SAPLookup", mConnection );
    JCO.Function function = null;
    IFunctionTemplate ft = mRepository.getFunctionTemplate( "BAPI_MATERIAL_GET_ALL" );
    function = ft.getFunction();
    JCO.ParameterList input = function.getImportParameterList();
    input.setValue( "1000" , "MATERIAL" );
    mConnection.execute ( function );
    JCO.Table unitsofmeasure=  function.getTableParameterList().getTable("UNITSOFMEASURE");
    mConnection.disconnect();
    return unitsofmeasure.getString("ALT_UNIT_ISO");
    As you can see, I try to execute "BAPI_MATERIAL_GET_ALL" with 1000 as "MATERIAL". When I test the same BAPI in the Target System with Transaction SE37 and 1000 as material, I get a table which has three rows. But when I execute the UDF with the same parameter (as above), I get the following runtime exception:
    Exception:com.sap.mw.jco.JCO$Exception: (106) JCO_ERROR_RESOURCE: Trying to access row values in a table which does not have any rows yet in class com.sap.xi.tf._MM_MT_KASSE__to_WPUWBW01_ method GetME$ 2270, com.sap.aii.mappingtool.tf3.rt.Context@24650c7a
    Could you help me please?
    Thanks in advance.
    Cheers
    Ehsan
    Edited by: Ehsan Baghi on Jul 11, 2008 4:58 PM

    Hi Ehsan !
            By the message error that you received, I think that is possible that the bapi is returning no records in the table.
            Sometimes, call an RFC or BAPI from java has different behavior that executing from SE37, because of field formatting for example. In your case, there is great chance that executing this BAPI in SE37, when you fill the Material field with "1000", internally it´s proccessed as "000000000000001000", and when you call this BAPI from a java program, the field is proccessed with the exact value that you passed: "1000".
            A good way to check this is logon in your SAP environment with the user that you are using in the java mapping to connect to SAP, run SE37 and open the source code of this BAPI, set a remote break point, and test your mapping, so you will see in the debugger, the exact value that is arriving to the BAPI from java, and the values that is being returned to java.
            I hope this helps !
            Best regards,
            Wilson

  • Step by step to do BAPI in ABAP

    step by step to do BAPI in ABAP
    If using CatsDB table will be greatfull,
    Points will be rewarded
    thank you,
    Regards,
    Jagrut Shukla

    Hi,
        This is in general step ..
    <code>
    1     BAPI Browser      Tcode - BAPI
    2     BAPI Object Builder     Tcode - SWO1
    3     Naming Convention for BAPI's      "Naming Conventions:
        1) Business Object:  BUS0001 where 0001 is an active function group.
        2) Function Module: BAPI_<object name>_<methodName>
        3) Method Name    : Max 30 chars. Should start with capital letter. GetDetail
        4) Reference fields :  Structures. Should start with BAPI…"
    4     Steps for creating a BAPI     "Steps for Creating a BAPI:
        1) Create a Function Module in SE37 and assign it to an active Function Group.
             (Check Remote Enable in attributes section)
    2) Fill the Import (Input) Parameters for the RFC
    3) Fill the Export (Output) Parameters
             (BAPIRETURN IS MANDATORY)
    4) Fill the Table parameters, if any
    5) Write the “functionality” in the source code
    6) Activate and Release the Function Module"
    5     Attaching Methods to Business Object     "Attaching method to BO:
      1) Transaction - SWO1, create a Business Object.
        Object Type – Internal technical key of the BO in the BOR.
        Super Type – If we are using some existing parent node features
               Object Name – Descriptive Name (This is displayed in list of Objects)
               Name – Descriptive name to select Object Type.
               Description – Text max 40 char
               Program – ABAP prg generated, associated with the object type.
    2)  Go to Utilities ->API Methods -> Add method
    3) Add key fields and attributes, if any
    4) Generate the Object
    5) Select the Added Method, Edit ->Change Release Status -> Object Component -> To be Implemented
    6) Select Object Type, Edit ->Change Release Status -> Object Type -> To be Implemented
    7) Select the Added Method, Edit ->Change Release Status -> Object Component -> To be  Released
    8) Select Object Type, Edit ->Change Release Status -> Object Type -> To be Released"
    6     How to check BAPI Functions?
         Either in TFDIR table by specifying BAPI_* or from SE37 by specifying BAPI_*
    7     Difference between BAPI and RFC     BAPIs and RFCs both are remote function  
                modules. All BAPIs are RFCs , but all RFCs are not BAPIs . BAPI process a   
                 business object and handles a busienss function completely. RFC perform a 
                 function which process tables , files etc. but not a complete business function.
    </code>
    Reward if u find helpful.
    Regrads,
    Rajesh

  • BAPI for shipment

    Hi Experts,
    My requirement is :
    *for export ocean there is scenario like orders getting attached to a shipment, this shipment is the container shipment and shipment type is Z070
    u2022     Similiarly there will many container shipments created, now all these container shipments will be then added to a big shipment and the big shipment is called as ocean shipment, type is Z075
    u2022     There is an entity in ocean export scenario called as FF (FREIGHT FORWARDER) . In the system FF is a number maintained as partner function against partner TF
    u2022     FF will be maintained in sales order under partner tab.
    u2022     Now FF which is available in sales order have to be copied to container shipment in partner function--vt02
    u2022     Now all these container shipments will be attached to ocean shipment, so the FF of the first container shipment will be copied to partner profile of ocean shipment.
    Can anybody suggest BAPI for the above requirement.
    Thanks in advance.

    Please check this mght help you..
    BAPI_SHIPMENT_CREATE
    Also check the below link
    Re: Bapi or Functional Module for shipment!!
    Try to test the bapi in se37 with required input you have..
    Regards
    Satish Boguda

  • Call Bapi in user exit

    Hi Experts,
    i call to the FM in  user exit ,
    i check , if i do double click on the FM name i get inside of it!
    but when i put break-point on the fm and press F5 I go inside method
    if_rsr_var_runtime~check
    and after another method and another ... and i don't go inside the FM (i don't get any data from the Fm  despite I get data for the same input when i call to the bapi from se37  )What can be problem?
    i work in BI7 SYSTEM maybe i have to declare there something ?
    Regards

    Can you provide the FM name?

  • Calling transactional BAPI from Web Dyn Pro

    Hi,
    I am trying to call an RFC from web dynpro, unfortunately I'm a java person rather than ABAP so am struggling a little.  The Bapi is BAPI_BPCONTACT_CREATEFROMDATA, which a colleague has wrapped up so that it saves data from memory and then commits.  I can successfully create sales activities using this RFC from the GUI.  I have connected it to a web dynpro screen and am sending the same information I send from the GUI but get the following error message
    Msg Type I.  Start Processing of refernce object - Handle generated: $000000001 Message variable $000000001 Msg.no 000000 Msg.no 082 MessageID V3 Lines in parameter 0
    Msg Type I.  Integrity rule F0026 broken (field check) - Object $000000001! Msg Variable F0026 Msg Variable $000000001 Msg.no 000000 Msg.no 084 MessageID V3 Lines in Parameter 0
    Msg Type E.  Partner function CR is not defined from fiedl VBKAKOM-PARVW_BPARNR Msg Variable CR Msg Variable VBAKOM-PARVW_BPARNR Msg.no 000000 Msg.no 688 MessageID V1 Lines in Parameter 0
    Msg Type I.  Integrity Rule D0008 broken(dependency) - Object CR VBKAKOM-PARVW_BPARNR! Msg Variable D0008 Msg Variable VBAKOM-PARVW_BPARNR Msg Variable CR Msg.no 000000 Msg.no 085 MessageID V3 Lines in Parameter 0
    Msg Type I.  Business partner 100000000 with function CR from VBKAKOM not in VBPAKOM Msg Variable D0008 Msg Variable 100000000 Msg Variable CR Msg.no 000000 Msg.no 075 MessageID V3 Lines in Parameter 0
    The implementation within web dynpro is forcing to add a Bapi_Sender which I don't have to specify when using the GUI.  I am sending a bapi_sender object in the call with no information which is what I do when using the GUI.  As I mentioned before the parameters I am sending work perfectly when sent from the GUI.
    Any help would be greatly appreciated and I will award generous points. FYI I am also going to post this in the ABAP forum.
    Thanks in advance John Abbott

    Hello John,
    seems to be a customizing problem in SAP. Error says, that the Partner function CR is not properly configured in the tables VBKAKOM and VBPAKOM.
    Did you try to execute the bapi from se37 with function module -> test -> single test ? That is a comparable situation
    The sender has to be a logical system, that in this case, i suppose, has to be declared in SAP (and referenced in the Partner function) to create Data. It depends on the 'type' of function you are executing, reading or creating data in SAP.
    Regards Andreas
    Message was edited by: Andreas Milbredt

Maybe you are looking for

  • My skype account is linking to someone else. How d...

    It seems to be a problem with Facebook connection. My Facebook ID is linked to my skype account. I tried sending a message to a friend and the message comes to me. Now, other people that send messages to her, it seems to come to my account. How do I

  • DAB+ radio for N8 available in Australia?

    Anybody know if the DAB+ radio for N8 will be available in Australia soon? I presume one can buy it on-line from UK ....  and does anyone know if it is any good? One big question apart from reception may be what it does to battery life. Thanks Paul.

  • Strange behaviour: WiFi is off when locking the screen

    Hi, I have two iPhones: first is iPhone 4s with ios6 and the second is iPhone 5 with ios7. I have made an experiment at my house where I can see if the iphone is connected to my WiFi router or not and finally I came to this summary. the experiments s

  • JQuery/Js File Loading Errors

    Having occasional issues with Firefox 4 on Win732Bit, occasionally wont open JavaScript Files (mainly jQuery.js) on multiple different servers including my own. Can be sporadic hard refresh usually then loads. Firebug indicates it hasn't defined the

  • Repository Schema is null

    Hi, I am new to MDM. While trying to fetch some record from MDM, the value returned for repositorySchema object comes as null. The relevant code is : GetRepositorySchemaCommand getRepositorySchemaCommand  = new GetRepositorySchemaCommand(con);      g