Program output on mobile phone
Hi friends,
Iam working for CMM Level 5 company in ABAP and i have no idea about XI and MI.
My requirement is:
One program is running in background at 01:30 in the morning every day.
Requirement is that " i need to show the output of that program on mobile as an SMS in background".
Need to send that program output as SMS to a mobile numbers.
I know it is possible using MI and SAP-BASIS.
Can anyone have any idea on this type of requirement.
Good answers, max points.
Thanks,
Vamsykrishna.
hi friend,
first you have to configure your mobile with your sevice provider for this
step1 : type SUB (in caps) in your airtel mobile and send that to number 52600 (only for Tamilnadu users )
step2 : you will recive a confirmation message like "9894243935 @ serviceprovder. com"
step2 : give this in receiver list
step3 : the airtel provider checks for loop backing so please specify a valid sender id
*& Report ZEPM_PRODCUTIONVALUE_SMS
*&created by Mr vijaybabu
**modified for sending sms by E.peachimuthu
*&Requirement by Mr. murugesh Senior manager
REPORT ZEPM_PRODCUTIONVALUE_SMS NO STANDARD PAGE HEADING LINE-SIZE 172..
TABLES: MSEG , MKPF , QAMB , MAKT , MBEW , MARA , T001L , MVKE, ZSD_MOD,SPELL,
MARD.
SELECT-OPTIONS : SO_WERKS FOR MSEG-WERKS OBLIGATORY ,
SO_VKORG FOR MVKE-VKORG OBLIGATORY DEFAULT '1000' ,
SO_BUDAT FOR MKPF-BUDAT OBLIGATORY ,
SO_MATNR FOR MSEG-MATNR ,
SO_FROM FOR MSEG-LGORT ,
P_TO FOR MSEG-LGORT OBLIGATORY.
*parameter : p_to like mseg-lgort obligatory.
*****MAIL/SMS DECLARATIONS ********
data : plant(35) type c,
storage_loaction(35) type c,
Sale_organisation(35) type c,
ltext(105) type c,
text(15) type c.
DATA: OBJPACK LIKE SOPCKLSTI1 OCCURS 2 WITH HEADER LINE.
DATA: OBJHEAD LIKE SOLISTI1 OCCURS 1 WITH HEADER LINE.
DATA: OBJBIN LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
DATA: OBJTXT LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
DATA: RECLIST LIKE SOMLRECI1 OCCURS 5 WITH HEADER LINE,
ld_sender_address LIKE soextreci1-receiver,
ld_sender_address_type LIKE soextreci1-adr_typ.
DATA: DOC_CHNG LIKE SODOCCHGI1.
DATA: TAB_LINES LIKE SY-TABIX,
w_sent_all(1) type c.
DATA L_NUM(3).
DATA : SUB(80) TYPE C.
data p_sender likE somlreci1-receiver.
*******ENDMAIL******
DATA: RET_RATE LIKE KONP-KBETR.
DATA: CHANNEL LIKE TVTWT-VTWEG.
DATA: BEGIN OF ABS OCCURS 0,
WERKS LIKE MSEG-WERKS ,
LOC LIKE MSEG-LGORT ,
VALUE TYPE P DECIMALS 2,
END OF ABS.
DATA: WS_LOT LIKE QAMB-PRUEFLOS.
DATA: SL TYPE P DECIMALS 0.
DATA: WS_RATE LIKE MBEW-VERPR.
DATA: WS_VALUE TYPE P DECIMALS 2.
DATA: WS_CHANNEL(02) TYPE C.
DATA: WA_VKORG LIKE MVKE-VKORG.
data: wa_bwkey like mbew-bwkey.
DATA: T_VALUE TYPE P DECIMALS 2.
DATA: MOD_DATE(6) TYPE N.
DATA: BEGIN OF ITAB OCCURS 0,
MBLNR LIKE MSEG-MBLNR ,
MJAHR LIKE MSEG-MJAHR ,
ZEILE LIKE MSEG-ZEILE ,
MATNR LIKE MSEG-MATNR ,
BUDAT LIKE MKPF-BUDAT ,
BWART LIKE MSEG-BWART ,
WERKS LIKE MSEG-WERKS ,
MENGE LIKE MSEG-MENGE ,
LOC LIKE MSEG-LGORT ,
END OF ITAB.
INITIALIZATION.
P_TO-SIGN = 'I'.
P_TO-OPTION = 'EQ'.
P_TO-LOW = '1200'.
APPEND P_TO.
P_TO-LOW = '3200'.
APPEND P_TO.
P_TO-LOW = '4200'.
APPEND P_TO.
SO_WERKS-SIGN = 'I'.
SO_WERKS-OPTION = 'EQ'.
SO_WERKS-LOW = '1000'.
APPEND SO_WERKS.
SO_WERKS-LOW = '3000'.
APPEND SO_WERKS.
SO_WERKS-LOW = '4000'.
APPEND SO_WERKS.
SO_BUDAT-SIGN = 'I'.
SO_BUDAT-OPTION = 'EQ'.
SO_BUDAT-LOW = SY-DATUM.
SO_BUDAT-HIGH = SY-DATUM.
APPEND SO_BUDAT.
START-OF-SELECTION.
SELECT MSEGMBLNR MSEGMJAHR
MSEGZEILE MSEGMATNR MKPF~BUDAT
MSEGBWART MSEGWERKS MSEG~MENGE
INTO CORRESPONDING FIELDS OF TABLE ITAB
FROM MKPF INNER JOIN MSEG
ON MKPFMBLNR = MSEGMBLNR
AND MKPFMJAHR = MSEGMJAHR
AND MKPFMANDT = MSEGMANDT
WHERE BUDAT IN SO_BUDAT
AND MATNR IN SO_MATNR
AND WERKS IN SO_WERKS
AND BWART = '321'
AND UMLGO IN P_TO. " FIELD NAME CHANGED FROM LGORT TO UMLGO WEF 03-01-08 01:00pm SRINI / G.RAJENDRAN
*{ DELETE D01K903932 1
*\ AND XAUTO = 'X' "INSERTED ON 17-12-2007 BY ARUN / SRINIVASAN
*} DELETE
AND LGORT IN P_TO.
PERFORM HEADER.
SL = 0.
LOOP AT ITAB.
WS_LOT = 0.
SELECT SINGLE PRUEFLOS INTO (WS_LOT) FROM QAMB
WHERE MBLNR EQ ITAB-MBLNR AND
MJAHR EQ ITAB-MJAHR AND
ZEILE EQ ITAB-ZEILE AND
TYP = '3'.
IF SY-SUBRC NE 0.
DELETE ITAB .
CONTINUE. ENDIF.
SELECT SINGLE * FROM QAMB
WHERE PRUEFLOS EQ WS_LOT AND
TYP = '1'.
IF SY-SUBRC NE 0.
DELETE ITAB .
CONTINUE. ENDIF.
SELECT SINGLE * FROM MSEG
WHERE MBLNR EQ QAMB-MBLNR AND
MJAHR EQ QAMB-MJAHR AND
ZEILE EQ QAMB-ZEILE AND
WERKS IN SO_WERKS AND
LGORT IN SO_FROM.
IF SY-SUBRC NE 0.
DELETE ITAB .
CONTINUE. ENDIF.
MOVE MSEG-LGORT TO ITAB-LOC.
MODIFY ITAB.
ENDLOOP.
SORT ITAB BY LOC MATNR BUDAT MBLNR MJAHR.
T_VALUE = 0.
LOOP AT ITAB.
SELECT SINGLE * FROM MARA WHERE MATNR EQ ITAB-MATNR.
IF SY-SUBRC NE 0. DELETE ITAB. CONTINUE. ENDIF.
SELECT SINGLE * FROM MAKT WHERE MATNR EQ ITAB-MATNR.
IF SY-SUBRC NE 0. DELETE ITAB .CONTINUE. ENDIF.
*===========================================================
In Material master accounting rate fetch organization
check added on 06.05.2004 as per instruction by Mr.Ariyanayagam.
if itab-werks = '2000'.
clear: wa_bwkey.
wa_bwkey = '2000'.
SELECT SINGLE * FROM MBEW WHERE MATNR EQ ITAB-MATNR and
bwkey = wa_bwkey.
IF SY-SUBRC NE 0. DELETE ITAB . CONTINUE. ENDIF.
else.
SELECT SINGLE * FROM MBEW WHERE MATNR EQ ITAB-MATNR.
IF SY-SUBRC NE 0. DELETE ITAB . CONTINUE. ENDIF.
endif.
Rate fetch org check ends.
*=================================================================
SELECT SINGLE * FROM MARD WHERE MATNR EQ ITAB-MATNR AND
LGORT EQ '1200'.
IF SY-SUBRC NE 0. MARD-LGPBE = SPACE. ENDIF.
Defence Auto components Added on 19/02/2002
*============================================
IF ITAB-LOC = '1200'. DELETE ITAB. CONTINUE. ENDIF.
IF ITAB-LOC = '1042' AND MARA-MATKL NE 'AUTDEF'.
PERFORM MODULE_FETCH.
DELETE ITAB. CONTINUE.
ENDIF.
IF MARA-MATKL = 'AUTDEF'.
ITAB-LOC = '1042'.
MODIFY ITAB.
PERFORM MODULE_FETCH.
ENDIF.
IF ITAB-LOC = '1041'.
PERFORM MODULE_FETCH.
DELETE ITAB. CONTINUE.
ENDIF.
WS_RATE = 0.
IF MBEW-VPRSV = 'V'.
MOVE MBEW-VERPR TO WS_RATE.
ELSEIF MBEW-VPRSV = 'S'.
MOVE MBEW-STPRS TO WS_RATE.
ENDIF.
a.tamilselvi for correction vkorg for rate fetching.
if itab-werks = '1000' or itab-werks = '3000' or itab-werks = '4000' or itab-werks = '1004'.
wa_vkorg = '1000'.
else.
wa_vkorg = itab-werks.
endif.
*IF ITAB-WERKS = '2000'.
WA_VKORG = '2000'.
*elseif itab-werks = '5000'.
wa_vkorg = '5000'.
*elseif itab-werks = '6000'.
wa_vkorg = '6000'.
*ELSE.
WA_VKORG = '1000'.
*ENDIF.
FROM SALES DATA.
CALL FUNCTION 'ZSDF_GETPRDRATE'
EXPORTING
PM_MATNR = ITAB-MATNR
PM_VKORG = WA_VKORG
PM_DATE = ITAB-BUDAT
IMPORTING
CHANNEL = CHANNEL
RET_RATE = RET_RATE
EXCEPTIONS
OTHERS = 1.
IF RET_RATE > 0.
MOVE RET_RATE TO WS_RATE.
MOVE CHANNEL TO WS_CHANNEL.
ELSE.
MOVE ' ' TO WS_CHANNEL.
ENDIF.
IF WS_CHANNEL = '20' or ws_channel = '21' or ws_channel = '23'.
SELECT SINGLE * FROM MVKE WHERE MATNR EQ ITAB-MATNR AND
VTWEG in ('20','21','23').
IF MVKE-KONDM = '01'.
WS_RATE = WS_RATE - ( WS_RATE * '0.30' ) .
WS_RATE = WS_RATE * '0.9324'.
ELSEIF MVKE-KONDM = '02'.
WS_RATE = WS_RATE - ( WS_RATE * '0.4091' ).
WS_RATE = WS_RATE * '0.9324'.
ELSEIF MVKE-KONDM = '03'.
WS_RATE = WS_RATE - ( WS_RATE * '0.3637' ).
WS_RATE = WS_RATE * '0.9324'.
ELSEIF MVKE-KONDM = '04'.
WS_RATE = WS_RATE - ( WS_RATE * '0.20' ).
WS_RATE = WS_RATE * '0.9324'.
ENDIF.
ENDIF.
COMPUTE WS_VALUE = ITAB-MENGE * WS_RATE.
COMPUTE T_VALUE = T_VALUE + WS_VALUE.
SL = SL + 1.
if itab-loc = '1170' and mara-spart eq '60'.
perform mat_txt.
endif.
WRITE:/ '|' NO-GAP ,
(5) SL NO-GAP , '|' NO-GAP ,
ITAB-LOC NO-GAP , '|' NO-GAP ,
ITAB-MBLNR NO-GAP , '|' NO-GAP ,
ITAB-MJAHR NO-GAP , '|' NO-GAP ,
ITAB-ZEILE NO-GAP , '|' NO-GAP ,
ITAB-BUDAT NO-GAP , '|' NO-GAP ,
ITAB-MATNR NO-GAP , '|' NO-GAP ,
(15)MARA-BISMT NO-GAP , '|' NO-GAP ,
(30)MAKT-MAKTG NO-GAP , '|' NO-GAP ,
(12)ITAB-MENGE NO-GAP , '|' NO-GAP ,
(10)WS_RATE NO-GAP , '|' NO-GAP ,
(15)WS_VALUE NO-GAP , '|' NO-GAP,
*{ INSERT D01K903779 1
(02) mara-spart no-gap, '|' no-gap,
*} INSERT
(02)WS_CHANNEL NO-GAP , '|' NO-GAP,
(10)MARD-LGPBE
READ TABLE ABS WITH KEY WERKS = ITAB-WERKS
LOC = ITAB-LOC.
IF SY-SUBRC EQ 0.
ADD WS_VALUE TO ABS-VALUE.
MODIFY ABS INDEX SY-TABIX.
ELSE.
MOVE ITAB-LOC TO ABS-LOC.
MOVE ITAB-WERKS TO ABS-WERKS.
MOVE WS_VALUE TO ABS-VALUE.
APPEND ABS.
ENDIF.
CLEAR ABS.
PERFORM MODULE_FETCH.
MOVE itab-budat+0(6) TO mod_date.
SELECT SINGLE * FROM zsd_mod WHERE matnr = itab-matnr AND
monyr = mod_date.
IF sy-subrc NE 0.
zsd_mod-matnr = itab-matnr.
zsd_mod-monyr = mod_date.
PERFORM module_update.
INSERT INTO zsd_mod VALUES zsd_mod.
COMMIT WORK.
ELSE.
PERFORM module_update.
MODIFY zsd_mod.
COMMIT WORK.
ENDIF.
ENDLOOP.
ULINE.
WRITE:/ 'Total value : ' , T_VALUE.
ULINE.
WRITE:/ , /.
WRITE:/ 'ABSTRACT' COLOR 3.
WRITE:/ SY-ULINE(46).
T_VALUE = 0.
SL = 0.
LOOP AT ABS.
SELECT SINGLE * FROM T001L WHERE WERKS EQ ABS-WERKS AND
LGORT EQ ABS-LOC.
IF SY-SUBRC NE 0. CLEAR T001L. ENDIF.
SL = SL + 1.
WRITE:/(5) SL NO-GAP , '|' NO-GAP ,
ABS-LOC NO-GAP , '|' NO-GAP ,
T001L-LGOBE NO-GAP , '|' NO-GAP ,
ABS-VALUE NO-GAP , '|' NO-GAP.
T_VALUE = T_VALUE + ABS-VALUE.
ENDLOOP.
WRITE:/ SY-ULINE(46).
WRITE:/ 'Total value : ' , T_VALUE.
WRITE:/ SY-ULINE(46).
perform send_sms.
FORM HEADER.
ULINE.
FORMAT COLOR 1 ON.
WRITE:/ '|' NO-GAP ,
(5) 'Slno' NO-GAP , '|' NO-GAP ,
'SLoc' NO-GAP , '|' NO-GAP ,
'Material Document ' , '|' NO-GAP ,
'Post.date ' NO-GAP , '|' NO-GAP ,
(18)'Material' NO-GAP , '|' NO-GAP ,
(15)'Old.code' NO-GAP , '|' NO-GAP ,
(30)'Description ' NO-GAP , '|' NO-GAP ,
(12)'Quantity' NO-GAP , '|' NO-GAP ,
(10)'Rate' NO-GAP , '|' NO-GAP ,
(15)'Value' NO-GAP , '|' NO-GAP,
*{ INSERT D01K903779 1
(02) 'Dv' no-gap, '|' no-gap,
*} INSERT
(02)'Ch' NO-GAP , '|' NO-GAP,
(11)'Storage Bin'
FORMAT COLOR 1 OFF.
ULINE.
ENDFORM.
*& Form MODULE_UPDATE
text
--> p1 text
<-- p2 text
FORM MODULE_UPDATE.
CLEAR : ZSD_MOD-DISPO.
IF ITAB-LOC = '1001'. MOVE '101' TO ZSD_MOD-DISPO. ENDIF.
IF ITAB-LOC = '1002'. MOVE '102' TO ZSD_MOD-DISPO. ENDIF.
IF ITAB-LOC = '1003'. MOVE '103' TO ZSD_MOD-DISPO. ENDIF.
IF ITAB-LOC = '1004'. MOVE '104' TO ZSD_MOD-DISPO. ENDIF.
IF ITAB-LOC = '1005'. MOVE '105' TO ZSD_MOD-DISPO. ENDIF.
IF ITAB-LOC = '1006'. MOVE '106' TO ZSD_MOD-DISPO. ENDIF.
IF ITAB-LOC = '1011'. MOVE '111' TO ZSD_MOD-DISPO. ENDIF.
IF ITAB-LOC = '1021'. MOVE '201' TO ZSD_MOD-DISPO. ENDIF.
IF ITAB-LOC = '1022'. MOVE '202' TO ZSD_MOD-DISPO. ENDIF.
IF ITAB-LOC = '1026'. MOVE '206' TO ZSD_MOD-DISPO. ENDIF.
IF ITAB-LOC = '1041'. MOVE '412' TO ZSD_MOD-DISPO. ENDIF.
IF ITAB-LOC = '1042'. MOVE '412' TO ZSD_MOD-DISPO. ENDIF.
IF ITAB-LOC = '1044'. MOVE '203' TO ZSD_MOD-DISPO. ENDIF.
IF ITAB-LOC = '1051'. MOVE '501' TO ZSD_MOD-DISPO. ENDIF.
IF ITAB-LOC = '1052'. MOVE '502' TO ZSD_MOD-DISPO. ENDIF.
IF ITAB-LOC = '1055'. MOVE '503' TO ZSD_MOD-DISPO. ENDIF.
IF ITAB-LOC = '1057'. MOVE '207' TO ZSD_MOD-DISPO. ENDIF.
W.e.f Apr.2004 1057 locked and 1028 activated for 207 module.
IF ITAB-LOC = '1028'. MOVE '207' TO ZSD_MOD-DISPO. ENDIF.
IF ITAB-LOC = '1071'. MOVE '701' TO ZSD_MOD-DISPO. ENDIF.
IF ITAB-LOC = '1072'. MOVE '702' TO ZSD_MOD-DISPO. ENDIF.
IF ITAB-LOC = '1073'. MOVE '703' TO ZSD_MOD-DISPO. ENDIF.
IF ITAB-LOC = '1611'. MOVE '610' TO ZSD_MOD-DISPO. ENDIF.
IF ITAB-LOC = '3012'. MOVE '601' TO ZSD_MOD-DISPO. ENDIF.
IF ITAB-LOC = '3022'. MOVE '602' TO ZSD_MOD-DISPO. ENDIF.
IF ITAB-LOC = '3032'. MOVE '603' TO ZSD_MOD-DISPO. ENDIF.
IF ITAB-LOC = '3042'. MOVE '604' TO ZSD_MOD-DISPO. ENDIF.
IF ITAB-LOC = '4052'. MOVE '605' TO ZSD_MOD-DISPO. ENDIF.
IF ITAB-LOC = '3052'. MOVE '605' TO ZSD_MOD-DISPO. ENDIF.
IF ITAB-LOC = '3062'. MOVE '606' TO ZSD_MOD-DISPO. ENDIF.
IF ITAB-LOC = '4072'. MOVE '607' TO ZSD_MOD-DISPO. ENDIF.
IF ITAB-LOC = '3072'. MOVE '607' TO ZSD_MOD-DISPO. ENDIF.
IF ITAB-LOC = '4092'. MOVE '609' TO ZSD_MOD-DISPO. ENDIF.
IF ITAB-LOC = '3112'. MOVE '612' TO ZSD_MOD-DISPO. ENDIF.
W.e.f Jan.2005 activated for 611 module.
IF ITAB-LOC = '3612'. MOVE '611' TO ZSD_MOD-DISPO. ENDIF.
ENDFORM. " MODULE_UPDATE
*& Form MODULE_FETCH
text
--> p1 text
<-- p2 text
FORM MODULE_FETCH.
MOVE ITAB-BUDAT+0(6) TO MOD_DATE.
SELECT SINGLE * FROM ZSD_MOD WHERE MATNR = ITAB-MATNR AND
MONYR = MOD_DATE.
IF SY-SUBRC NE 0.
ZSD_MOD-MATNR = ITAB-MATNR.
ZSD_MOD-MONYR = MOD_DATE.
PERFORM MODULE_UPDATE.
IF NOT ZSD_MOD-DISPO IS INITIAL.
INSERT INTO ZSD_MOD VALUES ZSD_MOD.
COMMIT WORK.
ENDIF.
ELSE.
PERFORM MODULE_UPDATE.
IF NOT ZSD_MOD-DISPO IS INITIAL.
MODIFY ZSD_MOD.
COMMIT WORK.
ENDIF.
ENDIF.
ENDFORM. " MODULE_FETCH
*& Form mat_txt
text
--> p1 text
<-- p2 text
FORM mat_txt .
data: wa_bismt like mara-bismt.
data: wa_matnr like mara-matnr.
if mara-bismt+0(1) ne 'M'.
func to rev conver
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
EXPORTING
INPUT = itab-matnr
IMPORTING
OUTPUT = wa_matnr
concatenate 'M00000' wa_matnr into wa_bismt.
mara-bismt = wa_bismt.
clear: wa_bismt,wa_matnr.
endif.
ENDFORM. " mat_txt
*& Form send_sms
text
--> p1 text
<-- p2 text
FORM send_sms .
Creation of the document to be sent
File Name
DOC_CHNG-OBJ_NAME = 'SENDMAIL'.
Mail Subject
CONCATENATE 'PDN value' '' INTO SUB SEPARATED BY SPACE.
DOC_CHNG-OBJ_DESCR = SUB.
Mail Contents
CLEAR SUB.
*DATA : SPELL(100) TYPE C.
OBJTXT = SUB.
CALL FUNCTION 'SPELL_AMOUNT'
EXPORTING
AMOUNT = t_value
CURRENCY = 'INR'
FILLER = ' '
LANGUAGE = SY-LANGU
IMPORTING
IN_WORDS = SPELL
EXCEPTIONS
NOT_FOUND = 1
TOO_LARGE = 2
OTHERS = 3
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
text = t_value.
condense text.
if so_werks-high = space.
loop at so_werks.
if sy-tabix = 1.
concatenate 'plant:' so_werks-low into plant.
else.
concatenate plant so_werks-low into plant separated by ','.
endif.
endloop.
else.
concatenate 'plant:' so_werks-low '_To_' so_werks-high into plant.
endif.
concatenate plant ' __ ' 'Pdn val on :' SO_BUDAT-low6(2) '.' SO_BUDAT-low4(2) '.' SO_BUDAT-low+0(4)
into objtxt .
DATA : SPL(80) TYPE C.
*SPELL-WORD LOWER CASE
TRANSLATE SPELL-WORD TO LOWER CASE.
concatenate objtxt 'is Rs' text ':' SPELL-WORD 'Rupees only' into objtxt separated by ''.
*concatenate objtxt into objtxt separated by space.
append objtxt.
DESCRIBE TABLE OBJTXT LINES TAB_LINES.
READ TABLE OBJTXT INDEX TAB_LINES.
DOC_CHNG-DOC_SIZE = 20.
Creation of the entry for the compressed document
CLEAR OBJPACK-TRANSF_BIN.
OBJPACK-HEAD_START = 1.
OBJPACK-HEAD_NUM = 0.
OBJPACK-BODY_START = 1.
OBJPACK-BODY_NUM = TAB_LINES.
OBJPACK-DOC_TYPE = 'RAW'.
APPEND OBJPACK.
CLEAR RECLIST.
read table so_werks index 1.
if so_werks-low = '1000'.
endif.
RECLIST-RECEIVER = "recv id"
RECLIST-EXPRESS = 'X'.
RECLIST-REC_TYPE = 'U'.
APPEND RECLIST.
p_sender = " sender id "
ld_sender_address = p_sender.
ld_sender_address_type = 'INT'.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
DOCUMENT_DATA = DOC_CHNG
put_in_outbox = 'X'
sender_address = ld_sender_address
sender_address_type = ld_sender_address_type
COMMIT_WORK = 'X'
TABLES
PACKING_LIST = OBJPACK
CONTENTS_TXT = OBJTXT
RECEIVERS = RECLIST
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
SUBMIT RSCONN01 WITH MODE = 'INT'
WITH OUTPUT = ''
AND RETURN.
ENDFORM. " send_sms
Similar Messages
-
Looking for someone to make a program for my mobile phone
OK, I am looking for a programmer, who could make me a program for my mobile.
I have a sony ericsson w300i
The program needs to, when opened, change all bluetooth devices on the list, to always allow connections. So all the devices on that list are set to always allow and not always ask.
If this is not possible to do, please tell me, or if you could make this program for me, tell me too.
The program must be fast and silent. I need it to just work when opened, without a message coming up or anything, this will allow me to quickly and easily proceed with my business
The reason I need this program, is because I have I REALLY long list of devices, and it really does take a long time to change the settings to allow connection on all of them. (I need to allow connections for the specific programs I test and use, on my PC)
You can access the list (on sony ericsson) by going to: menu -> settings -> connectivity -> bluetooth -> my devices.
I might be willing to pay, if the program works well!{color:#000080}@DrClap
j2me can't mess around with the security that is built into the bluetooth protocol.
@OP
Bluetooth pairing cannot be overridden nor done programmatically. Ability to connect to another device would always depend on the owner of that device having maintained the BT address of your device in the list of known devices.
Bluetooth connection can be done through a program, but there is nothing to be gained from that unless the program needs the BT connection to transfer data between devices, as the connection is in use as long as the program holds on to it, and disconnected when the program exits (if not before).
db{color} -
How to implement programs written in j2me to real mobile phones..
hi,
As i'm new to this technology I wonder how I can run my program in the real mobile phones. What are the things required to transfer codes from the computer to mobile phones and what is required to run those programs in the mobile phones...
regards,
JayThere are a few posibilities and not all device with support all of them
1. via a webserver where you put the jad and jar file of your application. The webserver needs to have the correct mime types setup, and then you can simple browse to that url with your device, and install the application
2. via the datacable or bleutooth: sometimes you can access the phones filesystem and install the application, somethimes you'll have to upload the application with some application. All very device dependant... -
How to design a java program to java supported mobile phone
I need to know how to design a java program to java supported mobile phone and how to install it on mobile phone? also i need to know how to create a ".jar" file, because my mobile phone is require '.jar' files. if anyone know please let me know.
I need to know how to design a java program to java
supported mobile phone and how to install it on
mobile phone? also i need to know how to create a
".jar" file, because my mobile phone is require
'.jar' files. if anyone know please let me know.http://java.sun.com/j2me/index.jsp
http://java.sun.com/docs/books/tutorial/deployment/jar/index.html -
Sending sms on mobil phone by ABAP Program
Hello all,
can any on give me example program to send sms on mobile phone by ABAP Program.
Thanks
Rajesh ChoudharyHi,
check this link Rich's reply might help you.
Re: How to send a mailt to cell pone number or pager
Regards,
Amit -
Question: how to use JAVAEE to run the WAP program of mobile phone on web?
I want to develop a web program by JAVAEE. It uses the simulator of mobile phone to run the WAP program of mobile phone on web. You can operate the program on the page just as do on mobile phone. tell me how to develop on details soon. show the code, please.
Haha, there's no way in hell you can do that. And nobody in their right mind would write the code for you, at least for free.
Jesus with you people these days..."Java_Researcher". I bet you've never written a single line of Java. -
Hello I have purchased the account from the shop for mobile phones and when Dgt a balance of $ 75 U.S. dollars tried to go down some programs, but ask me to answer questions and there have even when the shop is not accepted to give me any data about amyl which bearing correctly and password also trueThe name is true, how can I re-answer these questions??? replace phones is that Ahab Please give me the quick fix and sent the answer to Emile is:[email protected]
Well I can't understand your english at all. If you need to reset your security questions, then try this:
Account Security Team (AST)
Check the AppleCare number for your country here:
http://support.apple.com/kb/HE131
Call them up, and let them know you would like to be transferred to the Account Security Team.
Or… click on the blue "Start your support request online" links. -
Mobile (phone & tablet) screen profiles not displaying correctly
RoboHelp 11 on a Windows 7 machine
I have a small project that I put down in August and just picked up again today. The only changes I made today were a background color in the selected layout and adding browsers to the screen profiles (desktop, mobile, phone). I also changed the pixel sizes of aforementioned screen profiles, and saved, but ultimately thought better of it and changed them back. I don't know if that would have made any difference to this problem. (When I made the size changes RH told me to update the media queries, but I'm not using any... or at least none came up in the Manage Media Queries functionality.)
Then I re-generated the output, but the tablet and phone screen sizes are no longer displaying properly when I tested by changing the size of my desktop browser--there is a rather large "dead zone" browser size in which no content is displayed at all (which makes it almost seem like the "responsive" part of the output doesn't work), the internal navigation (forward and back buttons, and bar) is shoved up in the header bar, and no browser horizontal scroll bar appears so that I can scroll to see the edge of wide images. I mainly use IE but this occurred in Firefox and Chrome as well. The desktop display seems to work fine. (I'm so sorry I don't have screenshots now--I can provide some if needed.)
I wondered if this had something to do with my chosen "template" but a brand new project that used that same one (Theme1_Standard) didn't have any problems. Now, I also noticed that the template seems to have changed since I was last in Robohelp, because the unchanged template preview today was definitely not the same as the template from August. The Readme for the latest patch didn't mention anything that I thought seemed to be related.
Like I said, all I changed were a color, the screen profile browsers, and the screen profile sizes which I later discarded. I am completely at a loss as to what caused this and how to fix it. I feel like a complete dolt because it seems to be related to something I *DID* but retracing my steps has yielded nothing.
Thank you!
UPDATE
Still having this issue, but in poking around I discovered that some of the program files on my local machine were updated in mid-September (when it looks like the latest patch's ReadMe file was installed on my computer) and others were updated mid-October (the first time I was in RH since mid-August, though I didn't generate anything then). I don't know if this means anything, but to me it looks mildly suspicious. Thx.Screenshots:
Internal navigation shoved up into the header bar (yellow on top of black, color changed here just to show this):
In tablet size, an extra wide image does not cause a horizontal scrollbar to appear anywhere at the bottom of the browser to scroll to the right side of the image (sorry this one is hard to see, but the image does go off to the right side of the screen):
Dead zone:
Content reappears at a much smaller size and a much larger size, but the top/bottom/and right-side text wrap is off:
(Again, above, notice no horizontal scroll bar despite the extra wide image.)
It may be of note that I can use a different template (e.g. Theme2_Government) and I don't have such problems. I guess this means there's something wrong with the template/layout in this project. Am I just going to have to reconstruct it?
Thanks,
S -
Sending & receiving signals from a mobile phone i/o
Dear friends,
I am working on a project to send and retrieve data (electrical signals) to an external hardware circuit using a mobile phone.(My project doesn't use a computer, instead I use a mobile phone that is capable of supporting JVM.)
Can I use the USB(or any other output that can be used to send signals) port of the mobile? Is there an API to handle that?.(there is an API callled jsr-80 but I wasn't able to find that. I found only the specification)
How can I access the port? How can I use the wireless toolkit to do simulation? Please tell me how to program the USB output to send signals?
If u got any tutorials, white papers or any related web links please let me know.
CAn I use Bluetooth instead of USB without using a computer?
Thank You.
Note: I am working under windows platform.umm i am trying to do the same thing... look into BREW
http://www.devx.com/wireless/Article/11932
but i unno i didn't get into that cause its expensive :S ... but take a look into it any ways :P
you could all wyas use filters and detect like dial tones... or if you have a collor phone change le back ground color and detect it with infreared (the color) or enven black and whit do like a barcode with a barcode reader?
oh if you have the mobile kit from your phone sniff the usb packets and try to pull the data -
How to connect PC to a mobile phone to make a call.
Hi all,
I want my PC to control the mobile phone (its a CDMA phone). I want to connect the phone with my PC through some cable, then I want to control the phone using the program running on my PC.
Like, I want my program running on PC to make calls through the mobile phones.
Does anyone have any idea that how can I do it, what API should I use, any sample code or example.
Thanks.Except TextNow is another Voip service. Just like Skype, Viber, etc. It may be a good Voip product but it doesn't use the mobile cellular network which is what the OP was interested in.
http://support.textnow.com/entries/20588531-What-is-the-Difference-between-A-Tex tNow-Phone-Number-and-TextNow-Address-
Many iPad models now have exactly the same hardware as iPhones and should be completely capable of making and receiving calls and texts using a cellular network. Yet they cannot, because Apple limits this functionality through the ios. -
Address Book and Bluetooth Mobile Phone
Hi,
I have been trying to use my bluetooth enabled mobile phone with the address book to dial numbers and send sms. I am using the Nokia 9500 and the Motorola Razr V3 BLK. But when I pair the phone with address book and click on the tab of the contact, address book loses the bluetooth connection and the Send SMS and dial number options are not highlighted.
I have tried looking around for help, but haven't found anything. I would appreciate it if anyone could help me with this.
Best Regards,
AdityaThis facility is usually dependent on your network
I am in uk on Vodafone and it doesnt work here
I use a small program called BluePhoneElite with the v3 and it handles sms and the calls very well
They pop up on the powerbook screen and also the sms save to the powerbook
thats the address you can get a free trial
I paid the small amount and have been very happy with it
Now I wish there was a program to handle landline calls
I am just a happy customer nothing to do with the company before anyone asks!
http://www.reelintelligence.com/BluePhoneElite/ -
Writing file content on to mobile phone (need to specify the file name req)
Hi,
I have a jsp page which i am trying to execute on a mobile phone. In this page i am trying to open a ServletOutputStream and using this i am trying to write some content on to the phone. But by default the file name is beeing given as the name of the jsp page, so is there any that we can we specify the name of the file explicitly using the program itself (i mean other than the jsp file name). Can some one give me an idea to implement this.
Here is the code snippet used......
ServletOutputStream outstr = response.getOutputStream();
String itemPath = "http://172.10.100.25/file_dwn/funny_pic.gif";
java.net.URL url = new java.net.URL(itemPath);
javax.activation.URLDataSource source = new javax.activation.URLDataSource(url);
javax.activation.DataHandler dataHand = new javax.activation.DataHandler(source);
String file = itemPath.substring(itemPath.lastIndexOf("/")+1);
response.setHeader("Content-Type","application/vnd.oma.drm.message;boundary=foo");
outstr.println();
outstr.println("--foo");
outstr.println("Content-Type: " + dataHand.getContentType()+";Name=\""+file+"\"");
outstr.println("");
dataHand.writeTo(outstr);
outstr.println();
outstr.println("--foo--");
outstr.println();
outstr.flush();
outstr.close();Hi,
You can Include a Knowledge Management Folder as a Web Folder, this way you can copy and paste files from KM to file system very easily.
Check this
http://help.sap.com/saphelp_nw70/helpdata/EN/30/75b62c659d724fb908c74ade23af51/frameset.htm
Regards,
Praveen Gudapati -
Facebook appears in mobile phone format when running in firefox on my PC
facebook started playing up by first not displaying profile pictures, could no longer access chat or message facility. Next time it showed facebook like it is on a mobile phone screen. no graphics just plain text down left side of the screen. this started after the automatic update last week. i downloaded this weeks update to 3.6.8 and still not working. still just get plain text. Facebook displays properly on internet explorer so must be some sort of firefox problem... I have cleared the cache and still no change... does anyone have any ideas?
== URL of affected sites ==
http://facebook.comA possible cause is security software (firewall) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process.
See:
* [[Server not found]]
* [[Firewalls]]
* http://kb.mozillazine.org/Browser_will_not_start_up -
New line only for to call mobiles phones
Hi to all,
I have one UC320W device on a customer, they have three FXO lines connected on the device. They want to connect one line more to call anly mobiles phones...
They to call anywhere are using the 0 digit and the UC320W assigns a FXO line to this user. In Spain the fixed telephony begins by 9 and the mobile telephony begins by 6. Can I to assign the new line when the user press the 06........????
I have seen in the device that the number buttons can be assigned for some purposes (to external calls, to voice mail, etc..) Can I to assign two or more purposes on one key????
Thanks!!I've the same problem. My customer has an uc320 with two fixed fxo lines and two lines for mobile. The only way i've found to select the fxo line for mobile calls is by sharing the fxo.
But this is not the solution,
Cisco, dont you have any way (keying number 6, for example,..) for selecting an output fxo line. Can you modify the firmware to allow the uc320 to select the fxo line for doing a mobile to mobile call.
Please, we need a solution !!!
My customer is getting very very very ... better not to say
Waiting for hear from you soon -
Uploadong a wallpaper to a mobile phone
Hello,
Has anyone programmed through Flash for Mobile phones. I need
to have a web page were you can submit ones mobile phone number.
Once submitted the wallpaper image will upload to that mobile
phone.
BestYou need a mobile phone with midp + JSR-82 + WMA API.
Then in the cellular you must make a bluetooth service available for your bluetooth device.
Pratically the cellular must act as server and bluetooth device like client.
The problem is that the midlet have to stay always in execution in order to listen the client.
You can avoid this problem by using PUSH REGISTRY in this manner:
(the midlet is activated by AMS on bluetooth connection..)
static registration, place MIDlet-Push-1 entries in the JAD or manifest:
MIDlet-Push-1: btspp://localhost:2D26618601FB47C28D9F10B8EC891363;
name=MyBtService,com.j2medeveloper.MyMIDlet, *Dynamic registration is done at runtime, using the PushRegistry's registerConnection() API:
// MIDlet class name
String midletClassName = this.getClass().getName();
// Register a static connection.
String url = "btspp://localhost:2D26618601FB47C28D9F10B8EC891363;name=MyBtService"
// Use an unrestricted filter.
String filter = "*";
PushRegistry.registerConnection(url, midletClassName, filter);
...Finally you must sign your midlet in order to bypass the request to user for sms sending.
Maybe you are looking for
-
How can I transfer a small batch of photos from the new ipad to macbook pro? In theory, I should be able to keep my albums together this way (once uploaded to macbook pro, i can easily file them into a new album on macbook pro.) Not working for me!
-
Hey All, Has anyone seen the Muppet Show 3D in Disney World in Orlando, FL? I know it's over 15 years or so old, but that is the only 3D movie I've seen which does NOT use the standard red-green/blue glasses. Instead, they use glasses that look more
-
Video Clip Framerate Wrong In Premiere
So I have a super weird issue that I spent 2hrs trying to figure out last night, and am now here making a post. So I recorded a video of my iPad screen and audio which has a playback of 60FPS in Quicktime, VLC, or any other media viewer. But when I i
-
MPEG 1/2 (MPGV) Codec? MPG movie won't play in QT
I have been given several video to encode, however, I cannot view these source videos in QT or in MPEG Streamclip. In QT the screen is black with no audio and in MPEG Streamclip the screen is white with no audio. This makes me think that I am missing
-
Goods Issue to an order and its Reversal
Hello All Am sharing one of the issue with you, suppose once we have issued raw materials to an order and in that order we can observe under the "components overview" that "final Issue indicator" is ticked against all raw materials and quantity withd