What method, BAPI, etc. is used to launch a standard SAP transaction?

Hello friends,
Is there a simple way of finding out what method, BAPI, FM, etc. is used  to launch a standard SAP transaction?
I was told that instead of CALL TRANSACTION using BDCDATA stuff, I can use the method or BAPI or FM, or whatever to get the same results. The problem is I don't know how to find out this information.
Apparently using BDCDATA for a CALL TRANSACTION form within an ABAP  program can be hazardous because of SAP's upgrades, new releases etc... If one of the screens is modified during the next release, then the BDCDATA will no longer work. So I need to launch a transaction from within my ABAP  without having to worry about future changes implemented by SAP.
Any ideas?
Your help is greatly appreciated,

Hi,
It depends on which transaction you are looking for. Usually it comes by experience. You can search in SE37 or transaction BAPI to find out relevant BAPI suitable for you. All BAPI FMs starts with name BAPI.
eg: If you want to findout the BAPI for VA01 transaction, try like this.
SE37=> enter BAPIsalescreate* and click F4.
You can see below list of FMs.
BAPI_SALESDOCU_CREATEFROMDATA
BAPI_SALESORDER_CREATEFROMDAT1
BAPI_SALESORDER_CREATEFROMDAT2
BAPI_SALESORDER_CREATEFROMDATA
BAPI_SALES_DEL_SCHEDULE_CREATE
BAPI_SALESORDER_PROXY_CREATE
BAPI_SALESDOCU_CREATEFROMDATA1
BAPI_SALESDOCU_CREATEWITHDIA
By looking at the name we can identify upto 60%. Just go through the FM documentation and see if it works for u and how to use it.
SCN is always there to help us out. But before posting to ask for a BAPI, please search and give a try to findout:)
Thanks,
Vinod.

