*This is a SAP ABAP TECHNICAL demo FOR AS01,Be careful to use in your system,just FYI.Creates an Asset
*If you have any solution,Please feel free to talk with your IT team/SAP ABAP professional guys.Creates an Asset
*You can use this method to create asset master records.
*
*To create an asset using this method, you need the same authorizations
*as you do for creating an asset in dialog mode.
*It is <ZH>not possible to transfer investment support.
*INCLUDE AFLE_BAPI_PARAMETER OBJECT DOKU ID TX
*
REPORT ZDEMO_BAPI_FIXEDASSET_CREATE1.
PARAMETERS SAMPLE AS CHECKBOX.
INITIALIZATION.
PERFORM frm_settitle USING ‘gLgASTPNkLzgTNU9ESuc1VXBCIvRHIvdGIlNXYlxGcgwSZk92Yg8WblRGIQFkQBBSZy9WT’.
START-OF-SELECTION.
BREAK-POINT..
**********************************************************************
*******Defination of Work Area Structrue [Import]-[KEY ] . “”Key Fields for Create
**********************************************************************
DATA: LS_KEY TYPE BAPI1022_KEY . “”Key Fields for Create
LS_KEY-COMPANYCODE = ‘CHAR4’. “Company Code
LS_KEY-ASSET = ‘CHAR12’. “Asset
LS_KEY-SUBNUMBER = ‘CHAR4’. “Sub-number
**********************************************************************
*******Defination of Work Area Structrue [Import]-[REFERENCE ] . “”Reference asset for creating
**********************************************************************
DATA: LS_REFERENCE TYPE BAPI1022_REFERENCE . “”Reference asset for creating
LS_REFERENCE-COMPANYCODE = ‘CHAR4’. “Company Code
LS_REFERENCE-ASSET = ‘CHAR12’. “Asset
LS_REFERENCE-SUBNUMBER = ‘CHAR4’. “Sub-number
DATA: LV_CREATESUBNUMBER TYPE BAPI1022_MISC-XSUBNO .”Obligatory
DATA: LV_POSTCAP TYPE BAPI1022_MISC-POSTCAP .”Obligatory
DATA: LV_CREATEGROUPASSET TYPE BAPI1022_MISC-XANLGR .”Obligatory
DATA: LV_TESTRUN TYPE BAPI1022_MISC-TESTRUN .”Obligatory
**********************************************************************
*******Defination of Work Area Structrue [Import]-[GENERALDATA ] . “”Logical field group 001 – General data
**********************************************************************
DATA: LS_GENERALDATA TYPE BAPI1022_FEGLG001 . “”Logical field group 001 – General data
LS_GENERALDATA-ASSETCLASS = ‘CHAR8’. “Asset class
LS_GENERALDATA-DESCRIPT = ‘CHAR50’. “Description
LS_GENERALDATA-DESCRIPT2 = ‘CHAR50’. “Additional Description
LS_GENERALDATA-ACCT_DETRM = ‘CHAR8’. “Acct Determination
LS_GENERALDATA-SERIAL_NO = ‘CHAR18’. “Serial Number
LS_GENERALDATA-INVENT_NO = ‘CHAR25’. “Inventory number
LS_GENERALDATA-QUANTITY = ‘QUAN13’. “Quantity
LS_GENERALDATA-BASE_UOM = ‘UNIT3’. “Base Unit of Measure
LS_GENERALDATA-BASE_UOM_ISO = ‘CHAR3’. “Base unit ISO code
LS_GENERALDATA-HISTORY = ‘CHAR1’. “Manage historically
LS_GENERALDATA-MAIN_DESCRIPT = ‘CHAR50’. “Asset Main No. Text
**********************************************************************
*******Defination of Work Area Structrue [Import]-[GENERALDATAX ] . “”Logical field group 001 – General data
**********************************************************************
DATA: LS_GENERALDATAX TYPE BAPI1022_FEGLG001X . “”Logical field group 001 – General data
LS_GENERALDATAX-ASSETCLASS = ‘CHAR1’. “Updated info. user data field
LS_GENERALDATAX-DESCRIPT = ‘CHAR1’. “Updated info. user data field
LS_GENERALDATAX-DESCRIPT2 = ‘CHAR1’. “Updated info. user data field
LS_GENERALDATAX-ACCT_DETRM = ‘CHAR1’. “Updated info. user data field
LS_GENERALDATAX-SERIAL_NO = ‘CHAR1’. “Updated info. user data field
LS_GENERALDATAX-INVENT_NO = ‘CHAR1’. “Updated info. user data field
LS_GENERALDATAX-QUANTITY = ‘CHAR1’. “Updated info. user data field
LS_GENERALDATAX-BASE_UOM = ‘CHAR1’. “Updated info. user data field
LS_GENERALDATAX-BASE_UOM_ISO = ‘CHAR1’. “Updated info. user data field
LS_GENERALDATAX-HISTORY = ‘CHAR1’. “Updated info. user data field
LS_GENERALDATAX-MAIN_DESCRIPT = ‘CHAR1’. “Updated info. user data field
**********************************************************************
*******Defination of Work Area Structrue [Import]-[INVENTORY ] . “”Logical field group 011 – Inventory
**********************************************************************
DATA: LS_INVENTORY TYPE BAPI1022_FEGLG011 . “”Logical field group 011 – Inventory
LS_INVENTORY-DATE = ‘20241208’. “Last Inventory On
LS_INVENTORY-NOTE = ‘CHAR15’. “Inventory Note
LS_INVENTORY-INCLUDE_IN_LIST = ‘CHAR1’. “Include Asset
**********************************************************************
*******Defination of Work Area Structrue [Import]-[INVENTORYX ] . “”Logical field group 011 – Inventory
**********************************************************************
DATA: LS_INVENTORYX TYPE BAPI1022_FEGLG011X . “”Logical field group 011 – Inventory
LS_INVENTORYX-DATE = ‘CHAR1’. “Updated info. user data field
LS_INVENTORYX-NOTE = ‘CHAR1’. “Updated info. user data field
LS_INVENTORYX-INCLUDE_IN_LIST = ‘CHAR1’. “Updated info. user data field
**********************************************************************
*******Defination of Work Area Structrue [Import]-[POSTINGINFORMATION ] . “”Logical field group 002 – Posting information
**********************************************************************
DATA: LS_POSTINGINFORMATION TYPE BAPI1022_FEGLG002 . “”Logical field group 002 – Posting information
LS_POSTINGINFORMATION-CAP_DATE = ‘20241208’. “Activated On
LS_POSTINGINFORMATION-DEACT_DATE = ‘20241208’. “Deactivation On
LS_POSTINGINFORMATION-INITIAL_ACQ = ‘20241208’. “First Acquisition On
LS_POSTINGINFORMATION-INITIAL_ACQ_YR = ‘NUMC4’. “Acquisition Year
LS_POSTINGINFORMATION-INITIAL_ACQ_PRD = ‘NUMC3’. “First Acquis. Period
LS_POSTINGINFORMATION-PLRET_DATE = ‘20241208’. “Plnd Retirement On
LS_POSTINGINFORMATION-PO_DATE = ‘20241208’. “Ordered On
LS_POSTINGINFORMATION-CAP_KEY = ‘CHAR6’. “Results analysis key
**********************************************************************
*******Defination of Work Area Structrue [Import]-[POSTINGINFORMATIONX ] . “”Logical field group 002 – Posting information
**********************************************************************
DATA: LS_POSTINGINFORMATIONX TYPE BAPI1022_FEGLG002X . “”Logical field group 002 – Posting information
LS_POSTINGINFORMATIONX-CAP_DATE = ‘CHAR1’. “Updated info. user data field
LS_POSTINGINFORMATIONX-DEACT_DATE = ‘CHAR1’. “Updated info. user data field
LS_POSTINGINFORMATIONX-INITIAL_ACQ = ‘CHAR1’. “Updated info. user data field
LS_POSTINGINFORMATIONX-INITIAL_ACQ_YR = ‘CHAR1’. “Updated info. user data field
LS_POSTINGINFORMATIONX-INITIAL_ACQ_PRD = ‘CHAR1’. “Updated info. user data field
LS_POSTINGINFORMATIONX-PLRET_DATE = ‘CHAR1’. “Updated info. user data field
LS_POSTINGINFORMATIONX-PURCH_ORD_DATE = ‘CHAR1’. “Updated info. user data field
LS_POSTINGINFORMATIONX-CAP_KEY = ‘CHAR1’. “Updated info. user data field
**********************************************************************
*******Defination of Work Area Structrue [Import]-[TIMEDEPENDENTDATA ] . “”Logical field group 003 – Time-dependent data
**********************************************************************
DATA: LS_TIMEDEPENDENTDATA TYPE BAPI1022_FEGLG003 . “”Logical field group 003 – Time-dependent data
LS_TIMEDEPENDENTDATA-FROM_DATE = ‘20241208’. “Valid From
LS_TIMEDEPENDENTDATA-TO_DATE = ‘20241208’. “Valid To
LS_TIMEDEPENDENTDATA-BUS_AREA = ‘CHAR4’. “Business Area
LS_TIMEDEPENDENTDATA-COSTCENTER = ‘CHAR10’. “Cost Center
LS_TIMEDEPENDENTDATA-RESP_CCTR = ‘CHAR10’. “Resp. Cost Center
LS_TIMEDEPENDENTDATA-ACTTYPE = ‘CHAR6’. “Activity Type
LS_TIMEDEPENDENTDATA-INTERN_ORD = ‘CHAR12’. “Order
LS_TIMEDEPENDENTDATA-MAINT_ORD = ‘CHAR12’. “Maintenance Order
LS_TIMEDEPENDENTDATA-PLANT = ‘CHAR4’. “Plant
LS_TIMEDEPENDENTDATA-LOCATION = ‘CHAR10’. “Location
LS_TIMEDEPENDENTDATA-ROOM = ‘CHAR8’. “Room
LS_TIMEDEPENDENTDATA-PLATE_NO = ‘CHAR15’. “License Plate Number
LS_TIMEDEPENDENTDATA-PERSON_NO = ‘NUMC8’. “Personnel Number
LS_TIMEDEPENDENTDATA-SHIFT_FACT = ‘DEC3’. “Shift Factor
LS_TIMEDEPENDENTDATA-SHUTDOWN = ‘CHAR1’. “Asset Shutdown
LS_TIMEDEPENDENTDATA-FUND = ‘CHAR10’. “Fund
LS_TIMEDEPENDENTDATA-FUNC_AREA = ‘CHAR4’. “Functional Area
LS_TIMEDEPENDENTDATA-GRANT_NBR = ‘CHAR20’. “Grant
LS_TIMEDEPENDENTDATA-FUNC_AREA_LONG = ‘CHAR16’. “Functional Area
LS_TIMEDEPENDENTDATA-FUNDS_CTR = ‘CHAR16’. “Funds Center
LS_TIMEDEPENDENTDATA-FUND_APC = ‘CHAR10’. “Fund
LS_TIMEDEPENDENTDATA-FUNC_AREA_APC = ‘CHAR16’. “Functional Area
LS_TIMEDEPENDENTDATA-GRANT_NBR_APC = ‘CHAR20’. “Grant
LS_TIMEDEPENDENTDATA-FUNDS_CTR_APC = ‘CHAR16’. “Funds Center
LS_TIMEDEPENDENTDATA-WBS_ELEMENT_COST = ‘CHAR24’. “WBS Element for Costs
LS_TIMEDEPENDENTDATA-TAXJURCODE = ‘CHAR15’. “Tax Jurisdiction
LS_TIMEDEPENDENTDATA-RL_EST_KEY = ‘CHAR8’. “Real Estate Key
LS_TIMEDEPENDENTDATA-RL_EST_KEY_EXT = ‘CHAR40’. “Ext. Real Estate Key
LS_TIMEDEPENDENTDATA-BUDGET_PERIOD = ‘CHAR10’. “Budget Period
LS_TIMEDEPENDENTDATA-BUDGET_PERIOD_APC = ‘CHAR10’. “Budget Period
LS_TIMEDEPENDENTDATA-SEGMENT = ‘CHAR10’. “Segment
LS_TIMEDEPENDENTDATA-PROFIT_CTR = ‘CHAR10’. “Profit Center
**********************************************************************
*******Defination of Work Area Structrue [Import]-[TIMEDEPENDENTDATAX ] . “”Logical field group 003 – Time-dependent data
**********************************************************************
DATA: LS_TIMEDEPENDENTDATAX TYPE BAPI1022_FEGLG003X . “”Logical field group 003 – Time-dependent data
LS_TIMEDEPENDENTDATAX-FROM_DATE = ‘CHAR1’. “Updated info. user data field
LS_TIMEDEPENDENTDATAX-TO_DATE = ‘CHAR1’. “Updated info. user data field
LS_TIMEDEPENDENTDATAX-BUS_AREA = ‘CHAR1’. “Updated info. user data field
LS_TIMEDEPENDENTDATAX-COSTCENTER = ‘CHAR1’. “Updated info. user data field
LS_TIMEDEPENDENTDATAX-RESP_CCTR = ‘CHAR1’. “Updated info. user data field
LS_TIMEDEPENDENTDATAX-ACTTYPE = ‘CHAR1’. “Updated info. user data field
LS_TIMEDEPENDENTDATAX-INTERN_ORD = ‘CHAR1’. “Updated info. user data field
LS_TIMEDEPENDENTDATAX-MAINT_ORD = ‘CHAR1’. “Updated info. user data field
LS_TIMEDEPENDENTDATAX-PLANT = ‘CHAR1’. “Updated info. user data field
LS_TIMEDEPENDENTDATAX-LOCATION = ‘CHAR1’. “Updated info. user data field
LS_TIMEDEPENDENTDATAX-ROOM = ‘CHAR1’. “Updated info. user data field
LS_TIMEDEPENDENTDATAX-LICENSE_PLATE_NO = ‘CHAR1’. “Updated info. user data field
LS_TIMEDEPENDENTDATAX-PERSON_NO = ‘CHAR1’. “Updated info. user data field
LS_TIMEDEPENDENTDATAX-SHIFT_FACT = ‘CHAR1’. “Updated info. user data field
LS_TIMEDEPENDENTDATAX-SHUTDOWN = ‘CHAR1’. “Updated info. user data field
LS_TIMEDEPENDENTDATAX-FUND = ‘CHAR1’. “Updated info. user data field
LS_TIMEDEPENDENTDATAX-FUNC_AREA = ‘CHAR1’. “Updated info. user data field
LS_TIMEDEPENDENTDATAX-GRANT_NBR = ‘CHAR1’. “Updated info. user data field
LS_TIMEDEPENDENTDATAX-FUNC_AREA_LONG = ‘CHAR1’. “Updated info. user data field
LS_TIMEDEPENDENTDATAX-FUNDS_CTR = ‘CHAR1’. “Updated info. user data field
LS_TIMEDEPENDENTDATAX-FUND_APC = ‘CHAR1’. “Updated info. user data field
LS_TIMEDEPENDENTDATAX-FUNC_AREA_APC = ‘CHAR1’. “Updated info. user data field
LS_TIMEDEPENDENTDATAX-GRANT_NBR_APC = ‘CHAR1’. “Updated info. user data field
LS_TIMEDEPENDENTDATAX-FUNDS_CTR_APC = ‘CHAR1’. “Updated info. user data field
LS_TIMEDEPENDENTDATAX-WBS_ELEMENT_COST = ‘CHAR1’. “Updated info. user data field
LS_TIMEDEPENDENTDATAX-TAXJURCODE = ‘CHAR1’. “Updated info. user data field
LS_TIMEDEPENDENTDATAX-RL_EST_KEY = ‘CHAR1’. “Updated info. user data field
LS_TIMEDEPENDENTDATAX-RL_EST_KEY_EXT = ‘CHAR1’. “Updated info. user data field
LS_TIMEDEPENDENTDATAX-BUDGET_PERIOD = ‘CHAR1’. “Updated info. user data field
LS_TIMEDEPENDENTDATAX-BUDGET_PERIOD_APC = ‘CHAR1’. “Updated info. user data field
LS_TIMEDEPENDENTDATAX-SEGMENT = ‘CHAR1’. “Updated info. user data field
LS_TIMEDEPENDENTDATAX-PROFIT_CTR = ‘CHAR1’. “Updated info. user data field
**********************************************************************
*******Defination of Work Area Structrue [Import]-[ALLOCATIONS ] . “”Logical field group 004 – Allocations
**********************************************************************
DATA: LS_ALLOCATIONS TYPE BAPI1022_FEGLG004 . “”Logical field group 004 – Allocations
LS_ALLOCATIONS-EVALGROUP1 = ‘CHAR4’. “Evaluation Group 1
LS_ALLOCATIONS-EVALGROUP2 = ‘CHAR4’. “Evaluation Group 2
LS_ALLOCATIONS-EVALGROUP3 = ‘CHAR4’. “Evaluation Group 3
LS_ALLOCATIONS-EVALGROUP4 = ‘CHAR4’. “Evaluation Group 4
LS_ALLOCATIONS-EVALGROUP5 = ‘CHAR8’. “Sort Key 5
LS_ALLOCATIONS-INV_REASON = ‘CHAR2’. “Reason for Investmt
LS_ALLOCATIONS-ENVIR_INVEST = ‘CHAR5’. “Envir. Investment
LS_ALLOCATIONS-ASSETSUPNO = ‘CHAR12’. “Asset super number
**********************************************************************
*******Defination of Work Area Structrue [Import]-[ALLOCATIONSX ] . “”Logical field group 004 – Allocations
**********************************************************************
DATA: LS_ALLOCATIONSX TYPE BAPI1022_FEGLG004X . “”Logical field group 004 – Allocations
LS_ALLOCATIONSX-EVALGROUP1 = ‘CHAR1’. “Updated info. user data field
LS_ALLOCATIONSX-EVALGROUP2 = ‘CHAR1’. “Updated info. user data field
LS_ALLOCATIONSX-EVALGROUP3 = ‘CHAR1’. “Updated info. user data field
LS_ALLOCATIONSX-EVALGROUP4 = ‘CHAR1’. “Updated info. user data field
LS_ALLOCATIONSX-EVALGROUP5 = ‘CHAR1’. “Updated info. user data field
LS_ALLOCATIONSX-INV_REASON = ‘CHAR1’. “Updated info. user data field
LS_ALLOCATIONSX-ENVIR_INVEST = ‘CHAR1’. “Updated info. user data field
LS_ALLOCATIONSX-ASSETSUPNO = ‘CHAR1’. “Updated info. user data field
**********************************************************************
*******Defination of Work Area Structrue [Import]-[ORIGIN ] . “”Logical field group 009 – Origin
**********************************************************************
DATA: LS_ORIGIN TYPE BAPI1022_FEGLG009 . “”Logical field group 009 – Origin
LS_ORIGIN-VENDOR_NO = ‘CHAR10’. “Supplier
LS_ORIGIN-VENDOR = ‘CHAR30’. “Supplier Name
LS_ORIGIN-MANUFACTURER = ‘CHAR30’. “Manufacturer
LS_ORIGIN-PURCH_NEW = ‘CHAR1’. “Asset purchased new
LS_ORIGIN-TRADE_ID = ‘CHAR6’. “Trading partner
LS_ORIGIN-COUNTRY = ‘CHAR3’. “Ctry/Reg. of Origin
LS_ORIGIN-COUNTRY_ISO = ‘CHAR2’. “Country/Region ISO
LS_ORIGIN-TYPE_NAME = ‘CHAR15’. “Type Name
LS_ORIGIN-ORIG_ASSET = ‘CHAR12’. “Original Asset
LS_ORIGIN-ORIG_ASSET_SUBNO = ‘CHAR4’. “Asset Subnumber AuC
LS_ORIGIN-ORIG_ACQ_DATE = ‘20241208’. “Acq. Orig. Asset On
LS_ORIGIN-ORIG_ACQ_YR = ‘NUMC4’. “Org.Acquisition Year
LS_ORIGIN-ORIG_VALUE = ‘DEC23’. “Original Value
LS_ORIGIN-CURRENCY = ‘CUKY5’. “Currency
LS_ORIGIN-CURRENCY_ISO = ‘CHAR3’. “ISO Currency Code
LS_ORIGIN-INHOUSE_PROD_PERCENTAGE = ‘DEC5’. “In-House Prod.Perc.
**********************************************************************
*******Defination of Work Area Structrue [Import]-[ORIGINX ] . “”Logical field group 009 – Origin
**********************************************************************
DATA: LS_ORIGINX TYPE BAPI1022_FEGLG009X . “”Logical field group 009 – Origin
LS_ORIGINX-VENDOR_NO = ‘CHAR1’. “Updated info. user data field
LS_ORIGINX-VENDOR = ‘CHAR1’. “Updated info. user data field
LS_ORIGINX-MANUFACTURER = ‘CHAR1’. “Updated info. user data field
LS_ORIGINX-PURCH_NEW = ‘CHAR1’. “Updated info. user data field
LS_ORIGINX-TRADE_ID = ‘CHAR1’. “Updated info. user data field
LS_ORIGINX-COUNTRY = ‘CHAR1’. “Updated info. user data field
LS_ORIGINX-TYPE_NAME = ‘CHAR1’. “Updated info. user data field
LS_ORIGINX-ORIG_ASSET = ‘CHAR1’. “Updated info. user data field
LS_ORIGINX-ORIG_ASSET_SUBNO = ‘CHAR1’. “Updated info. user data field
LS_ORIGINX-ORIG_ACQ_DATE = ‘CHAR1’. “Updated info. user data field
LS_ORIGINX-ORIG_ACQ_YEAR = ‘CHAR1’. “Updated info. user data field
LS_ORIGINX-ORIG_VALUE = ‘CHAR1’. “Updated info. user data field
LS_ORIGINX-CURRENCY = ‘CHAR1’. “Updated info. user data field
LS_ORIGINX-CURRENCY_ISO = ‘CHAR1’. “Updated info. user data field
LS_ORIGINX-INHOUSE_PROD_PERCENTAGE = ‘CHAR1’. “Updated info. user data field
**********************************************************************
*******Defination of Work Area Structrue [Import]-[INVESTACCTASSIGNMNT ] . “”Logical field group 010 – Investment account assignment
**********************************************************************
DATA: LS_INVESTACCTASSIGNMNT TYPE BAPI1022_FEGLG010 . “”Logical field group 010 – Investment account assignment
LS_INVESTACCTASSIGNMNT-INVEST_ORD = ‘CHAR12’. “Capital Inv. Order
LS_INVESTACCTASSIGNMNT-WBS_ELEM = ‘NUMC8’. “WBS Element
LS_INVESTACCTASSIGNMNT-WBS_ELEMENT = ‘CHAR24’. “WBS Element
**********************************************************************
*******Defination of Work Area Structrue [Import]-[INVESTACCTASSIGNMNTX ] . “”Logical field group 010 – Investment account assignment
**********************************************************************
DATA: LS_INVESTACCTASSIGNMNTX TYPE BAPI1022_FEGLG010X . “”Logical field group 010 – Investment account assignment
LS_INVESTACCTASSIGNMNTX-INVEST_ORD = ‘CHAR1’. “Updated info. user data field
LS_INVESTACCTASSIGNMNTX-WBS_ELEM = ‘CHAR1’. “Updated info. user data field
LS_INVESTACCTASSIGNMNTX-WBS_ELEMENT = ‘CHAR1’. “Updated info. user data field
**********************************************************************
*******Defination of Work Area Structrue [Import]-[NETWORTHVALUATION ] . “”Logical field group 006 – Net worth valuation
**********************************************************************
DATA: LS_NETWORTHVALUATION TYPE BAPI1022_FEGLG006 . “”Logical field group 006 – Net worth valuation
LS_NETWORTHVALUATION-CLASS_KEY = ‘CHAR4’. “Classification Key
LS_NETWORTHVALUATION-PROP_IND = ‘CHAR1’. “Property Indicator
LS_NETWORTHVALUATION-MAN_PROP_VAL_REASON = ‘CHAR3’. “Reason for Man. Val.
LS_NETWORTHVALUATION-MAN_PROP_VAL = ‘DEC23’. “Man.Net Wrth Val.
LS_NETWORTHVALUATION-CURRENCY = ‘CUKY5’. “Currency
LS_NETWORTHVALUATION-CURRENCY_ISO = ‘CHAR3’. “ISO Currency Code
LS_NETWORTHVALUATION-MAN_PROP_VAL_IND = ‘CHAR1’. “Manual Net Worth Val
**********************************************************************
*******Defination of Work Area Structrue [Import]-[NETWORTHVALUATIONX ] . “”Logical field group 006 – Net worth valuation
**********************************************************************
DATA: LS_NETWORTHVALUATIONX TYPE BAPI1022_FEGLG006X . “”Logical field group 006 – Net worth valuation
LS_NETWORTHVALUATIONX-CLASS_KEY = ‘CHAR1’. “Updated info. user data field
LS_NETWORTHVALUATIONX-PROP_IND = ‘CHAR1’. “Updated info. user data field
LS_NETWORTHVALUATIONX-MAN_PROP_VAL_REASON = ‘CHAR1’. “Updated info. user data field
LS_NETWORTHVALUATIONX-MAN_PROP_VAL = ‘CHAR1’. “Updated info. user data field
LS_NETWORTHVALUATIONX-CURRENCY = ‘CHAR1’. “Updated info. user data field
LS_NETWORTHVALUATIONX-CURRENCY_ISO = ‘CHAR1’. “Updated info. user data field
LS_NETWORTHVALUATIONX-MAN_PROP_VAL_IND = ‘CHAR1’. “Updated info. user data field
**********************************************************************
*******Defination of Work Area Structrue [Import]-[REALESTATE ] . “”Logical field group 007 – Real estate and similar rights
**********************************************************************
DATA: LS_REALESTATE TYPE BAPI1022_FEGLG007 . “”Logical field group 007 – Real estate and similar rights
LS_REALESTATE-TAX_OFFICE = ‘CHAR25’. “Tax Office
LS_REALESTATE-TAX_NO = ‘CHAR16’. “Assmt Notice Tax No.
LS_REALESTATE-ASSESSMENT_NOTICE_DATE = ‘20241208’. “Notice On
LS_REALESTATE-MUNICIPALITY = ‘CHAR25’. “Municipality
LS_REALESTATE-LNDREG_DATE = ‘20241208’. “Land Register Of
LS_REALESTATE-LNDREG_ENTRY_DATE = ‘20241208’. “Entry By
LS_REALESTATE-LNDREG_VOL = ‘CHAR5’. “Vol./Page/Ser.No
LS_REALESTATE-LNDREG_PG = ‘CHAR5’. “Land Register Page
LS_REALESTATE-LNDREG_NO = ‘CHAR4’. “LandRegEntry SeqNo.
LS_REALESTATE-LNDREG_MAP_NO = ‘CHAR4’. “Ld.Reg.Map/Plot
LS_REALESTATE-LNDREG_PLOT_NO = ‘CHAR10’. “Plot Number
LS_REALESTATE-CONVEYANCE_DATE = ‘20241208’. “Conveyance On
LS_REALESTATE-AREA = ‘QUAN13’. “Area
LS_REALESTATE-AREA_UOM = ‘UNIT3’. “Area Unit
LS_REALESTATE-AREA_UOM_ISO = ‘CHAR3’. “Base unit ISO code
**********************************************************************
*******Defination of Work Area Structrue [Import]-[REALESTATEX ] . “”Logical field group 007 – Real estate and similar rights
**********************************************************************
DATA: LS_REALESTATEX TYPE BAPI1022_FEGLG007X . “”Logical field group 007 – Real estate and similar rights
LS_REALESTATEX-TAX_OFFICE = ‘CHAR1’. “Updated info. user data field
LS_REALESTATEX-TAX_NO = ‘CHAR1’. “Updated info. user data field
LS_REALESTATEX-ASSESSMENT_NOTICE_DATE = ‘CHAR1’. “Updated info. user data field
LS_REALESTATEX-MUNICIPALITY = ‘CHAR1’. “Updated info. user data field
LS_REALESTATEX-LNDREG_DATE = ‘CHAR1’. “Updated info. user data field
LS_REALESTATEX-LNDREG_ENTRY_DATE = ‘CHAR1’. “Updated info. user data field
LS_REALESTATEX-LNDREG_VOL = ‘CHAR1’. “Updated info. user data field
LS_REALESTATEX-LNDREG_PG = ‘CHAR1’. “Updated info. user data field
LS_REALESTATEX-LNDREG_NO = ‘CHAR1’. “Updated info. user data field
LS_REALESTATEX-LNDREG_MAP_NO = ‘CHAR1’. “Updated info. user data field
LS_REALESTATEX-LNDREG_PLOT_NO = ‘CHAR1’. “Updated info. user data field
LS_REALESTATEX-CONVEYANCE_DATE = ‘CHAR1’. “Updated info. user data field
LS_REALESTATEX-AREA = ‘CHAR1’. “Updated info. user data field
LS_REALESTATEX-AREA_UOM = ‘CHAR1’. “Updated info. user data field
LS_REALESTATEX-AREA_UOM_ISO = ‘CHAR1’. “Updated info. user data field
**********************************************************************
*******Defination of Work Area Structrue [Import]-[INSURANCE ] . “”Logical field group 008 – Insurance
**********************************************************************
DATA: LS_INSURANCE TYPE BAPI1022_FEGLG008 . “”Logical field group 008 – Insurance
LS_INSURANCE-TYPE = ‘CHAR2’. “Type
LS_INSURANCE-COMPANY = ‘CHAR2’. “Company
LS_INSURANCE-POLICY_NO = ‘CHAR15’. “Policy Number
LS_INSURANCE-TEXT = ‘CHAR50’. “Suppl. Text
LS_INSURANCE-START_DATE = ‘20241208’. “Start Date
LS_INSURANCE-PREMIUM = ‘CHAR5’. “Insurance Rate
LS_INSURANCE-INDEX = ‘CHAR5’. “Index Series
LS_INSURANCE-BASE_VALUE = ‘DEC23’. “Base Value
LS_INSURANCE-CURRENCY = ‘CUKY5’. “Currency
LS_INSURANCE-CURRENCY_ISO = ‘CHAR3’. “ISO Currency Code
LS_INSURANCE-BASE_VAL_MAN_UPD = ‘CHAR1’. “Manual Update
LS_INSURANCE-MAN_INS_VAL = ‘DEC23’. “Man.Insur.Val.
LS_INSURANCE-MAN_INS_VAL_MAINT_YR = ‘NUMC4’. “Manual Maint.Year
LS_INSURANCE-CUR_INS_VALUE = ‘DEC23’. “Cur.Ins.Value
LS_INSURANCE-CUR_INS_VALUE_MAINT_YR = ‘NUMC4’. “Ins.value FY
**********************************************************************
*******Defination of Work Area Structrue [Import]-[INSURANCEX ] . “”Logical field group 008 – Insurance
**********************************************************************
DATA: LS_INSURANCEX TYPE BAPI1022_FEGLG008X . “”Logical field group 008 – Insurance
LS_INSURANCEX-TYPE = ‘CHAR1’. “Updated info. user data field
LS_INSURANCEX-COMPANY = ‘CHAR1’. “Updated info. user data field
LS_INSURANCEX-POLICY_NO = ‘CHAR1’. “Updated info. user data field
LS_INSURANCEX-TEXT = ‘CHAR1’. “Updated info. user data field
LS_INSURANCEX-START_DATE = ‘CHAR1’. “Updated info. user data field
LS_INSURANCEX-PREMIUM = ‘CHAR1’. “Updated info. user data field
LS_INSURANCEX-INDEX = ‘CHAR1’. “Updated info. user data field
LS_INSURANCEX-BASE_VALUE = ‘CHAR1’. “Updated info. user data field
LS_INSURANCEX-CURRENCY = ‘CHAR1’. “Updated info. user data field
LS_INSURANCEX-CURRENCY_ISO = ‘CHAR1’. “Updated info. user data field
LS_INSURANCEX-BASE_VAL_MAN_UPD = ‘CHAR1’. “Updated info. user data field
LS_INSURANCEX-MAN_INS_VAL = ‘CHAR1’. “Updated info. user data field
LS_INSURANCEX-MAN_INS_VAL_MAINT_YR = ‘CHAR1’. “Updated info. user data field
LS_INSURANCEX-CRNT_INS_VALUE = ‘CHAR1’. “Updated info. user data field
LS_INSURANCEX-CRNT_INS_VALUE_MAINT_YR = ‘CHAR1’. “Updated info. user data field
**********************************************************************
*******Defination of Work Area Structrue [Import]-[LEASING ] . “”Logical field group 005 – Leasing
**********************************************************************
DATA: LS_LEASING TYPE BAPI1022_FEGLG005 . “”Logical field group 005 – Leasing
LS_LEASING-COMPANY = ‘CHAR10’. “Leasing Company
LS_LEASING-AGRMNT_NO = ‘CHAR15’. “Agreement Number
LS_LEASING-AGRMNTDATE = ‘20241208’. “Agreement Date
LS_LEASING-NOTICEDATE = ‘20241208’. “Notice Date
LS_LEASING-START_DATE = ‘20241208’. “Lease Start Date
LS_LEASING-LNGTH_YRS = ‘NUMC3’. “Lease Length
LS_LEASING-LNGTH_PRDS = ‘NUMC3’. “Lease in Periods
LS_LEASING-TYPE = ‘CHAR2’. “Type
LS_LEASING-BASE_VALUE = ‘DEC23’. “Base Value as New
LS_LEASING-CURRENCY = ‘CUKY5’. “Currency
LS_LEASING-CURRENCY_ISO = ‘CHAR3’. “ISO Currency Code
LS_LEASING-PURCHPRICE = ‘DEC23’. “Purchase Price
LS_LEASING-TEXT = ‘CHAR50’. “Supplementary Text
LS_LEASING-NO_PAYMNTS = ‘DEC5’. “Number of Payments
LS_LEASING-CYCLE = ‘NUMC3’. “Payment Cycle
LS_LEASING-IN_ADVANCE = ‘CHAR1’. “Advance Payments
LS_LEASING-PAYMENT = ‘DEC23’. “Payment Amount
LS_LEASING-INTEREST = ‘DEC7’. “Annual Interest Rate
LS_LEASING-VALUE = ‘DEC23’. “Present Value
**********************************************************************
*******Defination of Work Area Structrue [Import]-[LEASINGX ] . “”Logical field group 005 – Leasing
**********************************************************************
DATA: LS_LEASINGX TYPE BAPI1022_FEGLG005X . “”Logical field group 005 – Leasing
LS_LEASINGX-COMPANY = ‘CHAR1’. “Updated info. user data field
LS_LEASINGX-AGRMNT_NO = ‘CHAR1’. “Updated info. user data field
LS_LEASINGX-AGRMNTDATE = ‘CHAR1’. “Updated info. user data field
LS_LEASINGX-NOTICEDATE = ‘CHAR1’. “Updated info. user data field
LS_LEASINGX-START_DATE = ‘CHAR1’. “Updated info. user data field
LS_LEASINGX-LNGTH_YRS = ‘CHAR1’. “Updated info. user data field
LS_LEASINGX-LNGTH_PRDS = ‘CHAR1’. “Updated info. user data field
LS_LEASINGX-TYPE = ‘CHAR1’. “Updated info. user data field
LS_LEASINGX-BASE_VALUE = ‘CHAR1’. “Updated info. user data field
LS_LEASINGX-CURRENCY = ‘CHAR1’. “Updated info. user data field
LS_LEASINGX-CURRENCY_ISO = ‘CHAR1’. “Updated info. user data field
LS_LEASINGX-PURCHPRICE = ‘CHAR1’. “Updated info. user data field
LS_LEASINGX-TEXT = ‘CHAR1’. “Updated info. user data field
LS_LEASINGX-NO_PAYMNTS = ‘CHAR1’. “Updated info. user data field
LS_LEASINGX-CYCLE = ‘CHAR1’. “Updated info. user data field
LS_LEASINGX-IN_ADVANCE = ‘CHAR1’. “Updated info. user data field
LS_LEASINGX-PAYMENT = ‘CHAR1’. “Updated info. user data field
LS_LEASINGX-INTEREST = ‘CHAR1’. “Updated info. user data field
LS_LEASINGX-VALUE = ‘CHAR1’. “Updated info. user data field
**********************************************************************
*******Defination of Work Area Structrue [Import]-[GLO_RUS_GEN ] . “”FI-AA: Russia – Time-Independent General Data (BAPI-struct)
**********************************************************************
DATA: LS_GLO_RUS_GEN TYPE BAPI1022_GLO_RUS_GEN . “”FI-AA: Russia – Time-Independent General Data (BAPI-struct)
LS_GLO_RUS_GEN-DEPR_GROUP = ‘CHAR4’. “Depreciation Group
LS_GLO_RUS_GEN-OKOF_CODE = ‘CHAR9’. “OKOF Code
LS_GLO_RUS_GEN-SERIAL_NUM_LONG = ‘CHAR32’. “RU Serial No.
LS_GLO_RUS_GEN-PREC_MAT_CODES = ‘CHAR30’. “Precious materials codes
LS_GLO_RUS_GEN-PREC_MAT_QUANTS = ‘CHAR40’. “Quantities list
LS_GLO_RUS_GEN-PREC_MAT_WEIGHTS = ‘CHAR50’. “Weights list of precious materials
LS_GLO_RUS_GEN-MATERIAL = ‘CHAR40’. “Material
**********************************************************************
*******Defination of Work Area Structrue [Import]-[GLO_RUS_GENX ] . “”FI-AA: Russia – Time-Independent General Data (BAPI-struct)
**********************************************************************
DATA: LS_GLO_RUS_GENX TYPE BAPI1022_GLO_RUS_GENX . “”FI-AA: Russia – Time-Independent General Data (BAPI-struct)
LS_GLO_RUS_GENX-DEPR_GROUP = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_GENX-OKOF_CODE = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_GENX-SERIAL_NUM_LONG = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_GENX-PREC_MAT_CODES = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_GENX-PREC_MAT_QUANTS = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_GENX-PREC_MAT_WEIGHTS = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_GENX-MATERIAL = ‘CHAR1’. “Updated info. user data field
**********************************************************************
*******Defination of Work Area Structrue [Import]-[GLO_RUS_TRC ] . “”Russia – Traceability
**********************************************************************
DATA: LS_GLO_RUS_TRC TYPE BAPI1022_GLO_RUS_TRC . “”Russia – Traceability
LS_GLO_RUS_TRC-TRACEAB_START = ‘20241208’. “Start date of traceability
LS_GLO_RUS_TRC-TRACEAB_END = ‘20241208’. “End date of traceability
LS_GLO_RUS_TRC-TNVED_CODE = ‘CHAR17’. “TNVED Code
**********************************************************************
*******Defination of Work Area Structrue [Import]-[GLO_RUS_TRCX ] . “”Change Parameters: Russia – Traceability
**********************************************************************
DATA: LS_GLO_RUS_TRCX TYPE BAPI1022_GLO_RUS_TRCX . “”Change Parameters: Russia – Traceability
LS_GLO_RUS_TRCX-TRACEAB_START = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_TRCX-TRACEAB_END = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_TRCX-TNVED_CODE = ‘CHAR1’. “Updated info. user data field
**********************************************************************
*******Defination of Work Area Structrue [Import]-[GLO_RUS_PTX ] . “”FI-AA: Russia – Time-Independent Property Tax (BAPI)
**********************************************************************
DATA: LS_GLO_RUS_PTX TYPE BAPI1022_GLO_RUS_PTX . “”FI-AA: Russia – Time-Independent Property Tax (BAPI)
LS_GLO_RUS_PTX-PROPERTY_TYPE = ‘CHAR1’. “Property Type
LS_GLO_RUS_PTX-PROPERTY_ADDRESS = ‘CHAR10’. “RU Property Address
**********************************************************************
*******Defination of Work Area Structrue [Import]-[GLO_RUS_PTXX ] . “”FI-AA: Russia – Time-Independent Property Tax (BAPI)
**********************************************************************
DATA: LS_GLO_RUS_PTXX TYPE BAPI1022_GLO_RUS_PTXX . “”FI-AA: Russia – Time-Independent Property Tax (BAPI)
LS_GLO_RUS_PTXX-PROPERTY_TYPE = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_PTXX-PROPERTY_ADDRESS = ‘CHAR1’. “Updated info. user data field
**********************************************************************
*******Defination of Work Area Structrue [Import]-[GLO_RUS_TTX ] . “”FI-AA: Russia – Time-Independent Transport Tax (BAPI)
**********************************************************************
DATA: LS_GLO_RUS_TTX TYPE BAPI1022_GLO_RUS_TTX . “”FI-AA: Russia – Time-Independent Transport Tax (BAPI)
LS_GLO_RUS_TTX-TRANSP_TYPE = ‘CHAR5’. “Transport Type
LS_GLO_RUS_TTX-VIN_NUMBER = ‘CHAR30’. “Vehicle Identification Number (VIN)
LS_GLO_RUS_TTX-MANUFACT_DATE = ‘20241208’. “Manufacturing Date
LS_GLO_RUS_TTX-ECO_CLASS = ‘NUMC1’. “Ecological Class
LS_GLO_RUS_TTX-ECO_CLASSN = ‘CHAR1’. “Ecological Class
**********************************************************************
*******Defination of Work Area Structrue [Import]-[GLO_RUS_TTXX ] . “”FI-AA: Russia – Time-Independent Transport Tax (BAPI)
**********************************************************************
DATA: LS_GLO_RUS_TTXX TYPE BAPI1022_GLO_RUS_TTXX . “”FI-AA: Russia – Time-Independent Transport Tax (BAPI)
LS_GLO_RUS_TTXX-TRANSP_TYPE = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_TTXX-VIN_NUMBER = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_TTXX-MANUFACT_DATE = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_TTXX-ECO_CLASS = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_TTXX-ECO_CLASSN = ‘CHAR1’. “Updated info. user data field
**********************************************************************
*******Defination of Work Area Structrue [Import]-[GLO_RUS_LTX ] . “”FI-AA: Russia – Time-Independent Land Tax (BAPI)
**********************************************************************
DATA: LS_GLO_RUS_LTX TYPE BAPI1022_GLO_RUS_LTX . “”FI-AA: Russia – Time-Independent Land Tax (BAPI)
LS_GLO_RUS_LTX-LNDT_OWN_REGN_DATE = ‘20241208’. “Land Ownership Registration Date
LS_GLO_RUS_LTX-LNDT_OWN_TERM_DATE = ‘20241208’. “Land Ownership Termination Date
LS_GLO_RUS_LTX-LNDT_FOR_HOUSING = ‘CHAR1’. “Land Plot for Housing Construction
LS_GLO_RUS_LTX-LNDT_HS_REGN_DATE = ‘20241208’. “Housing Registration Date
**********************************************************************
*******Defination of Work Area Structrue [Import]-[GLO_RUS_LTXX ] . “”FI-AA: Russia – Time-Independent Land Tax (BAPI)
**********************************************************************
DATA: LS_GLO_RUS_LTXX TYPE BAPI1022_GLO_RUS_LTXX . “”FI-AA: Russia – Time-Independent Land Tax (BAPI)
LS_GLO_RUS_LTXX-LNDT_OWN_REGN_DATE = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_LTXX-LNDT_OWN_TERM_DATE = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_LTXX-LNDT_FOR_HOUSING = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_LTXX-LNDT_HS_REGN_DATE = ‘CHAR1’. “Updated info. user data field
**********************************************************************
*******Defination of Work Area Structrue [Import]-[GLO_IN_GEN ] . “”FI-AA: India – Time-Independent General Data (BAPI-struct)
**********************************************************************
DATA: LS_GLO_IN_GEN TYPE BAPI1022_GLO_IN_GEN . “”FI-AA: India – Time-Independent General Data (BAPI-struct)
LS_GLO_IN_GEN-BLOCK_KEY = ‘CHAR5’. “Block Key
LS_GLO_IN_GEN-SUB_BLOCK_KEY = ‘NUMC5’. “Sub Block Key
LS_GLO_IN_GEN-ADD_DEPR = ‘CHAR1’. “Additional Depreciation
LS_GLO_IN_GEN-BL_KEY_ADD_DEPR = ‘NUMC5’. “Block Key for Additional Depreciation
LS_GLO_IN_GEN-RES_DEV_ASSET = ‘CHAR1’. “R & D Asset
LS_GLO_IN_GEN-PUT_TO_USE_DATE = ‘20241208’. “Asset put to use date
LS_GLO_IN_GEN-PRIOR_YEAR_TRAN = ‘CHAR1’. “PriorYear or Not for curr. year calc.
LS_GLO_IN_GEN-ADDNL_BLOCK_KEY = ‘CHAR5’. “Additional Depreciation Block key
**********************************************************************
*******Defination of Work Area Structrue [Import]-[GLO_IN_GENX ] . “”FI-AA: India – Time-Independent General Data (BAPI-struct)
**********************************************************************
DATA: LS_GLO_IN_GENX TYPE BAPI1022_GLO_IN_GENX . “”FI-AA: India – Time-Independent General Data (BAPI-struct)
LS_GLO_IN_GENX-BLOCK_KEY = ‘CHAR1’. “Updated info. user data field
LS_GLO_IN_GENX-SUB_BLOCK_KEY = ‘CHAR1’. “Updated info. user data field
LS_GLO_IN_GENX-ADD_DEPR = ‘CHAR1’. “Updated info. user data field
LS_GLO_IN_GENX-BL_KEY_ADD_DEPR = ‘CHAR1’. “Updated info. user data field
LS_GLO_IN_GENX-RES_DEV_ASSET = ‘CHAR1’. “Updated info. user data field
LS_GLO_IN_GENX-PUT_TO_USE_DATE = ‘CHAR1’. “Updated info. user data field
LS_GLO_IN_GENX-PRIOR_YEAR_TRAN = ‘CHAR1’. “Updated info. user data field
LS_GLO_IN_GENX-ADDNL_BLOCK_KEY = ‘CHAR1’. “Updated info. user data field
**********************************************************************
*******Defination of Work Area Structrue [Import]-[GLO_JP_ANN16 ] . “”FI-AA: Japan – Time-Independent Data for Annex 16
**********************************************************************
DATA: LS_GLO_JP_ANN16 TYPE BAPI1022_GLO_JP_ANN16 . “”FI-AA: Japan – Time-Independent Data for Annex 16
LS_GLO_JP_ANN16-ASSET_STRUCTURE = ‘CHAR5’. “Asset Structure
LS_GLO_JP_ANN16-ASSET_ITEM = ‘CHAR5’. “Asset Item
**********************************************************************
*******Defination of Work Area Structrue [Import]-[GLO_JP_ANN16X ] . “”FI-AA: Japan – Time-Independent Data for Annex 16
**********************************************************************
DATA: LS_GLO_JP_ANN16X TYPE BAPI1022_GLO_JP_ANN16X . “”FI-AA: Japan – Time-Independent Data for Annex 16
LS_GLO_JP_ANN16X-ASSET_STRUCTURE = ‘CHAR1’. “Updated info. user data field
LS_GLO_JP_ANN16X-ASSET_ITEM = ‘CHAR1’. “Updated info. user data field
**********************************************************************
*******Defination of Work Area Structrue [Import]-[GLO_JP_PTX ] . “”FI-AA: Japan – Time-Independent Data for Property Tax (BAPI)
**********************************************************************
DATA: LS_GLO_JP_PTX TYPE BAPI1022_GLO_JP_PTX . “”FI-AA: Japan – Time-Independent Data for Property Tax (BAPI)
LS_GLO_JP_PTX-ADD_DEPR_CODE = ‘CHAR8’. “Additional Depreciation Code
**********************************************************************
*******Defination of Work Area Structrue [Import]-[GLO_JP_PTXX ] . “”FI-AA: Japan – Time-Independent Data for Property Tax (BAPI)
**********************************************************************
DATA: LS_GLO_JP_PTXX TYPE BAPI1022_GLO_JP_PTXX . “”FI-AA: Japan – Time-Independent Data for Property Tax (BAPI)
LS_GLO_JP_PTXX-ADD_DEPR_CODE = ‘CHAR1’. “Updated info. user data field
**********************************************************************
*******Defination of Work Area Structrue [Import]-[GLO_TIME_DEP ] . “”Globalization fields: Date interval of time-dependent data
**********************************************************************
DATA: LS_GLO_TIME_DEP TYPE BAPI1022_GLO_TIME_DEP . “”Globalization fields: Date interval of time-dependent data
LS_GLO_TIME_DEP-FROM_DATE = ‘20241208’. “Valid From
LS_GLO_TIME_DEP-TO_DATE = ‘20241208’. “Valid To
**********************************************************************
*******Defination of Work Area Structrue [Import]-[GLO_RUS_GENTD ] . “”FI-AA: Russia – Time-Dependent General Data (BAPI)
**********************************************************************
DATA: LS_GLO_RUS_GENTD TYPE BAPI1022_GLO_RUS_GENTD . “”FI-AA: Russia – Time-Dependent General Data (BAPI)
LS_GLO_RUS_GENTD-SHUTDOWN_REASON = ‘CHAR4’. “Shutdown Reason
LS_GLO_RUS_GENTD-SHUTDOWN_DOCUM = ‘CHAR32’. “Shutdown Document
LS_GLO_RUS_GENTD-PLEDGED_ASSET = ‘CHAR1’. “Pledged
LS_GLO_RUS_GENTD-PLEDGE_AMOUNT = ‘CURR13’. “Pledge Amount
LS_GLO_RUS_GENTD-PLEDGEE = ‘CHAR10’. “Pledgee
LS_GLO_RUS_GENTD-PLEDGE_DOC_NUM = ‘CHAR32’. “Pledge Document No.
LS_GLO_RUS_GENTD-INV_CARD_NUMBER = ‘CHAR25’. “Inventory Card No.
LS_GLO_RUS_GENTD-OKOF_CODE_NEW = ‘CHAR16’. “New OKOF Code
LS_GLO_RUS_GENTD-DEPR_GROUP_NEW = ‘CHAR4’. “Depreciation Group
LS_GLO_RUS_GENTD-TAX_OFFICE_CODE = ‘CHAR4’. “Tax Office
**********************************************************************
*******Defination of Work Area Structrue [Import]-[GLO_RUS_GENTDX ] . “”FI-AA: Russia – Time-Dependent General Data (BAPI)
**********************************************************************
DATA: LS_GLO_RUS_GENTDX TYPE BAPI1022_GLO_RUS_GENTDX . “”FI-AA: Russia – Time-Dependent General Data (BAPI)
LS_GLO_RUS_GENTDX-SHUTDOWN_REASON = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_GENTDX-SHUTDOWN_DOCUM = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_GENTDX-PLEDGED_ASSET = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_GENTDX-PLEDGE_AMOUNT = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_GENTDX-PLEDGEE = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_GENTDX-PLEDGE_DOC_NUM = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_GENTDX-INV_CARD_NUMBER = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_GENTDX-OKOF_CODE_NEW = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_GENTDX-DEPR_GROUP_NEW = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_GENTDX-TAX_OFFICE_CODE = ‘CHAR1’. “Updated info. user data field
**********************************************************************
*******Defination of Work Area Structrue [Import]-[GLO_RUS_PTXTD ] . “”FI-AA: Russia – Time-Dependent Property Tax (BAPI)
**********************************************************************
DATA: LS_GLO_RUS_PTXTD TYPE BAPI1022_GLO_RUS_PTXTD . “”FI-AA: Russia – Time-Dependent Property Tax (BAPI)
LS_GLO_RUS_PTXTD-PRT_TERR_CODE1 = ‘CHAR2’. “Territorial Code 1
LS_GLO_RUS_PTXTD-PRT_TERR_CODE2 = ‘CHAR3’. “Territorial Code 1
LS_GLO_RUS_PTXTD-PRT_TERR_CODE3 = ‘CHAR3’. “Territorial Code 1
LS_GLO_RUS_PTXTD-PRT_TERR_CODE4 = ‘CHAR3’. “Territorial Code 1
LS_GLO_RUS_PTXTD-PRT_EX_CODE = ‘CHAR4’. “Tax Exemption Code
LS_GLO_RUS_PTXTD-PRT_RED_CODE = ‘CHAR4’. “Tax Reduction
LS_GLO_RUS_PTXTD-PRT_AMRED_CODE = ‘CHAR4’. “Amount Reduction Code
LS_GLO_RUS_PTXTD-PRT_EX_REASON = ‘CHAR1’. “Asset is Non-Taxable
LS_GLO_RUS_PTXTD-PRT_PROP_TYPEN = ‘CHAR2’. “Property Type
LS_GLO_RUS_PTXTD-PRT_SPEC_CAT = ‘CHAR2’. “Special Tax Category
LS_GLO_RUS_PTXTD-PRT_OKTMO = ‘CHAR11’. “OKTMO
LS_GLO_RUS_PTXTD-PRT_SPEC_CATN = ‘CHAR2’. “Special Tax Category
LS_GLO_RUS_PTXTD-PRT_RATE_RED = ‘CHAR10’. “Property Tax Reduction Code
LS_GLO_RUS_PTXTD-PRT_AMRED_CODEN = ‘CHAR10’. “Property Tax Amount Reduction Code
LS_GLO_RUS_PTXTD-PRT_EX_CODEN = ‘CHAR10’. “Tax Exemption Code
LS_GLO_RUS_PTXTD-PRT_PROP_NUM = ‘CHAR80’. “Property Number
LS_GLO_RUS_PTXTD-PRT_PROP_NUM_CD = ‘CHAR1’. “Property Number Type
LS_GLO_RUS_PTXTD-PRT_CAD_VAL = ‘CURR23’. “Property Cadastral Value
LS_GLO_RUS_PTXTD-PRT_PROP_SHARE = ‘CHAR21’. “Share in Common Property
LS_GLO_RUS_PTXTD-PRT_ROOM_FL_AREA = ‘DEC10’. “Room Area
LS_GLO_RUS_PTXTD-PRT_BLD_TOT_AREA = ‘DEC10’. “Area
LS_GLO_RUS_PTXTD-PRT_IS_REAL_ESTATE = ‘CHAR1’. “Is Real Estate
**********************************************************************
*******Defination of Work Area Structrue [Import]-[GLO_RUS_PTXTDX ] . “”FI-AA: Russia – Time-Dependent Property Tax (BAPI)
**********************************************************************
DATA: LS_GLO_RUS_PTXTDX TYPE BAPI1022_GLO_RUS_PTXTDX . “”FI-AA: Russia – Time-Dependent Property Tax (BAPI)
LS_GLO_RUS_PTXTDX-PRT_TERR_CODE1 = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_PTXTDX-PRT_TERR_CODE2 = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_PTXTDX-PRT_TERR_CODE3 = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_PTXTDX-PRT_TERR_CODE4 = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_PTXTDX-PRT_EX_CODE = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_PTXTDX-PRT_RED_CODE = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_PTXTDX-PRT_AMRED_CODE = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_PTXTDX-PRT_EX_REASON = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_PTXTDX-PRT_PROP_TYPEN = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_PTXTDX-PRT_SPEC_CAT = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_PTXTDX-PRT_OKTMO = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_PTXTDX-PRT_SPEC_CATN = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_PTXTDX-PRT_RATE_RED = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_PTXTDX-PRT_AMRED_CODEN = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_PTXTDX-PRT_EX_CODEN = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_PTXTDX-PRT_PROP_NUM = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_PTXTDX-PRT_PROP_NUM_CD = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_PTXTDX-PRT_CAD_VAL = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_PTXTDX-PRT_PROP_SHARE = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_PTXTDX-PRT_ROOM_FL_AREA = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_PTXTDX-PRT_BLD_TOT_AREA = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_PTXTDX-PRT_IS_REAL_ESTATE = ‘CHAR1’. “Updated info. user data field
**********************************************************************
*******Defination of Work Area Structrue [Import]-[GLO_RUS_TTXTD ] . “”FI-AA: Russia – Time-Dependent Transport Tax (BAPI)
**********************************************************************
DATA: LS_GLO_RUS_TTXTD TYPE BAPI1022_GLO_RUS_TTXTD . “”FI-AA: Russia – Time-Dependent Transport Tax (BAPI)
LS_GLO_RUS_TTXTD-POWER_UNIT = ‘UNIT3’. “Power unit
LS_GLO_RUS_TTXTD-POWER_UNIT_ISO = ‘CHAR3’. “Power unit ISO
LS_GLO_RUS_TTXTD-TR_TAX_BASE_UNIT = ‘QUAN13’. “Tax Base Unit
LS_GLO_RUS_TTXTD-TRTAX_EXEM_CODE = ‘CHAR5’. “Tax Exemption Code
LS_GLO_RUS_TTXTD-TRTAX_RED_CODE = ‘CHAR5’. “Tax Reduction Code
LS_GLO_RUS_TTXTD-THEFT_DATE = ‘20241208’. “Date Stolen
LS_GLO_RUS_TTXTD-RETURN_DATE = ‘20241208’. “Return Date
LS_GLO_RUS_TTXTD-REG_DATE = ‘20241208’. “Registration Date
LS_GLO_RUS_TTXTD-CANCEL_DATE = ‘20241208’. “Cancellation Date
LS_GLO_RUS_TTXTD-TRT_TERR_CODE1 = ‘CHAR2’. “Territorial Code 1
LS_GLO_RUS_TTXTD-TRT_TERR_CODE2 = ‘CHAR3’. “Territorial Code 2
LS_GLO_RUS_TTXTD-TRT_TERR_CODE3 = ‘CHAR3’. “Territorial Code 3
LS_GLO_RUS_TTXTD-TRT_TERR_CODE4 = ‘CHAR3’. “Territorial Code 4
LS_GLO_RUS_TTXTD-LICENSE_NUM = ‘CHAR15’. “License Plate Number
LS_GLO_RUS_TTXTD-TRT_AMRED_CODE = ‘CHAR5’. “Amount Reduction Code
LS_GLO_RUS_TTXTD-VEH_PRICE_CATEG = ‘CHAR1’. “Price Category
LS_GLO_RUS_TTXTD-TRT_PLATON_REG = ‘CHAR1’. “Registered in Platon
LS_GLO_RUS_TTXTD-TRT_OKTMO = ‘CHAR11’. “OKTMO Code
LS_GLO_RUS_TTXTD-TRT_RATE_RED = ‘CHAR10’. “Transport Tax Reduction Code
LS_GLO_RUS_TTXTD-TRT_AMRED_CODEN = ‘CHAR10’. “Transport Tax Amount Reduction Code
LS_GLO_RUS_TTXTD-TRT_EX_CODEN = ‘CHAR10’. “Transport Tax Exemption Code
LS_GLO_RUS_TTXTD-TRT_OWN_SHARE = ‘CHAR21’. “Share in Right to Ownership of Transport
**********************************************************************
*******Defination of Work Area Structrue [Import]-[GLO_RUS_TTXTDX ] . “”FI-AA: Russia – Time-Dependent Transport Tax (BAPI)
**********************************************************************
DATA: LS_GLO_RUS_TTXTDX TYPE BAPI1022_GLO_RUS_TTXTDX . “”FI-AA: Russia – Time-Dependent Transport Tax (BAPI)
LS_GLO_RUS_TTXTDX-POWER_UNIT = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_TTXTDX-POWER_UNIT_ISO = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_TTXTDX-TR_TAX_BASE_UNIT = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_TTXTDX-TRTAX_EXEM_CODE = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_TTXTDX-TRTAX_RED_CODE = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_TTXTDX-THEFT_DATE = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_TTXTDX-RETURN_DATE = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_TTXTDX-REG_DATE = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_TTXTDX-CANCEL_DATE = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_TTXTDX-TRT_TERR_CODE1 = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_TTXTDX-TRT_TERR_CODE2 = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_TTXTDX-TRT_TERR_CODE3 = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_TTXTDX-TRT_TERR_CODE4 = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_TTXTDX-LICENSE_NUM = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_TTXTDX-TRT_AMRED_CODE = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_TTXTDX-VEH_PRICE_CATEG = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_TTXTDX-TRT_PLATON_REG = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_TTXTDX-TRT_OKTMO = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_TTXTDX-TRT_RATE_RED = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_TTXTDX-TRT_AMRED_CODEN = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_TTXTDX-TRT_EX_CODEN = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_TTXTDX-TRT_OWN_SHARE = ‘CHAR1’. “Updated info. user data field
**********************************************************************
*******Defination of Work Area Structrue [Import]-[GLO_RUS_LTXTD ] . “”FI-AA: Russia – Time-Dependent Land Tax (BAPI)
**********************************************************************
DATA: LS_GLO_RUS_LTXTD TYPE BAPI1022_GLO_RUS_LTXTD . “”FI-AA: Russia – Time-Dependent Land Tax (BAPI)
LS_GLO_RUS_LTXTD-LNDT_OKTMO = ‘CHAR11’. “OKTMO Code
LS_GLO_RUS_LTXTD-LNDT_SPEC_CAT = ‘CHAR2’. “Special Tax Category
LS_GLO_RUS_LTXTD-LNDT_RATE_RED = ‘CHAR10’. “Tax Rate Reduction Code
LS_GLO_RUS_LTXTD-LNDT_AMRED_CODE = ‘CHAR10’. “Tax Amount Reduction Code
LS_GLO_RUS_LTXTD-LNDT_BSRED_CODE = ‘CHAR10’. “Tax Base Reduction Code
**********************************************************************
*******Defination of Work Area Structrue [Import]-[GLO_RUS_LTXTDX ] . “”FI-AA: Russia – Time-Dependent Land Tax (BAPI)
**********************************************************************
DATA: LS_GLO_RUS_LTXTDX TYPE BAPI1022_GLO_RUS_LTXTDX . “”FI-AA: Russia – Time-Dependent Land Tax (BAPI)
LS_GLO_RUS_LTXTDX-LNDT_OKTMO = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_LTXTDX-LNDT_SPEC_CAT = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_LTXTDX-LNDT_RATE_RED = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_LTXTDX-LNDT_AMRED_CODE = ‘CHAR1’. “Updated info. user data field
LS_GLO_RUS_LTXTDX-LNDT_BSRED_CODE = ‘CHAR1’. “Updated info. user data field
**********************************************************************
*******Defination of Work Area Structrue [Import]-[GLO_JP_IMPTD ] . “”FI-AA Japan – Time Dependent Impairment Data (BAPI)
**********************************************************************
DATA: LS_GLO_JP_IMPTD TYPE BAPI1022_GLO_JP_IMPTD . “”FI-AA Japan – Time Dependent Impairment Data (BAPI)
LS_GLO_JP_IMPTD-IMPAIR_POST_DATE = ‘20241208’. “Date of Impairment posting
LS_GLO_JP_IMPTD-IMPAIR_APC = ‘CURR13’. “Original APC Val.
LS_GLO_JP_IMPTD-IMPAIR_BOOK_VAL = ‘CURR13’. “Book Value
LS_GLO_JP_IMPTD-IMPAIR_APC2 = ‘CURR13’. “Original APC Val.
LS_GLO_JP_IMPTD-IMPAIR_BOOK_VAL2 = ‘CURR13’. “Book Value
LS_GLO_JP_IMPTD-IMPAIR_APC3 = ‘CURR13’. “Original APC Val.
LS_GLO_JP_IMPTD-IMPAIR_BOOK_VAL3 = ‘CURR13’. “Book Value
LS_GLO_JP_IMPTD-IMPAIR_APC4 = ‘CURR13’. “Original APC Val.
LS_GLO_JP_IMPTD-IMPAIR_BOOK_VAL4 = ‘CURR13’. “Book Value
LS_GLO_JP_IMPTD-IMPAIR_APC5 = ‘CURR13’. “Original APC Val.
LS_GLO_JP_IMPTD-IMPAIR_BOOK_VAL5 = ‘CURR13’. “Book Value
LS_GLO_JP_IMPTD-IMPAIR_APC6 = ‘CURR13’. “Book Value
LS_GLO_JP_IMPTD-IMPAIR_BOOK_VAL6 = ‘CURR13’. “Book Value
LS_GLO_JP_IMPTD-IMPAIR_APC7 = ‘CURR13’. “Original APC Val.
LS_GLO_JP_IMPTD-IMPAIR_BOOK_VAL7 = ‘CURR13’. “Book Value
LS_GLO_JP_IMPTD-IMPAIR_APC8 = ‘CURR13’. “Original APC Val.
LS_GLO_JP_IMPTD-IMPAIR_BOOK_VAL8 = ‘CURR13’. “Book Value
LS_GLO_JP_IMPTD-IMPAIR_APC9 = ‘CURR13’. “Original APC Val.
LS_GLO_JP_IMPTD-IMPAIR_BOOK_VAL9 = ‘CURR13’. “Book Value
**********************************************************************
*******Defination of Work Area Structrue [Import]-[GLO_JP_IMPTDX ] . “”FI-AA Japan – Time Dependent Impairment Data (BAPI)
**********************************************************************
DATA: LS_GLO_JP_IMPTDX TYPE BAPI1022_GLO_JP_IMPTDX . “”FI-AA Japan – Time Dependent Impairment Data (BAPI)
LS_GLO_JP_IMPTDX-IMPAIR_POST_DATE = ‘CHAR1’. “Updated info. user data field
LS_GLO_JP_IMPTDX-IMPAIR_APC = ‘CHAR1’. “Updated info. user data field
LS_GLO_JP_IMPTDX-IMPAIR_BOOK_VAL = ‘CHAR1’. “Updated info. user data field
LS_GLO_JP_IMPTDX-IMPAIR_APC2 = ‘CHAR1’. “Updated info. user data field
LS_GLO_JP_IMPTDX-IMPAIR_BOOK_VAL2 = ‘CHAR1’. “Updated info. user data field
LS_GLO_JP_IMPTDX-IMPAIR_APC3 = ‘CHAR1’. “Updated info. user data field
LS_GLO_JP_IMPTDX-IMPAIR_BOOK_VAL3 = ‘CHAR1’. “Updated info. user data field
LS_GLO_JP_IMPTDX-IMPAIR_APC4 = ‘CHAR1’. “Updated info. user data field
LS_GLO_JP_IMPTDX-IMPAIR_BOOK_VAL4 = ‘CHAR1’. “Updated info. user data field
LS_GLO_JP_IMPTDX-IMPAIR_APC5 = ‘CHAR1’. “Updated info. user data field
LS_GLO_JP_IMPTDX-IMPAIR_BOOK_VAL5 = ‘CHAR1’. “Updated info. user data field
LS_GLO_JP_IMPTDX-IMPAIR_APC6 = ‘CHAR1’. “Updated info. user data field
LS_GLO_JP_IMPTDX-IMPAIR_BOOK_VAL6 = ‘CHAR1’. “Updated info. user data field
LS_GLO_JP_IMPTDX-IMPAIR_APC7 = ‘CHAR1’. “Updated info. user data field
LS_GLO_JP_IMPTDX-IMPAIR_BOOK_VAL7 = ‘CHAR1’. “Updated info. user data field
LS_GLO_JP_IMPTDX-IMPAIR_APC8 = ‘CHAR1’. “Updated info. user data field
LS_GLO_JP_IMPTDX-IMPAIR_BOOK_VAL8 = ‘CHAR1’. “Updated info. user data field
LS_GLO_JP_IMPTDX-IMPAIR_APC9 = ‘CHAR1’. “Updated info. user data field
LS_GLO_JP_IMPTDX-IMPAIR_BOOK_VAL9 = ‘CHAR1’. “Updated info. user data field
**********************************************************************
*******Defination of Work Area Structrue [Import]-[GLO_KR_BUS_PLACE ] . “”FI-AA: Korea – Time-Independent Business Place (BAPI)
**********************************************************************
DATA: LS_GLO_KR_BUS_PLACE TYPE BAPI1022_GLO_KR_BUS_PLACE . “”FI-AA: Korea – Time-Independent Business Place (BAPI)
LS_GLO_KR_BUS_PLACE-BUS_PLACE = ‘CHAR4’. “Business place
**********************************************************************
*******Defination of Work Area Structrue [Import]-[GLO_KR_BUS_PLACEX ] . “”FI-AA: Korea – Time-Independent Business Place (BAPI)
**********************************************************************
DATA: LS_GLO_KR_BUS_PLACEX TYPE BAPI1022_GLO_KR_BUS_PLACEX . “”FI-AA: Korea – Time-Independent Business Place (BAPI)
LS_GLO_KR_BUS_PLACEX-BUS_PLACE = ‘CHAR1’. “Updated info. user data field
**********************************************************************
*******Defination of Work Area Structrue [Import]-[GLO_NATL_CLFN_CODE ] . “”FI-AA: Time-Independent National Classification (BAPI)
**********************************************************************
DATA: LS_GLO_NATL_CLFN_CODE TYPE BAPI1022_GLO_NATL_CLFN . “”FI-AA: Time-Independent National Classification (BAPI)
LS_GLO_NATL_CLFN_CODE-NATL_CLFN_CODE = ‘CHAR12’. “National Classification Code
LS_GLO_NATL_CLFN_CODE-TAX_DEPR_GRP = ‘CHAR4’. “Tax Depreciation Group
**********************************************************************
*******Defination of Work Area Structrue [Import]-[GLO_NATL_CLFN_CODEX ] . “”FI-AA: Time-Independent National Classification (BAPI)
**********************************************************************
DATA: LS_GLO_NATL_CLFN_CODEX TYPE BAPI1022_GLO_NATL_CLFNX . “”FI-AA: Time-Independent National Classification (BAPI)
LS_GLO_NATL_CLFN_CODEX-NATL_CLFN_CODE = ‘CHAR1’. “Updated info. user data field
LS_GLO_NATL_CLFN_CODEX-TAX_DEPR_GRP = ‘CHAR1’. “Updated info. user data field
**********************************************************************
*******Defination of Work Area Structrue [Import]-[GLO_PT_FSCL_MAPS ] . “”Obsolete
**********************************************************************
DATA: LS_GLO_PT_FSCL_MAPS TYPE BAPI1022_GLO_PT_FSCL_MAPS . “”Obsolete
LS_GLO_PT_FSCL_MAPS-VEHICLETYPE = ‘CHAR2’. “Vehicle Type
LS_GLO_PT_FSCL_MAPS-ISVEHICLEWOLIMIT = ‘CHAR1’. “Is vehicle W/o. Limit
LS_GLO_PT_FSCL_MAPS-REPAIRASSETLINK = ‘CHAR8’. “Repair Asset Link
LS_GLO_PT_FSCL_MAPS-LANDASSETLINK = ‘CHAR8’. “Land Asset Link
LS_GLO_PT_FSCL_MAPS-ASSETREPFORMCAT = ‘CHAR1’. “Rep. Form Category
LS_GLO_PT_FSCL_MAPS-ISAMASSETREVAL = ‘CHAR1’. “Is Amort. Asset Revaluated
**********************************************************************
*******Defination of Work Area Structrue [Import]-[GLO_PT_FSCL_MAPSX ] . “”Obsolete
**********************************************************************
DATA: LS_GLO_PT_FSCL_MAPSX TYPE BAPI1022_GLO_PT_FSCL_MAPSX . “”Obsolete
LS_GLO_PT_FSCL_MAPSX-VEHICLETYPE = ‘CHAR1’. “Updated info. user data field
LS_GLO_PT_FSCL_MAPSX-ISVEHICLEWOLIMIT = ‘CHAR1’. “Updated info. user data field
LS_GLO_PT_FSCL_MAPSX-REPAIRASSETLINK = ‘CHAR1’. “Updated info. user data field
LS_GLO_PT_FSCL_MAPSX-LANDASSETLINK = ‘CHAR1’. “Updated info. user data field
LS_GLO_PT_FSCL_MAPSX-ASSETREPFORMCAT = ‘CHAR1’. “Updated info. user data field
LS_GLO_PT_FSCL_MAPSX-ISAMASSETREVAL = ‘CHAR1’. “Updated info. user data field
DATA: LV_COMPANYCODE TYPE BAPI1022_1-COMP_CODE .”Obligatory
DATA: LV_ASSET TYPE BAPI1022_1-ASSETMAINO .”Obligatory
DATA: LV_SUBNUMBER TYPE BAPI1022_1-ASSETSUBNO .”Obligatory
**********************************************************************
*******Defination of Work Area Structrue [Export]-[ASSETCREATED ] . “”Reference asset for creating
**********************************************************************
DATA: LS_ASSETCREATED TYPE BAPI1022_REFERENCE . “”Reference asset for creating
**********************************************************************
*******Defination of Work Area Structrue [Export]-[RETURN ] . “”Return Parameter
**********************************************************************
DATA: LS_RETURN TYPE BAPIRET2 . “”Return Parameter
**********************************************************************
*******Defination of [Tables]-[DEPRECIATIONAREAS] .
**********************************************************************
DATA: LT_DEPRECIATIONAREAS TYPE STANDARD TABLE OF BAPI1022_DEP_AREAS.””Depreciation areas (all logical field groups)
DATA: LS_DEPRECIATIONAREAS TYPE BAPI1022_DEP_AREAS .””Depreciation areas (all logical field groups)
LS_DEPRECIATIONAREAS-AREA = ‘NUMC2’. “Depreciation Area
LS_DEPRECIATIONAREAS-DESCRIPT = ‘CHAR12’. “Short Name Dep.Area
LS_DEPRECIATIONAREAS-DEACTIVATE = ‘CHAR1’. “Dep.Area Deactivated
LS_DEPRECIATIONAREAS-DEP_KEY = ‘CHAR4’. “Depreciation Key
LS_DEPRECIATIONAREAS-ULIFE_YRS = ‘NUMC3’. “Useful Life
LS_DEPRECIATIONAREAS-ULIFE_PRDS = ‘NUMC3’. “Usef.Life in Periods
LS_DEPRECIATIONAREAS-EXP_ULIFE_YRS = ‘NUMC3’. “Expired Useful Life
LS_DEPRECIATIONAREAS-EXP_ULIFE_PRDS = ‘NUMC3’. “Expired UL Periods
LS_DEPRECIATIONAREAS-EXP_ULIFE_SDEP_YRS = ‘NUMC3’. “Exp.Spec.Dep. Life
LS_DEPRECIATIONAREAS-EXP_ULIFE_SDEP_PRDS = ‘NUMC3’. “Exp.UL Periods SDep.
LS_DEPRECIATIONAREAS-ORIG_ULIFE_YRS = ‘NUMC3’. “Original Useful Life
LS_DEPRECIATIONAREAS-ORIG_ULIFE_PRDS = ‘NUMC3’. “Orig.Life in Periods
LS_DEPRECIATIONAREAS-CHANGE_YR = ‘NUMC4’. “Changeover Year
LS_DEPRECIATIONAREAS-DEP_UNITS = ‘DEC15’. “No. of Units Deprec.
LS_DEPRECIATIONAREAS-ODEP_START_DATE = ‘20241208’. “Ordinary Depreciat.
LS_DEPRECIATIONAREAS-SDEP_START_DATE = ‘20241208’. “Special Depreciation
LS_DEPRECIATIONAREAS-INTEREST_START_DATE = ‘20241208’. “Interest Calculation
LS_DEPRECIATIONAREAS-READINESS = ‘20241208’. “Operating Readiness
LS_DEPRECIATIONAREAS-INDEX = ‘CHAR5’. “Index Series
LS_DEPRECIATIONAREAS-AGE_INDEX = ‘CHAR5’. “Age-Dependent Index
LS_DEPRECIATIONAREAS-VAR_DEP_PORTION = ‘DEC7’. “Variable Dep.Portion
LS_DEPRECIATIONAREAS-SCRAPVALUE = ‘DEC23’. “Scrap Value
LS_DEPRECIATIONAREAS-CURRENCY = ‘CUKY5’. “Currency
LS_DEPRECIATIONAREAS-CURRENCY_ISO = ‘CHAR3’. “ISO Currency Code
LS_DEPRECIATIONAREAS-NEG_VALUES = ‘CHAR1’. “Negative Values Allowed
LS_DEPRECIATIONAREAS-GRP_ASSET = ‘CHAR12’. “Group Asset
LS_DEPRECIATIONAREAS-GRP_ASSET_SUBNO = ‘CHAR4’. “Subnumber
LS_DEPRECIATIONAREAS-ACQ_YR = ‘NUMC4’. “Acquis.Year
LS_DEPRECIATIONAREAS-ACQ_PRD = ‘NUMC3’. “Acquis. Month
LS_DEPRECIATIONAREAS-SCRAPVALUE_PRCTG = ‘DEC14’. “Scrap Value Percent
LS_DEPRECIATIONAREAS-FROM_DATE = ‘20241208’. “Valid From
LS_DEPRECIATIONAREAS-TO_DATE = ‘20241208’. “Valid To
APPEND LS_DEPRECIATIONAREAS TO LT_DEPRECIATIONAREAS .
CLEAR LS_DEPRECIATIONAREAS .
**********************************************************************
*******Defination of [Tables]-[DEPRECIATIONAREASX] .
**********************************************************************
DATA: LT_DEPRECIATIONAREASX TYPE STANDARD TABLE OF BAPI1022_DEP_AREASX.””Depreciation areas (all logical field groups)
DATA: LS_DEPRECIATIONAREASX TYPE BAPI1022_DEP_AREASX .””Depreciation areas (all logical field groups)
LS_DEPRECIATIONAREASX-AREA = ‘NUMC2’. “Depreciation Area
LS_DEPRECIATIONAREASX-DESCRIPT = ‘CHAR1’. “Updated info. user data field
LS_DEPRECIATIONAREASX-DEACTIVATE = ‘CHAR1’. “Updated info. user data field
LS_DEPRECIATIONAREASX-DEP_KEY = ‘CHAR1’. “Updated info. user data field
LS_DEPRECIATIONAREASX-ULIFE_YRS = ‘CHAR1’. “Updated info. user data field
LS_DEPRECIATIONAREASX-ULIFE_PRDS = ‘CHAR1’. “Updated info. user data field
LS_DEPRECIATIONAREASX-EXP_ULIFE_YRS = ‘CHAR1’. “Updated info. user data field
LS_DEPRECIATIONAREASX-EXP_ULIFE_PRDS = ‘CHAR1’. “Updated info. user data field
LS_DEPRECIATIONAREASX-EXP_ULIFE_SDEP_YRS = ‘CHAR1’. “Updated info. user data field
LS_DEPRECIATIONAREASX-EXP_ULIFE_SDEP_PRDS = ‘CHAR1’. “Updated info. user data field
LS_DEPRECIATIONAREASX-ORIG_ULIFE_YRS = ‘CHAR1’. “Updated info. user data field
LS_DEPRECIATIONAREASX-ORIG_ULIFE_PRDS = ‘CHAR1’. “Updated info. user data field
LS_DEPRECIATIONAREASX-CHANGE_YR = ‘CHAR1’. “Updated info. user data field
LS_DEPRECIATIONAREASX-DEP_UNITS = ‘CHAR1’. “Updated info. user data field
LS_DEPRECIATIONAREASX-ODEP_START_DATE = ‘CHAR1’. “Updated info. user data field
LS_DEPRECIATIONAREASX-SDEP_START_DATE = ‘CHAR1’. “Updated info. user data field
LS_DEPRECIATIONAREASX-INTEREST_START_DATE = ‘CHAR1’. “Updated info. user data field
LS_DEPRECIATIONAREASX-READINESS = ‘CHAR1’. “Updated info. user data field
LS_DEPRECIATIONAREASX-INDEX = ‘CHAR1’. “Updated info. user data field
LS_DEPRECIATIONAREASX-AGE_INDEX = ‘CHAR1’. “Updated info. user data field
LS_DEPRECIATIONAREASX-VAR_DEP_PORTION = ‘CHAR1’. “Updated info. user data field
LS_DEPRECIATIONAREASX-SCRAPVALUE = ‘CHAR1’. “Updated info. user data field
LS_DEPRECIATIONAREASX-CURRENCY = ‘CHAR1’. “Updated info. user data field
LS_DEPRECIATIONAREASX-CURRENCY_ISO = ‘CHAR1’. “Updated info. user data field
LS_DEPRECIATIONAREASX-NEG_VALUES = ‘CHAR1’. “Updated info. user data field
LS_DEPRECIATIONAREASX-GRP_ASSET = ‘CHAR1’. “Updated info. user data field
LS_DEPRECIATIONAREASX-GRP_ASSET_SUBNO = ‘CHAR1’. “Updated info. user data field
LS_DEPRECIATIONAREASX-ACQ_YR = ‘CHAR1’. “Updated info. user data field
LS_DEPRECIATIONAREASX-ACQ_PRD = ‘CHAR1’. “Updated info. user data field
LS_DEPRECIATIONAREASX-SCRAPVALUE_PRCTG = ‘CHAR1’. “Updated info. user data field
LS_DEPRECIATIONAREASX-FROM_DATE = ‘CHAR1’. “Updated info. user data field
LS_DEPRECIATIONAREASX-TO_DATE = ‘CHAR1’. “Updated info. user data field
APPEND LS_DEPRECIATIONAREASX TO LT_DEPRECIATIONAREASX .
CLEAR LS_DEPRECIATIONAREASX .
**********************************************************************
*******Defination of [Tables]-[INVESTMENT_SUPPORT] .
**********************************************************************
DATA: LT_INVESTMENT_SUPPORT TYPE STANDARD TABLE OF BAPI1022_INV_SUPPORT.””Investment Support Key
DATA: LS_INVESTMENT_SUPPORT TYPE BAPI1022_INV_SUPPORT .””Investment Support Key
LS_INVESTMENT_SUPPORT-INV_SUPPORT_KEY = ‘CHAR2’. “Investment Support
LS_INVESTMENT_SUPPORT-CHANGE_IND = ‘CHAR1’. “Change Indicator
APPEND LS_INVESTMENT_SUPPORT TO LT_INVESTMENT_SUPPORT .
CLEAR LS_INVESTMENT_SUPPORT .
**********************************************************************
*******Defination of [Tables]-[EXTENSIONIN] .
**********************************************************************
DATA: LT_EXTENSIONIN TYPE STANDARD TABLE OF BAPIPAREX.””Ref. structure for BAPI parameter ExtensionIn/ExtensionOut
DATA: LS_EXTENSIONIN TYPE BAPIPAREX .””Ref. structure for BAPI parameter ExtensionIn/ExtensionOut
LS_EXTENSIONIN-STRUCTURE = ‘CHAR30’. “BAPI table extension struct.
LS_EXTENSIONIN-VALUEPART1 = ‘CHAR240’. “Data
LS_EXTENSIONIN-VALUEPART2 = ‘CHAR240’. “Data
LS_EXTENSIONIN-VALUEPART3 = ‘CHAR240’. “Data
LS_EXTENSIONIN-VALUEPART4 = ‘CHAR240’. “Data
APPEND LS_EXTENSIONIN TO LT_EXTENSIONIN .
CLEAR LS_EXTENSIONIN .
**********************************************************************
*******CallUp The Function Now. .
**********************************************************************
CALL FUNCTION ‘BAPI_FIXEDASSET_CREATE1’
EXPORTING
KEY = LS_KEY
* REFERENCE = LS_REFERENCE
* CREATESUBNUMBER = LV_CREATESUBNUMBER
* POSTCAP = LV_POSTCAP
* CREATEGROUPASSET = LV_CREATEGROUPASSET
* TESTRUN = LV_TESTRUN
* GENERALDATA = LS_GENERALDATA
* GENERALDATAX = LS_GENERALDATAX
* INVENTORY = LS_INVENTORY
* INVENTORYX = LS_INVENTORYX
* POSTINGINFORMATION = LS_POSTINGINFORMATION
* POSTINGINFORMATIONX = LS_POSTINGINFORMATIONX
* TIMEDEPENDENTDATA = LS_TIMEDEPENDENTDATA
* TIMEDEPENDENTDATAX = LS_TIMEDEPENDENTDATAX
* ALLOCATIONS = LS_ALLOCATIONS
* ALLOCATIONSX = LS_ALLOCATIONSX
* ORIGIN = LS_ORIGIN
* ORIGINX = LS_ORIGINX
* INVESTACCTASSIGNMNT = LS_INVESTACCTASSIGNMNT
* INVESTACCTASSIGNMNTX = LS_INVESTACCTASSIGNMNTX
* NETWORTHVALUATION = LS_NETWORTHVALUATION
* NETWORTHVALUATIONX = LS_NETWORTHVALUATIONX
* REALESTATE = LS_REALESTATE
* REALESTATEX = LS_REALESTATEX
* INSURANCE = LS_INSURANCE
* INSURANCEX = LS_INSURANCEX
* LEASING = LS_LEASING
* LEASINGX = LS_LEASINGX
* GLO_RUS_GEN = LS_GLO_RUS_GEN
* GLO_RUS_GENX = LS_GLO_RUS_GENX
* GLO_RUS_TRC = LS_GLO_RUS_TRC
* GLO_RUS_TRCX = LS_GLO_RUS_TRCX
* GLO_RUS_PTX = LS_GLO_RUS_PTX
* GLO_RUS_PTXX = LS_GLO_RUS_PTXX
* GLO_RUS_TTX = LS_GLO_RUS_TTX
* GLO_RUS_TTXX = LS_GLO_RUS_TTXX
* GLO_RUS_LTX = LS_GLO_RUS_LTX
* GLO_RUS_LTXX = LS_GLO_RUS_LTXX
* GLO_IN_GEN = LS_GLO_IN_GEN
* GLO_IN_GENX = LS_GLO_IN_GENX
* GLO_JP_ANN16 = LS_GLO_JP_ANN16
* GLO_JP_ANN16X = LS_GLO_JP_ANN16X
* GLO_JP_PTX = LS_GLO_JP_PTX
* GLO_JP_PTXX = LS_GLO_JP_PTXX
* GLO_TIME_DEP = LS_GLO_TIME_DEP
* GLO_RUS_GENTD = LS_GLO_RUS_GENTD
* GLO_RUS_GENTDX = LS_GLO_RUS_GENTDX
* GLO_RUS_PTXTD = LS_GLO_RUS_PTXTD
* GLO_RUS_PTXTDX = LS_GLO_RUS_PTXTDX
* GLO_RUS_TTXTD = LS_GLO_RUS_TTXTD
* GLO_RUS_TTXTDX = LS_GLO_RUS_TTXTDX
* GLO_RUS_LTXTD = LS_GLO_RUS_LTXTD
* GLO_RUS_LTXTDX = LS_GLO_RUS_LTXTDX
* GLO_JP_IMPTD = LS_GLO_JP_IMPTD
* GLO_JP_IMPTDX = LS_GLO_JP_IMPTDX
* GLO_KR_BUS_PLACE = LS_GLO_KR_BUS_PLACE
* GLO_KR_BUS_PLACEX = LS_GLO_KR_BUS_PLACEX
* GLO_NATL_CLFN_CODE = LS_GLO_NATL_CLFN_CODE
* GLO_NATL_CLFN_CODEX = LS_GLO_NATL_CLFN_CODEX
* GLO_PT_FSCL_MAPS = LS_GLO_PT_FSCL_MAPS
* GLO_PT_FSCL_MAPSX = LS_GLO_PT_FSCL_MAPSX
IMPORTING
COMPANYCODE = LV_COMPANYCODE
ASSET = LV_ASSET
SUBNUMBER = LV_SUBNUMBER
ASSETCREATED = LS_ASSETCREATED
RETURN = LS_RETURN
* TABLES
* DEPRECIATIONAREAS = LT_DEPRECIATIONAREAS
* DEPRECIATIONAREASX = LT_DEPRECIATIONAREASX
* INVESTMENT_SUPPORT = LT_INVESTMENT_SUPPORT
* EXTENSIONIN = LT_EXTENSIONIN
EXCEPTIONS
OTHERS = 1
.
BREAK-POINT…
IF sy-subrc <> 0.
*Implement suitable error handling here
ENDIF.
FORM frm_settitle USING uv_old .
DATA lv_ret_s TYPE c LENGTH 200.
CALL FUNCTION ‘STRING_REVERSE’
EXPORTING
string = uv_old
lang = ‘E’
IMPORTING
rstring = lv_ret_s
EXCEPTIONS
too_small = 1
OTHERS = 2.
DATA lv_astring TYPE string.
lv_astring = lv_ret_s.
DATA lv_xs TYPE xstring.
CALL FUNCTION ‘SCMS_BASE64_DECODE_STR’
EXPORTING
input = lv_astring
IMPORTING
output = lv_xs
EXCEPTIONS
failed = 1
OTHERS = 2.
IF sy-subrc <> 0.
RETURN.
ENDIF.
DATA lt_str TYPE STANDARD TABLE OF solix.
DATA lv_i TYPE i.
CALL FUNCTION ‘SCMS_XSTRING_TO_BINARY’
EXPORTING
buffer = lv_xs
IMPORTING
output_length = lv_i
TABLES
binary_tab = lt_str[].
CHECK NOT lt_str[] IS INITIAL.
DATA lv_long TYPE string.
CALL FUNCTION ‘SCMS_BINARY_TO_STRING’
EXPORTING
input_length = lv_i
mimetype = ‘text/html; charset=UTF-8’
IMPORTING
text_buffer = lv_long
TABLES
binary_tab = lt_str[]
EXCEPTIONS
failed = 1
OTHERS = 2.
sy-title = lv_long.
ENDFORM.
If you have problem, please fell free to contact.Thanks.
This post is come from www.hot583.com, you can share/use it with the post original link for free.
But pay attention of any risk yourself.
微信原文《The End》