Adding Batch Data Communication on SAP ABAP by Garuda Trainings

43
STEP - 1 www.garudatrainings.com Ph: +1-508-841-6144
  • date post

    23-Sep-2014
  • Category

    Education

  • view

    175
  • download

    1

description

Use the ABAP Workbench tools effectively. Write simple application programs with user dialogs (selection screen, list, dynpro) and dialogue with the database (data is read from the database). Learn the basics for development in a SAP environment to integrate a team of programmers: SAP mechanisms, database links between different SAP modules, ABAP language. Garuda Trainings is offiering online training on SAP ABAP by highly professional trainers. Register For a Free DEMO: Www.Garudatrainngs.com phno:508-841-6144 Emai:[email protected]

Transcript of Adding Batch Data Communication on SAP ABAP by Garuda Trainings

Page 1: Adding Batch Data Communication on SAP ABAP by Garuda Trainings

STEP - 1 www.garudatrainings.com Ph: +1-508-841-6144

Page 2: Adding Batch Data Communication on SAP ABAP by Garuda Trainings

CLICK

www.garudatrainings.com Ph: +1-508-841-6144

Page 3: Adding Batch Data Communication on SAP ABAP by Garuda Trainings

CLICK

www.garudatrainings.com Ph: +1-508-841-6144

Page 4: Adding Batch Data Communication on SAP ABAP by Garuda Trainings

PRESS ENTER

www.garudatrainings.com Ph: +1-508-841-6144

Page 5: Adding Batch Data Communication on SAP ABAP by Garuda Trainings

PRESS ENTER

www.garudatrainings.com Ph: +1-508-841-6144

Page 6: Adding Batch Data Communication on SAP ABAP by Garuda Trainings

PRESS ENTERwww.garudatrainings.com Ph: +1-508-841-6144

Page 7: Adding Batch Data Communication on SAP ABAP by Garuda Trainings

CLICK

www.garudatrainings.com Ph: +1-508-841-6144

Page 8: Adding Batch Data Communication on SAP ABAP by Garuda Trainings

CLICK

www.garudatrainings.com Ph: +1-508-841-6144

Page 9: Adding Batch Data Communication on SAP ABAP by Garuda Trainings

PRESS GO BACK

www.garudatrainings.com Ph: +1-508-841-6144

Page 10: Adding Batch Data Communication on SAP ABAP by Garuda Trainings

CLICK

SELECT RECORD

www.garudatrainings.com Ph: +1-508-841-6144

Page 11: Adding Batch Data Communication on SAP ABAP by Garuda Trainings

SELECT THIS

PROGRAM NAME

CLICKwww.garudatrainings.com

Ph: +1-508-841-6144

Page 12: Adding Batch Data Communication on SAP ABAP by Garuda Trainings

CLICK www.garudatrainings.com Ph: +1-508-841-6144

Page 13: Adding Batch Data Communication on SAP ABAP by Garuda Trainings

CLICK

www.garudatrainings.com Ph: +1-508-841-6144

Page 14: Adding Batch Data Communication on SAP ABAP by Garuda Trainings

CLICK SAVE BUTTON & COME BACK TO SE-38www.garudatrainings.com Ph: +1-508-841-6144

Page 15: Adding Batch Data Communication on SAP ABAP by Garuda Trainings

CLICK

OPEN IT, KEEP THE CODE IN COMMENTS WHICH IS GENERATED BY THE SYSTEM WE WILL WORK WITH IT LATER IN STEP-5

SE 38

www.garudatrainings.com Ph: +1-508-841-6144

Page 16: Adding Batch Data Communication on SAP ABAP by Garuda Trainings

STEP-2 DEFINING SOURCE INTERNAL TABLEwww.garudatrainings.com Ph: +1-508-841-6144

Page 17: Adding Batch Data Communication on SAP ABAP by Garuda Trainings

DEFINING TARGET INTERNAL TABLESTEP-3 www.garudatrainings.com Ph: +1-508-841-6144

Page 18: Adding Batch Data Communication on SAP ABAP by Garuda Trainings

CALL FUNCTION MODULE WS_UPLOAD (OR) GUI_UPLOADSTEP - 4 www.garudatrainings.com Ph: +1-508-841-6144

Page 19: Adding Batch Data Communication on SAP ABAP by Garuda Trainings

CLICK www.garudatrainings.com Ph: +1-508-841-6144

Page 20: Adding Batch Data Communication on SAP ABAP by Garuda Trainings

CLICK

www.garudatrainings.com Ph: +1-508-841-6144

Page 21: Adding Batch Data Communication on SAP ABAP by Garuda Trainings

IN EXPORTING GIVE FILE NAME (FLATFILE) , FILE TYPE (DAT) & IN TABLES SOURCE INTERNAL TABLE NAME

www.garudatrainings.com Ph: +1-508-841-6144

Page 22: Adding Batch Data Communication on SAP ABAP by Garuda Trainings

