SMS through ABAP

Hi
Friends I want to send SMS to  customers  mobiles using abap code .
How It  possible Please help.
I have some previous posted threasds but not able to understand at all.
Should I take some third pary solution or is it  possible  any other way. How to use
http://www.webservicex.net/SendSMS.asmx
Thanks & Regards
SS

Hi,
we can send SMS from ABAP u can check this blog for coding:
/people/durairaj.athavanraja/blog/2005/07/12/send-sms-to-india-from-abap
Also Pls check the below links
http://help.sap.com/saphelp_nw04/helpdata/en/58/97c43af280463ee10000000a114084/frameset.htm
/people/ronen.fox/blog/2007/12/06/sending-sms-notification-via-business-workflow
http://www.****************/Tutorials/Workflow/Workflow.htm
You can use the FM: 'SO_DOCUMENT_SEND_API1' &
'SO_DOCUMENT_SEND_API1_NEW'.
to send the mail,sms etc.
But you have to make some chamnges in the reciever table, jus go thru FM documnetaion once, you will fine the option for sending SMS thru either of this FM.
Below is a sample code for sending e-mail.
so, u can take help from this.
data declarations
DATA : v_sender TYPE soextreci1-receiver,
v_doc TYPE sodocchgi1,
it_paklist TYPE STANDARD TABLE OF sopcklsti1 ,
wa_paklist TYPE sopcklsti1 ,
it_obj_head TYPE STANDARD TABLE OF solisti1 ,
it_obj_bin TYPE STANDARD TABLE OF solisti1 ,
it_obj_txt TYPE STANDARD TABLE OF solisti1 ,
it_obj_rcv TYPE STANDARD TABLE OF somlreci1 ,
wa_obj_rcv TYPE somlreci1 ,
v_desc(100).
CONSTANTS: c_start(12) TYPE c VALUE '000000000000001',
c_num(12) TYPE c VALUE '000000000000002',
c_num1(12) TYPE c VALUE '000000000010030',
c_raw(3) TYPE c VALUE 'RAW',
c_test(4) TYPE c VALUE 'TEST',
c_X(1) TYPE c VALUE 'X'.
refresh internal tables
REFRESH : it_paklist, it_obj_rcv.
clear internal tables
CLEAR : it_paklist, it_obj_rcv, v_sender.
v_sender = sy-uname.
fill internal table it_paklist
wa_paklist-head_start = c_start.
wa_paklist-head_num = c_num.
wa_paklist-body_start = c_start.
wa_paklist-body_num = c_num1.
wa_paklist-obj_name = c_test .
wa_paklist-doc_type = c_raw .
wa_paklist-transf_bin = c_X .
APPEND wa_paklist TO it_paklist.
clear: wa_paklist.
Data in the Header/subject Line
v_desc = text-005 .
v_doc-obj_name = c_objname .
v_doc-obj_descr = v_desc.
Mail text
APPEND v_desc TO it_obj_txt.
Preparing the receiver list
wa_obj_rcv-rec_type = 'U'.
wa_obj_rcv-rec_type = 'C'.
v_dlist = 'SCE_TEST'.
wa_obj_rcv-receiver = v_dlist. "Distribution list.
wa_obj_rcv-receiver = Enter the mail id .
APPEND wa_obj_rcv TO it_obj_rcv.
Call the function module to send mail
IF NOT it_obj_rcv[] IS INITIAL.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = v_doc
sender_address = v_sender
sender_address_type = 'B'
put_in_outbox = 'X'
commit_work = 'X'
TABLES
packing_list = it_paklist
object_header = it_obj_head
contents_bin = it_obj_bin
contents_txt = it_obj_txt
receivers = it_obj_rcv
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 NE 0.
MESSAGE text-006 TYPE 'I' .
ENDIF.
ENDIF .
Regards,
Raj.