Similar Messages

  • What method does iPhoto 6 use to convert Raw photos for Books?

    I shoot Raw. I like to have the odd soft cover iBook for Holiday memories.
    Obviously iPhoto does not upload the RAW files to the printers, so what is its conversion process? Would I get better results if I converted them first before creating a Book File? I have followed the list of disappointments people have with these smaller books. Old Toad was most helpful with the Pref Setting 300 tip, but I wonder if in the process of conversion from Raw iPhoto uses a lower quality route?
    Any one out there who knows the best practice for Raw Shooters. By the way I am based in London and so the alternative printing websites do seem to take a bit too long with postage.

    Adobe Camera Raw is the way to go – it will do all you want and more.
    You can pick up the basics very quickly but it pays in the long run to discover its incredible versatility by visiting the Camera Raw forum.
    And read the book too!

  • What equations, units, etc. are used for radial distortion?

    This doesn't appear to be in the documentation. I need to convert a lens profile to a different model for lens distortion used in research software, but after measuring the distortion manually for a few pixels, it isn't clear to me how the radial distortion parameters would be applied to get those measured numbers.

    Hello all. I downloaded the Adobe Lens Profile Creator to create a profile for the lens of my camera (canon powershot SX40 HS using CHDK), but I am not able to unzip the zip file program. Updated the winrar and even then it still fails. Can anyone help me? Do any of you have a profile for lenses canon powershot SX40 HS?

  • Hi guru's what is bapi

    hi guru's what is bapi how we use bapi

    HI,
    BAPI stands for Business API(Application Program Interface).
    A BAPI is remotely enabled function module ie it can be invoked from remote programs like standalone JAVA programs, web interface etc..
    You can make your function module remotely enabled in attributes of Function module but
    A BAPI are standard SAP function modules provided by SAP for remote access. Also they are part of Businees Objest Repository(BOR).
    BAPI are RFC enabled function modules. the difference between RFc and BAPI are business objects. You create business objects and those are then registered in your BOR (Business Object Repository) which can be accessed outside the SAP system by using some other applications (Non-SAP) such as VB or JAVA. in this case u only specify the business object and its method from external system in BAPI there is no direct system call. while RFC are direct system call Some BAPIs provide basic functions and can be used for most SAP business object types. These BAPIs should be implemented the same for all business object types. Standardized BAPIs are easier to use and prevent users having to deal with a number of different BAPIs. Whenever possible, a standardized BAPI must be used in preference to an individual BAPI.
    The following standardized BAPIs are provided:
    Reading instances of SAP business objects
    GetList ( ) With the BAPI GetList you can select a range of object key values, for example, company codes and material numbers.
    The BAPI GetList() is a class method.
    GetDetail() With the BAPI GetDetail() the details of an instance of a business object type are retrieved and returned to the calling program. The instance is identified via its key. The BAPI GetDetail() is an instance method. BAPIs that can create, change or delete instances of a business object type
    The following BAPIs of the same object type have to be programmed so that they can be called several times within one transaction. For example, if, after sales order 1 has been created, a second sales order 2 is created in the same transaction, the second BAPI call must not affect the consistency of the sales order 2. After completing the transaction with a COMMIT WORK, both the orders are saved consistently in the database.
    Create( ) and CreateFromData! ( )
    The BAPIs Create() and CreateFromData() create an instance of an SAP business object type, for example, a purchase order. These BAPIs are class methods.
    Change( )
    The BAPI Change() changes an existing instance of an SAP business object type, for example, a purchase order. The BAPI Change () is an instance method.
    Delete( ) and Undelete( ) The BAPI Delete() deletes an instance of an SAP business object type from the database or sets a deletion flag.
    The BAPI Undelete() removes a deletion flag. These BAPIs are instance methods.
    Cancel ( ) Unlike the BAPI Delete(), the BAPI Cancel() cancels an instance of a business object type. The instance to be cancelled remains in the database and an additional instance is created and this is the one that is actually canceled. The Cancel() BAPI is an instance method.
    Add<subobject> ( ) and Remove<subobject> ( ) The BAPI Add<subobject> adds a subobject to an existing object inst! ance and the BAPI and Remove<subobject> removes a subobject from an object instance. These BAPIs are instance methods.
    BAPI-step by step
    http://www.sapgenie.com/abap/bapi/example.htm
    just refer to the link below
    http://www.sapmaterial.com/?gclid=CN322K28t4sCFQ-WbgodSGbK2g
    list of all bapis
    http://www.planetsap.com/LIST_ALL_BAPIs.htm
    for BAPI's
    http://www.sappoint.com/abap/bapiintro.pdf
    http://www.sappoint.com/abap/bapiprg.pdf
    http://www.sappoint.com/abap/bapiactx.pdf
    http://www.sappoint.com/abap/bapilst.pdf
    http://www.sappoint.com/abap/bapiexer.pdf
    http://service.sap.com/ale
    http://service.sap.com/bapi
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDAPII/CABFAAPIINTRO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFABAPIREF/CABFABAPIPG.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE8/BCFESDE8.pdf
    http://www.planetsap.com/Bapi_main_page.htm
    http://www.topxml.com/sap/sap_idoc_xml.asp
    http://www.sapdevelopment.co.uk/
    http://www.sapdevelopment.co.uk/java/jco/bapi_jco.pdf
    Also refer to the following links..
    www.sap-img.com/bapi.htm
    www.sap-img.com/abap/bapi-conventions.htm
    www.planetsap.com/Bapi_main_page.htm
    www.sapgenie.com/abap/bapi/index.htm
    Checkout !!
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    http://techrepublic.com.com/5100-6329-1051160.html#
    Example Code
    we use the function module for creating PO
    BAP_PO_CTREAT1.
    constants : c_x value 'X'.
    data: del_date type sy-datum.
    data: pohead type bapimepoheader.
    data: poheadx type bapimepoheaderx.
    data: exp_head type bapimepoheader.
    data: return type table of bapiret2 with header line.
    data: poitem type table of bapimepoitem with header line.
    data: poitemx type table of bapimepoitemx with header line.
    data: posched type table of bapimeposchedule with header line.
    data: poschedx type table of bapimeposchedulx with header line.
    data: ex_po_number type bapimepoheader-po_number.
    parameters: p_matnr type ekpo-matnr.
    parameters: p_werks type ekpo-werks.
    parameters: p_lgort type ekpo-lgort.
    parameters: p_menge type ekpo-menge.
    parameters: p_lifnr type ekko-lifnr.
    parameters: p_ekorg type ekko-ekorg.
    parameters: p_ekgrp type ekko-ekgrp.
    parameters: p_bukrs type ekko-bukrs.
    Header Level Data
    pohead-comp_code = p_bukrs.
    pohead-doc_type = 'NB' .
    pohead-creat_date = sy-datum .
    pohead-vendor = p_lifnr.
    pohead-purch_org = p_ekorg.
    pohead-pur_group = p_ekgrp.
    pohead-langu = sy-langu .
    pohead-doc_date = sy-datum.
    poheadx-comp_code = c_x.
    poheadx-doc_type = c_x.
    poheadx-creat_date = c_x.
    poheadx-vendor = c_x.
    poheadx-langu = c_x.
    poheadx-purch_org = c_x.
    poheadx-pur_group = c_x.
    poheadx-doc_date = c_x.
    Item Level Data
    poitem-po_item = 1.
    poitem-material = p_matnr.
    poitem-plant = p_werks.
    poitem-stge_loc = p_lgort.
    poitem-quantity = p_menge.
    append poitem.
    poitemx-po_item = 1.
    poitemx-po_itemx = c_x.
    poitemx-material = c_x.
    poitemx-plant = c_x .
    poitemx-stge_loc = c_x .
    poitemx-quantity = c_x .
    poitemx-tax_code = c_x .
    poitemx-item_cat = c_x .
    poitemx-acctasscat = c_x .
    append poitemx.
    Schedule Line Level Data
    posched-po_item = 1.
    posched-sched_line = 1.
    posched-del_datcat_ext = 'D'.
    del_date = sy-datum + 1.
    write del_date to posched-delivery_date.
    posched-deliv_time = '000001'.
    posched-quantity = p_menge.
    append posched.
    poschedx-po_item = 1.
    poschedx-sched_line = 1.
    poschedx-po_itemx = c_x.
    poschedx-sched_linex = c_x.
    poschedx-del_datcat_ext = c_x.
    poschedx-delivery_date = c_x.
    poschedx-quantity = c_x.
    append poschedx.
    call function 'BAPI_PO_CREATE1'
    exporting
    poheader = pohead
    poheaderx = poheadx
    testrun = ' '
    importing
    exppurchaseorder = ex_po_number
    expheader = exp_head
    tables
    return = return
    poitem = poitem
    poitemx = poitemx
    poschedule = posched
    poschedulex = poschedx.
    call function 'BAPI_TRANSACTION_COMMIT'
    exporting
    wait = 'X'.
    if not ex_po_number is initial.
    call function 'DEQUEUE_ALL'.
    else.
    call function 'DEQUEUE_ALL'.
    message i036.
    Check this
    http://www.sap-img.com/abap/bapi-step-by-step-guidance.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/7e/5e114a4a1611d1894c0000e829fbbd/frameset.htm
    http://www.sapgenie.com/abap/bapi/example.htm
    http://help.sap.com/saphelp_46c/helpdata/en/9b/417f07ee2211d1ad14080009b0fb56/frameset.htm
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    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://www.sapgenie.com/abap/bapi/example.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDAPII/CABFAAPIINTRO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFABAPIREF/CABFABAPIPG.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE8/BCFESDE8.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFABAPIREF/CABFABAPIPG.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDAPII/CABFAAPIINTRO.pdf
    <b>Reward is usefull</b>

  • What method for reading 1.234.567 instead of 1234567 in JXL excel package

    I want to read cells from an excel sheet. But I don't know getting the cell content as money quantity 1.234.567 instead of 1234567. What method(s) I shold use.

    Try getting it as a String.

  • What are the Tax functionalities used in SRM

    Hi all,
    What are the Tax functionalities used in SRM and in SAP?
    thanks,
    Rams

    Hi Ramu,
    Please find the tax related information about SRM and ECC in the below links:
    http://help.sap.com/saphelp_srm50/helpdata/en/0f/5c0a3b79415375e10000000a11402f/frameset.htm
    http://help.sap.com/erp2005_ehp_01/helpdata/en/af/3f89599e6711d395da00a0c929f4c9/frameset.htm
    Regards
    Kathirvel

  • Adapting SAP transactions as BAPI

    As most of the BAPIs are based transactions, I would like to know how you would approach to create a BAPI interfaced function that works like a given SAP transaction.
    For example, FV60 requires a few entries into mandatory fields, and then calls Modules and Functions. Having found the Screens from Dialog Programming, how should/would one go about converting it into BAPI Import, Export and Tables? Perhaps Vendor could be an Import field, or the whole Header, a BAPI Import Stucture, while the items are Import Tables, which the BAPI will return, when successful, a Export Structure/Field with the Invoice Document Number.
    Since both are coded on ABAP, I would believe that it is a pretty simple task, only needing to figure out how to transfer some Dialog specific portions, remove "real-time" field checking and placing it as Returns, and some other adjustments as you fit it into a BAPI. All done in the "top-most layer" such that as little change as necessary is needed, and with maximum code re-use?
    I hope the idea is presented clear enough. Any help would be appreciated.

    I don't think that this is a simple task because I've been long enough in development to know that there are at least as many variants as we have developers. But if I had to do this I'd do it the following way:
    1. Check the transaction tediously. Make sure that there are no hidden popups etc. Expecially check if save or similar buttons send additional question pop ups.
    2. If there are no additional popups, look at the number of screens. Ideally you have an entry screen and a number of screens where you do multiple input entries. Now it depends on your transaction. Does the transaction save the data only or does it give you a list as return? If it is save only, you should think about a CREATE_FROM_LIST BAPI, otherwise a simple CREATE could be complicated enough. Now create your BAPI with all input fields as one or multiple Import structures and similar output structures. Don't forget BAPIRETURN or BAPIRET2.
    Copy all the coding from the PAI of your main screen (where you press the save button) into the function module. Now make it syntax error free which might be complicated enough. Then test it, test it, test it, especially with wrong data.
    That's all but it is more than enough.
    Best regards
       Dirk

  • I can't launch Safari. When I right click on the icon, the "Application not responding" is grey and no matter what method I use to Force quit, I get no response.

    I can't launch Safari. When I right click on the icon, the "Application not responding" is grey and no matter what method I use to Force quit, I get no response.

    Do a backup.
    Quit the application.
    Go to Finder and select your user/home folder. With that Finder window as the front window, either select Finder/View/Show View options or go command - J.  When the View options opens, check ’Show Library Folder’. That should make your user library folder visible in your user/home folder.  Select Library. Then go to Preferences/com.apple.Safari.plist. Move the .plist to your desktop.
    Restart the computer, open the application and test. If it works okay, delete the plist from the desktop.
    If the application is the same, return the .plist to where you got it from, overwriting the newer one.
    Thanks to leonie for some information contained in this.

  • Many of my System Preferences will no longer work after installing Mountain Lion. Software update, startup disk, iCloud, etc. no longer will launch. I keep getting a drop down window saying I must restart system preferences in order to use. No go!

    Many of my System Preferences will no longer work after installing Mountain Lion. Software Update, Startup Disk, iCloud, Time Machine, Notifications, etc. no longer will launch even though they do show their icons in the system preferences window. I keep getting a drop down window saying I must restart system preferences in order to use with a "Cancel" or "OK" choice. After I click on "OK" the window just keeps reappearing with the same choices and the pane I wish to use still remains inoperative. Third party preference panes DO work.
    Reinstalling OSX Mountain Lion did not help. Neither did throwing away preferences.plist.

    Hi Jeff,
    Tried to reply with my iPhone but not easy! Anyway, back on the laptop now. Yes the crash was bad but Tek support at Prism Sound was really good. In the end I rebuilt the whole system on a new disk which took a couple of days with all the plugins, softsynths etc.... but there seemed to be no alternative in my case, and this was agreed with Prism sound as being the only alternative left to me. I still don't really know what caused the crash but ML and Orpheus are both working fine now. Let's face it, you'll have to update at sometime..maybe best to pick some time between projects On balance, I suspect that my problems were unique to my system and that your installation will go ok.
    Hope it goes well,
    Rick

  • Firefox will not maximize. Covers about 1/2 of my monitor and will not max, no matter what method I use. How do I correct this?

    My firefox screen is filling only about 1/2 my monitor screen. I cannot maximize it no matter what method I use (F11, manual click & drag on corner). I have rebooted; no change.
    == This happened ==
    Just once or twice
    == I opened Firefox this morning. Has never happened before.

    See:
    *http://www.imessengr.com/2006/12/how-to-remove-uninstall-sweetim.html
    * http://www.sweetim.com/help_simff.asp

  • What method should be used for resizing the particular JTable Column width

    I have a four table. Only one table which are on top have a table header. I want that when user resize the topmost table with a mouse other table colume also be resized automatically. So I want to know that what method should be used for resizing the particular JTable Column width.
    Thanks
    Lalit

    maybe you can implement a interface ComponentListener as well as ComponentAdapter with your topmost Table.
    for example:
    toptable.addComponentListener(
    new ComponentAdapter(){
    public void componentResized(ComponentEvent e){
    table1.setSize(....);
    table2.setSize(....);
    /*Optionally, you must also call function revalidate
    anywhere;*/
    );

  • What are the limitations regarding use of video in an iBook: length, file size, etc?

    What are the limitations regarding use of video in an iBook: length, file size, etc?

    Total book size is 2.0GB max. Length would be relative to size based on quality.
    See:
    - Optimizing performance in your iBooks Author books
    - iBooks Author: Add video to your iBook

  • What is BAPI and where does it use

    Hi all
    What is BAPI and where does it useful for us. And as a functional consultant how much should i know it.
    regards
    Subrat

    Hi Subrat,
    You can get the information of whatis BAPI in SAP help link below...
    http://help.sap.com/saphelp_46c/helpdata/en/a5/3ec8464ac011d1894e0000e829fbbd/content.htm
    As a Functional consultent, it depends how close you are with the technical part of the implementation. if you are involved in some technical part, you need this information...
    Best Regards,
    Venkat.

  • What method I use?

    import java.awt.*;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JTextField;
    public class GridBagLayoutDemo2{
        final static boolean shouldFill=true;
        final static boolean shouldWeightX=true;
        final static boolean RIGHT_TO_LEFT=false;
        public static void addComponentsToPane(Container pane){
            JLabel lbl;
            JTextField txt;
            JButton button;
            pane.setLayout(new GridBagLayout());
            GridBagConstraints c=new GridBagConstraints();
            lbl=new JLabel("        ");
            c.fill=GridBagConstraints.HORIZONTAL;
            c.gridx=0;
            c.gridy=0;
            pane.add(lbl,c);
            lbl=new JLabel("First Name:");
            c.fill=GridBagConstraints.HORIZONTAL;
            c.gridx=1;
            c.gridy=1;
            pane.add(lbl,c);
            lbl=new JLabel("Last Name:");
            c.fill=GridBagConstraints.HORIZONTAL;
            c.gridx=1;
            c.gridy=2;
            pane.add(lbl,c);
            lbl=new JLabel("Middle Name:");
            c.fill=GridBagConstraints.HORIZONTAL;
            c.gridx=1;
            c.gridy=3;
            pane.add(lbl,c);
            txt=new JTextField(20);
            c.fill=GridBagConstraints.HORIZONTAL;
            c.gridx=2;
            c.gridy=1;
            pane.add(txt,c);
            txt=new JTextField(20);
            c.fill=GridBagConstraints.HORIZONTAL;
            c.gridx=2;
            c.gridy=2;
            pane.add(txt,c);
            txt=new JTextField(20);
            c.fill=GridBagConstraints.HORIZONTAL;
            c.gridx=2;
            c.gridy=3;
            pane.add(txt,c);
            lbl=new JLabel("                ");
            c.fill=GridBagConstraints.HORIZONTAL;
            c.gridx=3;
            c.gridy=1;
            pane.add(lbl,c);
            lbl=new JLabel("                ");
            c.fill=GridBagConstraints.HORIZONTAL;
            c.gridx=3;
            c.gridy=2;
            pane.add(lbl,c);
            button=new JButton("OK");
            c.fill=GridBagConstraints.HORIZONTAL;
            c.anchor=GridBagConstraints.CENTER;
            c.gridx=4;
            c.gridy=1;
            pane.add(button,c);
            button=new JButton("Cancel");
            c.fill=GridBagConstraints.HORIZONTAL;
            c.insets=new Insets(10,0,0,0);
            c.gridx=4;
            c.gridy=2;
            pane.add(button,c);
         * Create the GUI and show it. For thread safety,
         * this method should be invoked from the
         * event-dispatching thread.
        private static void createAndShowGUI(){
            JFrame frame= new JFrame("GridBagLayoutDemo");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            addComponentsToPane(frame.getContentPane());
            frame.pack();
            frame.setVisible(true);
        public static void main(String[] args){
            javax.swing.SwingUtilities.invokeLater(new Runnable(){
                public void run(){
                    createAndShowGUI();
    }masters can you tell me what method I add to make the object never move once you maximize the frame?

    If you want the JComponents to stay in the upper left of the JFrame, then just add the GridBagLayout JPanel to a JPanel that uses FLowLayout(FlowLayout.LEFT), then add this to the contentPane.

  • I have downloaded whats app/brave temple run but using netsafe card. well now it shows 1.98$ is pending , though m trying with new netsafe card to pay it is showing error saying Pls select valid method for payment. i used same method as i did earlier

    i have downloaded whats app/brave temple run but using netsafe card. well now it shows 1.98$ is pending , though m trying with new netsafe card to pay it is showing error saying Pls select valid method for payment. i used same method as i did earlier

    I have recently started having this problem in PSE8. The Adobe workaround
    did work, but I don't fancy having to re register each time I use it.
    What I have discovered is that it's nothing to do with the image metadata as it occurs before any image is opened.
    It SEEMS to only occur if you use file/open with to open an image in the editor - IE start PSE with that command.
    If you close elements down, and start it using programs/PSE/Elements (or your desktop shortcut) - the panorama feature magically works.
    Each time I've opened the editor 'automatically' using image/open with, it seems to create the problem.
    Hope this helps

Maybe you are looking for

  • How Do I Use the API to Abbreviate?

    How do I use the ACE API to limit the output field length and properly abbreviate the output field? Using the pwace command-line application, I get abbreviated output that looks like this for a 30 byte field: nnnnn GEORGE WASHNGTN MMRL HWY However, w

  • Error while creating Vacancy requisition object (NB) after upgrading EHP4

    Hi All, We had alreay E-Rec system with EHP2 and using last 1 year. Now based on Client requirement, we have upgrdaed to EHP4. After completing EHP4 upgradation, we are getting error while creating vacancy requisition object after all level of approv

  • Customer Report / List

    Hi Is there any standard transaction code whereby you can list out attributes of the customer master data, say the address information, telephone numbers etc? Thanks

  • Any refund after cancel subscrption

    My skype name is icacligen. Today, I mistakenly bought a subscription and it cost me over 40 euro. after I recognize it, I cancelled this subscription. (within 5 mins) But this subscription lasts for one year. I wonder if it is possible for me to get

  • Project Server 2010 - Project Center is stuck on loading

    Hello, I have a new installation of project server 2010. When I go to the pwa site and click on project center it is stuck on loading (see print screen) Any Idea? Thanks