Skip to Content
0
Former Member
May 15, 2010 at 06:38 AM

How to convert the output of the report (program) to PDF file , Please HELP

142 Views

Good Morning, ALL

I have done a small program in ABAP that lets the employee enters his information. Once the emplyee enters the information and executes the program, I want the result to be saved in a PDF file (in any kind of format). I did try to do this action BUT I couldn't. ( ABAP Beginner LOL ).

This is the code ( The main thing ):

-


SELECTION-SCREEN BEGIN OF BLOCK Yours WITH FRAME TITLE text-001.

PARAMETERS: NAME(15) TYPE C OBLIGATORY lower case,

CITY LIKE NAME OBLIGATORY ,

DATE LIKE SY-DATUM DEFAULT SY-DATUM MODIF ID ZZZ,

ID# TYPE C LENGTH 9,

PHONE TYPE C LENGTH 10.

SKIP 4.

SELECTION-SCREEN END OF BLOCK Yours.

SELECTION-SCREEN BEGIN OF BLOCK More WITH FRAME TITLE text-002.

PARAMETERS: MALE RADIOBUTTON GROUP G1 DEFAULT 'X',

FEMALE RADIOBUTTON GROUP G1.

SELECTION-SCREEN END OF BLOCK More.

SELECTION-SCREEN BEGIN OF BLOCK Details WITH FRAME TITLE text-003.

PARAMETERS: P_DATE TYPE DATUM,

Locate TYPE C LENGTH 30.

SELECTION-SCREEN END OF BLOCK Details.

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN.

IF SCREEN-GROUP1 = 'ZZZ'.

SCREEN-INPUT = '0'.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

-


Any useful help will be appreciated, THANK YOU 😊