www.garudatrainings.com Ph: +1-508-841-6144

Page 23: Adding Batch Data Communication on SAP ABAP by Garuda Trainings

www.garudatrainings.com Ph: +1-508-841-6144

Page 24: Adding Batch Data Communication on SAP ABAP by Garuda Trainings

www.garudatrainings.com Ph: +1-508-841-6144

Page 25: Adding Batch Data Communication on SAP ABAP by Garuda Trainings

PLACE CURSOR ON IT AND DOUBLE CLIK ON IT,

IN THAT AT LAST WE SEE START NEW SCREEN & INSERT FIELD COPY THAT & PLACE IT AT LAST ie AFTER RECORDING

www.garudatrainings.com Ph: +1-508-841-6144

Page 26: Adding Batch Data Communication on SAP ABAP by Garuda Trainings

CLICK

www.garudatrainings.com Ph: +1-508-841-6144

Page 27: Adding Batch Data Communication on SAP ABAP by Garuda Trainings

COPY THIS AND PLACE AT LAST OF THE PROGRAM

www.garudatrainings.com Ph: +1-508-841-6144

Page 28: Adding Batch Data Communication on SAP ABAP by Garuda Trainings

These Sub Routins are resposable for transfering data from source internal table (ITAB) to target internal table (JTAB)

www.garudatrainings.com Ph: +1-508-841-6144

Page 29: Adding Batch Data Communication on SAP ABAP by Garuda Trainings

*include bdcrecx1.

*start-of-selection.

*perform open_group.

*perform bdc_transaction using 'MK01'.

*perform close_group.

REMOVE THIS FROM CODE WHICH IS GENERATED BY RECORDING

IN START NEW SCREEN & INSERT FIELD INSTEAD OF BDCDATA REPLACE WITH TARGET INTERNAL TABLE (JTAB)

IF FVAL <> NODATA. IF FVAL <> SPACE.

IN Insert field make this changes

Start new screen

www.garudatrainings.com Ph: +1-508-841-6144

Page 30: Adding Batch Data Communication on SAP ABAP by Garuda Trainings

INSTEAD OF'8701‘ – ITAB-F1

REPLACE RECORDING INFORMATION WITH FIELDS F1 TO F8 ie ( ITAB-F1 TO ITAB-F8)

STEP - 5www.garudatrainings.com

Ph: +1-508-841-6144

Page 31: Adding Batch Data Communication on SAP ABAP by Garuda Trainings

Fetching data from body to header

These Sub Routins are resposable for transfering data from source internal table to target internal table

www.garudatrainings.com Ph: +1-508-841-6144

Page 32: Adding Batch Data Communication on SAP ABAP by Garuda Trainings

CHECKING WHEATHER DATA IS TRANSFERD FROM SOURCE IT TO TARGET ITwww.garudatrainings.com

Ph: +1-508-841-6144

Page 33: Adding Batch Data Communication on SAP ABAP by Garuda Trainings

www.garudatrainings.com Ph: +1-508-841-6144

Page 34: Adding Batch Data Communication on SAP ABAP by Garuda Trainings

STEP – 6 SENDING DATA FROM TARGET INTERNAL TABLE TO SAP APPLICATION SAVE & ACTIVATE & RUN PROGRAMwww.garudatrainings.com

Ph: +1-508-841-6144

Page 35: Adding Batch Data Communication on SAP ABAP by Garuda Trainings

www.garudatrainings.com Ph: +1-508-841-6144

Page 36: Adding Batch Data Communication on SAP ABAP by Garuda Trainings

www.garudatrainings.com Ph: +1-508-841-6144

Page 37: Adding Batch Data Communication on SAP ABAP by Garuda Trainings

www.garudatrainings.com Ph: +1-508-841-6144

Page 38: Adding Batch Data Communication on SAP ABAP by Garuda Trainings

www.garudatrainings.com Ph: +1-508-841-6144

Page 39: Adding Batch Data Communication on SAP ABAP by Garuda Trainings

www.garudatrainings.com Ph: +1-508-841-6144

Page 40: Adding Batch Data Communication on SAP ABAP by Garuda Trainings

CLICK

www.garudatrainings.com Ph: +1-508-841-6144

Page 41: Adding Batch Data Communication on SAP ABAP by Garuda Trainings

GO TO SE 16

ENTER

LFA1 - VENDORE MASTER ( GENERAL SELECTION)

www.garudatrainings.com Ph: +1-508-841-6144

Page 42: Adding Batch Data Communication on SAP ABAP by Garuda Trainings

CLICK

www.garudatrainings.com Ph: +1-508-841-6144

Page 43: Adding Batch Data Communication on SAP ABAP by Garuda Trainings

THIS IS THE DATA WHICH IS UPLOADED FROM FLAT FILE TO SAP APPLICATION

www.garudatrainings.com Ph: +1-508-841-6144