BAPI for create a student

hi all,
does anyone familiar with BAPI which create student?
I've found BAPI_STUDENT_CREATEFROMDATA3 but it works for RFC.
Any idea on this. Thanks in advance.
Regards,
Peerasit

Hi Michael,
Thanks for your advise. Anyway, i need a bit help. As i try to create a program to get the parameters from screen and call functions "BAPI_STUDENT_CREATEFROMDATA3". I get a short dump error, i guess the error is from
Runtime Errors         CALL_FUNCTION_CONFLICT_TYPE
Except.                CX_SY_DYN_CALL_ILLEGAL_TYPE
*Short text*
    Type conflict when calling a function module.
*What happened?*
    Error in the ABAP Application Program
    The current ABAP program "ZTEST" had to be terminated because it has
    come across a statement that unfortunately cannot be executed.
    A function module was called incorrectly.
*Error analysis*
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was
     not caught and
    therefore caused a runtime error.
    The reason for the exception is:
    The call to the function module "BAPI_STUDENT_CREATEFROMDATA3" is incorrect:
    The function module interface allows you to specify only
    fields of a particular type under "STUDENTPERSONALDATA".
    The field "GI_STUDENTDATA" specified here is a different
    field type
it seems like export the invalid type of structure. The following is my code, please take a look and give me the advise:
data: gt_studentdata type BAPISTUDENT_PERSONAL,
      gi_studentdata like table of gt_studentdata,
      gw_studentdata like line of gi_studentdata.
*--- Import
data: gv_PLANVERSION type BAPISTUDENT_HEAD-PLVAR,          " Plan Version
      gv_OBJECTID type BAPISTUDENT_HEAD-OBJID,             " Object ID of Student
      gv_STUDENTNUMBER type BAPISTUDENT_HEAD-STUDENTNUMBER," Student Number
      gv_BUSINESSPARTNER type BAPISTUDENT_HEAD-PARTNER.    " Student Business Partner Number
*--- Return
data: t_return type BAPIRET2 OCCURS 0.
SELECTION-SCREEN begin of BLOCK b1 with FRAME TITLE text-001.
PARAMETERS: p_FNAME type PAD_VORNA,
            p_LNAME type PAD_NACHN, "'Doe',
            p_LANGU type PIQ_SPRAS, "= 'E'.
            p_TITEL type BAPISTUDENT_PERSONAL-TITEL.
SELECTION-SCREEN end of BLOCK b1.
BREAK-POINT.
gw_studentdata-FIRST_NAME = p_fname.
gw_studentdata-LAST_NAME = p_lname.
gw_studentdata-CORRESP_LANGUAGE = p_langu.
append gw_studentdata to gi_studentdata.
CALL FUNCTION 'BAPI_STUDENT_CREATEFROMDATA3'
  EXPORTING
*   VALIDITYBEGIN               = SY-DATUM
*   OBJECTIDEXTERN              =
*STUDENTNUMBEREXTERN         =
    STUDENTPERSONALDATA         = gi_studentdata
*   STUDENTADDITIONALDATA       =
*   STUDENTCHALLENGEDATA        =
*   STUDENTRESIDENCYDATA        =
*   STUDENTSTUDYDATA            =
*   STUDENTFEEDATA              =
*   STUDENTORGUNIT              =
*   STUDENTCAMPUS               =
*   STUDENTSTATUSDATA           =
*   TESTRUN                     = ' '
*   UPDATEACCOUNTDATA           = 'X'
IMPORTING
   PLANVERSION                 = gv_PLANVERSION
   OBJECTID                    = gv_OBJECTID
   STUDENTNUMBER               = gv_STUDENTNUMBER
   BUSINESSPARTNER             = gv_BUSINESSPARTNER
  TABLES
    RETURN                      = t_return
*   EXTENSIONIN                 =
I'm looking forward to hearing the solution from you. Million thanks in advance,
Peerasit

