If a BAPI exists?

Hi folks,
I want to know if there exists any BAPI go about doing the following which I am able to achieve with BDC.
There exist set of rows in a excel file with close to 120 columns.
matno1 orderqty1 unit1.....matno2 orderqty2 unit2..so on till matno20 orderqty20 unit20.
There are few columns which i dont req when i upload them..i.e i may not req 'unit' column at all when i am creating a material from the excel file.
each line item in the excel file will result in creation 20 new materials when uploaded.
Bye.

Hai
The steps to be followed are :
1. Find out the relevant BAPI (BAPI_SALESORDER_CHANGE for VA02).
[for VA01 use BAPI_SALESORDER_CREATEFROMDAT2]
2. Create a Z program and call the BAPi (same as a Funtion module call).
2. Now, if you see this BAPi, it has
-> Importing structures.
eg: SALESDOCUMENT: this will take the Sales order header data as input.
-> Tables parameters:
eg: ORDER_ITEM_IN: this will take the line item data as input.
Note :
Only specify fields that should be changed
Select these fields by entering an X in the checkboxes
Enter a U in the UPDATEFLAG field
Always specify key fields when changing the data, including in the checkboxes
The configuration is an exception here. If this needs to be changed, you need to complete it again fully.
Maintain quantities and dates in the schedule line data
Possible UPDATEFLAGS:
U = change
D = delete
I = add
Example
1. Delete the whole order
2. Delete order items
3. Change the order
4. Change the configuration
Notes
1. Minimum entry:
You must enter the order number in the SALESDOCUMENT structure.
You must always enter key fields for changes.
You must always specify the update indicator in the ORDER_HEADER_INX.
2. Commit control:
The BAPI does not run a database Commit, which means that the application must trigger the Commit so that the changes are read to the database. To do this, use the BAPI_TRANSACTION_COMMIT BAPI.
For further details... refer to the Function Module documentation for the BAPi.
Bapi to create customer master 
BAPI_CUSTOMER_CREATEFROMDATA
BAPI_CUSTOMER_CREATEFROMDATA1
Or you can use FM SD_CUSTOMER_MAINTAIN_ALL
what is BAPI?
BAPI stands for Business API(Application Program Interface).
I have answered this question before..
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).
Please check out this thread..
Re: bapi
Also refer to the following links..
www.sappoint.com/abap/bapiintro.pdf
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#
http://www.sap-img.com/bapi.htm
http://www.sap-img.com/abap/bapi-conventions.htm
http://www.sappoint.com/abap/bapiintro.pdf
Java Connector(JCO) can call not only BAPI's but also the function modules which are remotely enabled..
BAPI's as i said earlier are remotely enabled function modules..
Hence, JCO can call also BAPI's(n not only BAPI's as u mentioned).
Thanks & regards
Sreeni

