‎2008 Aug 07 1:00 PM
Dear experts
please which function module we call for giveing EMAIL SUPPORT for the created form
Regards
Rohan
‎2008 Aug 07 1:03 PM
‎2008 Aug 07 1:05 PM
hi this is my following coding
please tel me where i will have to call that function module
PROGRAM ZAPPLE.
TABLES ZKNA2.
DATA:BEGIN OF ITAB OCCURS 0,
KUNNR LIKE ZKNA2-KUNNR,
LAND1 LIKE ZKNA2-LAND1,
NAME1 LIKE ZKNA2-NAME1,
ORT01 LIKE ZKNA2-ORT01,
TELF1 LIKE ZKNA2-TELF1,
ADRNR LIKE ZKNA2-ADRNR,
DISPLAY TYPE C,
*
OK_CODE LIKE SY-UCOMM,
END OF ITAB.
&----
*& Module USER_COMMAND_0100 INPUT
&----
text
----
*
*MODULE status_0100 OUTPUT.
*
*set pf-status 'AAA'.
*if itab-kunnr eq ' '.
*loop at screen.
*
*if screen-group1 = 'ABC'.
screen-active = 0.
*endif.
*
*endloop.
*endif.
*
*ENDMODULE.
MODULE USER_COMMAND_0100 INPUT.
CASE SY-UCOMM.
WHEN 'EXIT'.
LEAVE PROGRAM.
WHEN 'DISPLAY'.
SELECT KUNNR LAND1 NAME1 ORT01 TELF1 ADRNR FROM ZKNA2 INTO ITAB
WHERE
KUNNR = ZKNA2-KUNNR.
APPEND ITAB.
ENDSELECT.
ENDCASE.
ENDMODULE.
‎2008 Aug 07 1:18 PM
hai,
u use that function module in PAI (PROCESS AFTER INPUT).
in that u double click the module under PAI and under this module u use.
with regards,
R.Dhineshraj.
‎2008 Aug 07 1:03 PM
hi.
the function module to send a form to email is
'SO_NEW_DOCUMENT_ATT_SEND_API1'
‎2008 Aug 07 1:05 PM
‎2008 Aug 07 1:05 PM
hai,
u can use the function module 'HR_FBN_GENERATE_SEND_EMAIL'.
it will work.
with regards,
R.Dhineshraj.
‎2008 Aug 07 1:16 PM
‎2008 Aug 07 1:25 PM
Hi,
Here is the function module for email sending.
'SO_NEW_DOCUMENT_ATT_SEND_API1'
regards,
Ranjith