Similar Messages

  • SMS through ABAP Program

    Hi Experts,
    How can we send sms through ABAP program. What are the web services required? Is there any tutorial/resource on this topic?
    Regards.
    Abdullah

    Hi...
    Go through this code.....
    REPORT  y_sms_to_india620.
    DATA: http_client TYPE REF TO if_http_client .
    DATA: wf_string TYPE string ,
          result TYPE string ,
          r_str TYPE string .
    DATA: result_tab TYPE TABLE OF string.
    SELECTION-SCREEN: BEGIN OF BLOCK a WITH FRAME .
    PARAMETERS: mail(100) LOWER CASE,
                m_no(20) LOWER CASE ,
                m_mss(120) LOWER CASE.
    SELECTION-SCREEN: END OF BLOCK a .
    START-OF-SELECTION .
      CLEAR wf_string .
      CONCATENATE
      'http://www.webservicex.net/SendSMS.asmx/SendSMSToIndia?MobileNumber='
      m_no
      '&FromEmailAddress='
      mail
      '&Message='
      m_mss
      INTO wf_string .
      CALL METHOD cl_http_client=>create_by_url
        EXPORTING
          url                = wf_string
        IMPORTING
          client             = http_client
        EXCEPTIONS
          argument_not_found = 1
          plugin_not_active  = 2
          internal_error     = 3
          OTHERS             = 4.
      CALL METHOD http_client->send
        EXCEPTIONS
          http_communication_failure = 1
          http_invalid_state         = 2.
      CALL METHOD http_client->receive
        EXCEPTIONS
          http_communication_failure = 1
          http_invalid_state         = 2
          http_processing_failed     = 3.
      CLEAR result .
      result = http_client->response->get_cdata( ).
      REFRESH result_tab .
      SPLIT result AT cl_abap_char_utilities=>cr_lf INTO TABLE result_tab .
      LOOP AT result_tab INTO r_str.
        WRITE:/ r_str .
      ENDLOOP .
    Reward if it helps u...

  • SMS through SAP ABAP in ECC 6.0

    hi
    i want to send the SMS through SAP ABAP,for that I need any FM or any other thing.
    currenlty user send SMS through the TCODE SO01,but i want to do it through abap code.
    please tell me is there any FM exits in SAP to do this,or any other code i have to write.
    regds
    vipin

    Hi Vipin,
    Just check if the
    FM - SO_DYNP_SHORT_MESSAGE
            SO_NEW_DOCUMENT_ATT_SEND_API1
    is useful for you.
    If helpful award points
    Regards,
    Vivek
    I think the below FM would be more helpful, check -
    1. SO_DOCUMENT_SEND_API1
    2. SO_DOCUMENT_SEND_API1_NEW
    Edited by: Vivek on Feb 7, 2009 2:57 PM

  • SMS through SAP ABAP program

    Hello Guys..
    I am creating a program which is basically alert program. As per the requirement if delivery is pending as on date , a SMS need to send the sales guys.
    is there any  stranded function for that, which help me ragarding the same. Mobile no of all are maintain in z table..
    Regards
    Swati....

    Hello,
    please check this:
    http://help.sap.com/saphelp_nw04/helpdata/en/58/97c43af280463ee10000000a114084/frameset.htm
    Re: SMS through SAP
    /people/anilkumar.vippagunta2/blog/2005/07/20/developing-web-application-without-writing-single-line-of-code-my-first-web-log
    <b>/people/durairaj.athavanraja/blog/2005/07/12/send-sms-to-india-from-abap
    /people/durairaj.athavanraja/blog/2005/07/12/send-sms-to-india-from-abap
    http://www.webservicex.net/WS/WSDetails.aspx?CATID=4&WSID=59
    /people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap
    Re: SMS through SAP
    Reagrds,
    Beejal
    **Reward if this helps

  • Creation of IDOC through abap program.

    hello all,
    I hav created idoc through abap program. I hav used FM 'Master_idoc _distrribute'.this program creates an idoc but giving status 30. can any one tell me how to get status 03. I hav already created port, Logical sys,partner no.,distribution model.
    My Program is as follows:
    ABLES : CRMD_ORDERADM_I,CRMD_ORDERADM_H,CRMD_SCHEDLIN.
    DATA : S_CTRL_REC LIKE EDIDC OCCURS 0 WITH HEADER LINE,"Idoc Control Record
           ORDER_NO TYPE CRMT_OBJECT_ID VALUE '5000000032'," SEGMENT ORDER DATA
           PRODUCT TYPE CRMT_ORDERED_PROD VALUE 'SRV_01',
           QUANTITY TYPE CRMT_SCHEDLIN_QUAN VALUE '1.000'.
    DATA : ZORDER LIKE ZORDER_NUM OCCURS 0 WITH HEADER LINE.
    DATA :  T_EDIDD LIKE EDIDD OCCURS 0 WITH HEADER LINE.     "Data Records
    DATA :  T_COMM_IDOC LIKE EDIDC OCCURS 0 WITH HEADER LINE. "Generated Communication IDOc
    CONSTANTS :
    C_ZRZSEG1 LIKE EDIDD-SEGNAM VALUE 'ZORDER_NUM'.
    PARAMETERS :  C_MESTYP LIKE EDIDC-MESTYP DEFAULT 'ZORDER_IDOC2', "Message Type
                  C_RCVPRT LIKE EDIDC-RCVPRT DEFAULT 'LS',          "Partner type of receiver
                  C_LOGSYS LIKE EDIDC-RCVPRN DEFAULT 'BSNL_OUT',
                  C_RCVPOR LIKE EDIDC-RCVPOR DEFAULT 'A000000006',
                  C_SNDPOR LIKE EDIDC-SNDPOR DEFAULT 'SAPBCD0000',
                  C_SNDPRN LIKE EDIDC-SNDPRN DEFAULT 'BCDCLNT100',
                  C_IDOCTP LIKE EDIDC-IDOCTP DEFAULT 'ZORDER2',
                  C_SNDPRT LIKE EDIDC-SNDPRT DEFAULT 'LS'.          "Destination System
    ***START-OF-SELECTION
    START-OF-SELECTION.
      PERFORM GENERATE_CONTROL_RECORD.
      PERFORM SEND_IDOC.
    *&      Form  generate_control_record
    FORM GENERATE_CONTROL_RECORD .
      S_CTRL_REC-RCVPOR = C_RCVPOR. "Receiver Port
      S_CTRL_REC-MESTYP = C_MESTYP. "Message type
      S_CTRL_REC-IDOCTP = C_IDOCTP. "Basic IDOC type
      S_CTRL_REC-RCVPRT = C_RCVPRT. "Partner type of receiver
      S_CTRL_REC-SNDPOR = C_SNDPOR. "SENDER PORT
      S_CTRL_REC-RCVPRN = C_LOGSYS. "Partner number of receiver
      S_CTRL_REC-SNDPRT = C_SNDPRT. "Sender Partner type
      S_CTRL_REC-SNDPRN = C_SNDPRN. "Sender Partner Number
    APPEND S_CTRL_REC.
    ENDFORM.                    " generate_control_record
    *&      Form  send_idoc
    FORM SEND_IDOC.
    ZORDER-ORDER_NO = ORDER_NO.
    ZORDER-PRODUCT = PRODUCT.
    ZORDER-QUANTITY = QUANTITY.
    APPEND ZORDER.
    T_EDIDD-SEGNAM = C_ZRZSEG1.
    T_EDIDD-SDATA = ZORDER.
    APPEND T_EDIDD.
      CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE'
        EXPORTING
          MASTER_IDOC_CONTROL            = S_CTRL_REC
        TABLES
          COMMUNICATION_IDOC_CONTROL     = T_COMM_IDOC
          MASTER_IDOC_DATA               = T_EDIDD
        EXCEPTIONS
          ERROR_IN_IDOC_CONTROL          = 1
          ERROR_WRITING_IDOC_STATUS      = 2
          ERROR_IN_IDOC_DATA             = 3
          SENDING_LOGICAL_SYSTEM_UNKNOWN = 4
          OTHERS                         = 5.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ELSE.
        COMMIT WORK.
        LOOP AT T_COMM_IDOC.
          WRITE:/ 'IDoc Generated - ', T_COMM_IDOC-DOCNUM.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    " send_idoc
    I hav created segment , basic type,message typealso and release also .I also linked them.
    Plz help me.
    Hemlata

    Hi Hemalatha,
    Just call this Progream RSEOUT00 from your Zprogram and pass the basic parameters like IDOC number, Basic type,Partner number etc.
    You can check the parameters by executing the Program RSEOUT00.
    This Program will change the status of your IDOC 30 to 03.
    Thanks.
    Note:Reward Points if you find useful.

  • How to send sms through java program?

    hi,
    i am trying to send sms through java program.i am usining ubuntu 6.04.i am using modem MC35i.i use the jSMSEnjine.jar and rxtxcomm.jar.
    these are the following program.
    import org.jsmsengine.*;
    import java.util.*;
    class SendMessage
         public static void main(String[] args)
              int status;
              // Create jSMSEngine service.
         CService srv = new CService("Com2",9600);
              //CService srv = new CService("COM2",9600);
              System.out.println();
              System.out.println("SendMessage(): sample application.");
              System.out.println(" Using " + srv._name + " " + srv._version);
              System.out.println();
              try
                   //     Initialize service.     
                   srv.initialize();
                   Thread thread =Thread.currentThread();
                   thread.sleep(1000);
                   System.out.println(srv);
                   //     Set the cache directory.
                   srv.setCacheDir(".\\");
                   //     Set the phonebook.
                   //     srv.setPhoneBook("../misc/phonebook.xml");
                   //     Connect to GSM device.
                   status = srv.connect();
                   //     Did we connect ok?
                   int st=CService.ERR_OK;
                   System.out.println(st);
                   System.out.println(status);
                   if (status == CService.ERR_OK)
                        //     Set the operation mode to PDU - default is ASCII.
                        srv.setOperationMode(CService.MODE_PDU);
                        // Set the SMSC number (set to default).
                        srv.setSmscNumber("");
                        //     Print out GSM device info...
                        System.out.println("Mobile Device Information: ");
                        System.out.println("     Manufacturer : " + srv.getDeviceInfo().getManufacturer());
                        System.out.println("     Model : " + srv.getDeviceInfo().getModel());
                        System.out.println("     Serial No : " + srv.getDeviceInfo().getSerialNo());
                        System.out.println("     IMSI : " + srv.getDeviceInfo().getImsi());
                        System.out.println("     S/W Version : " + srv.getDeviceInfo().getSwVersion());
                        System.out.println("     Battery Level : " + srv.getDeviceInfo().getBatteryLevel() + "%");
                        System.out.println("     Signal Level : " + srv.getDeviceInfo().getSignalLevel() + "%");
                        //     Create a COutgoingMessage object and dispatch it.
                        //     *** Please update the phone number with one of your choice ***
    // String smsLengthTest="Hi"+"\nTesting is going on.Test for sending unlimited number of charecter.So you will get N number of SMS.Initially I trancate the whole string by 70 charecter.Later I will put it upto 90 charecter.Some chararecter should kept for header portion.I don't know the total number.It is just test.If you got the sms u should appreciate me...This is Ripon...I have written sms program";
    String smsLengthTest="Hi\n"+"This is Govindo";
    int mao=smsLengthTest.length();
    System.out.println("Length of sms :"+mao);
    String smsNo="9433314095";
    smsNo="+91"+smsNo;
    if(mao<70)
    COutgoingMessage msg = new COutgoingMessage(smsNo,smsLengthTest);
    //     Character set is 7bit by default - lets make it UNICODE :)
    //     We can do this, because we are in PDU mode (look at line 63). When in ASCII mode,
    //          this does not make ANY difference...
    msg.setMessageEncoding(CMessage.MESSAGE_ENCODING_UNICODE);
    if (srv.sendMessage(msg) == CService.ERR_OK) System.out.println("Message Sent!");
    else System.out.println("Message Failed!");
    else
    // COutgoingMessage msg = new COutgoingMessage(smsNo,smsLengthTest);
    // LinkedList messageList;
    // messageList = new LinkedList();
    // messageList.add(msg);
    // LinkedList maooo=new LinkedList();
    // maooo=srv.splitLargeMessages(messageList);
    int sizelength=0;
    int counter=0;
    sizelength=smsLengthTest.length();
    System.out.println("SMS length :"+sizelength);
    int smsCntr=sizelength/70;
    System.out.println("smsCntr :"+smsCntr);
    counter=smsCntr+1;
    int j=70;
    int k=0;
    try
    for(int i=0;i<smsCntr;i++)
    String test="";
    test=test+i;
    test=smsLengthTest.substring(k,j);
    System.out.println(test);
    System.out.println(test.length());
    COutgoingMessage msg = new COutgoingMessage(smsNo, test);
    System.out.println("hi this is suman" + smsNo);
    //     Character set is 7bit by default - lets make it UNICODE :)
    //     We can do this, because we are in PDU mode (look at line 63). When in ASCII mode,
    //          this does not make ANY difference...
    msg.setMessageEncoding(CMessage.MESSAGE_ENCODING_UNICODE);
    if (srv.sendMessage(msg) == CService.ERR_OK) System.out.println("Message Sent!");
    else System.out.println("Message Failed!");
    k=k+70;
    j=j+70;
    catch(Exception e)
    System.out.println("Error...1");
    e.printStackTrace();
    e.getMessage();
    String lastPortion=smsLengthTest.substring(k);
    System.out.println(lastPortion);
    COutgoingMessage msg = new COutgoingMessage(smsNo, lastPortion);
    //     Character set is 7bit by default - lets make it UNICODE :)
    //     We can do this, because we are in PDU mode (look at line 63). When in ASCII mode,
    //          this does not make ANY difference...
    msg.setMessageEncoding(CMessage.MESSAGE_ENCODING_UNICODE);
    if (srv.sendMessage(msg) == CService.ERR_OK) System.out.println("Message Sent!");
    else System.out.println("Message Failed!");
                        // Disconnect from GSM device.
                        srv.disconnect();
                   else System.out.println("Connection to mobile failed, error: " + status);
              catch (Exception e)
                   e.printStackTrace();
              System.exit(0);
    the error is:
    SendMessage(): sample application.
    Using jSMSEngine API 1.2.6 (B1)
    org.jsmsengine.CService@addbf1
    0
    -101
    Connection to mobile failed, error: -101
    please help me,its very urgent.

    come back in about 5 years, we may have time for you by then.
    In the meantime, how about contacting the people who wrote that library and asking them nicely for help (rather than trying to order people to drop whatever they're doing and jump through hoops to accommodate your every wish as you're doing here)?

  • How to Add data in HR infotype 2011 through ABAP

    Hi All,
    Can any one please give me an idea about how to insert time record in Infotype 2011 through ABAP. I cannot use the front end recording (SHDB) as it locks the person's master data. I need to Add the record through ABAP Query. I have inserted record in Table TEven and it works fine but then there is a conflict of sequence number field and system does not allow to change the data in infotype 2011 and gives error message.
    Thanks

    Hi amit
           even i have same requirement i tried with the same code but i'm getting error No data stored for infotype 2011 in the period.
    code:
       CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'
            EXPORTING
              number        = wa_modify-pernr
           IMPORTING
             RETURN        = return
          clear return.
          CALL FUNCTION 'HR_INFOTYPE_OPERATION'
            EXPORTING
              infty                  = p_infty
              number                 = wa_modify-pernr
    *         SUBTYPE                =
    *         OBJECTID               =
    *         LOCKINDICATOR          =
    *         VALIDITYEND            = wa_modify-ldate
    *         VALIDITYBEGIN          =
    *         RECORDNUMBER           =
              record                 = wa_modify
              operation              = 'MOD'
             TCLAS                   = 'A'
             DIALOG_MODE             = '0'
    *         NOCOMMIT               =
    *         VIEW_IDENTIFIER        =
    *         SECONDARY_RECORD       =
           IMPORTING
             RETURN                 = return
    *         KEY                    =
          CALL FUNCTION 'HR_EMPLOYEE_DEQUEUE'
            EXPORTING
              number        = wa_modify-pernr
    *       IMPORTING
    *         RETURN        =

  • How to call Biztalk  through ABAP-DYNPRO

    Hi All  ,
    I want to call a function module which  in  BIZTALK Server through
    ABAP-DYNPRO ( by service call) . for this I require  Destination details ( in  service call ) .
    Can anyone please send me the Destination details or the approach  to follow for calling the  Biztalk ?
    Thanks in advance ..
    Regards
    Rahul

    Run a search on Web service calls from WDA.
    This topic has been addressed on numerous occassions.
    You can call BIZ-TALK using a web service.
    You could also call it using straight HTTP .
    There are classes in ABAP to allow you to write an HTTP client app if required.
    If possible go the Webservice route.
    IE have you Biztalk guy generate a WSDL for the call.
    The follow instructions on numerous threads on calling web services.
    Cheers
    Phil.

  • How to pass table data to brf plus application through abap program

    Dear All,
    i have a question related to BRF Plus management through abap program.
    In brf plus application end, Field1,field2,field3 these 3 are importing parameters.
                                           Table1->structure1->field4,field5 this is the table,with in one structure is there and 2 fields.
    in my abap program, i am getting values of fields let us take field1,field2,field3,field4,field5.
    And my question is
    1) How to pass fields to BRF Plus application from abap program.
    2)How to pass Table data to BRF Plus application from abap program.
    3)How to pass Structure data to BRF Plus application from abap program.
    4)How to get the result data from BRF Plus application to my abap program.
    And finally , how to run FDT_TEMPLATE_FUNCTION_PROCESS.
    How do i get the code automatically when calling the function in brf plus application.
    Regards
    venkata.

    Hi Prabhu,
    Since it is a Custom Fm i cant see it in my system.
    Look if u want to bring data in internal table then there could be two ways::
    1) your FM should contain itab in CHANGING option , so that u can have internal table of same type and pass through FM,
    2) read values one by one and append to internal table.
    Thanks
    Rohit G

  • How to send a sms through froms6i..........

    Can nyone tell me how to send sms through forms6i....................its urgent................

    hey there are many companies giving sms power to you...
    so you can do one thing just make the code below in your button trigger
    and supply the required parameters...
    host('C:\Program Files\Internet Explorer\IEXPLORE.exe http:\\www.'||:IE);
    and then :IE is one of text field there you can write som thing like below...
    http://<your service provider website name and path > ?outLogin=<login>&outPWD=<password>&outMSG=<sms_msg>&outNumber=<phone number>&sign=<signature>
    you have to replace <param name> and make appropriate changes...
    one website i know is....."http://timessms.com"
    Enjoy Oracle....
    Message was edited by:
    Ravi Suthar

  • Can we create a Calender through abap in hr module

    Dear Freinds
                could any body let me know can we create a Calender  through abap .
    my requirement is user is asking me to create a calnder .....and give me him a tcode..........when we click on the calnder for him a rport should be displayed ........
    as he would like to place an object on each particular day........once he lick on that
    day and futher clicks on that object he should get details of the object.
    Please let me know..........as this little bit urgent.
    regards
    vams

    Dear Freinds
                could any body let me know can we create a Calender  through abap .
    my requirement is user is asking me to create a calnder .....and give me him a tcode..........when we click on the calnder for him a rport should be displayed ........
    as he would like to place an object on each particular day........once he lick on that
    day and futher clicks on that object he should get details of the object.
    Please let me know..........as this little bit urgent.
    regards
    vams

  • Steps in BW for intigration with PI system through ABAP proxy communication.

    Hello Experts,
    Need your help.
    We need to extract data from PI system through ABAP proxy communication. Kindly suggest the steps need to be perform on BW side.(from data source creation to setting up the delta queue )
    Thanks,
    Arpan

    Hi Raja Sekhar,
      Thanx for the quick reply.
      If i have got you point right, you are telling me to right a program that will fetch the PO's and push the data into our Interface.
    Let me explain you the complete scenario, we already have a ECC to SUS thrgh PI implemeted for the same PO's generated. Our requirement is that depending on the vendor details in PO's we have got to route the PO details to either SUS or BPM.
    I had thought of writing a prgm but the abapers feel that a standard BADI for the same would lessen their efforts.
    Meanwhile can you explain with a little more detail the standard approach you are referring to... probably some material relating to this would help us...
    thanx a lot..
    waiting for your reply,
    Nandan

  • HTTP Request to Integration Server through ABAP Mapping

    Hi Experts,
    I need to send HTTP Request to Integration Server through ABAP Mapping.
    Could you please provide me ABAP code which will post data to Integration Server.
    Thanks,
    Abdur

    Hi Abdur,
       Can you explain your requierement more clearly?
    Abap mapping is purely to convert the data in source structure to data in target structure.
    It is not the job of Mapping to send data.
    Regards,
    ravi

  • Parallel Processing through ABAP program

    Hi,
    We are trying to do the parallel processing through ABAP. As per SAP documentation we are using the CALL FUNCTION STARTING NEW TASK DESTINATION.
    We have one Z function Module and as per SAP we are making this Function module (FM)as Remote -enabled module.
    In this FM we would like to process data which we get it from internal table and would like to send back the processed data(through internal table) to the main program where we are using CALL FUNCTION STARTING NEW TASK DESTINATION.
    Please suggest how to achieve this.
    We tried out EXPORT -IMPORT option meaning we used EXPORT internal table in the FM with some memory ID and in the main program using IMPORT internal table with the same memory ID.  But this option is not working even though ID and name of the internal table is not working.
    Also, SAP documentation says that we can use RECEIVE RESULTS FROM FUNCTION 'RFC_SYSTEM_INFO'
    IMPORTING RFCSI_EXPORT = INFO in conjunction with CALL FUNCTION STARTING NEW TASK DESTINATION. Documentation also specifies that "RECEIVE is needed to gather IMPORTING and TABLE returns of an asynchronously executed RFC Function module". But while creating the FM remote-enabled we cant have EXPORT or IMPORT parameters.
    Please help !
    Thanks in advance
    Santosh

    <i>We tried out EXPORT -IMPORT option meaning we used EXPORT internal table in the FM with some memory ID and in the main program using IMPORT internal table with the same memory ID. But this option is not working even though ID and name of the internal table is not working</i>
    I think that this is not working because that memory does not work across sessions/tasks.  I think that the
    IMPORT FROM SHARED BUFFER and EXPORT TO SHARED BUFFER would work.  I have used these in the past and it works pretty good.
    Also,
    here is a quick sample of the "new task" and "recieve" functionality.   You can not specify the importing parameters when call the FM.  You specify them at the recieving end.
    report zrich_0001 .
    data: session(1) type c.
    data: ccdetail type bapi0002_2.
    start-of-selection.
    * Call the transaction in another session...control will be stop
    * in calling program and will wait for response from other session
      call function 'BAPI_COMPANYCODE_GETDETAIL'
               starting new task 'TEST' destination 'NONE'
                   performing set_session_done on end of task
        exporting
          companycodeid             = '0010'
    * IMPORTING
    *   COMPANYCODE_DETAIL        = ccdetails
    *   COMPANYCODE_ADDRESS       =
    *   RETURN                    =
    * wait here till the other session is done
      wait until session = 'X'.
      write:/ ccdetail.
    *       FORM SET_session_DONE
    form set_session_done using taskname.
    * Receive results into messtab from function.......
    * this will also close the session
      receive results from function 'BAPI_COMPANYCODE_GETDETAIL'
        importing
           companycode_detail        = ccdetail.
    * Set session as done.
      session = 'X'.
    endform.
    Hope this helps.
    Rich Heilman

  • Create Attachment in workflow through ABAP Class in ECC 5.0

    Hi,
    Wr are using SAP ECC 5.0 and i am trying to create attachment through ABAP class.
    Here in ECC 5.0, macro INCLUDE cntn01_swc is not available.
    I am getting an error in declaration of SOFM object, because again SWC0_OBJECT is not available.
    I've tried creating the parameter as type SOFM and of type table of SOFM but it also not working.
    Can anybody help me how i can create SOFM instance in ABAP class in ECC 5.0?
    Regards,
    Smit

    Hi
    I am not very much sure about ECC 5.0 environment. Firstly are you looking to create a SOFM object inside any class or program or Function module , If yes then you need to include a include INCLUDE CNTN01_SWC (No arrow brackets) if this include is not available then use INCLUDE<CNTN01>  then declare a variable of type SWC0_OBJECT if you are using first include or declare of type SWC_OBJECT.
    Once you include any of the includes then by making use of SWC macros you can create a object
    SWC0_CREATE_OBJECT <VARAIBLE> <BOR NAME> <BORKEY> for first include.
    SWC_CREATE_OBJECT <VARAIBLE> <BOR NAME> <BORKEY> for second include.
    Regards
    Pavan

