How to release a BAPI ?

I made a BAPI  "ZBAPI_CITY" .
I Have to use this BAPI   in LSMW . But when i run TXN "BAPI"      i can see my "ZBAPI_CITY" in  "ALL" section But not in "RELEASED BAPI" section .
1. Also when i open "lsmw"  txn  and fill the bapi name "ZBAPI_CITY" an error come " enter valid name" .
   so how can i see my bapi in "RELEASED BAPI" section ? .

hi ajai
go to SWO1 t-code and place the cusor in your method name and fo to edit
Edit -> Change release status -> Object type component -> To released
regards
chinnaiya P

Similar Messages

  • How we can find BAPI Release dependent OR Release indipendent

    Hi Every one,
    I want to find some BAPIs which are release dependent or release independent
    ->how we can find BAPI Release dependent OR Release indipendent
    Regards,
    Kmr.

    Hello,
    Maybe the following link can help you :
    [http://help.sap.com/saphelp_46c/helpdata/en/d2/42f955cafe11d1ad0c080009b0fb56/content.htm|http://help.sap.com/saphelp_46c/helpdata/en/d2/42f955cafe11d1ad0c080009b0fb56/content.htm]
    Also take a look at the SAP Notes and related SAP Notes of obsolete BAPIs in the link.
    Success.
    Wim

  • HOW TO RELEASE BAPI

    Hi Dear all
    I get a problem regarding bapi,how to release bapi,
    I am getting error "OBJECT TYPE SHOULD BE TRANSPORTABLE"
    how to make bapi transportable.
    Thanx in advance
    Regards
    Poonam

    hi,
    Refer to the follwoing link....
    http://www.sap-img.com/abap/bapi-step-by-step-guidance.htm

  • How to create a bapi to update and add record 2 abap r3 table created by me

    i have created a abap r3 table and i now want to insert records into it through SAP netweaver(Web-Dynpro). So i need a bapi to udate and insert records in the abap r3 table.if someone can please tell me how to create the bapi..coz i handel the EP part and dont know much about abap.

    BAPIs are defined as API methods of SAP business object types.
    A BAPI is implemented as a function module, that is stored and described in the Function Builder.
    To create BAPI you are supposed to do following steps :
    1) create package in SE80.
    2) create function group in SE80.
    3) create function module in SE37(REMOTE ENABLE) & relased it .
           write your logic in that FM.
    4) Go in SWO1 to create Object type /  object name (write the program name which is SE38 program generated in background )
    5) Then go to SWO1
          Utilities -> Api methods -> ADD method
             write the name of FM which you have created & continue.
    6) select your method
      a) EDIT -> change release status -> object type -> implement
                                                                           -> released
      b) EDIT -> change release status -> object type  component-> implement
                                                                           -> released
    7) go in BAPI & you will get your BAPI.

  • How to release a collective production order in CO05N with MSPT?

    The issue was: I want to release a collective order by co05n, e.g. the structure of this collective production order 10000 like this:
    10000----20000
    30000---40000
                                 ---50000
    if order 50000 with material shortage, keep the customizing OPJK  release order=3, how to release this collective
    order. If it is not possible in standard, can the parallel order 40000 be released??
    Thank you, all.
    Edited by: Stephen Wang on Apr 15, 2010 3:12 PM

    Dear,
    In Transaction CO05N, you execute a collective release. For one of the orders, the availability check determines missing part although it has been set in Customizing of the availability check (OPJK) that a release can be executed for missing part per user decision. Therefore, a dialog box is processed on which options a.) 'Release order', b.) 'Missing parts list' and c.) 'Cancel' are displayed.
    If you first branch to the missing parts list and then press 'Cancel' on the dialog box there it self
    Else you can do this with these options,
    1)Use T Code COHVOMRELEASE here select order as you want and release accordingly.
    2) Use Transaction SE38 to create the variants for program PPIO_ENTRY and schedule it through SM36 or use standard variant as SAP&RELEASE if want in background.
    3) use BAPI BAPI_PRODORD_RELEASE
    Please try and come back.
    Regards,
    R.Brahmankar

  • How to release Stock blocked against deleted line items from  Sales order.

    We have Scenario as follows.
    Sales order made for  items available in stock.  Deleted few lineitems from sales order balance items delivered and invoiced. Sales cycle is complete in all sense.
    What we have noticed is when we are creating new sales order / Delivery for deleted items from above Sales order it shows deleted quantity is blocked against old sales order. These line items are no longer
    available in old sales order since it is deleted also it is not appearing in open sales order report (VA05).
    Overall stock available is same as quantity mentioned in deleted line item.
    In MD04 - Sales requirenment transaction it shows sales order / line item against which it is blocked.
                    i.e deleted line item.
    How to release these stock and make available for sales. Any standard process available ? or any other solutions
    Thanks & Regards,

    I got a solution for my question from other forum. for info
    Go to SE38 and enter program SDRQCR21 then execute...
    Enter line item which is blocked for sales order in MD04 and enter plant then check Data
    transfer box and uncheck other boxes... It will pop up information and click yes...
    You will get one report and Stock inconsistency will go off and then check it in MD04....
    regards

  • How to release function module...

    Hi All,
       I have created one function module and activated that. How to release that function module?
      But Release option is in deactive state...how can i release the FM....please let me know the resons for that.
    thank you.

    hi,
    change to edit mode  and come to attribute tab then you release option will be activated and then you can release it
    thanks
    shivraj
    Edited by: ShivrajSinha on Feb 8, 2010 11:14 AM

  • How to Use PM BAPI for equipment Master upload : BAPI_EQUIPMENT_SAVEREPLICA

    Hi ,
      How to use PM BAPI for equipment Master upload : BAPI_EQUIPMENT_SAVEREPLICA.
      May i know what are the input parameters & fields mandatory
      for each Table structures ct_data , ct_datax , it_descript , it_longtext.
      Can any one explain me Step by Step Process.
      B'cos i tried with below code. Equipment is not getting created.
      wa_itab-equipment_ext = '000000000100000001'.
      wa_itab-descript      = 'Test 2 -> Lube Oil Pump'.
      wa_itab-text_language = 'EN'.
      wa_itab-sdescript     = 'Short Description'.
      APPEND wa_itab TO it_itab.
      CLEAR  wa_itab.
      LOOP AT it_itab INTO wa_itab.
        ct_data-ta_guid       = '000000000000000001'.
        ct_data-equipment_ext = wa_itab-equipment_ext.
        ct_data-descript      = wa_itab-descript     .
        ct_data-valid_date    = sy-datum.
        ct_data-equicatgry    = 'M'.
        APPEND ct_data.
        CLEAR  ct_data.
        ct_datax-ta_guid       = '000000000000000001'.
        ct_datax-equipment_ext = 'X'.
        ct_datax-equipment     = 'X'.
        APPEND ct_datax.
        CLEAR  ct_datax.
        it_descript-ta_guid       = '000000000000000001'.
        it_descript-text_language = wa_itab-text_language.
        it_descript-descript      = wa_itab-sdescript    .
        APPEND it_descript.
        CLEAR  it_descript.
        it_longtext-ta_guid        = '000000000000000001'.
        it_longtext-text_language  = wa_itab-text_language.
        it_longtext-text_id        = 'LTXT'.
        it_longtext-text_line      = 'SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS'.
        APPEND it_longtext.
        CLEAR  it_longtext.
        it_longtext-ta_guid        = '000000000000000001'.
        it_longtext-text_language  = wa_itab-text_language.
        it_longtext-text_id        = 'INTV'.
        it_longtext-text_line      = 'aaaaaaaaaaaaaaa'.
        APPEND it_longtext.
        CLEAR  it_longtext.
        it_longtext-ta_guid        = '000000000000000001'.
        it_longtext-text_language  = wa_itab-text_language.
        it_longtext-text_id        = 'INTV'.
        it_longtext-text_line      = 'bbbbbbbbbbbb'.
        APPEND it_longtext.
        CLEAR  it_longtext.
        it_longtext-ta_guid        = '000000000000000001'.
        it_longtext-text_language  = wa_itab-text_language.
        it_longtext-text_id        = 'INTV'.
        it_longtext-text_line      = 'cccccccccccccccc'.
        APPEND it_longtext.
        CLEAR  it_longtext.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
      call BAPI-function in this system
        CALL FUNCTION 'BAPI_EQUIPMENT_SAVEREPLICA'
          TABLES
            ct_data     = ct_data
            ct_datax    = ct_datax
            it_descript = it_descript
            it_longtext = it_longtext
            return      = return
          EXCEPTIONS
            OTHERS      = 1.
        IF sy-subrc = 0.
          CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
          WRITE : 'Successful'.
        ENDIF.
        IF NOT return IS INITIAL.
          LOOP AT return.
            IF return-type = 'A' OR return-type = 'E'.
              WRITE : 'Error'.
            ENDIF.
          ENDLOOP.
        ENDIF.
        REFRESH  return.
      ENDLOOP.
    Regards
    SUrendar

    Hi ,
      How to use PM BAPI for equipment Master upload : BAPI_EQUIPMENT_SAVEREPLICA.
      May i know what are the input parameters & fields mandatory
      for each Table structures ct_data , ct_datax , it_descript , it_longtext.
      Can any one explain me Step by Step Process.
      B'cos i tried with below code. Equipment is not getting created.
      wa_itab-equipment_ext = '000000000100000001'.
      wa_itab-descript      = 'Test 2 -> Lube Oil Pump'.
      wa_itab-text_language = 'EN'.
      wa_itab-sdescript     = 'Short Description'.
      APPEND wa_itab TO it_itab.
      CLEAR  wa_itab.
      LOOP AT it_itab INTO wa_itab.
        ct_data-ta_guid       = '000000000000000001'.
        ct_data-equipment_ext = wa_itab-equipment_ext.
        ct_data-descript      = wa_itab-descript     .
        ct_data-valid_date    = sy-datum.
        ct_data-equicatgry    = 'M'.
        APPEND ct_data.
        CLEAR  ct_data.
        ct_datax-ta_guid       = '000000000000000001'.
        ct_datax-equipment_ext = 'X'.
        ct_datax-equipment     = 'X'.
        APPEND ct_datax.
        CLEAR  ct_datax.
        it_descript-ta_guid       = '000000000000000001'.
        it_descript-text_language = wa_itab-text_language.
        it_descript-descript      = wa_itab-sdescript    .
        APPEND it_descript.
        CLEAR  it_descript.
        it_longtext-ta_guid        = '000000000000000001'.
        it_longtext-text_language  = wa_itab-text_language.
        it_longtext-text_id        = 'LTXT'.
        it_longtext-text_line      = 'SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS'.
        APPEND it_longtext.
        CLEAR  it_longtext.
        it_longtext-ta_guid        = '000000000000000001'.
        it_longtext-text_language  = wa_itab-text_language.
        it_longtext-text_id        = 'INTV'.
        it_longtext-text_line      = 'aaaaaaaaaaaaaaa'.
        APPEND it_longtext.
        CLEAR  it_longtext.
        it_longtext-ta_guid        = '000000000000000001'.
        it_longtext-text_language  = wa_itab-text_language.
        it_longtext-text_id        = 'INTV'.
        it_longtext-text_line      = 'bbbbbbbbbbbb'.
        APPEND it_longtext.
        CLEAR  it_longtext.
        it_longtext-ta_guid        = '000000000000000001'.
        it_longtext-text_language  = wa_itab-text_language.
        it_longtext-text_id        = 'INTV'.
        it_longtext-text_line      = 'cccccccccccccccc'.
        APPEND it_longtext.
        CLEAR  it_longtext.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
      call BAPI-function in this system
        CALL FUNCTION 'BAPI_EQUIPMENT_SAVEREPLICA'
          TABLES
            ct_data     = ct_data
            ct_datax    = ct_datax
            it_descript = it_descript
            it_longtext = it_longtext
            return      = return
          EXCEPTIONS
            OTHERS      = 1.
        IF sy-subrc = 0.
          CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
          WRITE : 'Successful'.
        ENDIF.
        IF NOT return IS INITIAL.
          LOOP AT return.
            IF return-type = 'A' OR return-type = 'E'.
              WRITE : 'Error'.
            ENDIF.
          ENDLOOP.
        ENDIF.
        REFRESH  return.
      ENDLOOP.
    Regards
    SUrendar

  • How to Release the order  while creating an order?

    Hi
      My requirement is to create an order and release(REL) it immediately upon creation.I have created an RFC FM wherein which I am calling the Bapi 'BAPI_ALM_ORDER_MAINTAIN' to create an order.
    Following method I have tried to release the order, but still my purpose not resolved completely.
    Creted the 'RELEASE' method in the BAPI call upon creation of order, but it throws a BAPI error.
    I tried  with FM 'STATUS_CHANGE_INTERN' in the BADI of an order to release it. It does release the order. But the problem is afer the order is created and released by BAPI & BADI, I could still see the Green Flag(Release) in 'Iw 32' though system status changed to 'REL' Status. on Top of it , I could still observe the Creted Status(CRTD) system status in the order. Actually once the order is Release(REL), created status(CRTD) should not be displayed .
    What would be the best approach to acheive the result?.Appreciate your valuable reply on this regards.
    Regards
    sri-

    Hi,
    Try this..
    Create a new RFC function module in SE37 with the same parameters as the FM ALM_ME_ORDER_RELEASE
    In the attributes of the new FM set the radio button "REMOTE ENABLED"
    Then call the FM ALM_ME_ORDER_RELEASE inside your new FM..
    Generate ..
    Then call this new FM in your user exit...with IN BACKGROUND TASK.
      CALL FUNCTION 'Z_ALM_ORDER_RELEASE'
                   IN BACKGROUND TASK.
    Hope this works..
    Thanks,
    Naren

  • How to release the budget in SAP Funds Management

    Hi
    How to release the budget in SAP Funds Management. Please let me know the proceedure and the transaction code
    Tks

    Hi,
    The answer depends on if you are using Former Budgeting or BCS.
    1) If you are using Former Budgeting:
    a. You should use transaction FR51 to enter Release or FR55 to distribute it.
    2) If you are using BCS:
    a. Within FMBBC transaction you have the option to release the budget, use document type as REL (release).
    b. You can activate the automatic release for each budget profile in Customizing of Funds Management Government.   To do this, in IMG select Funds Management Government ® Budgeting and Availability Control (Former Budgeting) ® Budget Profiles (Former Budgeting) ® Set Up Budget Profiles.
    With the automatic release, the corresponding background releases for expenditures FM account assignments with budget transfers are also posted. Take note that the maximum amount that this automated release can transfer from the sender is the amount that has already been released.
    If you do not activate the automated release, the maximum amount that can be transferred from the sender is that which has not yet been released.
    c. You can use the mass transaction for release, which is FMMPRELE.
    I hope that this answer your inquiry.
    Best Regards,
    Vanessa Barth.

  • What is BAPI?How to create a BAPI? Difference b/w BAPI and BDC

    Hi all,
    Can some one help me regarding...
    What is an BAPI?where it is used?
    How to create a BAPI?
    What is the difference between BAPI and BDC Program?
    Iam in Initial stage regarding BAPI concept.
    Please respond me soon.
    Thanks,
    Lee

    HI,
    Here it is:
    BAPI Programming Guide
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFABAPIREF/CABFABAPIPG.pdf
    BAPI User Guide
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDAPII/CABFAAPIINTRO.pdf
    http://techrepublic.com.com/5100-6329-1051160.html#
    http://www.sap-img.com/bapi.htm
    http://www.sap-img.com/abap/bapi-conventions.htm
    http://www.sappoint.com/abap/bapiintro.pdf
    http://ifr.sap.com/catalog/query.asp
    STEP BY STEP for BAPI
    http://sap-img.com/abap/bapi-step-by-step-guidance.htm
    <b>DIFFERENCE between BAPI and BDC</b>
    BDC is traditional way of coding the transactions for uploading the legacy data, Sap is changing all transactions to Object oriented programming. Since BAPI is Object based and supports all the new transactions it is preffered over BDC. More over BAPI's process data faster than BDC.
    BAPI is a SAP-supplied function module with a defined interface, which allows you to interact with various business objects. SAP guarantees the integrity of your database for anything updated using a BAPI. BDC is a method of driving screens programatically, for updating SAP data. BAPIs are generally faster than BDCs.
    A BAPI is faster because it is updating the DB "directly". Whereas BDC with call
    transaction goes through the whole screen sequence like any user would do, simply put, fills screens.
    However - there is not always a BAPI for a particular transaction and not all functions that are performed by a transaction can be done by a BAPI. BDCs produce error sessions which can be processed by the user, while BAPIs don't.
    First choose the BAPI ,if there is no BAPI go for BDC.
    why BAPI first not BDC.
    SAP comes up with Change in Version, so each and every time they will change the screens/number etc.
    so you have to change your BDC programs accordingly.
    and also Most of the Latest versions transactions are Enjoy Transaction. they will not support BDC's in Background.
    But Using BAPI's No such disadvantages.
    A BAPI is faster because it is updating the DB "directly" through ABAP code.
    A BDC with call transaction goes through the whole screen sequence like any user would do, simply put, it is filling screens.
    Actually it depends on your requirement but BAPI is more effective as it is standard function module to update SAP databases rather than BDC.
    using bdc over bapi has advantages and also disadvantages
    advantages:
    1. using bdc we can upload data into database tables using 2 ways
    1. foreground -
    means that user interaction is there for each and every record.
    2. back ground -
    no user interaction and tasks are done automatically.
    using these two options is one of the greatest advantage over bapi.
    2. in bdc call transaction method we can control the display of screen resolution which is not possible with bapi's
    3. bdc is generally used for transferring of large amount of data than bapi's
    4.session method of bdc allows us to place data directly in application server and then finally transfered into sap database tables
    disadvantages:
    1.bdc is only used for sap to sap system data transferring
    2. bapis's generally works more faster than bdc's
    3. using bapis we can connect to remote systems and also to non sap systems.
    if useful reward some points.
    A BAPI is a method of a SAP Business Object. BAPI enables SAP and third party applications to interact and integrate
    with each other at the Business Object / Process level.
    Check this link to know more about BAPI.
    http://www.sapgenie.com/abap/bapi/example.htm
    http://sappoint.com/abap/
    Batch Data Communication (BDC) is the oldest batch interfacing technique that SAP provided since the early versions of R/3. BDC is not a
    typical integration tool, in the sense that, it can be only be used for uploading data into R/3 and so it is not bi-directional.
    BDC works on the principle of simulating user input for transactional screen, via an ABAP program. Typically the input comes in the form
    of a flat file. The ABAP program reads this file and formats the input data screen by screen into an internal table (BDCDATA). The
    transaction is then started using this internal table as the input and executed in the background.
    In ‘Call Transaction’, the transactions are triggered at the time of processing itself and so the ABAP program must do the error handling.
    It can also be used for real-time interfaces and custom error handling & logging features. .
    To know more about BDC,
    check the link.
    http://sappoint.com/abap/
    Main differences are...
    In case of bdc data transfer takes place from flat file into sap system ie the file existing in sap system to sap sytem
    where is bapi's r remotly enabled function modules which are assigned to some business objects n used to transfer the data between different business partners who are using different systems other than sap.
    not only that...
    when you plan to upgrade your system version then bdc willnot support those upgradations where as bapi's will support.
    <b><REMOVED BY MODERATOR></b>
    Manish
    Message was edited by:
            Alvaro Tejada Galindo

  • How to release the Change request (Task in Repair Mode)

    Hello everybody,
    I have change request in that one Task in Repair mode.
    when i trying to release, it give the error message like
    Repair HRDK900911 may only contain repaired objects
    Diagnosis
    In repairs, you can only lock and edit those objects whose original exists in another SAP System.
    The object R3TR PROG /VWK/GPS_VCD_R was found in the object list of your repair HRDK900911. This object is not a copy but the original.
    So please suggest me
    How to release the Task (Repair) so I can release  the request.
    Thanks

    Yes you wont be able to release the request till you remove the flag from SE03.
    Goto SE03 > Display Repaired Objects
    Select Your object and remove the repair flag from top <Repair Flag>
    R3TR PROG <Your Object>
    Also as you are getting an error
    No valid change license available for namespace
    In SE03-->Display/change Namespace
    when I check the specified Namespace then their is no Repair License.
    So please suggest me Repair License is required?
    check what namespace it is refrerring to ... A namespace name should be there....
    1. Go to SE06 and click on the System Change Option.
    2. Verify that Namespace Systems Development  /Namespace/  is "Modifiable".
    or
    1. Run transaction SM30
    2. Enter V_TRNSPACE
    2. Click Maintain
    3. Double Click on Namespace /NAMESPACE/
    4. Change Namespace role from P to C, then hit Save
    All the best !
    Edited by: prateek_y on Aug 30, 2010 3:21 PM

  • In my iPhone 4 the mute is getting on automatically dont know how to release the mute

    In my iPhone 4 the mute is getting on automatically dont know how to release the mute

    Have the same problem with every phone call since going to IOS7 - think my face is touching the mute on the screen but I am unaware that it has happened and keep talking until I realise the other side has hung up as they can't hear me - extremely frustrating. Then when the other side calls back, I don't hear the call as it is muted!! Is there a fix for this or a way to move the mute button??

  • How to Release jstring (C++ dll calls Java)

    I'm trying to call a method from a Dll (written in C++) to Java. Pseudo might look like this
    String cstr = "abcdefghijklmnopqrstuvwxyz";
    jstring jstr = NewStringUTF(cstr);
    CallJavaMethod(classid, methodid, jstr);
    // so problem is how to release this jstr because it is causing memory leaksI've tried DeleteLocalRef and ReleaseStringUTFChars(jstr, cstr) but they don't work and Memory keeps on increasing.
    Can anybody suggest a solution plz

    ...but they don't work and Memory keeps on increasing.
    Can anybody suggest a solution.Looking at the rest of your code too?
    You might also want to examine the assumption that you are making when you say "Memory keeps on increasing". Java can keep allocating memory from the OS and never give it back. That has nothing to do with a memory leak (either in C or java.) So unless you have already excercised your application without JNI or you are using a profiling tool then you might want examine if 'increasing memory' is the same as 'memory leak'.

  • My new ipod touch 4G shows lock symbol, how to release?

    My new ipod touch bought from USA showing lock symbol and connect to itunes symbol, how to release the lock, please help me any one

    You said it was new. Before you can use a new iPod you have to connect it to a computer with internet service and iTunes installed and activate the iPod. It sounds like that is what you iPod is tell you to do. It appears you are seeing an iTunes symbol and USB cable on your iPod.

Maybe you are looking for