Fetching Email-Id from ZTABLE.

Dear All,
I have a requirement in which i have to fetch email-id of users from a Z-table based on workcenter (for Tcode IW31/32) value.
The Z-table contains the Workcenter - Email Id combination.
I have the work center value in my workflow container using the BO BUS2088, now how to fetch the email-id from the Z-table at runtime?
I thought of using a rule which in turn would call a FM and in FM I was fetching the value, but the Email-ID fetched is longer than the standard return parameter - ACTOR_TAB-OBJID (only 12 characters long).
How can i achieve this feature of dynamic assignment of email-id based on the value from Z-table ?
Kindly assist.
Thanks.
Saurabh.

Could you please explain what is PA0105-USRID_LONG ??
And i am trying all sorts of approaches to pass data from WF container to my task, but not getting success.
I even created a class YNEWCLASS with a method YGETDATA and 2 parameters- ACTUALLYPROCBY to take workcenter value from task to method and EMAIL to send the value back to task. but while putting the value for OBJECT CATEGORY for task ( where I select ABAP Class and give class and method name) it gives an error - Interface implementation IF_WORKFLOW does not exist.
I tried using the BOR object method also but in that I am facing type mismatch while binding the task and WF.
Any helpful material from where I can learn how to pass data between WF container and task and vice-versa.
Thanks,
Saurabh.

