Using BAPI " BAPI_FIXEDASSET_CHANGE " create a zprogram to upload excel file for mass change fixed asset in SAP. REPORT ZAS02_ASSET_CHANGE_UPLOAD . TYPE-POOLS : truxs . " Structure for Excel data TYPES : BEGIN OF ty_excel , anln1 TYPE anln1 , bukrs TYPE bukrs , kostl TYPE kostl , werks TYPE werks , prctr TYPE prctr , END OF ty_excel . DATA : lt_excel TYPE TABLE OF ty_excel , ls_excel TYPE ty_excel , ...
Resource Creation in SAP
- Get link
- X
- Other Apps
T-Code: CRC1.
Insert Plant, Resource Name (8 Char) & Resource Category :0008
Press Enter.
Provide Resource Description.
In Basic Data Tab: Person Responsible : 007 , Usage : 008, Standard Value Key: Z001
Default Value Tab:
Control Key: PI01, Provide Unit of measurement.
Capacity Tab:
Insert Capacity Category: 008, Other Formula: Z013. Double click and fill all the required field.
Start Time, End Time, Length of Breaks, Capacity Utilization, No. Ind. Capacities, Capacity.Tick Can be used by several Operation.
Capacity Category : 008, Int.Proc. Duration: Z013.
Costing Tab:
Insert Cost Center, Cleaning Time, Setup Time, Machine Time, Labor Time, Machine Delay Time ,WFI/PW for process and Tick all Reference Indicator. Then Save.
- Get link
- X
- Other Apps
Popular posts from this blog
New commodity code create in SAP S/4 Hana
Commodity codes are internationally recognized reference numbers. A code describes a specific product when importing or exporting goods. You will use this code on any customs declarations and can find them in the Trade Tariff tool. Before S/4 Hana we can create commodity code by using GUI but from S/4 Hana need to use fiori interface to create commodity code. Let's explore it. T-Code: /UI2/FLP Launchpad is opening and then select Manage commodity codes Tile. After that need to provide No. Scheme contend and click Go button and then need to click add button. Give commodity code and Description with valid from date to valid To date. After that press save button. That's it, your commodity code is created and now need to assign it against material number. Check /SAPSLL/CLSNR table for commodity code added or not. Check MARC table stawn field to confirm material level assigned or not.
BAPI to Change STO PO/ PO Delivery date in SAP
In SAP, a BAPI (Business Application Programming Interface) serves as a standardized method to allow external applications or custom code to access and interact with data and processes within SAP business objects, essentially providing a way to "call" specific business functions within the SAP system from outside applications, ensuring data integrity and proper business logic execution through a defined interface. Function: BAPIs enable external applications to read, create, update, or delete data within SAP by interacting with the underlying business object model. Implementation: BAPIs are implemented as function modules in the SAP system, which can be called remotely using the Remote Function Call (RFC) protocol. Business Object Repository (BOR): BAPIs are defined as methods of SAP Business Object Types, which are stored and managed within the BOR. Benefits: Standardized Access: Provides a consistent way for external applications to interact with SAP fun...
Alpha IN/OUT to Handle Leading Zeros in SAP ABAP
In SAP we use SHIFT keyword to delete leading zero's. Keyword is: SHIFT Variable LEFT DELETING LEADING '0'. SHIFT Variable RIGHT DELETING LEADING '0'. We can also delete & add these zero's using new ABAP syntax. FM: 'CONVERSION_EXIT_ALPHA_OUTPUT' 'CONVERSION_EXIT_ALPHA_INPUT' DATA int_val TYPE char10 VALUE '0000012345' . DATA Chng_val TYPE char10. CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = int_val IMPORTING output = Chng_val. Final result: 12345 DATA Chng_val TYPE char10 VALUE '12345' . DATA int_val TYPE char10. CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = Chng_val IMPORTING output = int_val. Final result: 0000012345
Comments
Post a Comment