Customer Create BAPI

Hi All,
I am trying to create a customer by calling a BAPI. I am unable to find the right one. I wanted to create customer with all levels of data(General, Company and Sales Org including partner functions). I have used below BAPI's.
BAPI_CUSTOMER_CREATEFROMDATA - Only taking general data
BAPI_CUSTOMER_CREATEFROMDATA1 - Importing general information and copying sales org data from reference customer.
SD_CUSTOMER_MAINTAIN_ALL - it is not importing KNVP(partner function data)
Please help me.
ABAPer.
Thanks in advance,

Hi All,
      I found a way to solution.The way is using multiple BAPI's.
BAPI "BAPI_CUSTOMER_CREATEFROMDATA1" is used for creating for customer with reference customer number and then send the information to BAPI "SD_CUSTOMER_MAINTAIN_ALL" for changing the the values.
Still having problem passing parameters.
When i am sending partner information(KNVP) to "SD_CUSTOMER_MAINTAIN_ALL", it is giving ABAP dump ASSERTION_FAILED.
I tried to debug the program but i couldn't find the error.
values i passed to BAPI SD_CUSTOMER_MAINTAIN_ALL
internal table of type FKNVP.
MANDT     sy-mandt
KUNNR     st_knvp-kunnr
VKORG    st_knvp-vkorg
VTWEG    st_knvp-vtweg
SPART     st_knvp-spart
PARVW   st_knvp-parvw
PARZA
KUNN2    st_knvp-sp_kunnr
LIFNR
PERNR
PARNR
KNREF
DEFPA
Appending line by line to the table.
Please help. Is there anything i am missing.
Thanks,
ABAPer.
Edited by: ABAPer on Dec 16, 2007 8:43 PM