Similar Messages

  • Is there any BAPI exists for parking document (FBV1 transaction)

    Hi experts,
    Is there any BAPI for parking document (FBV1 transaction).
    Thanks in advance,
    Viven

    Hi,
    <b>BAPI_INCOMINGINVOICE_PARK</b>...is one of the BAPI for parking the incoming invoice.
    Sushil.

  • Function Modules or BAPI for CK91N transaction Please

    Hi,
    To upate CK91N transaction , Is there any function module or BAPI exist?
    Thanks,
    Krishna

    Hi
        go to se80 ->package->type CKMLMV as package name.
    This package has multiple programs and function modules which update the transaction. You can choose from them according to your requirement.
    Hope this helps!
    Viquar Iqbal

  • How to use BAPIs for Infopackage execution : loading multiple files

    Hello
    I have been told that BAPIs can be used to load multiple csv files at once for which some BAPIs exists (BAPI_IPAK_CREATE_FROM_REF , BAPI_IPAK_CREATE , etc)
    I have users who will be dropping their standard files in a directory (this should be a local one or server one ?) according to one of 3 types of formats defined.
    As they wont be trigering the IP but instead plan to use a Process chain need a way to collect all files and trigger a IP that can process them all
    Can somebody lead me into using the appropriate ones in the right way?
    thanks

    First if you are using process chain then the files should be placed in Application Server only and process chain can not work with IPs which are using Local Files.
    Instead of BAPI in the infopackage there is a feature to select the file using routines. May be you  can pick the necessary file in the routine itself.
    In the extraction tab you can find this option.
    Regs
    Gopi
    Assign points if it is useful

  • BAPI is missing. How to get a BAPI in BOR?

    Hi,
    in my SAP BW 3.1 exits a BAPI names MDDataSetBW. I want to use this BAPI in a ABAP-Programm, which is exists on a R/3 Enterprise. Using CALL FUNCTION ' BAPI_<..>_<..> don´t work. Wenn im browsing through the BAPI-Explorer (TSC: BAPI) at R/3, i can´t found the BAPI. Browsing at SAP BW, BAPI exists.
    RFC connection through both systems is established, sm59 gives okay. Extracting Data from R/3 through DataSources and store them at the Data Warehouse also work. The systems know each other.
    Testing on SAP NetWeaver 7.0 AS the BAPI-Explorer and the BAPI exists, not not in R/3 Enterprise. Patchlevel is up to date. ALE ist enabled.
    Im running out of ideas. Anybody a idea, how kann i get access to the BAPI? whats wrong?
    Thanks for every answers.
    René

    try using this syntax.
    call function 'bapi....' destination 'destination name'.
    this destination name is which u have in SM59. RFC destination.
    ur BW server must be opened.
    Message was edited by:
            Kalpanashri Rajendran

  • Find a bapi for Creates a Goods Receipt with correspond to Inbound Delivery

    hi expert!
    exist a bapi for tcode:MIGO_GR ( Goods Receipt with correspond to Inbound Delivery)
    i know one bapI  BAPI_GOODSMVT_CREATE can Creates a Goods Receipt,
      but i can't know to use it to Creates a Goods Receipt with correspond to Inbound Delivery.
    or other bapi exist for MIGO_GR?
    Best Regard!

    Hi Vatcan,
    Chek the Inbound Delivery 1st weather you refer the right PO in it
    You can also chek in  PO i
    1 Me23n Go to confirmation tab here you can see the  Inbound delivery  quantity
    2 Chek  which reference document you recived the goods,  (i.e You recived the goods with reference to PO or  Inbound delivery)
    2 Coz if you refer the inbound delivery then syestem will deafult show the inbound quanity
    And yes the actual quanity will update in inbound delivery if you refer the inbound deivery while reciveing the goods

  • BAPI to add Vendor Bank Details

    Hi,
    Here i am trying to add bank details for Vendor(updating table LFBK)...
    Currently i am using BAPI_BUPA_BANKDETAIL_ADD, but its giving a return message that the businesspartner(Vendor) does not exists. 
    Please let me know if there is any other BAPI exists for this or anyhow i can proceed with this BAPI..
    Thanks,
    SAM
    Edited by: sam on Nov 27, 2008 1:26 PM

    Try changing Bank details directly giving bank
    BAPI_BANK_CHANGE
    Regards,
    Prashant

  • Bapi to get all open purchase order

    hello experts,
    is there any bapi exists to get all open PO???
    thanks in advance.
    Regards
    Saurabh

    Hi
    No need of FM. You can directly select them using SELECT Query.
    SELECT EBELN EBELP FROM EKPO WHERE EREKZ NE 'X'.

  • Difference between BAPI and IDocs

    hello all
    what is difference between BAPI and IDocs

    Hi,
    BAPI
    One of the big plusses for BAPIs is that the interface and function are not supposed to change.  This is a big plus when you do upgrades or hot packs because the transaction can change (format, required inputs etc) which means you then need to update the call transaction.
    Some of the BAPIs are better documented and easier to use than others. You usually need to perform the BAPI that actually does the COMMIT after you call your BAPI.
    The Program coding for calling a BAPI is usually cleaner than setting up the screen flow etc for the Call Transaction.
    You don't need to worry about special data circumstances interrupting the normal data flow of the screens and causing errors because of that.
    BAPIs probably have better performance since they don't do the screen flow processing.
    In general if the BAPI exists for the transaction you want to perform and you can figure out how to use it the BAPI is probably the best way to go.
    BAPIs are a subset of the RFC-enabled function modules, especially designed as Application Programming Interface (API) to the SAP business object, or in other words: are function modules officially released by SAP to be called from external programs.
    IDOC
    IDocs are text encoded documents with a rigid structure that are used to exchange data between R/3 and a foreign system. Instead of calling a program in the destination system directly, the data is first packed into an IDoc and then sent to the receiving system, where it is analyzed and properly processed.   Therefore an IDoc data exchange is always an
    asynchronous process. The significant difference between simple RFC-calls and IDoc data exchange is the fact, that every action performed on IDocs are protocolled by R/3 and IDocs can be reprocessed if an error occurred in one of the message steps.
    While IDocs have to be understood as a data exchange protocol, EDI and ALE are typical use cases for IDocs. R/3 uses IDocs for both EDI and ALE to deliver data to the receiving system. ALE is basically the scheduling mechanism that defines when and between which partners and what kind of data will be exchanged on a regular or event triggered basis. Such a set-up is called an ALE-scenario.
    The philosophical difference between EDI and ALE can be pinned as follows: If we send data to an external partner, we generally speak of EDI, while ALE is a mechanism to reliable replicate data between trusting systems to store a redundant copy of the IDoc data.   The difference is made clear, when we think of a purchase order that is sent as an IDoc. If we send the purchase order to a supplier then the supplier will store the purchase order as a sales order. However, if we send the purchase order via ALE to another R/3 system, then the receiving system will store the purchase order also as a purchase order.
    Regards,
    Bhaskar

  • BAPI for Picking and Post Goods Issue ?

    Hi All,
    Is there any BAPI for doing Picking and Post Goods Issue in VL02N ? I don't think we can use BAPI_OUTB_DELIVERY_CHANGE.
    Is it advisable to use BAPI or BDC ( if no BAPI exist ).  Thanks in Advance.

    BAPI for picking in VL02N
    BAPI_OUTB_DELIVERY_SAVEREPLICA
    BAPI for posting Goods Issue
    BAPI_OUTB_DELIVERY_CONFIRM_DEC
    For reference: http://help.sap.com/printdocu/core/Print46c/EN/data/pdf/LEIDW/LEIDW.pdf

  • Entering Network Activity Progress with BAPI

    Hi,
    We are currently upgrading our 3.1 system to 4.7 while integrating the PS module (we were using OpenPlan).
    I used BDC to create Standard WBS and Standard Network since no BAPIs exist for Standard.
    I was trying to use BAPI_NETWORK_MAINTAIN to update Operational Network Activities but I can't seem to find how to update the progress using the BAPIs.
    Will I have to use the BDC again?
    Or does one of you Wizards know something I don't?
    Thanks in advance,
    Alain Cyr.

    Transaction SARA is how to delete data for operative Networks/activities and WBS elements  the Archive object is PS_PROJECT on the standard side the archive object is PS_PLAN however it is not just as simple as knowing this the process is a little more involved and the objects need to be configured correctly.
    Dave

  • BAPI for handling BP payment cards

    Hallo,
    I'd like to create payment cards for business partners in a remote system but can't find a bapi for this. Does anyone know if such a bapi exists (I already checked the transaction BAPI but could not find anything that seemed to be what I want).
    Kind regards
    Roman

    Look at this forum query. Perhaps you might find it useful.
    Function Module for Discover Credit Card
    Regards,
    Subramanian V.

  • MM42 data (Article master) Mass change BAPI????????

    Hi All,
    Is there any BAPI exist which can be used to change MM42 data (Article master).
    Like requirement is to do mass change in article, but the MM42 BDC is taking too long to change in all Articles.
    Any help for BAPI name will be appreciated.
    Regards

    use this function MATERIAL_MAINTAIN_DARK_RETAIL

  • BAPI to reject purchase requisition

    Dear All,
    Iu2019m looking forward a BAPI to reject purchase requisition. I found below BAPIs for purchase requisition but I couldn't  find any BAPI to reject requisition? I wonder whether a BAPI exists to reject purchase requisition or not. Thanks in advance.
    - BAPI_REQUISITION_RELEASE
    - BAPI_REQUISITION_RELEASE_GEN
    - BAPI_REQUISITION_RESET_RELEASE
    - BAPI_REQUISITION_RESET_REL_GEN
    - BAPI_REQUISITION_CHANGE
    - BAPI_REQUISITION_CREATE
    - BAPI_REQUISITION_DELETE
    - BAPI_REQUISITION_GETDETAIL
    - BAPI_REQUISITION_GETITEMS
    - BAPI_REQUISITION_GETITEMSREL
    - BAPI_REQUISITION_GETRELINFO

    aarioglu,
    I am facing to the same problem.
    Did you solve it?
    Thanks in advance.
    Felipe Fernandes

  • BAPI to change invoice document status from deleted to something else

    Hi experts,
    When the document is deleted thorugh MR8M, the invoice status(rbstat) in rbkp table of the invoice doument(MIRO) change to 2 i.e. deleted.
    I want to use the same data for parking again by using standard BAPI_INCOMINGINVOICE_GETDETAIL. But v=before that i have to change the status of the document from deleted to something else
    Is there any BAPI exist by which i can change the status (rbstat) from deleted to parking or somthing else. i am trying to change it thorugh BAPI_INCOMINGINVOICE_CHANGE , but its not working.
    Please help me to find such BAPI
    regards
    Mudit

    Hi Lan,
    you can print with SDK using following code :
    ReportLayoutsService oReportLayoutService = SBO_Company.GetCompanyService().GetBusinessService(ServiceTypes.ReportLayoutsService);
    ReportLayoutPrintParams oReporPrintParams = oReportLayoutService.GetDataInterface(ReportLayoutsServiceDataInterfaces.rlsdiReportLayoutPrintParams);
    ReportParams oReportParam = oReportLayoutService.GetDataInterface(ReportLayoutsServiceDataInterfaces.rlsdiReportParams);
    oReportParam.ReportCode = "QUT1";
    DefaultReportParams oReportParaDefault  = oReportLayoutService.GetDefaultReport(oReportParam);
    oReporPrintParams.LayoutCode = oReportParaDefault.LayoutCode;
    oReporPrintParams.DocEntry = 337;
    oReportLayoutService.Print(oReporPrintParams);
    I tried to print an unprinted document but it didn't change the printed flag at all ( in / active BP ). So unfortunately it doesn't work.
    regards,
    Maik

