Daily materials report.
Tables used: ekbe, "History per Purchasing Document.
mseg, "Document Segment: Material.
qcpr, "QM quality certificates in procurement
lfa1, "VENDOR MASTER
makt, "MATERIAL DESCRIPTION
j_1igrxref, "Goods Receipt to Excise Invoice
mkpf. "Header: Material Document.
if you are creating a new program then it will not ask request
for selection texts
and they wiill be automatically included in request and
If you are modifying an existing program and then if you want
to change selection
text then it will ask for request for text also then save it
in same request and transport.
Report Painter and Report Writer
This tool can be accessed as follows.
SAP Menu >>>> Information Systems >>>> Ad Hoc Reports >>>>
: Instead of using ABAP code to write a report in FI and
CO, Transaction MC27 is used by a lot of consultants to
build a report by using Report Painter/ Report Writer
library. Transaction GRCT has many advantages over MC27 in
most cases, and eliminates the need to use transaction
-->Interactive functionality not available.
--> No header lines or PF_STATUS is possible.
--> Not possible to add checkboxes, ICONS, Symbols etc
ABAP Memory- The contents of the ABAP/4 memory are retained
only during the lifetime of an external session. You can
retain or pass data across internal sessions. The EXPORT to
memory and IMPPORT from MEMORY statement allow you to write
data to or read data from the ABAP memory.
EX: EXPORT it_tab TO MEMORY ID 'ZADI1'.
IMPORT it_TAB FROM MEMORY ID 'ZADI1'.
SAP MEMORY - Otherwise known as global memory is available
to a user during the entire duartion of a terminal session.
It's contents are retained across transaction boundaries as
well as external and internal sessions. SET PARAMETER & GET
PARAMETER statements allows you to WRITE TO/ READ from the
if form is available in $TMP:
execute se71 in required client
menu bar--> utilities---> copy from client
provide form name,source client target form. and click on
IF FORM IS AVAILABLE IN YOUR OWN PACKAGE:
execute scc1--> provide source client--> transport request
and select the check box INCLUDING REQUEST SUB TASK-->CLICK
ON start immediately in application tool bar --> click on yes
write a simple syntax:
loop at it_tab1 INTO wa_tab from 1 to 5.
using the events
By design, SAP script is a word processing tool which
displays data on the form with the help of text elements
where the logic of those is written in the print program and
Forms were designed to be driven from print program, hence
are often termed as client dependent. Smart forms are client
independent. Bcoz it doesn't use any text elements. It will
be executed through a function module. When a print program
calls a Smart Form, the form itself takes over to produce
output, without any further direction from print program.