Using so_object_send twice in the same report

Hello All,
I have a requirement in which i need to send a mail with a certain text to a receiver1. Then in the same report i need to send another text to another receiver2.
I am calling the function module so_object_send twice to do this.But only one mail is sent with both the receivers in the same mail.But the requirement is that two seperate mails should go to two different receivers.What can be the problem?
Kindly help,Points will be rewarded graciously..
Regards,
Anuj.

Hi,
I hope you are clearing the work areas & Internal table after the 1st FM SO_OBJECT_SEND is called.
Flow should be as follows:
1) Populate 1st receiver & Email details
2) Call FM "SO_OBJECT_SEND"
3) Clear Work area & Refresh Internal tables
3) Populate 2nd receive & Email details
3) Call FM "SO_OBJECT_SEND".
Best regards,
Prashant
Best regards,
Prashant

Similar Messages

  • Using SAP Exit Variable twice on the same report

    Hello all,
    I need to use the same variable -Current Calendar Day (SAP Exit)- to filter against 2 characteristics on the same report.
    Unfortunately it's not possible, here the error:
    " Variable 0DAT is used in both (structure) element 11T4741S4XTWZUAJ9IQ6DUDE1, and element AZLK9YCS4XGJ940MRPMLXMDS9 for various characteristics (ZCBBIDATE, ZCBPHTDT). This is not permitted as the characteristic is required for the F4 value help structure."
    May you please suggest me a way to do it ? Thanks in advance.

    Hi
    As the 0DAT varaible check the other standard varaible which provides the same function in business content.
    Or create a varaible with Customer exit and use it.
    In CMOD write the code in like this
    WHEN 'ZDAT'
    L_ZDAT = Sy-datum.
    L_S_RANGE-low = L_ZDAT.
    and follow the other codes as you define for other varaibles.
    REgards
    M.A

  • Can it be possible to use SUM twice for the same internal table

    Hi Guru,
    my requirement is follewing.
    I need to use a SUM for the same internal twice. 
    itab.
    first : like SUM  will sum up all the value
    and second like
    if  wa_tab-field = ' S'
    sum.
    ...some logic
    else  if wa_tab-field = h
    some logic
    endif.
    can i use  SUM in above way.
    Many thanks,
    Anuj.

    Hi,
    yes it could be use multiple time.
    Here example.
    sort GT_COLLECTHI by atnam ATWRT.
      loop at GT_COLLECTHI into gs_collecth.
        at end of ATWRT.
          sum.
          append gs_collecth to gt_collecth.
          clear:gs_collecth.
          sum.
        endat.
        at end of ATNAM.
          sum.
          append gs_collecth to gt_collecth.
          clear:gs_collecth.
          sum.
        endat.
      endloop.
    Thank you
    Jan

  • Using OCM twice with the same change number

    Hello all,
    We are using both the ECM and the OCM. Sometimes we must change the change number after releasing it. For example we expand the effectivity parameter by adding a new serial number (we allowed it in customization).
    Is there a way to run the OCM (transaction COCM) twice or more for the same change number?
    TNX,
    Eti

    Hi Khukoo,
    Currently your idoc is in status 52.right?
    Means it is not completely posted i.e. it has errors.First we have to find why these errors are coming?
    After getting the problem source we have to rectify it and reprocess it by using the T.Code "BD87" or the standard program name is "RBDMON00".
    Goto SE38 and key in this program name and then execute.
    So that if it is correct in all respects then the status will be changed to 53 without changing the IDoc number.
    Hope this helps you.
    Regards,
    Krishna.

  • To twice open the same report since the infoview

    Post Author: Guillaume
    CA Forum: Desktop Intelligence Reporting
    Hello, I have a big problem. Detail : 1- I connect myself with the account u201CTESTu201D on the infoview. 2- I open a document u201CAu201D in mode DESKI 3- I refreshed it. 4- During the refresh, i go to another computer and i open a document u201CAu201D in mode DESKI on the infoview (with the account u201CTESTu201D). The second document "A" will open only when first document u201CAu201D finishes this refreshed  I tested with DESKI only (intranet), and i haven't the probleme.  Please, see the attachment. I use Business Objects XI R2 SP1 MHF1 Can you help me Thanks

    Hi,
    I hope you are clearing the work areas & Internal table after the 1st FM SO_OBJECT_SEND is called.
    Flow should be as follows:
    1) Populate 1st receiver & Email details
    2) Call FM "SO_OBJECT_SEND"
    3) Clear Work area & Refresh Internal tables
    3) Populate 2nd receive & Email details
    3) Call FM "SO_OBJECT_SEND".
    Best regards,
    Prashant
    Best regards,
    Prashant

  • Multiple Facts at the same report

    Hello gurus,
    How can I use multiple facts at the same report using OBIEE 10g?
    I followed the instructions of this website but it's not working...
    http://obibb.wordpress.com/2010/05/31/multiple-fact-reporting-on-non-conforming-dimensions/
    Physical Model:
    ASSET (DIMENSION)  ------------ ASSET (FACT) ----------------- PERSON (DIMENSION) ----------------- CAMPAIGN (FACT) ---------------- CAMPAIGN (DIMENSION)
    Business Model:
    ASSET (DIM) ---------------- FACT ------------------- CAMPAIGN (DIM)
                               (ASSET - CAMPAIGN)
                                            |
                                            |
                                            |
                                            |
                                  PERSON (DIM)
    Asset and Campaign: Non conformed Dimensions;
    Person: Conformed Dimension;
    Note that I want to use at my report some asset and campaign informations to answer questions like:
    Wich assets were created after the campaign launch? or List of asset by person and campaigns.
    Is it possible to do? I'm trying to change all kinds of column levels (Total/Detail) and it keeps sending an error like:
    "Internal error: No matching table for expr Fact_W_CAMP_HIST_F_Teste.SOURCE_WID, File server/Query/Optimizer/SmartScheduler/PhysicalRequestGenerator/Src/SQOSPSimplifyJoin.cpp, line 118."
    Thank you in advance.
    Ramon Cortez

    Hello,
    Thank you for your help.
    Now I'm getting this error: "None of the fact tables are compatible with the query request Fact.SOURCE_WID". ---> Fact.CAMPAIGN_WID
    I'm actually not sure about the behaviour of the content tab. As I understood, I must use Total for non-conformed dimensions and detail for conformed, right?
    In this case I have:
    ASSET (DIMENSION)  ------------ ASSET (FACT) ----------------- PERSON (DIMENSION) ----------------- CAMPAIGN (FACT) ---------------- CAMPAIGN (DIMENSION)
    So, at Asset (FACT) content tab I have to set detail for Asset (DIM) and Person (DIM) and total for Campaign (DIM).
    At Campaign (FACT) content tab I have to set detail for Campaign (DIM) and Person (DIM) and total for Asset (DIM).
    But at the columns, if I set detail for Campaign(DIM) as total, all the other columns will show only Campaign at content tab. Why is it happening?
    My requeriment measure is like:
    SUM(CASE WHEN Asset.Date1 BETWEEN Campaign.DateA and Campaign.DateB AND Asset.Product = Campaign.Product and Asset.Status  = 'Active' THEN 1 ELSE 0 END)
    How can I do this using person as conformed dimension?
    Thanks,
    Ramon Cortez

  • Required report for the invoice processed twice for the same PO & Vendor

    Hi SAP MM experts,
    I want a  report which is to identify the same invoice processed twice against the same vendor and same PO which system cannot detect only  because the invoice numbers are manually entered slightly different, and that is why I also want to include the document date of the invoice so that the possibility of identifying the duplicated invoices is increased.
    Any help will be highly appriciated.
    Thaks in advance
    Sachin Patil

    You might also refer reports ME80RN,ME2N,ME2L for purchase order or refer report MIR5 for vendor.
    Also refer report FBL1N - vendor open items,Check for document type - 'RE'
    Whether check for double invoice is ticked accounting view of  vendor master ? or else
    Check double invoice is configired for which combination in LIV SPRO ?

  • Using an WD Component twice within the same Component

    Hi all,
    our company has made a WD Component for editing business partners.
    My job is to build a WD Component where two business partners (different roles) are edited within the same window.
    My idea was to make 2 separate component usages of the Business Partner WD Component within my component.
    This just works fine. But there is a problem when mapping the context of both Business Partner-Components into my WD Component. There are always naming conflicts. This is because it is not allowed that there are two nodes with the same name in the context, even if they are in different subnodes. Renaming the nodes after mapping them in my component also doesn't work, because it is not possible to rename nested nodes.
    Does anyone know a solution?
    Kind regards,
    Florian

    Hi Anurag,
    thank you for giving me help. You are right, it is possible to use a component twice within the same webdynpro component.
    But the problem is the context mapping in the target component.
    Let me give you an example.
    This is the context of the twice used component.
    CONTEXT
    |
    |->NODE_1
    |  |
    |  |->SUBNODE_1
    |  |  |
    |  |  |->SUBSUB_NODE_1
    |  |  |  |
    |  |  |  |->ATTRIBUTE_1_1_1
    |  |  |  |->ATTRIBUTE_1_1_2
    |  |  |->SUBSUB_NODE_2
    |  |  |->SUBSUB_NODE_3
    |  |  |->ATTRIBUTE_1_1
    |  |  |->ATTRIBUTE_1_2
    |  |->ATTRIBUTE_1
    |  |->ATTRIBUTE_2
    |  |->ATTRIBUTE_3
    Now, if i map this context (NODE_1) to the target web dynpro component I have a problem. I have to map it twice (one time for each used component), so that i can access both used components. But WebDynpro only allows me to rename the node NODE_1. Mapped subnodes (SUBNODE_1, ...) cannot be renamed. So i cannot map the context of both used components, because there are always naming conflicts. WebDynpro doesn't allow that there are two nodes with identical names within the context, even if they are in different subnodes.
    Is there a solution? We really need one.
    Thanks
    Florian

  • Using more than one Business area in the same report

    Hi,
    Is it possible / recommended to use more than one business area in the same report.
    For example, I have a sales (business area sales) report on one tab and a rebates(rebates business area) report on a second tab.
    Thanks

    Hello
    Possible: yes
    Recommended: no
    This can certainly be done and Discoverer will not prevent you from having reports that use different business areas as you describe.
    However, for management and security purposes it does not make for ease of use. As you know a user has the ability to share a workbook with another user. If they do this then ALL reports within that workbook are shared. If the receiving user does not have access to one or more of the business areas then some reports will run and some will not. This can be very confusing to an end user and a possible nightmare to administer.
    My recommendation would be to have a workbook per business area and not mix.
    If there is more than one business area per functional area, for example sales and returns, then so long as the users have access to both business areas then you could use a common workbook.
    Personally I would not even do this, so my strongest advice would be to have all reports in a workbook written against the same business area.
    Hope this helps
    Michael

  • Deployed the same report twice

    I am running SQL2008 R2, with Visual Studio 2005. I thought I selected to build the reports in VS, but must have selected build and deploy.
    I have deployed the same report twice. Both reports have exactly the same file name. The original report has been configured with for a while. The new report i accidentally deployed recently.
    I have tried going into the properties of the new report via the Report Manager and selecting DELETE, but it generates an rsINTERNALERROR.
    The subscriptions for the 2 reports are different. How do i remove the second deployed report?

    Hi totallychibi,
    If I understand correctly, you want to deploy the original report to report server. However, for some reason, the new one report is deployed. As per my understanding, a report will overwrite the same name report when we deploy it to the same folder on report
    server. So we can directly deploy the original report to replace the new one to fix this issue.
    As to rsInternalError, we can review the report server log files to determine the specific cause for this message. By default, the log files are located at \Microsoft SQL Server\MSRS10_50.<instancename >\Reporting Services\LogFiles.
    If there are any misunderstanding, please elaborate the issue for further investigation.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Downloaded Yosemite but it will not install on Macintosh HD as it says it is used for Time Machine Backups but it is not.  TM backup is to an external 2TB HD.  Downloaded OX x twice with the same result.

    Downloaded Yosemite but it will not install on Macintosh HD as it says it is used for Time Machine Backups but it is not.  TM backup is to an external 2TB HD.  Downloaded OX X twice with the same result.

    OS X: Cannot install on a volume used by Time Machine for backups
    For some reason you have a folder called Backups.backupdb at the root level of the hard disk on which you want to install Yosemite.
    Move it to the Trash.

  • HT4059 I was charged twice for the same book. I downloaded it onto 2 devices with the same account. How do I report this?

    I was charged twice for the same book. I downloaded it onto 2 devices with the same account. How do I report this?

    Review your purchase history to ensure that you were charged twice.
    http://support.apple.com/kb/HT2727
    If you believe that you were incorrectly charged, contact iTunes support here:
    http://www.apple.com/support/itunes/contact/

  • Using 2 web services data sources in the same report

    I've been trying unsuccesffuly to use 2 web services data sources in a report. The main report accesses the first web service to get job summary information. 3 fields are are passed as parameters to a sub-report and used as parameters for the sub-report selection. Each report works fine independently, but when I link them together the subreport alway fails to retrieve data.

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551

  • Can someone please tell me why when I order an Itunes app. , do I always get charged twice for the same thing.  It has happened on two different occasions.  Does it have anything to do with having 2 different ipods linked to the same account?

    Can someone please tell me why when  i order an app on my sons ipod, do I get charged twice for it?   When I tried do report a problem with the charge, it said that I can not get a refund on that item.   This is the second time this has happened to me.   Does it have anything to do with having more then one ipod linked to the same account?   Thanks for any help you can give me!!!

    It has nothing to do with have more than one device using that account.
    After you purchase it once, you redownload it on other devices by the following, not like purchasing a new app.
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    If you really got charged twice for purchases the same app twice with the same account contact iTunes again by:
    Apple - Support - iTunes - Contact Us
    Make sure that they are really the same app first.

  • Prevent Jobs Running Twice at the same time

    Hi all, I would like to know if they are any ways to prevent a release job to run twice at the same time. For exemple, if  I create a job to run every 5 minutes and the job did not finish after 5 minutes, the scheduler will start the same job agains.  This situation causing us bad issues.
    I double check the job start conditions in sm37 but I found nothing special.
    Thanks for help

    Hi Marc,
    We use a workaround. We have asked our abap developpers to write a small utility report which checks if the job it is part of is already running and aborts the job if it is the case.
    When we need a job which must absolutely run only once at the same time, we just add this utility as first step.
    Regards,
    Olivier