Maybe you are looking for

  • Laptop hard drive failure message

    I have an HP Pavillion dv6-6150us Entertainment PC.     Windows 7 Yesterday a message appeared while downloading plot maps from the county: "Windows detected a hard disk problem" The following hard disks are reporting failure: Hitachi HTS547575A9E384

  • Receiving multiple files with dual extension using file adapter

    Hi, The scenario where I am implementing requires multiple files of different names to be picked(ABC.txt) and dropped at destination(ABC.txt.pgp) up by my File Sender and Receiver adapters.  Any idea on about how the configuration for receiving multi

  • Problem in parsing time. URGENT!

    weblogic.servlet.jsp.JspException: (line -1): Error in tag library at:           'sncn': f           or tag 'script', property 'data2' of tag handler class 'test.JspTestTag',           the pr           operty value must be a runtime expression "<%=..

  • Facing problem with RFC connections

    In the Maintenace View for RFC connections, when I press the 'Apply' button I am getting the message"You have no authorization to display the destinationu201D for all the 4 destination IDs" Can somebody suggest on how to overcome this problem? Thanks

  • How i can abort the upgrade proces on my 7945G

    Hello, i have started a firmware update on my Cisco 7945g and i dont know how i can abort it? The phone wants to update and update and cannot find the tftp server because i dont have installed the tftp server now. I will install it later and want to