PMIQ_BUPA_CREATE_STUDENT_ONLY is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name PMIQ_BUPA_CREATE_STUDENT_ONLY into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
HRPIQ00STUDENT_CREATE_BP_Q
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'PMIQ_BUPA_CREATE_STUDENT_ONLY' "Obsolete: Create a business partner for student
EXPORTING
iv_stobjid = " piqstudent Student
iv_student12 = " piqstudent12 Student Number
* iv_otype = " wplog-otype Object Type
* iv_stgrp = " cmac_st-cmstgrp Student Group
* iv_stfeecat = " cmac_st-cmstcat Student Fee Category
* iv_storg = " cmac_st-cmstorg Organization Unit ID for Student
* iv_natio = " land1 Country key
* iv_valdt = SY-DATUM " bu_valdt Validity date for business partner data
* iv_xcommit = SPACE " boole_d Flag: With commit work
* iv_xchdoc = 'X' " boole_d Flag: Write change document
* i_xupdtask = SPACE " boole_d Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
* iv_xtest = SPACE " boole-boole Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
IMPORTING
ev_xerror = " bus000flds-char1 Flag: Error occurred
ev_partner = " bu_partner Business partner number
* TABLES
* et_message = " bus0msg1 CBP: Message for each object
* et_keyvalue = " busskeyval BP Control: Key Field Values (Direct Input)
. " PMIQ_BUPA_CREATE_STUDENT_ONLY
The ABAP code below is a full code listing to execute function module PMIQ_BUPA_CREATE_STUDENT_ONLY including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).
| ld_ev_xerror | TYPE BUS000FLDS-CHAR1 , |
| ld_ev_partner | TYPE BU_PARTNER , |
| it_et_message | TYPE STANDARD TABLE OF BUS0MSG1,"TABLES PARAM |
| wa_et_message | LIKE LINE OF it_et_message , |
| it_et_keyvalue | TYPE STANDARD TABLE OF BUSSKEYVAL,"TABLES PARAM |
| wa_et_keyvalue | LIKE LINE OF it_et_keyvalue . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_ev_xerror | TYPE BUS000FLDS-CHAR1 , |
| ld_iv_stobjid | TYPE PIQSTUDENT , |
| it_et_message | TYPE STANDARD TABLE OF BUS0MSG1 , |
| wa_et_message | LIKE LINE OF it_et_message, |
| ld_ev_partner | TYPE BU_PARTNER , |
| ld_iv_student12 | TYPE PIQSTUDENT12 , |
| it_et_keyvalue | TYPE STANDARD TABLE OF BUSSKEYVAL , |
| wa_et_keyvalue | LIKE LINE OF it_et_keyvalue, |
| ld_iv_otype | TYPE WPLOG-OTYPE , |
| ld_iv_stgrp | TYPE CMAC_ST-CMSTGRP , |
| ld_iv_stfeecat | TYPE CMAC_ST-CMSTCAT , |
| ld_iv_storg | TYPE CMAC_ST-CMSTORG , |
| ld_iv_natio | TYPE LAND1 , |
| ld_iv_valdt | TYPE BU_VALDT , |
| ld_iv_xcommit | TYPE BOOLE_D , |
| ld_iv_xchdoc | TYPE BOOLE_D , |
| ld_i_xupdtask | TYPE BOOLE_D , |
| ld_iv_xtest | TYPE BOOLE-BOOLE . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name PMIQ_BUPA_CREATE_STUDENT_ONLY or its description.
PMIQ_BUPA_CREATE_STUDENT_ONLY - Obsolete: Create a business partner for student PMIQ_BUPA_CREATE_STUDENT_BUF - Create a business partner for student in buffer PMIQ_BUPA_CREATE_STUDENT - Obsolete: Create a business partner for student PMIQ_BUPA_CREATE_CONTRACT_OBJ - PMIQ_BUPA_CREATE_CONTRACT_ACCT - PMIQ_BUPA_CORRES_AND_DUN_FIELD - Determine correspondence and dunning fields by posting area