BAPI For Customer Creation.

Hi All,
My requirement is that I want to create customer through report.
1 -Fill a customer data in text file and upload through reports
2-  In which Function module or BAPI need to pass the data.
Please tell me BAPI name for creating customer.
Regards
Mohammad Arif

No classic BAPI (ie. FM) available without restriction (*) so look at class cmd_ei_api method
maintain_bapi.
Regards,
Raymond
(*) BAPI_CUSTOMER_CREATEFROMDATA1 is restricted to online store...

Similar Messages

  • BAPI for Customer Edit

    Hi all,
    Which are the BAPIs available for editing customer, I ve created the BAPI for customer creation using the standard program RFBIDE00, can this program be used for editing the customer information.
    pls suggest
    Regards
    Vishal

    This is most likely the BAPI you are looking for:
    BAPI_CUSTOMER_CHANGEFROMDATA1
    Or else try looking in Transaction BAPI under financial accounting / accounts receivable / customer....

  • Is there any BAPI  FOR TASKLIST CREATION OF ANY EQUIPMENT ?

    Dear Sir,
    Is there any BAPI  FOR TASKLIST CREATION OF ANY EQUIPMENT .
    Thanks.
    Regards,
    Pooja Joshi.

    Hello Pooja
    Perhaps the following link may be useful:
    <a href="http://www.sapfans.com/forums/viewtopic.php?p=906052">FAQ: Plant Maintenance and Customer Service BAPIs</a>
    Regards
      Uwe

  • Bapi for customer scheduling agreement

    hi ,
    please tell a bapi for customer scheduling agreement(va31).
    Thanks,
    sridhar

    Hi Reddy ,
    what happend ? u told that u got the BAPI ?
    i already seen that FM ,Do one thing ? search for COMMIT WORK in VA31 program , i think u will get some idea.
    regards
    Prabhu
    Message was edited by: Prabhu Peram

  • Getlist bapi for customer based on sales org, distbtn chnl

    Hi,
        Is there any standard BAPI for customer Getlist , i want to filter based on distribution chanel and sales org and divison.
            Now am using BAPI_CUSTOMER_GETLIST  its showing all customer list i want to filter this based on distribution chanel and sales org and divison.
    Thanks ,
    Arun

    Hi Siva : )
    In VK11 we have a key combination radio button called Country/ Destination Ctr./Plant/TaxClCust/TaxClMat.
    I think it might be a custom key combination (so you might have to create a siliar one for yourself), but basically all I had to enter there was Country = GB, Destination Coutry = GB, plant SORG1 (it's called the same as the sales org and is linked 1-1), tax classification on Customer = 2 (because I want the central setting on the customer to be 2 = ICO, no tax), tax classification on material 1 = full tax goods and enter relevat tax code.
    Hope this helps.
    It worked for me.
    Kind regards,
    Tanja

  • BAPI for ARTICLE creation in IS-Retail

    I am creating an Article using BAPI_MATERIAL_MAINTAINDATA_RT by passing below parameters for Basic view.
    1.material type
    2.merchandise category
    3.material category
    4.description
    5.uom
    6.transportation grp
    7.loading grp.
    8.valuation class
    9.tax class
    Also marked X in respective places in structures clientdatax,plantdatax,headdatax etc.
    Anyhow still it showing errors like "key field of table MARA missing"
    I am able to create article from MM41 using above 9 fields.
    What fields shd be passed to this BAPI to create an ARTICLE?
    OR ANY OTHER BAPI/RFC FM EXIST TO CREATE ARTICLE?
    Please help me in this regard.
    Regards,
    Kiran

    Hi Bjorn,
    I have to call BAPI for Article creation from Portal front end.
    so I cant use BAPI_RETAILMATERIAL_CREATE as it goes to MM41 when we execute.
    So I am using BAPI_MATERIAL_MAINTAINDATA_RT to create article.
    I passed all mandatory data which is required to create a article with basic view.
    Using MM41, I am able to create but with this BAPI iam unable to create article.
    Could you please tell me what are the required parameters to be passed in addition to my fields which I  specified below:
    I passed
    HEADDATA--material type,merch.category, material category,basic view marked x.
    MATERIAL DESC--material description
    CLIENT DATA--uom,transportation grp, tax class
    CLIENTDATAX---marked X in above fields
    PLANTDATA-loading grp
    PLANTDATAX-marked x for above field
    ADDL CLIENTDATA--valuation class
    ADDLCLIENTDATAX--marked X for v class
    Please help me in this regard.
    Regards,
    Kiran.

  • Bapi for Delivery Creation from Sales Order

    Hi
    I have multiple sales order and i want to create 1 outbound delivery from it just like what Vl10A is doing.
    Can i have BAPI or fumctiona module for same.
    Best Regards
    Subham

    Check this thread:BAPI for Delivery Creation
    Also search the forums..there are many threads addressing the same issue.
    Regards,
    Kiran

  • BAPI for customer scheduling aggrement (VA31)

    Hi,
    I want to create customer scheduling aggrement using BAPI, but i hav't find any BAPI for this.
    So please tell me is their any BAPI available to create scheduling aggrement.
    <REMOVED BY MODERATOR - REQUEST OR OFFER POINTS ARE FORBIDDEN>
    Thanks,
    Rahul
    Edited by: Alvaro Tejada Galindo on Aug 22, 2008 4:21 PM

    Dear Jelena,
    'BAPI_SAG_CREATE' is used for creating Purchase Scheduling Agreement Tcode u2013 ME31L but my requirement is for creating customer scheduling agrrement Tcode - VA31.
    Pl. confirm is it possible to use the above BAPI for VA31 or not.
    Thanks,
    Rahul

  • BAPI for SO creation and change

    hi
    which BAPI can used for sales order creation and what are the mandatory fields required.
    I would like to provide  easy SO creation in portal so give me the essential input for SO creation.

    Dear basheer,
    You can use
    BAPI_SALESORDER_CREATEFROMDAT2
    mandatory fields are ,
      clear iohead.
      iohead-doc_type  
      iohead-sales_org 
      iohead-distr_chan
      iohead-division 
      iohead-req_date_h
      iohead-ship_cond 
      iohead-incoterms1
      iohead-pmnttrms 
      iohead-accnt_asgn
      iohead-pymt_meth
      clear ipartner.   refresh ipartner.
      ipartner-partn_role = 'AG'.
      ipartner-partn_numb = Sold to party.
      append ipartner.
      clear ipartner.
      ipartner-partn_role = 'WE'.
      ipartner-partn_numb = Ship to party.
      append ipartner.
      refresh : iitem, ibapischdl, ibapicond.
      clear   : iitem, ibapischdl, ibapicond.
      iitem-itm_number = '10'.
      iitem-material   = material.
      iitem-plant      = Plant.
      iitem-val_type  
      append iitem.
      ibapischdl-itm_number = '10'.
      ibapischdl-req_date   = sy-datum.
      ibapischdl-req_qty    = Qty.
      append ibapischdl.
    saravanan
    Edited by: k saravanan on Sep 22, 2008 4:21 PM

  • Hi masters, want bapi for customer balance report

    HI Masters,
                   please can any one give reply about bapi whch one is using for developing customer balance report in webdynpro java
    I want to see the customer balance report in portal through developing webdynpro java application only. for developing , i need bapi regarding customer balance report. Customer when he login the portal he has to view his ledger balance in portal.please  give reply about the bapi to see customer ledger balance . we can do by transactional iview. but i need only through webndynpro java application
    reply will appreciated.

    Hi surya,
    The tcode for customer balance report is FBL5N
    BAPI_AR_ACC_GETKEYDATEBALANCE -
    >Customer account balance at a key date .
    Regards,
    srikanth

  • BAPI for customer Block/Unblock through transaction code : XD05

    Hi Gurus,
    I want to block/unblock customer sales areas(Transaction code : XD05) through program. Could you please suggest any BAPI for the same. As writing BDC will not be a good choice.
    Please help.
    Thanks,
    Bhupender

    Hello Bhupender,
    the best and easies solution is the MASS maintenance transaction as proposed above.
    For the BAPI question, sorry but there is NO BAPI to maintain a customer master data.
    The function module provided by my predecessor, even if it has the perfect look like is definitively not the one to use.
    Despite the name, this FM is designed to support only the maintenance of CONSUMERs.
    Moreover it is not an RFC enabled function module.
    It might work in your case, as the data to maintain is quite simple and limited but you still may face several troubles like NO change documents and change pointers created and/or no synchronisation with TREX, CRM, ...
    There is also a BAPI with a nice name, but in fact it is designed to be used only with SAP Online Store and SAP Product Catalog.
    The only reliable path for investigation is described within [note 384462|https://service.sap.com/sap/support/notes/384462].
    A other path for investigation is the class CMD_EI_API which has been introduced with ECC 2005 (6.00).
    You could wrap method MAINTAIN_BAPI inside of a bapi function module you would have written.
    Otherwise, but still with limited functionality there are some eSOA webservices to find, read, maintain customer master data.
    Hope this helps.
    BR
    Alain

  • BAPI for Customer Payment - F-28

    Hi
    We are making one development. In that development, our requirement is after clicking one button, my F-28 (customer receipt) should be executed in background. My incoming bank account should be debited and selected invoices (i.e. customer line items) should be credited.
    My ABAPer is telling that it is possible. However it requires some BAPI. Can anyone tell me what is the BAPI for F-28.
    Please help.

    Dear:
               We successfully did the clearing procedure as well with this BAPI. We first recorded all transactional steps in F-32 through SM35. For this BAPI to successfully clear the invoice against payment we assumed full collection DZ against invoice RV. RV or invoice has a billing document number which is copied into Assignment field from copy control functionality from SD using VTFA.We book collection in F-28 with reference to invoice billing number. Hence in recording in F-32 you can process like
    Give customer number in F-32...click process open item...select all open items and then deselect them...click on find button. Fill in assignment number and then system will find the billing and its payment booked with its  reference . Clear them.
    Now you can insert this recording in ABAP code for this BAPI.
    Regards

  • Func module/bapi  for invoice creation

    Any function module for invoice creation WITH REFERENCE TO A SALEORDER. ??

    Hi,
    check this FM:GN_INVOICE_CREATE or BAPI: BAPI_BILLINGDOC_CREATEMULTIPLE
    check this link also.
    BAPI for creating sales invoice
    Regards
    Appana

  • Error thrown in BAPI for Customer Master

    Hi,
    When I execute the BAPI - BAPI_CUSTOMER_CREATEFROMDATA1 the following error will come.
    Error
    Invalid form of address text for customer
    Please give me a solution for this.
    and documentation also.
    Thanks,
    Suresh Maniarasu.

    *& Report  ZBAPICUST_APPL
    REPORT  ZBAPICUST_APLL.
    TABLES: BAPIKNA101_1,BAPIKNA102,BAPIKNA103,BAPIRETURN1.
    DATA: F_STOP.
    DATA: V_EMPTY TYPE I,V_TOTAL TYPE I.
    DATA: PI_PERSONALDATA LIKE BAPIKNA101_1,
          PI_COPYREFERENCE LIKE BAPIKNA102,
          CUSTOMERNO LIKE BAPIKNA103,
          RETURN LIKE BAPIRETURN1.
    DATA: IT_INTERN TYPE ALSMEX_TABLINE OCCURS 0 WITH HEADER LINE.
    DATA: BEGIN OF IT_KNA101_1 OCCURS 100.
            INCLUDE STRUCTURE BAPIKNA101_1.
    DATA: END OF IT_KNA101_1.
    DATA: BEGIN OF IT_DATA OCCURS 100,
          AD_TITLETX(30),
          AD_NAMEFIR(40),
          AD_NAMELAS(40),
          AD_NAMEMID(40),
          GBDAT(8),
          REGIO(3),
          AD_CITY1(40),
          SPRAS(1),
          AD_CITY2(40),
          AD_PSTCD1(10),
          AD_POBX(10),
          AD_STREET(60),
          AD_HSNM1(10),
          AD_BLDNG(20),
          AD_ROOMNUM(10),
          LAND1(3),
          AD_TITLE(4),
          WAERS(5),
          VKORG(4),
          VTWEG(2),
          SPART(2),
          REFKUNNR(10),
          KUNNR(10),
          END OF IT_DATA.
    SELECTION-SCREEN BEGIN OF BLOCK SCR1 WITH FRAME TITLE TEXT-111.
    PARAMETER : P_FILE TYPE RLGRAP-FILENAME OBLIGATORY DEFAULT 'C:\Documents and Settings\Administrator\Desktop\MARCDESCRIPTION.XLS'.
    PARAMETER : P_MAX(4) OBLIGATORY DEFAULT '100'.
    PARAMETERS: P_HEADER TYPE I DEFAULT 0.
    PARAMETERS: P_BEGCOL TYPE I DEFAULT 1 NO-DISPLAY,
    P_BEGROW TYPE I DEFAULT 1 NO-DISPLAY,
    P_ENDCOL TYPE I DEFAULT 100 NO-DISPLAY,
    P_ENDROW TYPE I DEFAULT 32000 NO-DISPLAY.
    SELECTION-SCREEN END OF BLOCK SCR1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
      PERFORM VALIDATE_FILE USING P_FILE.
    START-OF-SELECTION.
      PERFORM CONVERT_XLS_ITAB.
      IF NOT IT_DATA[] IS INITIAL.
        PERFORM DELETE_HEADER_EMPTY_RECS.
      ENDIF.
    END-OF-SELECTION.
      PERFORM UPLOAD_CUSTMAS.
    *&      Form  VALIDATE_FILE
          text
         -->F_FILE     text
    FORM VALIDATE_FILE USING F_FILE TYPE RLGRAP-FILENAME.
      DATA: ITAB TYPE TABLE OF STRING.
      DATA: WA TYPE STRING.
      OPEN DATASET P_FILE FOR INPUT IN TEXT MODE ENCODING DEFAULT .
        IF SY-SUBRC = 0.
          DO.
            READ DATASET P_FILE INTO WA.
            IF sy-subrc = 0.
              EXIT.
              ENDIF.
              APPEND WA TO ITAB.
            ENDDO.
            ENDIF.
            CLOSE DATASET P_FILE.
    ENDFORM.                    "VALIDATE_FILE
    *&      Form  CONVERT_XLS_ITAB
          text
    FORM CONVERT_XLS_ITAB.
      CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
        EXPORTING
          FILENAME                      = P_FILE
          I_BEGIN_COL                   = P_BEGCOL
          I_BEGIN_ROW                   = P_BEGROW
          I_END_COL                     = P_ENDCOL
          I_END_ROW                     = P_ENDROW
        TABLES
          INTERN                        = IT_INTERN
    EXCEPTIONS
      INCONSISTENT_PARAMETERS       = 1
      UPLOAD_OLE                    = 2
      OTHERS                        = 3
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      PERFORM MOVE_DATA.
    ENDFORM.                    "CONVERT_XLS_ITAB
    *&      Form  MOVE_DATA
          text
    FORM MOVE_DATA.
      DATA: LV_INDEX TYPE I.
      field-symbols <FS>.
      SORT IT_INTERN BY ROW COL.
      CLEAR IT_INTERN.
      LOOP AT IT_INTERN.
        MOVE IT_INTERN-COL TO LV_INDEX.
        ASSIGN COMPONENT LV_INDEX OF STRUCTURE IT_DATA TO <FS>.
        MOVE IT_INTERN-VALUE TO <FS>.
        AT END OF ROW.
          APPEND IT_DATA.
          CLEAR IT_DATA.
        ENDAT.
      ENDLOOP.
    ENDFORM.                    "MOVE_DATA
    *&      Form  DELETE_HEADER_EMPTY_RECS
          text
    FORM DELETE_HEADER_EMPTY_RECS.
      DATA:LV_TABIX LIKE SY-TABIX.
      IF NOT p_header IS INITIAL.
        LOOP AT IT_DATA.
          IF P_HEADER > 0 AND NOT IT_DATA IS INITIAL.
            DELETE IT_DATA FROM 1 TO P_HEADER.
            EXIT.
          ENDIF.
        ENDLOOP.
      ENDIF.
      CLEAR IT_DATA.
      LOOP AT IT_DATA.
        LV_TABIX = SY-TABIX.
        IF IT_DATA IS INITIAL.
          V_EMPTY = V_EMPTY + 1.
          DELETE IT_DATA INDEX LV_TABIX.
        ENDIF.
      ENDLOOP.
      CLEAR IT_DATA.
      DESCRIBE TABLE IT_DATA LINES V_TOTAL.
      IF V_TOTAL = 0.
        F_STOP = 'X'.
        STOP.
      ENDIF.
    ENDFORM.                    "DELETE_HEADER_EMPTY_RECS
    *&      Form  UPLOAD_CUSTMAS
          text
    FORM UPLOAD_CUSTMAS.
      LOOP AT IT_DATA.
        PI_PERSONALDATA-TITLE_P = IT_DATA-AD_TITLETX.
        PI_PERSONALDATA-FIRSTNAME = IT_DATA-AD_NAMEFIR.
        PI_PERSONALDATA-LASTNAME = IT_DATA-AD_NAMELAS.
        PI_PERSONALDATA-MIDDLENAME = IT_DATA-AD_NAMEMID.
        Pi_personaldata-date_birth = IT_DATA-GBDAT.
        PI_PERSONALDATA-REGION = IT_DATA-REGIO.
        PI_PERSONALDATA-CITY = IT_DATA-AD_CITY1.
        PI_PERSONALDATA-LANGU_P = IT_DATA-SPRAS.
        PI_PERSONALDATA-DISTRICT = IT_DATA-AD_CITY2.
        PI_PERSONALDATA-POSTL_COD1 = IT_DATA-AD_PSTCD1.
        PI_PERSONALDATA-PO_BOX = IT_DATA-AD_POBX.
        PI_PERSONALDATA-STREET = IT_DATA-AD_STREET.
        PI_PERSONALDATA-HOUSE_NO = IT_DATA-AD_HSNM1.
        PI_PERSONALDATA-BUILDING = IT_DATA-AD_BLDNG.
        PI_PERSONALDATA-ROOM_NO = IT_DATA-AD_ROOMNUM.
        Pi_personaldata-country = IT_DATA-LAND1.
        Pi_personaldata-title_key = IT_DATA-AD_TITLE.
        PI_PERSONALDATA-CURRENCY = IT_DATA-WAERS.
        PI_COPYREFERENCE-SALESORG = IT_DATA-VKORG.
        PI_COPYREFERENCE-DISTR_CHAN = IT_DATA-VTWEG.
        PI_COPYREFERENCE-DIVISION = IT_DATA-SPART.
        PI_COPYREFERENCE-REF_CUSTMR = IT_DATA-REFKUNNR.
        CUSTOMERNO-CUSTOMER = IT_DATA-KUNNR.
    CALL FUNCTION 'BAPI_CUSTOMER_CREATEFROMDATA1'
      EXPORTING
        PI_PERSONALDATA              = BAPIKNA101_1
      PI_OPT_PERSONALDATA          =
      PI_COMPANYDATA               =
      PI_OPT_COMPANYDATA           =
      PI_CONSUMEREN                =
        PI_COPYREFERENCE             = BAPIKNA102
      PI_CREDIT_CONTROL_FLAG       =
    IMPORTING
       CUSTOMERNO                   = BAPIKNA103
       RETURN                       = BAPIRETURN1
        IF RETURN-TYPE = 'E'.
          WRITE:/ 'ERROR' ,RETURN-MESSAGE,'FOR CUSTOMER' ,IT_DATA-KUNNR.
        ELSEIF RETURN-TYPE = 'S'.
          WRITE:'SUCCESFULLY CREATED CUSTOMER', IT_DATA-KUNNR.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    "UPLOAD_CUSTMAS
    thanks & regards,
    Suresh Maniarasu

  • Is there any BAPI for BOM creation? which does by RCSBI010 / Batch Input.

    Hi Experts,
    I need to Upload the extracted Excel-file(.txt) for BOM creation, so, pls, let me know that, Is there any BAPI for this purpose. In detail the requirement is that,
    The suggested idea shuld work as like as pgm. RCSBI010
    thanq
    Edited by: Srinivas on Feb 14, 2008 6:18 PM

    Hi Srinivas,
    Try these Function Modules
    CS_BI_BOM_CREATE_BATCH_INPUT   - Create BOM Via Batch Input
    CS_BI_BOM_CREATE_BATCH_INPUT1  - Create BOM Via Batch Input (Corrected Session Handling)
    There are two BAPI's too, which can be used
    ALE_MATERIAL_BOM_GROUP_CREATE
    BAPI_MATERIAL_BOM_GROUP_CREATE - Creation of a material BOM group
    Hoe this helps.
    Edited by: Priyabrata Samanta on Feb 15, 2008 3:56 AM

Maybe you are looking for

  • Error while singing in

    I have Firefox Sync on my work pc, home pc, and mobile. I get to work today and log in to my work pc, but I get an Error While Signing In message. It says my sync key is wrong. It can't be wrong, because I just regenerated a new one before I left a f

  • Getting error undefined symbol

    i am using weblogic server 6.1 i have deployed my ststeless session bean but i don't know how to access it from client what i are the commands such as ejbc do i need to put that jar file on class path olease give me the code of that step by step proc

  • Question about  32 Bit Oracle11g Client

    hi so many downloads....... i get lost .......... from where i can download 32 Bit Oracle11g Client for windows-7 64bit that work with Oracle 11.2.0 64bit using PL/SQL developer ver 7.1 ? i really dont know what to download....... thanks in advance

  • WARNING: init(1M) exited on fatal signal 11: restarting automatically

    Hi, Today I did a blunder. I had to apply the patch "121208-02 SunOS 5.10_x86: ld & libc.so.1 Patch" . I downloaded it from www.sunsolve.sun.com. It was downloaded to /tmp/patches and unziped. After this I entered the following command: pkgadd -d /tm

  • Slideshow Widget and Composition Widget Synchronizing Problem

    I have a slideshow with images and composition widget of text that corresponds with each slide. The settings are the same for both, works fine on desktop yet on the tablet and iphone versions, they are messed up. Here's the BC site: dezinegirl I have