So_new_document_att_send_api1....please give me test data

Hi Experts,
i am using so_new_document_att_send_api1 FM for send a mail to users with out any attachment,
plz give me test data , why i am using so_new_document_att_send_api1    instead of so_new_document_send_api1 , due to i need text in BOLD.  i can send data in HTML format.
plz help me on this issue.
Thanks.

Hi,
I have mentioned the use of u r FM's are
SO_NEW_DOCUMENT_ATT_SEND_API1 - Sends emails with texts and attachments
SO_NEW_DOCUMENT_SEND_API1 - Sends emails with texts.
check the follwing example..
It will be useful to u....
CONSTANTS : C_HIGH TYPE SODOCCHGI1-PRIORITY VALUE '1' .
DATA : I_CONTENT TYPE TABLE OF SOLISTI1  ,
I_REC TYPE TABLE OF SOMLRECI1 .
DATA : WA_DOCDATA TYPE SODOCCHGI1 ,
WA_CONTENT TYPE SOLISTI1   ,
WA_REC     TYPE SOMLRECI1  .
FILL DOCUMENT DATAWA_DOCDATA-OBJ_NAME    = 'MESSAGE' .
WA_DOCDATA-OBJ_DESCR   = 'test'    .
WA_DOCDATA-OBJ_LANGU   = 'E'       .
WA_DOCDATA-SENSITIVTY  = 'F'       .
WA_DOCDATA-OBJ_PRIO    = C_HIGH    .
WA_DOCDATA-NO_CHANGE   = 'X'       .
WA_DOCDATA-PRIORITY    = C_HIGH    .
FILL OBJECT CONTENTCLEAR WA_CONTENT .
WA_CONTENT-LINE = 'test mail' .
APPEND WA_CONTENT TO I_CONTENT .
FILL RECEIVERSCLEAR WA_REC .
WA_REC-RECEIVER = SY-UNAME .
WA_REC-REC_TYPE = 'B'.
APPEND WA_REC TO I_REC .
CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
  EXPORTING
    DOCUMENT_DATA              = WA_DOCDATA
  TABLES
    OBJECT_CONTENT             = I_CONTENT
    RECEIVERS                  = I_REC
  EXCEPTIONS
    TOO_MANY_RECEIVERS         = 1
    DOCUMENT_NOT_SENT          = 2
    DOCUMENT_TYPE_NOT_EXIST    = 3
    OPERATION_NO_AUTHORIZATION = 4
    PARAMETER_ERROR            = 5
    X_ERROR                    = 6
    ENQUEUE_ERROR              = 7
    OTHERS                     = 8.
IF SY-SUBRC <> 0.
  MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
  WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Regards
Kiran