Similar Messages

  • Fetch email address from vendor number

    Hello,
    I have a vendor number and i want to find its email address. How do i proceed?
    If i take the address number of the vendor and goto table ADR6 it gives me multiple entries.

    Hi,
       A vendor can have multiple email ids. Thats why you may get many entries. You have to one entry where the email id available or all entries from ADR6 table or based on the validity date also you can take an entry from ADR6.
    Regards,
    Sathish
    Note: Reward Helpful Answers

  • Mail slow getting email address from address book

    Since moving to Lion on both a MacBook Pro and a new iMac desktop plus a MacBook AIR I sometimes use, I have had difficulty with Mail fetching email addresses from the Address Book. It sometimes takes well over a minute of it searching to come up with a selection of addresses and other times it simply stops fetching altogether. What is causing this to be so slow? Can I switch address book sources from Apple Address Book to my Google Apps Address Book which is more accurate as I seldom use the Apple Address Book? Thanks

    Check out:
    http://reviews.cnet.com/8301-13727_7-20076991-263/tackling-slow-address-autocomp lete-in-mail/
    and
    https://discussions.apple.com/thread/3259383?start=0&tstart=0
    (which is a subset of the cnet advice, with the added info on permissions...
    worked for me (though note, I had to reboot my computer afterwords for it to kick in)
    ART

  • Fetching Dynamic email address from the HTML content sent in the email body

    Hi All,
    I have a scenario where in i have to send an html content via an email body . while doing so , i need to fetch the email address from the html content and send a mail to the specified email adrress in the html content .
    How to fetch the email address from the html content.
    Regards
    Vinay P.

    Hi ,
    Dynamic configuration means ...do i need to come up with a mapping which contains the  To,From,Subject fields & all...so that when i click on the mail package in mail adapter ...this  "To" email id will be fetched dynamically
    Regards
    Vinay P

  • How to fetch all the records from ztable

    Hi 
    My program is outbound program.
    According to the requirement i have to fetch all the records from ztable which are not tranmitted before to the third party and once the records are extracted and written to output file they will be marked as 'X' in the "status" field of that ztable for the next days run.
    How to fetch the records.Please suggest me.
    Thanks,
    Neelima

    HI,
    Fetch all the records whose status is equal to 'X' as whatever data is sent to third party system is marked as 'X' in status field of table after sending.
    You need to first fetch the data into internal table using the select statement where status EQ space. You get the data which is not yet transmitted to third part. And later in the program after trasmitting the data to third party modify the Records in the DB table which are transmitted with Staus eq 'X'.

  • API to Fetch email using SMTP from EXCHANGE server.

    Hi There,
    We have a customer requirement to fetch e-mails from his EXCHANGE server using SMTP. Our application currently supports fetching e-mail using POP, IMAP.
    POP and IMAP is disabled in customer environment and there is no way enable them to fetch e-mails.
    Please help me to solve this problem by pointing to some APIs available or code.
    I searched but not able to find a solution for this.
    Thanks in advance.
    Regards,
    Krish.

    SMTP is generally, almost strictly used for sending mail not fetching.
    I understand that they may not be able to use IMAP or POP, as some rented Exchange services block IMAP,POP services so they can ensure the client is sticking to the Exchange product line etc.
    Perhaps you could find a Exchange library for Java? im sure there is one about. There are OpenSource solutions for exchange out there as Linux applications like evolution can communicate with Exchange. I beilve the protocol used in Exchange is MAPI? (or SAPI?)
    Another solution would be to just use the clients mail client to export the emails to a more portable format (MBOX? or a folder of EMS files) then import them into Java using InputStreams on the files?
    Or, Get an opensource Exchange compatible server software, eGroupware springs to mind, set that up as a proxy or a go-between. set it up to retrieve mail from the Exchange server and enable its POP and IMAP functions and retrieve the mail from it.
    Either way Im near 100% certain SMTP is not for fetching mail.

  • HT2625 My iPhone 4 has been re-fetching emails which I had previously deleted.  How can I get this to stop?  It is costing me data charges.

    My iPhone4 has been re-fetching emails which I had previously deleted, causing me to have to delete them again, at which point another 200 old messages show up.  This is eating into my data allowance.

    You can either go to your webmail site and delete the old emails off the server so they can't be re-fetched, or assuming this is a POP account, change your settings for deleting email off the incoming server when you retreive your email (which will also make them unavailable for retreival from other devices such as your computer).

  • HT201342 I would like to transfer an icloud email address from one apple id to a different apple id.  Is this possible?

    How can I transfer an icloud email address from one apple id to another apple id?

    It isn't possible.  If you need to use a different iCloud account with a different ID as your primary iCloud account, you can still set up your other iCloud address as a secondary account by going to Settings>Mail,Contacts,Calendars>Add Account>iCloud, signing in with your ID and turning Mail to on.  It will be fetch rather than push email, however, as push is only supported in the primary account.

  • Filling a field in Infoset(LDB-PNPCE) from it001 but want to fil from ztabl

    Hello All,
    I have created a Infoset query with LDB (PNPCE) .
    In infoset query has one field called description is filling from standard LDB PNPCE under orgnizational unit(it001).
    This description field from Standard LDB pnpce ---infotype0001and now i want to fill this field based on Ztable .
    How to achive this .Please help me.
    Thank you
    best regadrs
    Trupthi

    Hi,
    Change in standard field is not the best practice.
    You can write program in adhoc query
    instead of changing logic in that , create a new field and write a small code and fetch data from  Ztable which u r planing.
    steps to create that are given below.
    Go to Sq02 - enter your infoset and click on change
    Select additional fields of particular infotype where you want to create additional field
    Select extras button in the menu and click on create
    Select the option and Enter the name of the field,  Select Additional field and click on Continue
    Enter the data required data.Click on Continue.
    New field created .
    Select the field and click on  code button
    enter code and generate program.
    Regards,
    Naveen

  • 'Fetch' email slow or not working since os4 upgraded

    Having upgraded to the new iphone os4, I have had issues regarding 'fetch' email messages. Simply, I have "fetch' enabled for three email accounts set to 'every 15 mins' but I only get new emails when I go into email and iphone checks for new mail. Eg. I had a colleague send me a message at 14.54 but I manually checked my email at 17.05 and the message only then came through.
    It should have 'fetched' that mail very soon after it was sent and left a red number 1 showing on the mail icon. Did it again later the same day..
    Btw my phone also decided to shut down twice during a phone call at the weekend.
    I use my phone for getting important client mail when I'm out and about so could miss important/urgent info or job requests..
    Anyone had same?
    Is there a fix?
    cheers

    I had a similar problem, as I wasn't receiving any new emails on my IP4. I would receive new emails at home on my MBP, but not on the iPhone.
    My fix was on the MBP.
    Go to Mail/Preferences/Accounts/Advanced and uncheck the box that states "Remove copy from server after retrieving a message".
    This now allows new emails to be seen at home on my MBP, on my iPhone and on my IPS's email server.
    Hope this helps with your problem.

  • How to fetch responsible agents from organizational unit

    Hi All,
    I am new to workflow let me know your suggestion to fetch responsible agents from organizational unit in task.
    Thanks,
    Prasanthi.

    Here is some code that will give you the users and their email addresses of an org unit.
    select single objid
       from hrp1000
       into hrp1000-objid
       where plvar  =  '01'            " Plan version
         and otype  = 'S'              " Object type
         and short  =  position.       " position, case sensitive
    select sobid
       from hrp1001
       into w_org-uname
       where otype = 'S'             " Object type
         and objid = hrp1000-objid   " Object ID
         and plvar = '01'            " Plan version
         and sclas = 'US'.           " Rel.obj.type
       append w_org to i_org.
    endselect.
    loop at i_org into w_org.
       select persnumber addrnumber
              up to 1 rows from usr21
              into (usr21-persnumber, usr21-addrnumber)
              where bname = w_org-uname.
       endselect.                                                " USR21
       clear adr6-smtp_addr.
       select smtp_addr
              up to 1 rows from adr6
              into adr6-smtp_addr
              where addrnumber = usr21-addrnumber and
                    persnumber = usr21-persnumber.
         w_org-smtp_addr =  adr6-smtp_addr.
         append  w_org to org_unit .
       endselect.                                                " ADR6
    endloop.  " I_ORG

  • How can i fetch numeriic records from data dictionary table

    hi friends..
    let assume one data dictionary table ztable which contain
    fields like 1. key datatype c length 2
                  2. data datatype c length 10
    which contain data like
    aa      varehouse
    bb      material
    cc      sales
    01      one
    02      two
    03      three
    from these i want to fetch only 01, 02 and 03 records...
    i.e i want all the records that is in numbers only in key field of ztable
    can you guide me how to get tis?

    select * into table itab
    from ztable
    where key eq '01'
    or key eq '02'
    or key eq '03'.
    declare itab of the type same as ur ztable..
    the above select query will giv u required records..
    Edited by: Rudra Prasanna Mohapatra on Jul 14, 2008 11:13 AM

  • Can i recover emails deleted from the cloud after reformating my HD

    can i recover emails deleted from the cloud after reformating my HD, these are very important emails, after reformatting my hard drive to fix some trouble i was having w/ maverics, these copies were deleted, and my icloud deletes messages more than a month old. help??

    Hi,
    If you use the iCloud.com login or the Mail App and "fetched" the Mail and deleted that way there is not way to get it back.
    You could have archived it or placed it in Folders (created in Mail or on the web Login) and that will have stored them on the IMAP server and they would have been retrievable.
    8:16 pm      Thursday; March 20, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • Send email ids from Class to Workflwo container

    Hi All,
    I have a workflow for sending emails, but i want to fetch these emails from a aztable.
    For this purpose i have created a method in the ABAP aclass and written the code to fetch the emails ids .
    In thw workflow i have created an activity step where i am calling this method. Now i want to pass the emails ids from the class to the task->workflow containers.
    Please provide with the steps to achieve the same.
    Radhika

    Hello,
    Create a method in the BO which executes this method of the class (or) Write the same code present in the class method in the BOs method. Guess this would be a better option.
    Pass the sending emails as an export parameter from the method. Create a task referring to this BO method and get the mail addresses into the task container and then to the workflow container. Once the entries are present in the container, you can use them in the sendmail step.
    Hope this will help.
    Regards,
    Samson

  • Fetching Email (POP/ IMAP ) using PL/SQL

    Hi,
    I am using Oracle 10g database.
    I want to fetch emails from a specific email address and save them in a database on a real time basis so that i can fetch them predetermined business logic.
    Is is it possible to connect to emails and fetch them using PL/SQL ??
    If yest what is the command used to connect / fetch emails ?
    Many Thanks
    Edited by: user12037243 on Mar 29, 2013 9:05 PM

    Hi, Shikhar
    Welcome to OTN
    Welcome to the Oracle Forums. Please take a few minutes to review the following:
    <ul>
    <li>Oracle Forums FAQ
    <li>Before posting on this forum please read
    <li>10 Commandments for the OTN Forums Member
    <li>How to ask questions the smart way
    </ul>
    Following these simple guidelines will ensure you have a positive experience in any forum; not just this one!
    user12037243 wrote:
    Hi,
    I am using Oracle 10g database.
    I want to fetch emails from a specific email address and save them in a database on a real time basis so that i can fetch them predetermined business logic.
    Is is it possible to connect to emails and fetch them using PL/SQL ??
    If yest what is the command used to connect / fetch emails ?
    How you requirement is related to Forms. Post at {forum:id=75} and close this thread.
    Hope this helps
    Hamid
    Mark correct/helpful to help others to get right answer(s).*

Maybe you are looking for

  • Video-mail quality

    Verizon touts its 4G network as blazing fast and what not, while the truth is LTE is NOT a 4G technology - It's Verizon's marketing term and the loophole that allows them to use the term is it's Verizon's 4th gen network (for that matter, any carrier

  • IWeb own domain name blocked on MobileMe

    Dear Apple experts, I had a website created via iweb, hosted at apple with its own domain name www.onetobe.be I didn't manage this myself and the person who do it forgot to cancel the site before mobileme closure and even if the CNAME has been modifi

  • Can you edit one spry accordion without editing them all?

    I have three web pages that use spry accordions to display content. However, one of the web pages is separate from the rest and I would like to change the accordion on that page to represent the site layout.  I know how to edit the spryasset.css, but

  • How to apply customization through visual studio to the SharePoint online

    We have an existing SharePoint online site, now there are some changes in functionality is required, can we do that change through visual studio and send that change to SharePoint online site? will it work? or we have to do the same only through the

  • I DELETED MAC APP STORE!! HELP!!!

    Please help!! I have deleted Mac App Store and when I try updateing it again it just dosen't work!!! :((( HELP!!!