Maybe you are looking for

  • Forum etiquette and best practices

    Do: Respect others Assume good faith Share what you know Be kind to newbies — we were all new once Encourage others; recognize and praise good work Attract and honor good, knowledgeable people Ask for help, and help others in return Set a good exampl

  • Posting goods receipt in migo getting the error

    hi when posting goods receipt in tc migo getting the error ' check table 169p: entry "cocode" does not exist". What does it mean? what is th e solution for this?

  • Firefox unresposive after hibernating/sleeping - Windows 8

    Lots of similar threads have been raised regarding this same issue but there's still not been any conclusive resolution. I'm using an up to date FF version 28.0 on Windows 8 and after my PC wakes up (so to speak) FF doesn't respond to any clicks, i.e

  • Creating multiple mailboxes on Exchange 2007 fails

    Hi All, We have a problem to create multiple mailboxes simultaneously on Exchange 2007 using the OIM Exchange connector. Only one of the mailboxes is created when multiple powershell scripts are launched at the same time. This problem only occurs in

  • The security-role-assignment references an invalid security-role: Certifica

    In Oracle Enterprise Pack for Eclipse, I failed to deploy an application in debug mode. The error I noticed in my domain log is: weblogic.management.DeploymentException: [HTTP:101168]The security-role-assignment references an invalid security-role: C