Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

function module

Former Member
0 Likes
748

Dear experts

please which function module we call for giveing EMAIL SUPPORT for the created form

Regards

Rohan

8 REPLIES 8
Read only

Former Member
0 Likes
726

Use this FM SO_NEW_DOCUMENT_ATT_SEND_API1

Thanks

Sudharshan

Read only

0 Likes
726

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.

Read only

0 Likes
726

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.

Read only

Former Member
0 Likes
726

hi.

the function module to send a form to email is

'SO_NEW_DOCUMENT_ATT_SEND_API1'

Read only

Former Member
Read only

Former Member
0 Likes
726

hai,

u can use the function module 'HR_FBN_GENERATE_SEND_EMAIL'.

it will work.

with regards,

R.Dhineshraj.

Read only

0 Likes
726

PLEASE TEL ME BREAFLY HOE TO USE IT

Read only

Former Member
0 Likes
726

Hi,

Here is the function module for email sending.

'SO_NEW_DOCUMENT_ATT_SEND_API1'

regards,

Ranjith