Coding in hexadecimal the phonenumber
I am initial in the programming javacard, and my work has to make is to program a chart SIM GSM for the sending of SMS to waiter SMS of the operator in place to number 555.
I read documentation, until there that goes a little because I still read, but I am blocked not to include/understand a problem, it is that to convert number 555 into byte. Somebody can help me to explain to me how to make and especially whom 0�0F� represents
You can write to me with my email: [email protected]
Thank you very much.
Java Cards support the primitive types byte and short. Optionally some cards support int. So the number 555 could be easily stored in a short.
Similar Messages
-
How to do coding to change the file name while loading
Hi All,
Recently we have upgraded to BI 7.0. I am currently loading flat file from Application server. Flat file name will change after a period of month ex. from 17 dec to 16 jan one file name and 17 jan to 16 feb another name.
I have a table /bic/pzscenario where i have start date and end date and another field(zscenario) which stores name of the file.
Directory created is /interface/gsf/ so file name should be /interface/gsf/"value of zscenario based on system date which falls between startdate and end date".csv.
can anyone tell me how to do coding for this in infopackage?
Thanks this is very urgent. I tried using select statement
select single /bic/zscenario from /bic/pzscenario into tab_zsce
where zstartdate LE sy-datum or
zenddate LT sy-datum.
if sy-subrc eq 0.
concatenate "/interface/" "gsf/" "tab_zsce-/bic/zscenario" into p_filename.
endif.
this coding throws me error saying unexpected endif...
pls correct my coding. If the coding is wrong pls let me know how to code.
Thanks & Regards,
Bhuvana.Hi Bhuvana,
Your code returns more than one "zscenario" value, this might be the reason for error.
It shud be like
sy-datum GE zstartdate and sy-datum LE zenddate
Anu. -
How can i change the phonenumber for my security code in keychain on ios 7.03
how can i change the phonenumber for my security code in keychain on ios 7.03?
i have changed the phonenumber under icloud preferences keychain. after the update on ios 7.03 there is no sms arriving for the security code because there is a double international code in the telephone number like +49 +49. How can i fix this?
-
How to specify in what coding to send the letter?
How in SOAP protocol to specify in what coding to send the letter?
It is necessary for me to send letters outside in coding UTF-8
SergThank your
The accurate and clear answer!
I will wait FTF or gw8.0.3.
Serg
Originally Posted by Preston Stephenson
Sorry, I'm not sure what the question is.
I can see that you are using 8.0.2 HP3 (build 96933).
You will need a later version than that.
Either an FTF file or wait for 8.0.3.
You will need a build of the agents greater or
equal to 97527.
There is no work around. (You can not get around
the problem until you get a build later than
8.0.2 HP3.)
Preston
>>> On Tuesday, December 20, 2011 at 4:26 AM,
skoltogyan<[email protected]> wrote:
> Thank your for answer.
> Now we try to send letters from the program written by us.
> We try to send letters on SOAP protocol through POA.
> Letters it is sent exterior (example ‑ to the [email protected]) to
> users.
>
> At sending from the program the text of the letter and a letter body is
> sent п UTF‑8.
> Of it were convinced with the help tcpdump.
> tcpdump servers with POA applied directly on eth0.
> Look:
> 1) from WS ‑> Server
> #o]E* @_G~PPOST /soap HTTP/1.1
> User‑Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client
> Protocol 2.0.50727.5448)
> Content‑Type: text/xml; charset=utf‑8
> SOAPAction: "sendItemRequest"
> Host: 172.16.16.230:7191
> Content‑Length: 879
> Expect: 100‑continue
>
> 2) Answers from Server to WS:
> ================================
> ]#oE_@@`Pnz`HTTP/1.1 200
> Date: Fri, 16 Dec 2011 11:39:27 GMT
> Server: Linux GroupWise POA 8.0.2
> Content‑Type: text/xml; charset=utf‑8
> Content‑Length: 715
> =============================
> ]#oE_@@^bPn|Pragma: no‑cache
>
> <?xml version="1.0" encoding="UTF‑8"?><soap:Envelope
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema‑instance"
>
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><loginResp
> onse
> xmlns:gwt="http://schemas.novell.com/2005/01/GroupWise/types"
>
xmlns="http://schemas.novell.com/2005/01/GroupWise/methods"><session>J3fTBX
> KWBLSiAud8</session><userinfo><gwt:name>Ami
>
Common</gwt:name><gwt:email>[email protected]</gwt:email><gwt:uuid>BC486580‑06D2
0000‑9A57‑
> 6D006200E000</gwt:uuid></userinfo><gwVersion>8.0.2
>
</gwVersion><build>96933</build><serverUTCTime>2011‑12‑16T09:39:27Z</ser
verUTCTime><s
>
tatus><gwt:code>0</gwt:code></status></loginResponse></soap:Body></soap:Enve
lope>
> ===============================
>
> 3) from WS to Server
> ===============================================
> #o]E* @_G~PPOST /soap HTTP/1.1
> User‑Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client
> Protocol 2.0.50727.5448)
> Content‑Type: text/xml; charset=utf‑8
> SOAPAction: "sendItemRequest"
> Host: 172.16.16.230:7191
> Content‑Length: 879
> Expect: 100‑continue
> ==============================
> #o]E @\~P<?xml version="1.0" encoding="utf‑8"?><soap:Envelope
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema‑instance"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Header><session
> xmlns="http://schemas.novell.com/2005/01/GroupWise/types">J3fTBXKWBLSiAud
> 8</session></soap:Header><soap:Body><sendItemRequest
> xmlns="http://schemas.novell.com/2005/01/GroupWise/methods"><item
> xmlns:q1="http://schemas.novell.com/2005/01/GroupWise/types"
>
xsi:type="q1:Mail"><q1:delivered>0001‑01‑01T00 :00:00</q1:delivered><q1:s
ubject></q
>
1:subject><q1:distribution><q1:recipients><q1:reci pient><q1:email>skoltogyan
@gmail
>
..com</q1:email></q1:recipient></q1:recipients></q1:distribution><q1:message>
<q1:part
>
length="39">0KjQsNC/0LrQsCEKCtCi0LXRgdGCLgoK0J/QvtC00L/QuNGB0Ywu</q1:part></
> q1:message></item></sendItemRequest></soap:Body></soap:Envelope>
> ===========================================
>
> 4) Answer from Server to WS
> ]#oE_@@`~P%z`HTTP/1.1 200
> Date: Fri, 16 Dec 2011 11:39:27 GMT
> Server: Linux GroupWise POA 8.0.2
> Content‑Type: text/xml; charset=utf‑8
> Content‑Length: 458
>
>
> At a workstation (WS) ‑ the program written by us works.
> This program on SOAP protocol through POA transfers letters outside the
> GroupWIse.
> Which data is transferred thus on SOAP protocol has shown above.
>
> In what a question (problem) what exactly is impossible:
> The letter from station on SOAP protocol is normally transferred in
> POA. Further through GWIA it is normally delivered to the receiver(
> skoltogyan @ gmail ).
> However to the receiver (the exterior receiver) the letter comes in the
> coding(with header):
> ..
> Subject: =?ISO‑8859‑5?B?wtXh4g==?=
> Mime‑Version: 1.0
> Content‑Type: text/plain; charset=ISO‑8859‑5
> Content‑Transfer‑Encoding: base64
> Content‑Disposition: inline
> ...
> (this is from my foriegn groupwise mailbox in the gmail)
>
> That is necessary: that such letter came in the coding (with Header):
> ...
> To: <[email protected]>
> Subject: =?UTF‑8?B?0YLQtdGB0YI=?=
> Mime‑Version: 1.0
> Content‑Type: text/plain; charset=UTF‑8
> Content‑Transfer‑Encoding: 8bit
> Content‑Disposition: inline
>
> That it is necessary to add in request on SOAP. What the letter,
> leaving in the Internet through gwia went in such type ?
>
> Serg -
Revision: 2093
Author: [email protected]
Date: 2008-06-16 12:57:18 -0700 (Mon, 16 Jun 2008)
Log Message:
fix air-config.xml so that there are no hard-coded values for the build number. This gets updated from the root build.xml by using a combination of a value from build.properties, release.version, and a value passed into build.xml build.number.
partial fix for sdk-15812
Ticket Links:
http://bugs.adobe.com/jira/browse/sdk-15812
Modified Paths:
flex/sdk/branches/3.0.x/frameworks/air-config.xmlI need to add just one more thing and that is on battery life. Last night I sat with the rMBP on my lap installing software, surfing the web, answering emails for close to 4 and 1/2 hours. At the point I took it back to the charger it still was showing a computed battery time remaining of 3.5 hours.
Today I had two VMs open and took the machine of the charger and sat outside with my dogs for about 30 minutes. During this time I was working in both VMs, editing and compiling code. My battery life estimate showed a good solid 4 hours.
This is roughly 6 times greater than what I had with my 2010 MBP and it too had a SSD. I am not sure why but this retina MBP just seems to not work as hard doing anything that caused my 2010 MBP to struggle.
While the battery life is certainly better than I expected it is clear that load can change that very rapidly. So I think I still need to visit clients with an external battery or charger in hand. But I don't think I will be quite so scared that my laptop will simply run out of power before I can even get it plugged in. -
Iphoto is suddenly crashing after about 3 seconds on my MacBook Pro. - Here is problem report
Crashed Thread: 46 Import thread 0
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Application Specific Information:
*** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<__NSCFDictionary 0x18d70d10> valueForUndefinedKey:]: this class is not key value coding-compliant for the key .'
Why? all of a sudden??
ThanksWow, that' s awesome, I encountered the same problem with ya today when trying implement Pickers in Tabbar, and can't figure out why, the debugger just throw back such vague message and guess what ? I spent like 3 hours banging my head against the wall wonder why it's not working, I using XCode 2.2.1, my debugger wont work ( program won't stop at break points for what ever I tried ), and not very friendly with those newbie like me - really don't know where are all the Apple's software developer 1337 ? As I remembered, all the good ones goes for the hardware, "the rest" goes for the software =)), but thanks again, thanks, and again, click the tab bar, set both the class and nib file would get rid of the errors, if it would help some one, the credit goes to the two above, say thanks to them, like me. Have a nice day guys, I 'ma happy .
-
I lost my phone 2 days ago, can I get the phoneNumber which use my phone now by IMEI or Serifal NO . I am in China.
nothing unless you had "find my iPhone" installed before it was lost.
-
Problem in Coding Block during the Acc Doc posting BAPI_ACC_DOCUMENT_POST
Hi,
I have a problem in the Coding Block of a FI invoice Document posting. In our project, we have implemented substitutions to derive SBL;SEGMENT field in the line item of a GL Account.
I have created a program and in that i'm using BAPI_ACC_DOCUMENT_POST for posting the Accounting Document. During this BAPI call, it is not deriving the values of SBL and SEGMENT.
But, when i'm posting through transaction FB01; the substitutions are getting triggered and finally values are being derived.
Can anyone help on this as to why these values were not derived when it is being called through BAPI_ACC_DOCUMENT_POST. For COBL; is it really possible to post through this BAPI or something more has to be done.
Very urjunt !!! Please
Awaiting your valuable answers.
Thanks
RohithHi Rohith,
to populate correctly the profit. Segment you should fill in the information used in derivation inside the BAPI CRITERIA table structure.
In the below example the profit. Segment is derived from Sales Org. (VKORG) and Distribution Channel (VTWEG).
Fill CRITERIA for CO-PA (Profitability Segment)
REFRESH lt_criteria.
wa_criteria-itemno_acc = lv_itemno_acc.
wa_criteria-fieldname = 'VKORG'.
wa_criteria-character = '1080'.
APPEND wa_criteria TO lt_criteria.
wa_criteria-itemno_acc = lv_itemno_acc.
wa_criteria-fieldname = 'VTWEG'.
wa_criteria-character = '01'.
APPEND wa_criteria TO lt_criteria.
If you need further information, please post your doubts here.
Regards,
Antonio
Edited by: indetony on Sep 9, 2011 12:46 AM -
Requirement of VBA coding faced in the real time??
Can anyone explain some of the senarios for Transfer Rules, Update Rules and Start Routines and what was your approach for it.
Hi chandran,
go through thes links for details
transfer routine
Date key figure: Convert DATS format to DEC format
Date Conversion in Flat File
Transfer Routine ABAP
conversion exit
Date Conversion
Problem with conversion char to numc in transference rules
conversion routine..?
start routine in transfer rules
Look up to load master data
excluding
Start Routine in Transfer Rules
Sample code in Update Rule to restrict data selection?
Append Datapak - transfer start routine
Excluding Blank field in Infopackage Filter
Trans Routine ABAP help ..
update routine
How to call a function in Update Rules to reverse a key figure sign
Need Sample Code for Update Rules
Date calculation
Difference between data in PSA and Data in Infocube
No RETURNCODE <> 0 allowed in update routines in transfer mode
the diffrerece between DEC and (yyyymmdd) 8 char in Time defination
Access master data in update rules
Date key figure: Convert DATS format to DEC format
start routine in update rules
Is it possible to read a third ODS in update rules between two ODS?
update rule coding while loading data from ODS to CUBE
Start Routine in Update Rules to populate additional fields from ODS
Coding in Update Rules accessing a Z-Table
Start routine
Thanks
@jay -
Coding for maintain the multip[le sessions
i have 1,00,000 records in a flat file how to maintain the multiple sessions
each session having 10000 records i want coding for how these multiple sessionssee the example program and the selection screen you can maintain how many records per session.
Report : ZMPPC015
Type : Data upload
Author : Seshu Maramreddy
Date : 05/26/2005
Transport : DV3K920025
Transaction: ??
Description: This ABAP/4 Program to Create Planned Independent
Requirement for SMI plants using MD61 Transaction.
It accepts tab-delimited spreadsheet input and
creates BDC sessions.
report zmppc015 no standard page heading
line-size 120
line-count 55
message-id zz.
Constants
constants : c_x type c value 'X'," Dynbegin
c_tcode type tstc-tcode value 'MD61'." Transaction Code
Variables
data : v_lines_in_xcel like sy-tabix,
l_tabix like sy-tabix,
v_trans_in_ssn type i,
v_ssnnr(4) type n," Counter
v_ssnname like apqi-groupid,
v_matnr(18) type c. " Material Number
Internal Tables
Internal table for file
data : begin of t_file occurs 0,
matnr(18) type c, " Material Number
berid(10) type c, " MRP Area
PLNMG01(17) type n, " Forecast Month -01
PLNMG02(17) type n, " Forecast Month -02
PLNMG03(17) type n, " Forecast Month -03
PLNMG04(17) type n, " Forecast Month -04
PLNMG05(17) type n, " Forecast Month -05
PLNMG06(17) type n, " Forecast Month -06
PLNMG07(17) type n, " Forecast Month -07
PLNMG08(17) type n, " Forecast Month -08
PLNMG09(17) type n, " Forecast Month -09
PLNMG10(17) type n, " Forecast Month -10
PLNMG11(17) type n, " Forecast Month -11
PLNMG12(17) type n, " Forecast Month -12
WERKS(4) TYPE C, " Plant
end of t_file.
Internal table for BDCDATA Structure
data : begin of itab_bdc_tab occurs 0.
include structure bdcdata.
data : end of itab_bdc_tab.
Selection-screen
selection-screen: skip 3.
selection-screen: begin of block id1 with frame.
parameters: p_name like rlgrap-filename
default 'C:\My Documents\InputFile.txt'
obligatory,
bdc session name prefix
p_bdcpfx(6) default 'ZPIRCT'
obligatory,
number for transction per BDC session
p_trnssn type i
default 2000 obligatory,
retain the BDC session after successfull execution
p_keep like apqi-qerase
default c_x,
user who will be executing BDC session
p_uname like apqi-userid
default sy-uname
obligatory.
selection-screen : skip 1.
Requirement type
parameters : p_bedae like t459u-bedae,
From Date
p_date like sy-datum default sy-datum obligatory.
selection-screen: end of block id1.
at selection-screen on value-request for p_name.
F4 value for Input file
perform filename_get.
main processing
start-of-selection.
To get the data from file to Internal table
perform getdata_fromfile.
loop at t_file.
hang on to xcel line num
l_tabix = sy-tabix.
if num-of-trnas-in-session = 0, create new BDC session
if v_trans_in_ssn is initial.
perform bdc_session_open.
endif.
begin new bdc script for rtg create trans
fill in bdc-data for prod.version maintenance screens
perform bdc_build_script.
insert the bdc script as a BDC transaction
perform bdc_submit_transaction.
keep track of how many BDC transactions were inserted in the BDC
session
add 1 to v_trans_in_ssn.
if the user-specified num of trans in BDC session is reached OR
if end of input file is reached, close the BDC session
if v_trans_in_ssn = p_trnssn or
l_tabix = v_lines_in_xcel.
perform bdc_session_close.
clear v_trans_in_ssn.
endif.
clear t_file.
endloop.
top-of-page.
call function 'Z_HEADER'
EXPORTING
FLEX_TEXT1 =
FLEX_TEXT2 =
FLEX_TEXT3 =
*& Form filename_get
F4 Value for input file
FORM filename_get.
CALL FUNCTION 'WS_FILENAME_GET'
EXPORTING
DEF_PATH = 'C:\Temp\ '
MASK = ',.,..'
MODE = 'O'
TITLE = 'Select File '(007)
IMPORTING
FILENAME = p_name
EXCEPTIONS
INV_WINSYS = 1
NO_BATCH = 2
SELECTION_CANCEL = 3
SELECTION_ERROR = 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.
ENDIF.
ENDFORM. " filename_get
*& Form getdata_fromfile
Upload the data from file to Internal table
FORM getdata_fromfile.
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
FILENAME = p_name
FILETYPE = 'DAT'
TABLES
DATA_TAB = t_file
EXCEPTIONS
CONVERSION_ERROR = 1
FILE_OPEN_ERROR = 2
FILE_READ_ERROR = 3
INVALID_TYPE = 4
NO_BATCH = 5
UNKNOWN_ERROR = 6
INVALID_TABLE_WIDTH = 7
GUI_REFUSE_FILETRANSFER = 8
CUSTOMER_ERROR = 9
OTHERS = 10.
if sy-subrc eq 0.
sort t_file by matnr .
delete t_file where matnr = ''.
clear v_lines_in_xcel.
describe table t_file lines v_lines_in_xcel.
if v_lines_in_xcel is initial.
write: / 'No data in input file'.
stop.
endif.
else.
write:/ 'Error reading input file'.
stop.
endif.
ENDFORM. " getdata_fromfile
*& Form bdc_session_open
BDC_OPEN_GROUP
FORM bdc_session_open.
create bdc session name = prefix-from-selectn-screen + nnnn
add 1 to v_ssnnr.
concatenate p_bdcpfx v_ssnnr into v_ssnname.
CALL FUNCTION 'BDC_OPEN_GROUP'
EXPORTING
CLIENT = SY-MANDT
GROUP = v_ssnname
KEEP = p_keep
USER = p_uname
EXCEPTIONS
CLIENT_INVALID = 1
DESTINATION_INVALID = 2
GROUP_INVALID = 3
GROUP_IS_LOCKED = 4
HOLDDATE_INVALID = 5
INTERNAL_ERROR = 6
QUEUE_ERROR = 7
RUNNING = 8
SYSTEM_LOCK_ERROR = 9
USER_INVALID = 10
OTHERS = 11.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " bdc_session_open
*& Form bdc_build_script
BDC Script
FORM bdc_build_script.
Local Variables
DATA : l_frdat(8) type c, " From Date
l_todat(8) type c, " To Date
l_frdat1(4) type c, " Year
l_frdat2(2) type c, " Month
l_frdat3(2) type c, " Day
l_tdate like sy-datum, " Subtract date(1)
l_todat1(4) type c, " Year
l_todat2(2) type c, " Month
l_todat3(3) type c. " Day
Get the material number from tables ZMSMI_FERR_RAW,
ZMSMI_SNAP_RAW and ZMSMI_SIMP_RAW
perform get_matnr.
Screen 0100.
perform bdc_screen using 'SAPMM60X' '0100'.
perform bdc_field using 'BDC_OKCODE' '/EBDPT'.
perform bdc_field using 'AM60X-MATAW' 'X'.
perform bdc_field using 'AM60X-MATNR' T_FILE-MATNR.
perform bdc_field using 'AM60X-PRGRP' SPACE.
perform bdc_field using 'AM60X-PBDNR' SPACE.
perform bdc_field using 'RM60X-BERID' T_FILE-BERID.
perform bdc_field using 'AM60X-WERKS' SPACE.
perform bdc_field using 'RM60X-VERSB' '00'.
Converted the date as per MD61 Transaction.
From date
l_frdat1 = p_date+0(4).
l_frdat2 = p_date+4(2).
l_frdat3 = p_date+6(2).
concatenate l_frdat2 l_frdat3 l_frdat1 into l_frdat.
To Date
l_tdate = p_date - 1.
l_todat1 = l_tdate+0(4) + 1.
l_todat2 = l_tdate+4(2).
l_todat3 = l_tdate+6(2).
concatenate l_todat2 l_todat3 l_todat1 into l_todat.
perform bdc_field using 'RM60X-DATVE' l_frdat.
perform bdc_field using 'RM60X-DATBE' l_todat.
perform bdc_field using 'RM60X-ENTLU' 'M'.
Screen 0127
perform bdc_screen using 'SAPMM60X' '0127'.
perform bdc_field using 'BDC_OKCODE' '=WEIT'.
if p_bedae is initial.
perform bdc_field using 'T459U-BEDAE' space.
else.
perform bdc_field using 'T459U-BEDAE' P_BEDAE.
endif.
Screen 0100.
perform bdc_screen using 'SAPMM60X' '0100'.
perform bdc_field using 'BDC_OKCODE' '/00'.
perform bdc_field using 'AM60X-MATAW' 'X'.
perform bdc_field using 'AM60X-MATNR' T_FILE-MATNR.
perform bdc_field using 'AM60X-PRGRP' SPACE.
perform bdc_field using 'AM60X-PBDNR' SPACE.
perform bdc_field using 'RM60X-BERID' T_FILE-BERID.
perform bdc_field using 'AM60X-WERKS' SPACE.
perform bdc_field using 'RM60X-VERSB' '00'.
perform bdc_field using 'RM60X-DATVE' l_frdat.
perform bdc_field using 'RM60X-DATBE' l_todat.
perform bdc_field using 'RM60X-ENTLU' 'M'.
Screen 0200
perform bdc_screen using 'SAPLM60E' '0200'.
perform bdc_field using 'BDC_OKCODE' '=S+'.
perform bdc_field using 'RM60X-PLN01(01)' T_FILE-PLNMG01.
perform bdc_screen using 'SAPLM60E' '0200'.
perform bdc_field using 'BDC_OKCODE' '=S+'.
perform bdc_field using 'RM60X-PLN01(01)' T_FILE-PLNMG02.
perform bdc_screen using 'SAPLM60E' '0200'.
perform bdc_field using 'BDC_OKCODE' '=S+'.
perform bdc_field using 'RM60X-PLN01(01)' T_FILE-PLNMG03.
perform bdc_screen using 'SAPLM60E' '0200'.
perform bdc_field using 'BDC_OKCODE' '=S+'.
perform bdc_field using 'RM60X-PLN01(01)' T_FILE-PLNMG04.
perform bdc_screen using 'SAPLM60E' '0200'.
perform bdc_field using 'BDC_OKCODE' '=S+'.
perform bdc_field using 'RM60X-PLN01(01)' T_FILE-PLNMG05.
perform bdc_screen using 'SAPLM60E' '0200'.
perform bdc_field using 'BDC_OKCODE' '=S+'.
perform bdc_field using 'RM60X-PLN01(01)' T_FILE-PLNMG06.
perform bdc_screen using 'SAPLM60E' '0200'.
perform bdc_field using 'BDC_OKCODE' '=S+'.
perform bdc_field using 'RM60X-PLN01(01)' T_FILE-PLNMG07.
perform bdc_screen using 'SAPLM60E' '0200'.
perform bdc_field using 'BDC_OKCODE' '=S+'.
perform bdc_field using 'RM60X-PLN01(01)' T_FILE-PLNMG08.
perform bdc_screen using 'SAPLM60E' '0200'.
perform bdc_field using 'BDC_OKCODE' '=S+'.
perform bdc_field using 'RM60X-PLN01(01)' T_FILE-PLNMG09.
perform bdc_screen using 'SAPLM60E' '0200'.
perform bdc_field using 'BDC_OKCODE' '=S+'.
perform bdc_field using 'RM60X-PLN01(01)' T_FILE-PLNMG10.
perform bdc_screen using 'SAPLM60E' '0200'.
perform bdc_field using 'BDC_OKCODE' '=S+'.
perform bdc_field using 'RM60X-PLN01(01)' T_FILE-PLNMG11.
perform bdc_screen using 'SAPLM60E' '0200'.
perform bdc_field using 'BDC_OKCODE' '=SICH'.
perform bdc_field using 'RM60X-PLN01(01)' T_FILE-PLNMG12.
ENDFORM. " bdc_build_script
*& Form get_matnr
Get the material number from tables ZMSMI_FERR_RAW,
ZMSMI_SNAP_RAW and ZMSMI_SIMP_RAW
FORM get_matnr.
clear v_matnr.
case t_file-werks.
when '0101'.
select single cmatnr from zmsmi_simp_raw
into v_matnr where matnr = t_file-matnr.
if sy-subrc eq 0.
clear t_file-matnr.
t_file-matnr = v_matnr.
endif.
when '0103'.
select single cmatnr from zmsmi_ferr_raw
into v_matnr where matnr = t_file-matnr.
if sy-subrc eq 0.
clear t_file-matnr.
t_file-matnr = v_matnr.
endif.
when '0102' or '0110' or '0111' or '0112' or '0113'
or '0114' or '0115' or '0116' or '0117'.
select single cmatnr from zmsmi_snap_raw
into v_matnr where matnr = t_file-matnr.
if sy-subrc eq 0.
clear t_file-matnr.
t_file-matnr = v_matnr.
endif.
endcase.
ENDFORM. " get_matnr
*& Form bdc_screen
BDC Script for Screen fields
-->P_PROG Program name
-->P_SCRN Screen Number
FORM bdc_screen USING p_prog
p_scrn.
clear itab_bdc_tab.
itab_bdc_tab-program = p_prog.
itab_bdc_tab-dynpro = p_scrn.
itab_bdc_tab-dynbegin = c_x.
append itab_bdc_tab.
ENDFORM. " bdc_screen
*& Form bdc_field
BDC Script for Screen fileds
-->P_NAM Field name
-->P_VAL Field value
FORM bdc_field USING p_nam
p_val.
clear itab_bdc_tab.
itab_bdc_tab-fnam = p_nam.
itab_bdc_tab-fval = p_val.
append itab_bdc_tab.
ENDFORM. " bdc_screen
*& Form bdc_submit_transaction
BDC_INSERT Function Module
FORM bdc_submit_transaction.
Load BDC script as a trqansction in BDC session
call function 'BDC_INSERT'
EXPORTING
tcode = c_tcode
TABLES
dynprotab = itab_bdc_tab
EXCEPTIONS
internal_error = 01
not_open = 02
queue_error = 03
tcode_invalid = 04.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
refresh itab_bdc_tab.
ENDFORM. " bdc_submit_transaction
*& Form bdc_session_close
text
FORM bdc_session_close.
CALL FUNCTION 'BDC_CLOSE_GROUP'
EXCEPTIONS
NOT_OPEN = 1
QUEUE_ERROR = 2
OTHERS = 3
skip 2.
if sy-subrc ne 0.
write: / 'Error Closing BDC Session ' , 'RETURN CODE: ', sy-subrc.
else.
write : / 'Session created:', v_ssnname,
50 '# of transactions:', v_trans_in_ssn.
endif.
ENDFORM. " bdc_session_close
Reward Points if it is helpful
Thanks
Seshu -
Coding - where is the error?
Hello,
in transformation I have following coding:
CLASS routine IMPLEMENTATION
CLASS lcl_transform IMPLEMENTATION.
METHOD compute_YBV2LIEGR.
IMPORTING
request type rsrequest
datapackid type rsdatapid
SOURCE_FIELDS-/BIC/YBV2HPTLF TYPE /BIC/OIYBV2HPTLF
EXPORTING
RESULT type tys_TG_1-/BIC/YBV2LIEGR
DATA:
MONITOR_REC TYPE rsmonitor.
$$ begin of routine - insert your code only below this line -
*-- fill table "MONITOR" with values of structure "MONITOR_REC">
*- to make monitor entries
... "to cancel the update process
raise exception type CX_RSROUT_ABORT.
... "to skip a record
raise exception type CX_RSROUT_SKIP_RECORD.
... "to clear target fields
raise exception type CX_RSROUT_SKIP_VAL.
if SOURCE_FIELDS-/BIC/YBV2HPTLF = '90118255'.
RESULT = '10'.
elseif SOURCE_FIELDS-/BIC/ZZHPTLF = 'CL500115'.
RESULT = '10'.
elseif SOURCE_FIELDS-/BIC/ZZHPTLF = '90051227'.
RESULT = '20'.
elseif SOURCE_FIELDS-/BIC/ZZHPTLF = '90806180'.
RESULT = '30'.
elseif SOURCE_FIELDS-/BIC/ZZHPTLF = '90031'.
RESULT = '80'.
else.
result = '90'.
clear RESULT.
endif.
endif.
For CL500115 result is 10. That works. For the others it does not work.
Why?
Any idea. The target object is defined as char 2.Hi
Could you plz place the Code in between and check :
$$ begin of routine - insert your code only below this line -
"Plz put the code here"
*-- fill table "MONITOR" with values of structure "MONITOR_REC">
*- to make monitor entries
... "to cancel the update process
raise exception type CX_RSROUT_ABORT.
... "to skip a record
raise exception type CX_RSROUT_SKIP_RECORD.
... "to clear target fields
raise exception type CX_RSROUT_SKIP_VAL.
Regards,
Aparna -
Color Coding not Coloring the Code
Hello All,
I am using Dreamweaver CS3 on a Mac and for some reason, when
I set the Color Coding in my preferences, it will not show in my
document.
I tried saving the document and double checked if I actually
had the document set to php and no luck.
is there something I might be doing something wrong?
Mainly, I set the php comment code color to a color and bold
and nothing shows when I use a comment in the document.
Thanks for any help or advice,
PaulPaul,
> Ok, forget it, I figured it out...
>
> I have set in my preferences that when a new page opens
to just open an HTML
> page.
To get new pages to default to PHP, do this:
1. Edit your Site
(Site > Manage Sites... > Edit...)
2. Make sure you have a Testing Server defined
(Category: Testing Server)
3. Set Server Model to be "PHP MySQL"
4. Click: OK, Done
HTH,
Randy -
Formatting / coding text in the Lyrics field
As we all know, when creating a AAC audiobook with chapters/ or chaptered podcasts, you can include the text in the semeingly unlimited LYRICS FIELD. On an iPod touch for example, you can then read the text as it's being spoken. This is particularly good in the Educational model.
My problem: The text always appears CENTERED, not left justified as say lines in a poem should be.
Is there coding one can use so that the poem's lines/line breaks are displayed properly. I've tried <left> and etc with no success.
Thanks for any help or direction pointing you can come up with.
PS Question: Is there a limit to the number of characters one can put in the Lyric's field. It's nice to see them scroll over the album cover on your iPod.Yes, thanks, a whole buncha codes seem to work including H1, H2, H3... <center></center> and etc... <hr>... and others. Thanks for the heads up...
-
Help reqd for coding to assign the field as mandatory.
HI all,
I got the user exit and also assigned the component as "EXIT_SAPLMRIM_002"..im now here to create a code under the include program of "ZM08U09"....for to make the amount field as mandatory(obligatory)..with some pop-up message...
how to do that....
Do u people have any experience on this...pls post ur comments on urgent basis.
thanks & regards
sankar.Hi Sriram.P
thanks for ur prompt reply
...but actually,my problem is...i dont know the exact table for miro (invfp-wrbtr showing in the screen)....i've already prepared some coding but the table i've mentioned is not the correct one...
Do u know the table for Incoming invoices records (MIRO)
thanks & regards
sankar. -
Increase the coding Mask of the WBS
Hi SAP Experts,
My client would like to increase the WBS levels , as currently we have configured the code mask with only four level along with project definition (XX-0000000.00.00.00.00) , we need to add two levels more like (XX-0000000.00.00.00.00.00.00).
Is there any way to change the coding mask without any impact of the existing data .
ThanksThanks again,
I have added one more level to the existing mask to complete the mask with 24 char. like this (XX-0000000.00.00.00.00.0) , a new message appearing (Cannot make this change to the editing mask ) .. ??
Is there any way to change the current mask with one more numeric level .
Waiting for your reply
Thanks
Maybe you are looking for
-
My Macbook Pro crashes when I plug in m-audio fast track ultra
Hey Friends I want to know if anyone of you who use a m-audio audio interface has the problem of your computer crashing, then having to restart, when you plug it into the usb drive. It started happening to me when I upgraded to Mountain Lion, and is
-
Airport Utility will not display any base stations.
I just had a new hard drive installed in my two year old MAC, since the last one crashed and have Mavericks installed. I have tried to un-install the application so I can re-intall a new one but the system will not let me. I am running a 5th generati
-
How to import data from SQL server to Oracle?
Dear Sir/Madam, I want to move database data from SQL Server to Oracle, but don't how to do it, will you please help me do it?
-
Problems with pdf-export / Probleme beim PDF-Export
Hi, I tried to export a pdf from the "report" as portrait. It came out as a landscape. The left side of the pdf showing my exported report (as portrait), the right half of the page empty... Not exactly what I meant to do! Wenn ich ein pdf im Hochform
-
M30-107 - replacing the DVD-RW drive?
I'm thinking about replacing the DVD-RW drive in my laptop. I was wondering if anyone could tell me the steps that would be involved in doing this, or else where I might be able to find such information. Thanks!