Posts

Showing posts from October, 2023

BDC- Batch data Commnication MM01(material data)

Image
  BDC - Batch data comminication     *  BDC is used to upload the data from flat file to SAP system.    Task - Create material data using BDC concept.     1. Goto T-code SHDB.        2.  Click on new recording.        3.  Give recording name and T-code and click on start recording.                    4. Give material number, industry sector and material type and click on select view as basic data and click Enter.                    5. Give material description and unit of measure and click on save and save the recording.                6. Go back and select the recording and click on program and give program name and select transfer from recording and select the package.                 7.  Goto se38 and give program name and click on change.     write a code like this.      report  ZAB_RP_MATERIAL         no  standard  page  heading  line-size  255 . include  bdcrecx1_s . data :  begin  of  itab  occurs  0 ,       matnr ( 10 ) ,       mbrsh ( 2 ) ,       mtart ( 4 ) ,       maktx (

Adobe forms

 Adobe forms.      * Adobe forms are interactive smart forms.      * We can interact with the output of adobe forms.      * Adobe forms provides the output in the form of PDF.      * T code - SFP.      * In adobe forms we need to create an interface the same interface can be used in multiple adobe forms.     * Adobe form also generates a function module at run time.     * Adobe LiveCycle designer is required to design a layout with the help of adobe form. Diff between SF & AF.      * Smart forms are not interactive forms whereas adobe forms are interactive Smart forms.      *  > In smart forms the form interface, global definition, pages, windows are all together          > In adobe forms the form interface, global definitions are the part of  interface and layout will design separately.

fetch the data from table and send an email in ABAP

Image
  Send an email in abap. REPORT  ZAJAY_EF_ZSTU . tables : zstu . data :  maildata  LIKE  sodocchgi1 ,       mailtxt   LIKE  solisti1  OCCURS  10  WITH  HEADER  LINE ,       mailrec   LIKE  somlrec90  OCCURS  0  WITH  HEADER  LINE ,       it_zstu  type  table  of  zstu  WITH  HEADER  LINE ,       wa_zstu  type  zstu . START-OF-SELECTION .      clear : maildata , mailtxt , mailrec .      REFRESH : mailtxt , mailrec . select-OPTIONS  :  s_id  for  zstu - zstu_id . SELECT  *  from  zstu  into  TABLE  it_zstu  where  zstu_id  in  s_id .    sort  it_zstu  by  zstu_id . maildata - obj_descr  =  | Employee details | . mailtxt  =  '<!DOCTYPE html>' . append  mailtxt . mailtxt  =  '<html lang="en">' . append  mailtxt . mailtxt  =  '<head>' . append  mailtxt .   mailtxt  =  '<title>Email Functionality</title>' .   append  mailtxt . * mailtxt = ' <style>'. * append mailtxt. * *  mailtxt = 'table, th, td { bor