Similar Messages

  • How to create customer with bapi

    hi i want to create customer through bapi which facilitates to enter customer code(our own defined not the sequentially next no.)
    i have gone through F.M  BAPI_CUSTOMER_CREATEFROMDATA1 BUT NOT ABLE TO UNDERSTAND HOW TO INPUT PARAMETER FOR CUSTOMER_CODE.
    PLEASE GUIDE ME IF ANY ONE AWARE ABOUT THAT.
    THANKS

    Moderator message - Welcome to SCN.
    But please search the forum before asking a question. This has been discussed many times before. Also read the BAPI documentation - thread locked.
    Also, Please read Please read "The Forum Rules of Engagement" before posting!  HOT NEWS!! and How to post code in SCN, and some things NOT to do... and [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers] before posting again.
    Rob

  • How to Create Customer by BAPI or by Function Module

    Hi all,
    I am new to this forum...
    Please can anyone tell me how to Create Customer by BAPI or by Function Module.....?
    I have tried many of the function modules posted in the threads.. but it couldn't help me out...

    > The only official solution is batchinput and idoc (CREMAS).
    Note that when an IDoc exists, it is often possible to call the function module that is just behind it (see WE57 transaction). SAP would not support that direct call, but if you need to contact SAP support about an issue, you can create the IDoc manually and there's no reason that this issue doesn't arise.
    The only difference with the IDocs is that you don't have any IDoc stored in the database, and even no log in database (so you won't be able to see anything in WE02, etc.).
    Note that it is important to know if this function module does a database commit or not: you can look at the BDFG transaction (I assume there's no BAPI related as it is the initial assumption of my post) to see if IDoc packet processing is allowed or not: if packet processing is allowed, there's no database commit in the function module, otherwise there's one.

  • Issue with Create BAPI - Please help

    I need to do a Create BAPI the structure is as follows:
      -Orders
         -Operations_create  (Afvgd - BAPI table structure)
    On a click of a InsertOperation button, I should be able to insert the line Items to the Operations_create node and then set them finally to the Model node. Then do the order create(Insert BAPI as a whole).
    The problem is there is an already existing element (framework created). So if I do the following code in onActionInsertOperation. I am getting an extra duplicate record.
    Is there a easy fix to this . I am not sure Supplyfunction will help here. If so, How?
    Or Can I tweak the code here?
    Thank you ... Any help is appreciated
    View Controller:
    onActionInsertOperation(){
        IOperations_CreateElement oprEle = wdContext.createOperations_CreateElement();
        oprEle .setGLAccount(wdContext.currentOperations_CreateElement().getGLAccount());       
        oprEle .setVendorNo(wdContext.currentOperations_CreateElement().getVendorNo());          
        wdContext.nodeOperations_Create().addElement(oprEle);
    onActionCreateOrder(){
        wdThis.wdGetVmrsCustController().callBapi_CreateOrder();
        wdThis.wdGetVmrsCustController().callBapi_Commit();
    Custom Controller:
    callBapi_CreateOrder(){
         for(int i=0;i<wdContext.nodeOperations_Create().size();i++) {
          Afvgd item = new Afvgd();          
          item.setGLAccount(wdThis.wdGetContext().nodeOperations_Create().getOperations_CreateElementAt(i).getGLAccount());               
          item.setVendor(wdThis.wdGetContext().nodeOperations_Create().getOperations_CreateElementAt(i).getVendorNo());               
          inputCreateOrder.addOperations(item) ;
         // Executing the Model
         // Invalidating ...          

    Hello Vivek,
    If the node <b>Operations_create</b> is a Value Node then you may <b>bind</b> the oprEle element to
    the <b>nodeOperations_Create()</b> instead of adding it to the Node.
    onActionInsertOperation()
          IOperations_CreateElement oprEle =
                   wdContext.createOperations_CreateElement();
          oprEle .setGLAccount
                   (wdContext.currentOperations_CreateElement().getGLAccount());
          oprEle .setVendorNo
                   (wdContext.currentOperations_CreateElement().getVendorNo());
          <b>wdContext.nodeOperations_Create().bind(oprEle);</b>
    Also, you may change the cardinality of the Operations_Create node to 0:1 or 0:N (from 1:N).
    By doing this, you can prevent automatic generation and addition of an element by the WDF.
    Bala

  • Hi i want to ceate customer through bapi with external no range not implici

    hi i want to create customer through bapi which facilitates to enter customer code(our own defined not the sequentially next no.)
    i have gone through F.M BAPI_CUSTOMER_CREATEFROMDATA1 BUT NOT ABLE TO UNDERSTAND HOW TO INPUT PARAMETER FOR CUSTOMER_CODE.
    PLEASE GUIDE ME IF ANY ONE AWARE ABOUT THAT.
    THANKS
    Moderator message: please don't use all caps from now on.
    Edited by: Thomas Zloch on Aug 4, 2010 6:12 PM

    If the iTunes database files are on that drive, launch iTunes with the Shift key(Windows) or Option key(Mac OS X) held down, select Choose Library, and navigate to it. The computer may need to be authorized to play protected content, and if the library contains rented movies, those won't play.
    If not, import the content to an iTunes library.
    (100371)

  • Steps to create BAPI

    could anyone tell me the exact steps to create a custom BAPI?
    (any example will be appreciated).
    thanks in advance
    nikhil

    Hi,
    BAPI stands for Business Application Programming Interface.
    There are 5 different steps in BAPI.
    Create BAPI Structure
    Create BAPI Function Module or API Method.
    Create BAPI object
    Release BAPI Function Module.
    Release BAPI object.
    Step1. Creating BAPI Structure:
    Go to <SE11>.
    Select Data Type & Enter a name.
    Click on Create.
    Note: Always BAPI should be in a development class with request number (Not Local Object).
    Select Structure & hit ENTER.
    Enter the fields from your database. Make sure that the first field is the Primary Key Field.
    Then SAVE & ACTIVATE.
    Step 2. Creating BAPI module:
    Enter TR.CODE <SE37>.
    Before entering any thing, from the present screen that you are in, select the menu
    Goto -> Function Groups -> Create Group.
    Enter a name (Note: This name Must start with ZBAPI)
    Let this screen be as it is and open another window and there, enter TR.CODE <SE80).
    Click on the Third ICON that says Inactive Objects.
    Select the group that you just created and click on Activate.
    Notice that the group you created will disappear from the list of inactive objects.
    Go back to ><SE37> screen and enter a name and hit <ENTER>. Then enter the group name that you just created and activated.
    NOTE: When you release a function module the respective group will be attached to that particular application. It cannot be used for any other application. NEVER include an already existing group that is attached to another module.
    Now click on the first Tab that says ATTRIBUTES and select the radio button that says remote-enabled module since we will be accessing this from any external system.
    Then click on the second tab that says IMPORT.
    Enter a PARAMETER NAME, TYPE and the structure you created in the first step. Also select the check box ‘Pa’. All remotely enabled functional modules MUST be Pa enabled, where Pa means ‘Passed by Value’ and if you don’t select ‘Pa’, then that means it will be passed by reference..
    Then click on tab that says EXPORT.
    Enter the following as is in the first three fields
    RETURN TYPE BAPIRETURN (These 3 field values are always same)
    Here also select ‘Pa’ meaning Pass by value.
    Note: BAPIRETURN contains structure with message fields.
    Then SAVE and ACTIVATE.
    Step 3. Creating BAPI object:
    Enter Tr.Code <SWO1> (Note. It is letter ‘O’ and not Zero).
    Enter a name and then click on create. Enter details.
    NOTE: Make sure that that Object Type and Program name are SAME.
    Enter Application ‘M’, if you are using standard table Mara. If you are using your own database then select ‘Z’ at the bottom.
    Then hit <ENTER>.
    Now we have to add ‘Methods’. High light METHODS and then select the following from the menu:
    Goto Utilities -> API Methods -> Add Methods.
    Enter function Module name and hit <ENTER>.
    Select the second FORWARD ARROW button (>)to go to next step.
    Check if every thing looks ok and again click on FORWARD ARROW button (>).
    Then select ‘YES’ and click on <SAVE>.
    Now on a different screen goto TR.CODE <SE37>. Enter Function Module name and select from the top menu Function Module -> Release -> Release.
    Goback to TR.CODE <SWO1>.
    Here select the menu combination shown below in the same order.
    Edit -> Change Release Status -> Object Type Component -> To Implemented.
    Edit -> Change Release Status -> Object Type Component -> To Released.
    Edit -> Change Release Status -> Object Type -> To Implemented.
    Edit -> Change Release Status -> Object Type -> To Released.
    Then click on <SAVE>.
    Then click on Generate Button (4th button from left hand side looks like spinning wheel).
    Then Click on the button that says ‘PROGRAM’ to see the source code.
    To check if this is present in work flow goto TR.CODE <BAPI>.
    Here it shows business object repository.
    First click on the middle button and then select “ALL” and hit ENTER.
    Goto tab ALPHABETICAL and look for the object that you created. This shows that the BAPI object has been created successfully.
                or
    1. Go to transaction SWO1. Enter object interface type. Eg.(ZOBJ)
    2.Change the object type release status to implemented and save the object type.
    3. Using Z_BAPI (created from SE37) create an API method in the new object type.
    4. In the created BOR object ZOBJ, create a new method using the function module template.
    5. Input as function module name Z_BAPI.
    6.Check the Instance Independent checkbox and click on the next button to continue.
    7. On the parameters screen validate whether all the needed parameters are present and click on next.
    8. Click Yes on the Extend program dialog to generate the call in the new method.
    9. Change the release status of the object type to “To released”
    10. Change also the release status of the method type to “To released”
    11. Double-click on the new method ZBAPI and go to the tab ABAP and change the ABAP type from Function Module to API method.
    12. Finally click on Generate button to generate the object interface and save the object type.
    Hope it somehow gets you an idea how to implement a BAPI based on a FM created in SE37.
    Check the below link..
    http://www.sap-img.com/abap/bapi-step-by-step-guidance.htm
    http://www.erpgenie.com/abap/bapi/example.htm
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    http://www.allsaplinks.com/bapi_example.html
    Reward if helpful.
    Regards,
    Harini.S

  • How to Link SU01 and ContactPerson and Customer through BAPI or FM

    Hi,
    I want to know how to link a Contact Person to a SAP UserID in same sold to party.
    My requirement is like in ISA when a UserId is created which is realated to a Sold-to-party,a contact person is also automatically created in SAP.
    e.g. If I am going to create a SAP UserID : Ecomdemo related to Customer 1000 a Contact Person is also crated as 0000002483 in SAP background
    I know the BO which is Used BUS1006001.
    Kindly help me how to link.. SU01>ContactPerson>Customer through BAPI of FM without doing manually.
    Looking forward for the respnse.
    Regards
    Arbind

    Problem solved by own.
    Solution : Use Standard SAP FM ISA_USER_CREATE and do some manipulation according to the business needs.
    Regards
    Arbind

  • Replace patient create bapi with enterprise service

    Hi all,
    I've compared the input data of the patient create bapi with the input message of the patient create enterprise service. There are some differences and so I don't know if it's possible to replace the bapi with the enterprise service. As example, the bapi offers input fields for contact persons (first and last name, relationship, address number) which are stored in the table NPAT.
    In contrast, the enterprise service offers the input type dependent relationship with fields DependendId and RoleCode.
    Which table does the service use to store the contact information?
    Does the create patient service fill the same tables as the bapi?
    Is it possible to replace the bapi create patient with the enterprise service?
    Best regards,
    Christian Sonek

    Hi Christian,
    Enterprise services expose more or less the business partner interface whereas BAPIs expose the patient management interfaces complying to the former data model. As my colleagued described before, next of kin is handled as a separate business partner and due to that fact, services and BAPIs behave in a different way.
    That means, in case a customer does not want to upgrade to the new patient management concept with using the central business parter he cannot create next of kin data with the PatientCreate service. In case he wants to upgrade to the new Patient concept and he agrees to store patients and next of kin as business partners, he can replace the API with the service.
    Apart from next of kin data, the service for patient create can be used to create patients even with the old patient
    Best Regards, Doris Karbach

  • Custom created field created using Addon is overlapping in BP Master form

    Hi All,
    I have developed an addon to create some custom field in Business partner master data form. Every thing is working fine but the issue is that when I am maximizing and minimizing the BP form the custom created fields are overlapping with existing SAP B1 field. i have created this fields as the sample specified in SAP B1 SDK. I am giving the sample code below please rectify me if I have made any mistake.
                       lItem = form.Items.Add("CBWBCUSTGR", SAPbouiCOM.BoFormItemTypes.it_COMBO_BOX);
                        lItem.FromPane = form.Items.Item("222").FromPane;
                        lItem.ToPane = form.Items.Item("222").ToPane;
                        lItem.DisplayDesc = true;
                        lItem.Left = form.Items.Item("222").Left;
                        lItem.Top = form.Items.Item("222").Top + 15;
                        lItem.Width = form.Items.Item("222").Width;
                        lComboBox = (SAPbouiCOM.ComboBox)lItem.Specific;
                        lComboBox.DataBind.SetBound(true, "OCRD", "U_WBCUSTGR");
    l                  Item = form.Items.Add("STWBCUSTGR", BoFormItemTypes.it_STATIC);
                        lItem.FromPane = form.Items.Item("223").FromPane;
                        lItem.ToPane = form.Items.Item("223").ToPane;
                        lItem.Left = form.Items.Item("223").Left;
                        lItem.Top = form.Items.Item("223").Top + 15;
                        lItem.Width = form.Items.Item("223").Width;
                        lStaticText = (StaticText)lItem.Specific;
                        lStaticText.Caption = "Web Customer Group";
    Thanks and Regards
    Utpal Maity

    Hi All,
    I have tried the solution provided by you by modifying the code as written below but when i am minimizing it the fields are getting overlapped.
          lItem = form.Items.Add("CBWBCUSTGR", SAPbouiCOM.BoFormItemTypes.it_COMBO_BOX);
                        lItem.FromPane = form.Items.Item("222").FromPane;
                        lItem.ToPane = form.Items.Item("222").ToPane;
                        lItem.DisplayDesc = true;
                        lItem.Left = form.Items.Item("222").Left;
                        lItem.Top = form.Items.Item("222").Top + 15;
                        lItem.Width = form.Items.Item("222").Width;
                   lItem.LinkTo = "STWBCUSTGR";
                        lComboBox = (SAPbouiCOM.ComboBox)lItem.Specific;
                        lComboBox.DataBind.SetBound(true, "OCRD", "U_WBCUSTGR");
    l                  Item = form.Items.Add("STWBCUSTGR", BoFormItemTypes.it_STATIC);
                        lItem.FromPane = form.Items.Item("223").FromPane;
                        lItem.ToPane = form.Items.Item("223").ToPane;
                        lItem.Left = form.Items.Item("223").Left;
                        lItem.Top = form.Items.Item("223").Top + 15;
                        lItem.Width = form.Items.Item("223").Width;
                   lItem.LinkTo = "CBWBCUSTGR";
                        lStaticText = (StaticText)lItem.Specific;
                        lStaticText.Caption = "Web Customer Group";
    Thanks and Regards
    Utpal maity

  • Getting Error while creating multiple Orders using Sales order Create BAPI

    Hi,
    I am trying to create 2 orders thru the Sales order create BAPI before I commit and save the orders. The Orders are getting created and the BAPI is coming back with success, but it is not setting the system status on the line items of the 1st order. So when I try to cancel the line items on the first order I get the error 'No status object is available for SDI 4924/10' . I would really appreciate if anyone has encountered such error before and could help me out with the reason for this error and the possible solution.
    Thanks in advance,
    David.

    Hi,
    Check the following link:
    http://www.sap-img.com/bapi.htm
    Regards,
    Bhaskar

  • How to change price of item using salesorder create bapi

    hi all,
         As per requirement i have to change price of the item while i am creating sales order using sales order create bapi. kindly tell me the process or if possible any sample program.
          thanks in advance
    thanks,
    pavan
    Message was edited by: pavan kumar pisipati

    hi max ,
          i created sales order using following code. from here onwords i have to update to change the price of the item. kindly do the needful. i am working 4.7 ides
    <b>report  zmybapi1        .
    data : my_order_header_in like bapisdhd1 occurs 0 with header line,
           my_order_header_ix like bapisdhd1x.
    data : my_orderitemsin like bapisditm  occurs 0 with header line,
           my_orderitemsix like bapisditmx occurs 0 with header line.
    data : my_order_partners like bapiparnr occurs 0 with header line.
    data : my_return like bapiret2 occurs 0 with header line.
    data : w_vbeln like bapivbeln-vbeln.
    data:
         my_orderschedulesin like bapischdl occurs 0 with header line,
         my_orderschedulesinx like bapischdlx occurs 0 with header line.
    start-of-selection.
    this is to assign values to internal table my_order_header_in
      my_order_header_in-doc_type   = 'TA'.
      my_order_header_in-sales_org  = 'JNJ1'.
      my_order_header_in-distr_chan = '02'.
      my_order_header_in-division   = 'J1'.
      my_order_header_in-sales_off  = 'JNJ1'.
      my_order_header_in-purch_no_c = 'testbapipo'.
      my_order_header_in-purch_date = sy-datum.
      my_order_header_in-req_date_h = sy-datum.
      append my_order_header_in.
    this is to assign values to internal table my_orderitemsin
      my_orderitemsin-material      = '000000000000000727'.
      my_orderitemsin-plant         = 'JNJ1'.
      my_orderitemsin-target_qu     = 'EA'.
      my_orderitemsin-target_qty    = '50'.
      append my_orderitemsin.
    this is to assign values to internal table my_order_partners
      my_order_partners-partn_role = 'AG'.
      my_order_partners-partn_numb = '0000000011'.
      append my_order_partners.
      my_order_partners-partn_role = 'WE'.
      my_order_partners-partn_numb = '0000000011'.
      append my_order_partners.
    This is to assign values to internal table my_orderschedulesin
      my_orderschedulesin-itm_number = '10'.
      my_orderschedulesin-req_qty   = '10'.
      append my_orderschedulesin.
      my_orderschedulesin-itm_number = '20'.
      my_orderschedulesin-req_qty   = '20'.
      append my_orderschedulesin.
      my_order_header_ix-updateflag = 'I'.
      my_order_header_ix-doc_type   = 'X'.
      my_order_header_ix-sales_org  = 'X'.
      my_order_header_ix-distr_chan = 'X'.
      my_order_header_ix-division   = 'X'.
      my_order_header_ix-sales_off  = 'X'.
      my_order_header_ix-purch_no_c = 'X'.
      my_order_header_ix-purch_date = 'X'.
      my_order_header_ix-req_date_h = 'X'.
      my_orderitemsix-updateflag    = 'I'.
      my_orderitemsix-material      = 'X'.
      my_orderitemsix-target_qty    = 'X'.
      my_orderitemsix-plant         = 'X'.
      my_orderitemsix-division      = 'X'.
      my_orderitemsix-target_qu     = 'X'.
      append my_orderitemsix.
      my_orderschedulesinx-updateflag        = 'I'.
      my_orderschedulesinx-itm_number       = 'X'.
      my_orderschedulesinx-req_qty          = 'x'.
      append my_orderschedulesinx.
      my_orderschedulesinx-itm_number       = 'X'.
      my_orderschedulesinx-req_qty          = 'x'.
      append my_orderschedulesinx.
      call function 'BAPI_SALESORDER_CREATEFROMDAT2'
        exporting
      SALESDOCUMENTIN               =
          order_header_in               = my_order_header_in
          order_header_inx              = my_order_header_ix
      SENDER                        =
      BINARY_RELATIONSHIPTYPE       =
      INT_NUMBER_ASSIGNMENT         =
      BEHAVE_WHEN_ERROR             =
      LOGIC_SWITCH                  =
      TESTRUN                       =
      CONVERT                       = ' '
        importing
          salesdocument                 = w_vbeln
        tables
          return                        = my_return
          order_items_in                = my_orderitemsin
          order_items_inx               = my_orderitemsix
          order_partners                = my_order_partners
        ORDER_SCHEDULES_IN            =  my_orderschedulesin
          order_schedules_inx           = my_orderschedulesinx
      ORDER_CONDITIONS_IN           =
      ORDER_CONDITIONS_INX          =
      ORDER_CFGS_REF                =
    if sy-subrc ne 0.
        write: my_return-message, my_return-number, my_return-type.
      else.
         call function 'BAPI_TRANSACTION_COMMIT'
         EXPORTING
           WAIT          =
         IMPORTING
           RETURN        =
          write: my_return-message, my_return-number, my_return-type.
    endif.</b>
    thanks,
    pavan
    Message was edited by: pavan kumar pisipati

  • Hi i want to create BAPI to get approver of the employee

    hi i want to create BAPI to get approver of the employee
    in this  BAPI if there are two approver for that employee than i need both approver personal no.
    please help me
    thanks in advanced.

    Hi
    I doubt whether there is a direct Standard BAPI for that.
    The below report will get you the employees approver org position. Even if there are two approvers are there, it will display both the approvers position.
    *& Report  ZGD_TEST_HR_ORG_STR
    REPORT  ZGD_TEST_HR_ORG_STR.
       DATA: plvar            LIKE hrsobid-plvar.
      DATA: otype            LIKE hrsobid-otype.
      DATA: sobid            LIKE hrsobid-sobid.
      DATA: date             LIKE sy-datum.
      DATA: leading_position LIKE hrobject OCCURS 1 WITH HEADER LINE.
      DATA: org_agent        LIKE swhactor.
      DATA: lv_sw_vapos      TYPE xflag,
            lv_subrc         TYPE sy-subrc.
      DATA spfli_wa TYPE spfli.
      DATA carrid_buffer TYPE spfli-carrid.
      IF plvar IS INITIAL.
        CALL FUNCTION 'RH_GET_ACTIVE_WF_PLVAR'
          IMPORTING
            act_plvar       = plvar
          EXCEPTIONS
            no_active_plvar = 1.
        IF sy-subrc > 0.
          MESSAGE e300(5w) RAISING no_active_plvar.
        ENDIF.
      ENDIF.
    IF otype IS INITIAL OR sobid IS INITIAL.
          otype = 'US'.
          sobid = sy-uname.
      ENDIF.
      CALL FUNCTION 'RH_GET_LEADING_POSITION'
        EXPORTING
          plvar              = plvar
          otype              = otype
          sobid              = sobid
          date               = sy-datum
          auth               = ' '
          consider_vac_pos   = space
        TABLES
          leading_pos        = leading_position
        EXCEPTIONS
          no_lead_pos_found  = 1
          OTHERS             = 2.
       IF sy-subrc > 0.
        MESSAGE e802(5w) WITH otype sobid
                         RAISING no_lead_pos_found.
      ELSE.
        LOOP AT leading_position.
          write :  / leading_position-otype,
                     leading_position-objid.
        ENDLOOP.
      endif.
    Hope it helps you

  • After creating a object of bapi what is the next step to do to create bapi

    after creating a object of bapi what is the next step to do to create bapi  completely,
    thank you,
    Regards,
    Jagrut BharatKumar Shukla

    Please check the link..
    http://www.erpgenie.com/abap/bapi/example.htm

  • How to pass table values in Create Bapi Wrapper

    Hi All,
           Am using create BAPI  Wrapper in that how to map the fields inside BAPI  Import Structure .
    Thanks&Regrads,
    Arun

    Hi,
    Am using standard RFC " QIBP_INSPCHAR_SETRESULT "  for creating result recording in SAP QM. And BAPI_INSPOPER_GETDETAIL for getdetail i want to create BAPI wrapper for these 2 i already created BAPI wrapper for get detail . I dont know how to create Create BAPI wrapper.
    In QIBP_INSPCHAR_SETRESULT am passing inupt
    INSPLOT      LIKE         QALS-PRUEFLOS
    INSPOPER     LIKE     QAPO-VORNR
    INSPCHAR     LIKE     QAMV-MERKNR
    INSPSAMPLE     LIKE     QASV-PROBENR
    CHAR_RESULT     LIKE     BAPI2045D2           
    so i want to know how i can pass    1 . CHAR_RESULT structrue values
                                                               2.  INSPLOT,INSPOPER,INSPCHAR again repting inside CHAR_RESULT so how to map these
                                                                    in SDOE_WB
    Pls explain how to create BAPI Wrapper for this and how to map details.

  • How will u create BAPI

    Hello SAP guys,
    I had interview.
    I was asked these questions.
    1) how do u create BAPI....
    2) how u handle upgrade issues...
    Let me know the answers.
    thanks.
    Regards,
    Naveen.

    Hi,
    It is like how you created ZBAPI_ORDER_STATUS_IMPORT..
    Go to SE11.
    Choose data type, give the structure name and press create..
    Choose structure..
    And then give the components mentioned in the link..
    Please remember to award points for helpful answers..
    Thanks,
    Naren

Maybe you are looking for

  • E-Recruiting and IE8

    <p>We are currently on E-Recruiting 6 with Enhancement Pack 3 SP level 5 with Netweaver 2004s (7.0) (support pack stack 20). </p> <p>PROBLEM <br> We did some testing with Internet Explorer 8 and the Candidate Web Dynpro seemed to work fine.  However,

  • Sony PVM 20N5U=Broadcast Color Correction Monitor?

    Hello, folks. Posted this on the "Getting started with video production on a Mac" forum, but no responses . . . so I'm trying here. I have a Sony 14M2U that IS indeed a professional grade broadcast monitor that can be used for color correction. Howev

  • Contacts overview: Only "JobTitle", not "Company"?

    Hi There,  In my C5, when going to Contacts -> Open, I see a nice short contact overview. Great stuff - but on the right hand side of the image, is the "job title" of the person, but not the "company". Is there a way to change this short - and useful

  • Converting RGB to CMYK

    When exporting a doc with CMYK graphics and text but RGB images, I have selected convert to dest (preserve numbers). It does that but it also converts 100% blk text and changes the numbers of non profiled colors. The description of the profile says t

  • Spotlight keyboard shortcuts sometimes don't work

    I'm not sure when this problem started cropping up--probably after 10.8.1--I'm running 10.8.2 on a 2012 Macbook Pro.  Anyway, I'm noticing two bad behaviors with keyboard shortcuts on spotlight. The first problem is sometimes, the alt-cmd-space short