Sap abap common functions (supplement ......)

Source: Internet
Author: User

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.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.