Similar Messages

  • BAPI for creating scheduling agreement with reference to Contract agreement

    Hi All ,
    Can anyone please suggest if there is any BAPI for creating scheduling agreement with reference to the contract agreement number.
    Thanks for your help.
    Vadivukkarasi

    Hi,
       Check this BAPI <b>BAPI_AGREEMENT_MAINTAIN.</b>
    check these
    BAPI_CUSTSCHEDULAGREE_CONFDELV Customer Sched. Agreement: Confirmation of Delivery; Document Flow Upd
    BAPI_SALES_DEL_SCHEDULE_CREATE BAPI for creation of releases in scheduling agreements
    Regards

  • BAPI for Creating a PM order(iw34) with reference to a Notification

    Hi All,
    Could anyone help to find the BAPI for creating a PM order with reference to a notification Number.
    I will explain my requirement :
    I want to create a notification from an external Application where i got the BAPI BAPI_ALM_NOTIF_CREATE and keeping this created notification number as Referece or for this notification number  i need a create a PM order.Usually this process in done transaction IW34 in R/3.
    But with the BAPI BAPI_ALM_ORDER_MAINTAIN i can create a PM order but this BAPI doesn't have a input parameter "Notification number ".So i can't use this BAPI.
    Could any suggest for a BAPI where i can create a PM order with reference to a Notification Number.
    Regards,
    Sid

    Hi,
    I have tried with the FM CO_IH_ORDER_GENER_2 but when i executes it gives a error message
    "<i>Service/maintenance order type PM02 not completely maintained in plant
    Message no. IW216
    Diagnosis
    For the selected order type and plant, no check control is maintained in Plant Maintenance/Service in 'Availability Check for Materials, PRTs and Capacities'.
    Procedure
    A check control must be maintained for this combination of order type and plant</i>"".
    And even have a doubt what to enter in this input parameter "GEWRK_OBJTYP"  .
    Kindly help me to solve this issue.
    Regards,
    Sid

  • FM/BAPI for creating the credit memo request for Vendor

    Hi Experts,
        I need an RFC/BAPI,  for creating the credit memo request for Vendor.
    Thanks in Advance,
    Kiruba.R

    Hi,
    Use this BAPI 'BAPI_DRMCREDITMEMOREQ_CREATE' - Credit Memo Request Creation
    Regards,
    Jyothi CH.

  • Function Module / BAPI for Creating Material freight Group

    Hi All,
    Can anyone tell me the Function Module / Bapi for creating material freight group.
    Regards,
    Raj.

    Bapi for creating material freight group. :: You actually use mm01 or mm02 to change data for material flight.
    So you can use BAPI for mm02 and mm01
    For Ex:
    BAPI_MATERIAL_SAVEDATA
    Hope this helps

  • BAPI for creating recipe

    We are trying to develop an interface with a third party software and we need to upload recipe from there.
    So i am need a BAPI to create recipe and maintain aswell.
    also I am trying to use BAPI BAPI_MATERIAL_SAVEDATA to create material and BAPI
    BAPI_BOM_UPLOAD_SAVE to create BOM .
    I manually entered data into fields but not able to create material and BOm.
    Please give me the procedure on how to use them and BAPI for creating Recipe.
    Help is appriciated.

    Hi Mirza
    You can use BAPI_MATERIAL_BOM_GROUP_CREATE to create a BOM,
    Regards
    UK

  • BAPI for create material master (SAP version 40b)

    Hi,
    Anyone know BAPI for create material master for SAP version 40b?
    There's no BAPI_MATERIAL_SAVEDATA.
    I try to use BAPI_MATERIAL_MAINTAINDATA_RT,
    but seems that BAPI only for retail.
    Kindly advice!
    Thanks,
    Victor.

    Hi,
        this one works pretty good.
    call function 'MATERIAL_MAINTAIN_DARK'
             exporting
                  sperrmodus                = ' '
                  kz_prf                    = 'W'
                  max_errors                = ' '
                  p_kz_no_warn              = 'X'
                  kz_verw                   = 'X'
                  kz_aend                   = 'X'
                  kz_dispo                  = 'X'
                  kz_test                   = ' '
                  flag_muss_pruefen         = ' '
                  call_mode                 = 'ACT'
             importing
                  number_errors_transaction = numerror
                  matnr_last     = last_matnr
             tables
                 amara_ueb      = i_mara    "Basic Data
                amakt_ueb      = i_makt    "Descriptions
                 amarc_ueb      = i_marc    "Plant
                amard_ueb      = i_mard    "Storage Location
               AMFHM_UEB      = I_MFHM    "Production Tools
                amarm_ueb      = i_marm    "Units of Measure
               AMEA1_UEB      = I_MEA1    "Internal Mangagement -  EANs
                ambew_ueb      = i_mbew    "Accounting/Costing
                asteu_ueb      = i_steu    "Tax Data
                astmm_ueb      = i_steumm  "Tax Data
               AMLGN_UEB      = I_MLGN    "Warehouse Data
               AMLGT_UEB      = I_MLGT    "Storage Type Data
               AMPGD_UEB      = I_MPGD    "Change Documents
               AMPOP_UEB      = I_MPOP    "Forcast Parameters
               AMVEG_UEB      = I_MVEG    "Total Consumption Data
               AMVEU_UEB      = I_MVEU    "Unplanned Consumption Data
                amvke_ueb      = i_mvke    "Sales Data
                altx1_ueb      = i_ltx1    "Sales Text
               AMPRW_UEB      = I_MPRW    "Forcast Values
                 amfieldres     = i_delfields
                 amerrdat       = i_errors
             exceptions
                  kstatus_empty             = 01
                  tkstatus_empty            = 02
                  t130m_error               = 03
                  internal_error            = 04
                  update_error              = 05
                  too_many_errors           = 06.
    Otherwise try BAPI_RETAILMATERIAL_CREATE
    BAPI_STANDARDMATERIAL_CREATE
    <b>Reward points</b>
    Regards

  • Are there any bapi for create Business Partner

    Dear Sir,
    Do you know  are there any bapi for create Business Partner in CRM
    Please advise.
    Thank you and best ergards,
    Vimol

    Dear Vimol,
    BAPI_BUPA_CREATE_FROM_DATA     ......SAP BP, BAPI: Create Business Partner
    BAPI_BUPA_FS_CREATE_FROM_DATA  .......SAP BP, BAPI: Create Business Partner
    BAPI_BUPA_FS_CREATE_FROM_DATA2 .......SAP BP, BAPI: Create Business Partner
    Hope this will help.
    Regards,
    Naveen.

  • Is there any BAPI for creating Debit memo request

    Hi all,
    I used BAPI_ACC_BILLING_POST ,but it does not seems to help me.Is there any other BAPI for creating Debit memo request which takes.
    Thanks and regards,
    Meena.

    hi,
    I could find the following
    Exit Name           Description
    J_3RSINV
    SDVFX001            User exit header line in delivery to accounting
    SDVFX002            User exit for A/R line in transfer to accounting
    SDVFX003            User exit cash clearing in transfer to accounting
    SDVFX004            User exit G/L line in transfer to accounting
    SDVFX005            User exit reserves in transfer to accounting
    SDVFX006            User exit tax line in transfer to accounting
    SDVFX007            User exit: Billing plan during transfer to Accounting
    SDVFX008            User exit: Processing of transfer structures SD-FI
    SDVFX009            Billing doc. processing KIDONO (payment reference number)
    SDVFX010            User exit item table for the customer lines
    SDVFX011            Userexit for the komkcv- and kompcv-structures
    V05I0001            User exits for billing index
    V05N0001            User Exits for Printing Billing Docs. using POR Procedure
    V60A0001            Customer functions in the billing document
    V60P0001            Data provision for additional fields for display in lists
    V61A0001            Customer enhancement: Pricing
    Regards,
    Manish

  • Very urgent::: Standard BAPI for creating quotation in vendor side

    hi all
    i need a standard bapi for creating Quotation in the vendor side
    i found 2 bapi's :
    bapi_quotation_createfromdata,
    bapi_salesorder_createfromdat1.
    but these are related to customer side itseems...
    i want standard bapi's for vendor side Quotation creation....
    points will be awarded for useful answer...

    hi all
    i need a standard bapi for creating Quotation in the vendor side
    i found 2 bapi's :
    bapi_quotation_createfromdata,
    bapi_salesorder_createfromdat1.
    but these are related to customer side itseems...
    i want standard bapi's for vendor side Quotation creation....
    points will be awarded for useful answer...

  • FM or BAPI for creating/deleting condition records for an output type

    Hi all,
               what is the FM or BAPI for creating and deleting the condition records for a Z(custom) output type.

    You can use trasaction SXDA_TOOLS.....
    object type BUS3003
    program type BINP
    program/method RM06IBI0
    but the fields must be sequentially written in the txt, with every space inclusive....

  • FM or BAPI for Create/cancel  stock transfer order invoice

    FM or BAPI for Create/cancel  stock transfer order invoice
    Thanks and Regards,
    Srinivas P

    Hi,
    use BAPI_PO_CREATE, po_header-doc_type = 'UB'
    Thanks,
    Reward If Helpful.

  • BAPI for creating outbound delivery

    Hi,
    Can anyone please let me know the bapi for creating outbound delivery.I have checked for few bapi's like
    BAPI_OUTB_DELIVERY_SAVEREPLICA
    BAPI_DELIVERPROCESSING_EXEC
    If i use the first one i would like to know whether i need to do the PGI seperately by using any bdc or is it taken care in the same bapi.
    Its basically for the workflow task werein we have all the required parameters like delivery numb, sales order num ...etc
    Iam new to BAPI's.Please consider my request and let me know the details for the same.
    thanks
    keith

    The below is for creating delivery for STO's.
        Delivery creation
          call function 'SHP_VL10_DELIVERY_CREATE'
            exporting
              IF_LEDAT           = I_LFDAT
              IF_NUR_VORGABE_POS = YES
              IT_KEY_ENQUE_READ  = IT_KEY_ENQUE_READ
              IT_KOMDLGN         = IT_KOMDLGN
            changing
              CX_SD_ORDER        = XS_SD_ORDER
              CT_VBSK_ALL        = XT_VBSK_ALL
              CT_VBLS            = XT_VBLS
              CT_KEY_LATE        = XT_KEY_LATE.
    Message was edited by: Anurag Bankley

  • Bapi for creating Sales Area data on Relationship

    Hi,
    I am looking for BAPI for creating relationship between business partners with sales area data in CRM 5.0.
    Example - I would like to create relationship type CRMH03.
    Bapi BUPR_RELATIONSHIP_CREATE does not allow for maintaining sales area data (Sales org, distribution channel, division).
    Does anybody know such a bapi?
    Regards
    Radek

    hi
    try using these
    BAPI_BUPA_CREATE_FROM_DATA
    BAPI_BUPA_RELATIONSHIP_CREATE
    best regards
    ashish

  • CRM - Bapi for creating relationship between BPs with sales area data

    Hi
    I am looking for BAPI for creating relationship between business partners with sales area data in CRM 5.0.
    Example - I would like to create relationship type CRMH03.
    Bapi BUPR_RELATIONSHIP_CREATE does not allow for maintaining sales area data (Sales org, distribution channel, division).
    Does anybody know such a bapi?
    Regards
    Radek

    Hey Radek,
    I am actually looking for the same functionality. Were you able to find a solution although no one replied to your question in this thread? If so, it would be very helpful for me to know. Maybe you have to combine more BAPIs in order to add the organization information to the relationship. But I have no idea how.
    Best Regards
    Mirko

Maybe you are looking for

  • Make Number stored as text - in excel using ABAP

    Hello all, How can I make a value to be stored as text in excels, without adding apostrophe in front of the value using ABAP. Im using ECC6.0 system. In erlier version 4.6C, values are displaying as numbers. We are calling methods in RSAQEXCE dynamic

  • Replace GL Account to other during elimination process

    Hi Friends; I have an issue in the process of elimination, i have a elimination where I must to replace a account for another (Business rule of my company), this it could be configured in SEM BCS?, exist some rule for this?? I attach example of what

  • Lenovo G550, power supply

    Hi, i have lenovo G550, when i start laptop, it works good, after 15-20 mins, power supply starts rotating for about one minute, after that , a small pause about 3-5 mins, and starts again, so from this time power supply begin rotating for every 3-4

  • Sony NEX-5N and FCP6

    I am about ready to buy a Sony NEX-5N, but I don't want to upgrade to FCP-X just yet. Will I be able to import or open HD files from the camera into FCP6, and how?

  • Best type of video files to post on iWeb pages?

    I am a teacher and I am posting Screencasts that I record of my lessons each day on my website created by iWeb '09. I have been exporting them as either .mov files or .mp4 files (both H.264) and playing them in a Flash "wrapper". I have been using a