Posts

Daynamic Report

TOP Include *&---------------------------------------------------------------------* *& Include ZMM_PO_CONDITION_TOP *&---------------------------------------------------------------------* TABLES: ekko,ekpo. DATA: fieldcat TYPE lvc_t_fcat, gs_fieldcat TYPE LVC_S_FCAT, g_repid TYPE sy-repid, a LIKE sy-ucomm. DATA : GT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV, GS_Field like LINE OF GT_FIELDCAT. DATA: lt_lines TYPE STANDARD TABLE OF tline, wa_line TYPE tline, lv_name TYPE thead-tdname. DATA: t_newtable TYPE REF TO data. FIELD-SYMBOLS: TYPE STANDARD TABLE, " Dynamic internal table name , " Field symbol to create work area type any. " Field symbol to assign values TYPES: BEGIN OF ty_final, ebeln TYPE ekko-ebeln, matnr TYPE ekpo-matnr, END OF ty_final. DATA: lv_...

Read Long Text In SAP ABAP Programming Langauge

Image
data : it_lines like tline occurs 0 with header line. CALL FUNCTION 'READ_TEXT' EXPORTING CLIENT = SY- MANDT ID = 'Z056' LANGUAGE = 'E' NAME = L_NAME OBJECT = 'VBBP' TABLES LINES = IT_LINES EXCEPTIONS ID = 1 LANGUAGE = 2 NAME = 3 NOT_FOUND = 4 OBJECT = 5 REFERENCE_CHECK = 6 WRONG_ACCESS_TO_ARCHIVE = 7 OTHERS = 8 Please support my work

Get Physical Month

Some time required to get physical month below function module help to give physical month in sap ABAP programming language DATE_TO_PERIOD_CONVERT Import Parameters               Value I_DATE                          01.01.2009 I_MONMIT                        00 I_PERIV                         V3 Export Parameters               Value E_BUPER                         010 E_GJAHR                         2008 ********************************ROHINI KUMAR*********************************                           ...

ABAP Core Data Services – Part 2(Types of CDS Views)

Image
S.no Topics 1. Types of CDS views 1.1. Define View 1.1.1. Define View with Join 1.1.2. Define View with Association 1.1.3. Define View with Parameters 1.2. Extend View 1.3. Define Table functions 2. More Blog’s (Follow) 3. Credits This blog is continuation of my previous blog’s : ABAP Core Data Services – Introduction (ABAP CDS view)  in this detailed introduction is given about the ABAP Core Data services. ABAP Core Data Services – Part 1(ABAP CDS Entities)  in this detailed introduction is given about the ABAP CDS Entities. Before, start reading this I would request you to go through above mentioned blog for better and smooth understanding. I, hope you have got the basic understanding about ABAP CDS views. In this blog, we’ll see the different types of CDS views. Let’s Start !! Types of CDS views Let’s see different types of ABAP based – CDS views in real world development scenario. To Create CDS view we need SAP development too...

ABAP Core Data Services – Part 3(Virtual Data model types)

Image
Table of Content: S.No Topics 1. Introduction 2. VDM View types 3. Analytics Data Category 4. More Blog’s (Follow) 5. Credits This blog is continuation of my previous blog’s : ABAP Core Data Services – Introduction (ABAP CDS view)  in this detailed introduction is given about the ABAP Core Data services. ABAP Core Data Services – Part 1 (ABAP CDS Entities)  in this detailed introduction is given about the ABAP CDS Entities. ABAP Core Data Services – Part 2 (Types of CDS views)   in this detailed introduction is given about different types of ABAP CDS views. Before, start reading this I would request you to go through above mentioned blog for better and smooth understanding. I,hope you have got the basic understanding about ABAP CDS views. In this blog, we’ll see the different Virtual data model types in ABAP CDS views . Let’s Start !! Introduction A   Virtual Data Model   (VDM) is a struct...