Maybe you are looking for

  • In solaris oracle env not getting set always i hv to compile .profile

    In solaris 10 intel version oracle ,listener everything is working but problem is in terminal for each session i hv to compile . .profile where is the exact problem ? why my profile is not getting set permanently.

  • How do i add files to itunes without it copying all of them over again

    i just recently purchased a brand new G5... i have been a PC user my whole life and have just recently made the change. I am glad that I have but i am running into some basic problems. I put all of my old mp3s on DVD and just recopyed them into this

  • Frozen? apps

    Hello All, I need your hep once again. I am running an I-mac - Processor 2.4 Intel Core 2 Duo I dragged a picture from my I=photo   to the dock to Photo shop - -part of Creative suite 3 When I did a small dialogue box opens - - -but it is BLANK and o

  • ODI Migration for 10.1.3.5 to 11.1.1.3 failed with Importing object

    ODI Migration from 10.1.3.5 to 11.1.1.3 failed DB Repositories -Oracle 11.1.0.7 I am trying to upgrade ODI 10.1.3.5 to 11.1.1.3 version After running RCC and confirming that there are no issues I have run upgrade assistant utility I am getting below

  • I'd like to ask about the screen of my winpad 110w

    Is it normal if my screen glints just like million of insects flying in the background? Especially when my background color turns into black... If you look from normal sight, you will not notice it, but if you look closely you'll see millions of spot