Similar Messages

  • Test data for the ABAP Function

    Hello Experts,
    Can you please provide me the valid test data for the function modules?
        /SCA/BIF_WORKINPROCESS_BO
                           and
        /SCA/BIF_WORKORDINF_MS
    Thanks and Regards,
    Kuldeep Verma

    Hi ,
    If u want to use the same data to test your function module then we can use this button. To use this button simply press F8 --> give the test data --> And then save this test in the test directory using the SAVE button.
    --> Next time when retest it then their is no need to give all the other information just press Test Data directory..
    Hope you understand.
    Kuldeep

  • Please give me When Nokia C2 is released in india

    Hello ,
                 I am waiting for buy Nokia C2 in india, So please give me release date in india,Waiting for your reply.
    Yours
    Santhosh

    you will need to check with stores in your area or check online traders ,and nokia website
    If  i have helped at all a click on the white star below would be nice thanks.
    Now using the Lumia 1520

  • Please give me idea now I compile all branch data in head office only new r

    Hi master
    Sir I have 5 office In different city and one head office in Karachi all branch have same oracle system my question is how I get new data and compile for accumulative reporting
    I want only new record and modify record not old record
    Old record already I import
    When I use oracle import and export tool that no give me right result
    If xxx table exists in database then import tool not replace and no insert or no replace with previous data with new modify data
    Such as
    First time
    V_no=897 have debit amount 3998 is Islamabad branch and i export form Islamabad and import in Karachi office
    Next time
    Islamabad office change v_no=897 debit amount with 76555 and add many new record
    I export form Islamabad and import in Karachi office but system no change and not add new record in Karachi office
    Please give me idea now I compile all branch data in head office only new record and modify record
    Thanks
    aamir

    Here a very simple example with table EMP, assuming source table has a primary key. Firstly you create a materialized view log on source table (necessary for fast refresh) :
    SYS@db102 SQL> conn test/test
    Connected.
    TEST@db102 SQL> create materialized view log on emp including new values;
    Materialized view log created.
    TEST@db102 SQL> then at destination DB/user :
    TEST@db102 SQL> conn scott/tiger@test10
    Connected.
    SCOTT@test10 SQL> create database link test
      2  connect to test identified by test
      3  using 'db102';
    Database link created.
    SCOTT@test10 SQL> create materialized view emp_mv
      2  refresh fast
      3  as select * from emp@test;
    Materialized view created.
    SCOTT@test10 SQL>Now emp_mv is the exact copy of emp. To refresh the MV, to reflect changes :
    SCOTT@test10 SQL> exec dbms_mview.refresh('EMP_MV','F');
    PL/SQL procedure successfully completed.
    SCOTT@test10 SQL>                                                                  ...but I strongly recommend you to read the documentation...

  • Would anyone please give me a test result of Oracle 9iFS

    We want to build a content management system. We've already built a MIS and the data stored in a Oracle database . The data in the content management will be used by the MIS . would anyone please give us a test result of Oracle 9iFS. We want know the capability, reliability of 9iFS . It will be appreciated If anyone can give us some proposes.
    thanks .

    Thanks for replying. i've tried doing it with one square as a
    movie clip symbol and then flipping that square over with the 3d
    rotation tool and then over and over. but i'm having to draw other
    squares on other layers to make up the rest of the square as it
    gets created. is this the right way to do it? what would be the
    simplest way? i know you said its just an animation, but how would
    you create the animation?
    Thanks

  • My ipad software version and itune is up to date but i can not sync my ipad in itune.please give me a solution

    my ipad software version and itune is up to date but i can not sync my ipad in itune.please give me a solution

    iPad not appearing in iTunes
    http://www.apple.com/support/ipad/assistant/itunes/
    iOS: Device not recognized in iTunes for Mac OS X
    http://support.apple.com/kb/TS1591
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    iTunes for Windows: Device Sync Tests
    http://support.apple.com/kb/HT4235
    IOS: Syncing with iTunes
    http://support.apple.com/kb/HT1386
    Apple - Support - iPad - Syncing
    http://www.apple.com/support/ipad/syncing/
    iTunes 10.5 and later: Troubleshooting iTunes Wi-Fi Syncing
    http://support.apple.com/kb/ts4062
     Cheers, Tom

  • How  to transfer data from one system to another by datamart please give de

    how  to transfer data from one system to another by datamart please give details

    Hi Deba,
    Find the below SAP help doc which may help u...
    http://help.sap.com/saphelp_nw70/helpdata/en/12/43074208ae2a38e10000000a1550b0/frameset.htm
    Also find the below threads...
    Loading data from one cube to another cube.
    data copy from infocube to infocube in two different BW systems
    Delta when loading from ODS to ODS
    reg datamart
    Data mart flag
    Regards,
    KK.

  • SharePoint PPS 2013 Dashboard Designer error "Please check the data source for any unsaved changes and click on Test Data Source button"

    Hi,
    I am getting below error in SharePoint PPS 2013 Dashboard Designer. While create the Analysis Service by using "PROVIDER="MSOLAP";DATA SOURCE="http://testpivot2013:9090/Source%20Documents/TestSSource.xlsx"
    "An error occurred connecting to this data source. Please check the data source for any unsaved changes and click on Test Data Source button to confirm connection to the data source. "
    I have checked all the Sites and done all the steps also. But still getting the error.Its frustrating like anything. Everything is configured correctly but still getting this error.
    Thanks in advance.
    Poomani Sankaran

    Hi Poomani,
    Thanks for posting your issue,
    you must have to Install SQL Server 2012 ADOMD.Net  on your machine and find the browse the below mentioned URL to create SharePoint Dashboard with Analysis service step by step.
    http://www.c-sharpcorner.com/UploadFile/a9d961/create-an-analysis-service-data-source-connection-using-shar/
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • Recently had to purchase a replacement phone a friend of mine had backed up the data on the lost phone to his Mac laptop how do I get that backed up data from the lost iPhone that's on his Mac laptop to my new replacement phone? Please give step by step

    recently had to purchase a replacement phone a friend of mine had backed up the data on the lost phone to his Mac laptop how do I get that backed up data from the lost iPhone that's on his Mac laptop to my new replacement phone? Please give step by step instructions xoxoxo
    And my iTunes sign in is also screwed up... It is underneath my friends email (the one with my backed up data on his Mac laptop) HOW DO I CHANGE THIS SO THAT I CAN DOWNLOAD APP's again...

    I suspect unless he had some items in iCloud backup then they are gone.  Connecting an iPhone to a different library from that to which it was previously connected will result in the device asking if you want to erase it.

  • I have a related but different problem... I prefer that the photos/events on my iPhone and iPad be in "date created" order. Does anyone know if this is possible? Apple...please give us some options.

    I have a related but different problem... I prefer that the photos/events on my iPhone and iPad be in "date created" order. Does anyone know if this is possible? Apple...please give us some options!!!

    This response is a little late as I just read about your problem. I have a 2012 Dodge Charger and a 2012 Chrysler Town and Country and both worked flawlessly with the iPhone 5s my wife and I had. However, we just upgraded to the iPhone 6 and Uconnect will receive calls but you cannot answer them. You can callout successfully, however. the annoyance being the inability to answer incoming calls in the HandsFree mode.

  • Hello! i am new to Macbook pro, i have recently transferred my data from my Pc to Mac, i can not open .exe file. Please give me any suggestion regarding this!

    hello! i am new to Macbook pro, i have recently transferred my data from my Pc to Mac, i can not open .exe file. Please give me any suggestion regarding this!
    I have using Mac OS 10.9.2

    Try running it through WineSkin or CrossOver Mac, or installing Windows through VirtualBox, Parallels Desktop, VMware Fusion, Boot Camp, or similar software.
    (106527)

  • What is Data conversion ? What are data conversion programs ? please give

    What is Data conversion ? What are data conversion programs ? please give me some sample code?

    Hi,
    I think you mean "Data Acquisition"...
    "The Data Acquisition IT process allows you to connect heterogeneous sources (SAP systems, database management systems, files, relational data, multidimensional data) to BI. You can transfer data straight into BI from the source or use SAP NetWeaver XI to transfer data. Furthermore, the process supports direct access to source data, without having to load it into BI."
    http://help.sap.com/saphelp_nw04s/helpdata/en/aa/1fb042e745ca6ae10000000a155106/frameset.htm
    [Data AcquisitionTechniques in SAP NetWeaver BI|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/329fcd87-0c01-0010-4a9c-86f038e11d23]
    Regards
    Andreas

  • Please give the maxl scripts for export data in ASO

    i think we have to use some report file ,please give the report file script and give the full statement of maxl to export data

    There's a couple of ways to do this.
    What version of Essbase are you using?
    Do you want all the data exported or only a subset?
    Brian Chow

  • How to configure a cisco 2960 switch to support two routers(data and voice), please give me any suggestions

    HI, I need to configure a 2960 switch at a client site. They have routers already been installed on site, one is for data traffic another is for voice. I have created two vlans on switch  for data and voice. Now I couldn't get any idea what would be the default gateway on switch. 
    Please give me any suggestions.

    HI Leo, 
                Many thanks for your reply.
             But there are two up-links going from Gi 0/1 and Gi 0/2. I have configured the S/W like below, 
    interface GigabitEthernet0/1
    description UPLINK TO Data router
    switchport access vlan 100
     switchport mode access
    interface GigabitEthernet0/2
    description UPLINK TO voice router
    switchport access vlan 100
     switchport mode access
    interface Vlan1
     no ip address
     no ip route-cache
     shutdown
    interface Vlan60
     ip address 192.168.1.253 255.255.255.0
     ip helper address 192.168.1.1
     no ip route-cache
    interface Vlan100
     ip address 172.16.1.253 255.255.255.0
     ip helper address 172.16.1.1
     no ip route-cache
     I have used IP helper address, but I am getting some connecting issues on PCs and IP phones. Please suggest me, Can I manage it with two uplinks with different IP addresses. 
    Thanks in advance.

  • Not able to change the data of test data containers in production system

    Dear All,
    We have created eCATT scripts in Development SolMan System and moved the transports to Production SolMan System.  Customer wants to change the data at Test data containers and run the scripts in production system but we are not able to edit the data. 
    May be the reason is SCC4 transaction code has set the below option.
    Changes and transports for client-specific Objects
    u2022 No changes allowed
    Customer doesnu2019t want to change the above option and wanted to change the test data containers to give different datau2019s and run the eCATT scripts.
    Could you please let me know the solution for this?
    Your help is really appreciated.
    Thanks,
    Mahendra

    eCatt has the feature where you don't need to transport the scripts or test configuration to our target system. We can keep all our scripts and test data in Solman and run this script any other system in your landscape using the System data container and target system.
    Maintain the production as one of the target system in System container in Solman and point that system while running the script. Change the test data in Solman to run this script.
    Let me know if you need more information
    thanks
    Venkat

Maybe you are looking for

  • Wifi will not connect with new ios 7 update

    I just downloaded the new ios7 on my ipad mini. I cannot connect to wifi now. It will not find a network and will not work when I type it in. I have tried shuting it down.

  • Danish character and Symbol are not displaying in crystal report 2008

    I am developing a crystal report. The report displays data from database. The data is entered into database from a asp.net web form where a JavaScript Editor is used. Mainly data is saved in Danish character and also there are some emotion symbol. Th

  • Iphoto wont download

    i recently bought a used macbook OS X version 10.6.8 and it didnt come with iphoto. I was however given snow leopard, install application disc etc. when i insert the install/application..it says my computer is not compatible. I have tried downloading

  • Can you use ResourceBundle with resrouce that are grouped within folders?

    Hi I'm trying to internationalize my program by using the java ResrouceBundle. Is there a way to use it with resources that have been grouped into folders? For example, instead of using locale to specify the resource name as MessageBundle_en_US.prope

  • Catalog management and splitting?

    Win XP, LR3.4.1 I've over 200k of images, over about 11 spindles totalling 6tb, is there a suggestion of the best practice with regard to catalogs? multiple cats? one for each spindle... one monster cat?  by year or some other criteria? subject?  (I