Function:
Rochelle to_confirm to validation function (lt12)
L_to_create_single lt01
Example:
Call function 'l _ to_create_single'
Exporting
I _lgnum = I _lgnum
I _bwlvs = '000000'
I _matnr = I _matnr
I _werks = I _werks
I _lgort = I _lgort
I _sobkz = I _sobkz
I _sonum = I _sonum
I _anfme = I _anfme
I _squit = 'X'
I _vltyp = gv_vltyp
I _vlpla = gv_vlpla
I _nltyp = gv_nltyp
I _nlpla = gv_nlpla
I _commit_work = 'X'
I _bname = SY-UNAME
I _kompl = 'X'
Importing
E_tanum = tmp_tanum
Exceptions
No_to_created = 1
Others = 2.
1,
Bapi_ Material_savedata: Pay attention to the use of the extensionin parameter when creating the material master data. You can create custom fields such as Wa _
BapiTE_MARA-MATERIAL = ITAB_UP-MATNR.
T_EXTENSIONIN-STRUCTURE ='
Bapi_ Te_mara '.
T_EXTENSIONIN-VALUEPART1 = wa _
Bapi_ Te_mara.
Append t_extensionin.wa _
BapiTE_MARAX-MATERIAL = ITAB_UP-MATNR.
T_EXTENSIONINX-STRUCTURE ='
Bapi_ Te_marax '.
T_EXTENSIONINX-VALUEPART1 = wa _
Bapi_ Te_marax.
Append t_extensioninx.2,
Bapi_ Objcl_create category view creation 3,
Bapi_ Objcl_getclasses: detailed information is displayed in the classification view. 4,
Bapi_ Extended material_savereplica material view 5,
Bapi_ Goodsmvt_create create material creden note table t158g can determine goodsmvt_code Value of goodsmvt_code 01 Mb01
02 Mb31
03 Mb1a
04 Mb1b
05 Mb1c
06 Mb11
07 Mb046,
Bapi_ Goodsmvt_cancel offset material credential 7,
Bapi_ Pr_create create PR8,
Bapi_ Po_create1 create po9,
Bapi_ Po_change modify the Po and delete po10, ws_reverse_goods_issue write off the delivery order for delivery 11,
Bapi_ Reservation_create1 create reserved 12,
Bapi_ Reservation_change modify and delete the reserved SD Module 1,
Bapi_ Salesorder_createfromdat2 create a sales order 2, sd_salesdocument_create create Create a sales order 3,
Bapi_ Outb_delivery_create_sls create a delivery order according to the sales order 4,
Bapi_ Billingdoc_createmultiple,
Bapi_ Salesorder_change modify or delete the sales order 6. mb_cancel_goods_movement offset the delivery order for delivery 7,
Bapi_ Billingdoc_cancel invoice offset 8,
Bapi_ Outb_delivery_change modify outgoing delivery order 9, sd_delivery_update_picking modify outgoing delivery order pick-up quantity 10, ws_delivery_update outgoing delivery order delivery pass PM module 1,
Bapi_ Objcl_create,
Bapi_ Objcl_change,
Bapi_ Objcl_getdetail metering point general attributes import 2. measurem_1__rfc_single_001 create fi module for metering creden1 1. k_hierarchy_tables_read cost element group details 2,
Bapi_ Acc_document_post: create accounting creden3 3,
Bapi_ Acc_document_rev_post
RepeatAccounting credenps PS Module 1,
Bapi_ Ps_initialization,
Bapi_ Bus2001_create,
Bapi_ Ps_precommit
Create a Project Definition 2,
Bapi_ Ps_initialization,
Bapi_ Bus2054_create_multi,
Bapi_ Ps_precommit
When creating WBS, pay attention to the wbs_left and wbs_up parameters. This is the 3 and kbpp_extern_update_co parameters required for creating hierarchical WBS. Modify the project and WBS budget.