Posts

BAPI for material storage location Add

 We can add material storage location plant wise using third party app or web. BAPI names : BAPI_MATERIAL_MAINTAINDATA_RT Import parameters: HEADDATA: Material Tables: STORAGELOCATIONDATA: Material: Plant: STGE_LOC:   STORAGELOCATIONDATAX: Material: Plant: STGE_LOC:   use below code after completing steps. CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.        

Decimal remove in a smartforms report

In smart forms this is a common problem in our daily task.Here I am providing you my own experience.I am facing this problem and solve using below step. First of all we remove decimal value for QUAN data type. first one is simple, just using below format. &work_area-field_name(C,0)& Hope this will work. Another way is we need to define variable in Smartforms>Global Definitions. Give a variable name, type and associated type like: XYZ  TYPE P decimals 0. Also need to create a program logic following steps :right click > Create>Flow logic>Program logic. In program logic page we provide our logic and assign variable in our required fields. Clear: variable. XYZ = wa_items-total_val. Also need to assign Input & output parameters in General attributes. Input Parameter                              ...

Smartforms formating related issues

In sap smartforms sometimes we faced different issues in our real life works.Sometimes we are unable to remove decimal places, omit leading sign, display sign to the left,display sign to the right and so many. In the below I give some defining style which help you a lot. &work_area-field(C)& - compress space. &work_area-field(Z)& - remove leading Zeros. &work_area-field(S)& - remove leading sign. &work_area-field(.N)& - Display upto N decimal. &work_area-field(T)& - remove thousand separators. &work_area-field(R)& -right justified. &work_area-field(I)& - suppress output of the initial value. &work_area-field(<)& - Display leading sign to the left. &work_area-field(>)& - Display leading sign to the right. &work_area-field(4ZC)& - if for 1 to 9  total page number shows * . &work_area-field(C.0)& -remove decimal.

ALV Report in SAP

In SAP most of the people used ALV report to fill their demands.ALV means ABAP List Viewer. This time I am providing some important information on Simple Report. Simple Report: This report provides function modules which is helps to get the desired report without provide much effort.Important function modules are given below: Reuse_ALV_Fieldcatalog_merge Reuse_ALV_grid_Display Reuse_ALV_Events_Get Reuse_ALV_List_Display Reuse_ALV_Commentary_Write Reuse_ALV_Fieldcatalog_merge: Populate a field catalog  which is essential to display data in ALV report. Important catalog are given here. 1. Export: I_Program_Name : report id. I_Internal_Tabname : Internal output Table. I_Inclname : Include or the report name where all the dynamic forms are handel. 2.Changing:  Ct_fieldcat: an internal table with the types SLIS_T_Fieldcat_ALV which is declare in the type pool SLIS.

SAP PP Table:Part-4

As a part of my previous post I am giving another list of PP table.   Tables for KANBAN Table Description PKPS Kanban identification control cycle PKHD kanban control cycle(Header data) PKER Error data for kanban containers Tables for planned independent requirement’s PIR Table Description PBED Independent requirement data PBHI Independent requirement History PBIV Independent requirement index PBIC Independent requirement index for customer requirement SAP PP PRT Customizing Table Table Description TCF02 PRT categories TCF03 Texts for the production resources/tools category TCF04 Status of the PRT master TCF05 Language-dependent text tab...

SAP PP Table list- Part:3

Today I am sharing some of PP important table name.In my previous two post I shared mostly used table name. Hope it'll help you a lot. Tables for Reservations Table Description RESB Material Reservations RKPF Header Tables for capacity Planning Table Description KBKO Header record for capacity requirements KBED Capacity requirements records KBEZ Add data for table   KBED SAP PP Links and Relationship Tables Table Description AFFH_PRT Assignment data for the work order CRVD_A Link of PRT to Document CRVD_B Link of Document to PRT CRVE_A Assignment PRT data-equipment CRVE_B Assignment equipment -PRT data CRVM_A Link of PRT data to a material CRVS_A ...