Skip to Content
author's profile photo Former Member
Former Member

FM to get the Email address from TVARVC table ?

Hi,

I am trying to look for a Function Module in program that looks for the plant and its storage location data from the MIGO transaction to get relevant Email addresses of the Warehouse from the TVARVC table to send email notification.

I have used

SELECT * FROM tvarvc INTO TABLE lt_tvarvc WHERE "name" LIKE "........".**+

IF sy-subrc EQ 0.

CLEAR ls_recipients.

REFRESH lt_recipients.

ls_recipients-c_address = "..........".

APPEND ls_recipients TO lt_recipients.

ENDIF.

and the called the Function Module to send email i.e "CALL FUNCTION 'ZFM_SENDEMAIL"

Is it a standard way ?

please respond to it

Thankyou

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Apr 15, 2011 at 08:59 PM

    Hello,

    That's not really a workflow problem, you may have better luck in a forum specific to that area.

    Have you tried doing a where-used on table TVARVC?

    regards

    Rick Bakker

    hanabi technology

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 22, 2011 at 04:08 AM

    Thanks 😊

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.